CN106897565B - User terminal use data processing method and device and electronic equipment - Google Patents
User terminal use data processing method and device and electronic equipment Download PDFInfo
- Publication number
- CN106897565B CN106897565B CN201710111777.9A CN201710111777A CN106897565B CN 106897565 B CN106897565 B CN 106897565B CN 201710111777 A CN201710111777 A CN 201710111777A CN 106897565 B CN106897565 B CN 106897565B
- Authority
- CN
- China
- Prior art keywords
- state
- user
- user terminal
- time period
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G06F19/3418—
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H50/00—ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
- G16H50/30—ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for calculating health indices; for individual health risk assessment
Landscapes
- Medical Informatics (AREA)
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Public Health (AREA)
- Pathology (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Biomedical Technology (AREA)
- Epidemiology (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Medical Treatment And Welfare Office Work (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention provides a method and a device for processing user terminal use data and electronic equipment, wherein the method comprises the following steps: acquiring the service time information of a user terminal; determining a user state corresponding to the user terminal according to the use time information and a preset judgment rule; and if the user state meets a preset condition, generating reminding information for reminding the user. The method can remind the user in time so that the user can find and adjust the problems in time.
Description
Technical Field
The invention relates to the field of computer application, in particular to a method and a device for processing user terminal use data and electronic equipment.
Background
Along with the increasing popularization of intelligent equipment, the time of immersing the intelligent equipment in the intelligent equipment every day is longer and longer, and if problems are not found timely and the adjustment is carried out timely, the physical health condition of people can be affected. Therefore, how to remind the user in time and prevent possible health problems becomes a problem which needs to be solved urgently.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a method, an apparatus and an electronic device for processing data used by a user terminal to solve the above problem.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, an embodiment of the present invention provides a method for processing data used by a user terminal, where the method includes: acquiring the service time information of a user terminal; determining a user state corresponding to the user terminal according to the use time information and a preset judgment rule; and if the user state meets a preset condition, generating reminding information for reminding the user.
In a second aspect, an embodiment of the present invention provides an apparatus for processing data used by a user terminal, where the apparatus includes: the acquisition module is used for acquiring the service time information of the user terminal; the processing module is used for determining the user state corresponding to the user terminal according to the service time information and a preset judgment rule; and the generating module is used for generating reminding information for reminding the user if the user state meets a preset condition.
In a third aspect, embodiments of the present invention provide an electronic device, which includes a memory and a processor, the memory being coupled to the processor, the memory storing instructions that, when executed by the processor, cause the processor to: acquiring the service time information of a user terminal; determining a user state corresponding to the user terminal according to the use time information and a preset judgment rule; and if the user state meets a preset condition, generating reminding information for reminding the user.
Compared with the prior art, the method, the device and the electronic equipment for processing the user terminal use data provided by the embodiment of the invention have the advantages that the use time information of the user terminal is obtained, the user state corresponding to the user terminal is determined according to the use time information and the preset judgment rule, and the reminding information for reminding the user is generated when the user state meets the preset condition.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic diagram of a user terminal interacting with a server according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Fig. 3 is a flowchart of a method for processing data used by a ue according to an embodiment of the present invention.
Fig. 4 is a flowchart of step S320 in a method for processing data used by a ue according to an embodiment of the present invention.
Fig. 5 is a detailed flowchart of step S320 in a method for processing data used by a ue according to an embodiment of the present invention.
Fig. 6 is another detailed flowchart of step S320 in a method for processing data used by a ue according to an embodiment of the present invention.
Fig. 7 is a flowchart illustrating a step S320 in a method for processing data used by a ue according to an embodiment of the present invention in further detail.
Fig. 8 is a detailed flowchart of step S330 in a method for processing data used by a ue according to an embodiment of the present invention.
Fig. 9 is a detailed flowchart of step S331 in a method for processing data used by a ue according to an embodiment of the present invention.
Fig. 10 is a block diagram of a data processing apparatus used by a user terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Fig. 1 is a schematic diagram illustrating an interaction between a server 120 and a user terminal 110 according to an embodiment of the present invention. The server 120 is communicatively coupled to one or more user terminals 110 via a network for data communication or interaction. The server 120 may be a web server, a database server, or the like. The user terminal 110 may be a Personal Computer (PC), a tablet PC, a smart phone, a Personal Digital Assistant (PDA), a vehicle-mounted device, a wearable device, or the like.
As shown in fig. 2, a block diagram of an electronic device 200 is shown. The electronic device 200 may be the user terminal 110 or the server 120 shown in fig. 1. The electronic device 200 comprises a memory 201, a processor 202 and a network module 203.
The memory 201 may be used to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for processing data used by the user terminal in the embodiment of the present invention, and the processor 202 executes various functional applications and data processing by running the software programs and modules stored in the memory 201, that is, implements the method for processing data used by the user terminal in the embodiment of the present invention. Memory 201 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. Further, the software programs and modules in the memory 201 may further include: an operating system 221 and a service module 222. The operating system 221, which may be LINUX, UNIX, WINDOWS, for example, may include various software components and/or drivers for managing system tasks (e.g., memory management, storage device control, power management, etc.), and may communicate with various hardware or software components to provide an operating environment for other software components. The service module 222 runs on the basis of the operating system 221, and monitors a request from the network through the network service of the operating system 221, completes corresponding data processing according to the request, and returns a processing result to the client. That is, the service module 222 is used to provide network services to clients.
The network module 203 is used for receiving and transmitting network signals. The network signal may include a wireless signal or a wired signal.
It will be appreciated that the configuration shown in FIG. 2 is merely illustrative and that the electronic device 200 may include more or fewer components than shown in FIG. 2 or may have a different configuration than shown in FIG. 2. The components shown in fig. 2 may be implemented in hardware, software, or a combination thereof.
The method for processing the data used by the user terminal according to the embodiment of the present invention may be executed in the user terminal 110 or the server 120 shown in fig. 1. The method comprises the steps of analyzing the obtained use data of the user terminal to obtain the user state of the user terminal, and generating corresponding reminding information according to the condition of the user state. The following describes the data processing method used by the user terminal in detail.
Fig. 3 is a flowchart illustrating a method for processing data used by a ue according to an embodiment of the present invention, referring to fig. 3, where the method includes:
step S310, obtaining the using time information of the user terminal.
The usage time information of the user terminal may include a usage time period of the user terminal and/or an unused time period of the user terminal.
There are various embodiments for acquiring the usage time information of the user terminal.
As an implementation manner, a first time when the user terminal is first opened within a first preset time period and a second time when the user terminal is last locked or turned off within the first preset time period are obtained, and a difference value between the second time and the first time is subtracted to obtain a usage duration of the user terminal. For example, the difference value between the second time when the user terminal is locked or turned off last time on the day and the first time when the user terminal is turned on first time on the day is used as the usage duration of the user terminal on the day.
As another embodiment, the unused duration of the user terminal may also be determined by obtaining a second time when the user terminal is locked or turned off last time within a first preset time period and a third time when the user terminal is turned on first time within a second preset time period, and subtracting a difference value subtracted from the second time from the third time. For example, the difference value between the third time when the user terminal is opened for the first time next day and the second time when the user terminal is locked or turned off for the last time of the day is used as the unused time of the user terminal on the day.
There are various embodiments for obtaining a first time when the user terminal is turned on for the first time within a first preset time period, a second time when the user terminal is turned on for the last time or turned off within the preset time period, or a third time when the user terminal is turned on for the first time within a second preset time period, for example, the first time, the second time, or the third time may be obtained by third-party software, or a system broadcast may be registered at the user terminal, and the system broadcast may feed back the first time, the second time, or the third time at regular time.
Further, if the user terminal usage data processing method is implemented in the user terminal 110 shown in fig. 1, the usage time information of the user terminal may be obtained in the above manner; if the user terminal usage data processing method is implemented in the server 120 shown in fig. 1, the user terminal 110 may acquire the usage time information of the user terminal in the above manner, and send the usage time information to the server 120, so that the server 120 acquires the usage time information of the user terminal.
Step S320, determining a user state corresponding to the user terminal according to the usage time information and a preset determination rule.
The user state corresponding to the user terminal may include a first state, a second state, and a change condition of the user between the first state and the second state.
The first state may be used to indicate that the user is in a healthy state, the second state may be used to indicate that the user is in an unhealthy state, and the change of the user between the first state and the second state may be that the user changes from a healthy state to an unhealthy state, or that the user changes from an unhealthy state to a healthy state, or that the user is in an unhealthy state for a long time, or the like. Of course, it is not limited thereto.
As an embodiment, referring to fig. 4, step S320 may include:
step S321, obtaining a usage time variation value according to the usage time information of the ue in the first time period and the usage time information of the ue in the second time period.
The first time period and the second time period may be preset as needed, for example, the first time period is one week, and the second time period is one day. Of course, a half-month, one-month or other time period may be used.
Further, if the usage time information of the ue in the first time period may be the usage time information of the ue in the last week, and the second time period may be a day in the week, and the usage time change value at this time is a change value of the usage time information of the ue in the day in the week relative to the usage time information of the ue in the last week.
Step S322, determining a user state corresponding to the user terminal according to the usage time variation value, the usage time information of the user terminal in the first time period, and the usage time information of the user terminal in the second time period.
Since the usage time information of the user terminal may include a usage time period of the user terminal and/or an unused time period of the user terminal, there are various embodiments of calculating a variation value of the usage time information. Therefore, there are various embodiments of step S322.
Specifically, as an embodiment, when the usage time information of the ue includes the usage duration of the ue, referring to fig. 5, step S320 may include:
step S411, obtaining a first variation value according to the user terminal usage duration in the first time period and the user terminal usage duration in the second time period.
If the usage duration of the user terminal in the first time period is the usage duration of the user terminal in the last week, and the usage duration of the user terminal in the second time period is the usage duration of the user terminal in a certain day of the week, an average value of the usage durations of the user terminal in the last week can be calculated, and a difference value between the average value and the usage duration of the user terminal in the certain day of the week is used as a first variation value.
In step S412, it is determined whether the first variation value is greater than a first threshold.
The first threshold value may be preset empirically.
If yes, go to step S413; otherwise, step S416 is performed.
Step S413, determining whether the duration of the user terminal in the second time period is greater than a second threshold.
It is to be understood that, when the first variation value is greater than the first threshold, it indicates that the usage duration of the user terminal in the second time period is greater than the variation of the usage duration of the user terminal in the first time period. Therefore, it can be further determined whether the usage duration of the ue in the second time period is greater than the second threshold. Similarly, the second threshold may be preset empirically.
If yes, go to step S414; otherwise, step S415 is executed.
In step S414, it is determined that the user state changes from the first state to the second state.
Specifically, the first state is a healthy state, and the second state is an unhealthy state. That is, when the usage duration of the user terminal used by the user on a certain day of the week is greatly changed relative to the usage duration of the user terminal used on the last week, and the usage duration of the user terminal used on the same day is also long, it is considered that the user status is changed from the healthy status to the unhealthy status.
In step S415, it is determined that the user state changes from the second state to the first state for the first time.
Specifically, the first state is a healthy state, and the second state is an unhealthy state. When the usage duration of the user using the user terminal on a certain day of the week is greatly changed relative to the usage duration of the user terminal on the last week, and the usage duration of the user using the user terminal on the same day is shorter, the usage duration of the user on each day in the last week is considered to be longer, and the usage duration of the user using the user terminal on the same day is shorter, so that the state of the user is determined to be changed from the unhealthy state to the healthy state for the first time.
In step S416, if the duration of the user terminal in the second time period is greater than the second threshold, it is determined that the user status is in the second state in the third time period.
Wherein the third time period is the sum of the first time period and the second time period.
Specifically, the first state is a healthy state, and the second state is an unhealthy state. When the usage duration of the user using the user terminal on a certain day of the week is not greatly changed relative to the usage duration of the last week, and the usage duration of the user using the user terminal on the same day is longer, the usage duration of the user using the user terminal on the same day in the last week is considered to be longer, and the usage duration of the user using the user terminal on the same day is also longer, so that the user state is determined to be in an unhealthy state from the last week to the same day.
As another embodiment, when the usage time information of the ue includes the unused time length of the ue, referring to fig. 6, step S320 may include:
step S421, obtaining a second variation value according to the unused duration of the ue in the first time period and the unused duration of the ue in the second time period.
Similarly, if the duration of use of the ue in the first time period is the duration of non-use of the ue in the last week, and the duration of use of the ue in the second time period is the duration of non-use of the ue in a certain day of the week, the average value of the daily duration of non-use of the ue in the last week may be calculated, and the difference between the average value and the duration of non-use of the ue in the certain day of the week is used as the second variation value.
In step S422, it is determined whether the second variation value is greater than a third threshold.
The third threshold value may be preset empirically.
If yes, go to step S423; otherwise, step S426 is performed.
Step S423, determining whether the unused duration of the ue is less than the fourth threshold in the second time period.
It is to be understood that, when the second variation value is greater than the fourth threshold, it indicates that the unused duration of the ue in the second time period is greater than the variation of the unused duration of the ue in the first time period. Therefore, it can be further determined whether the unused time of the ue is less than the fourth threshold. Similarly, the fourth threshold may be preset empirically.
If yes, go to step S424; otherwise, step S425 is performed.
In step S424, it is determined that the user state changes from the first state to the second state.
Specifically, the first state is a healthy state, and the second state is an unhealthy state. That is, when the usage time of the user terminal that is not used by the user on a certain day of the week is greatly changed from the previous week, and the usage time of the user terminal on the day is short (it can be considered that the rest time of the user is short), it is considered that the user status is changed from the healthy status to the unhealthy status.
Step S425 determines that the user state changes from the second state to the first state for the first time.
Specifically, the first state is a healthy state, and the second state is an unhealthy state. When the unused time of the user using the user terminal on a certain day of the week changes greatly relative to the unused time of the last week, and the unused time of the user using the user terminal on the same day is longer, the unused time of the user on each day in the last week is considered to be shorter (the rest time of the user can be considered to be shorter, namely in the unhealthy state), and the unused time of the user using the user terminal on the same day is considered to be longer (the rest time of the user can be considered to be longer, namely in the healthy state), so that the state of the user is determined to be changed from the unhealthy state to the healthy state for the first time.
In step S426, if the unused duration of the ue in the second time period is smaller than the fourth threshold, it is determined that the user status is in the second state in the third time period.
Wherein the third time period is the sum of the first time period and the second time period.
Specifically, the first state is a healthy state, and the second state is an unhealthy state. When the unused time of the user using the user terminal on a certain day of the week is not greatly changed relative to the unused time of the last week, and the unused time of the user using the user terminal on the same day is shorter, the unused time of the user on each day in the last week is considered to be shorter (the rest time of the user can be considered to be shorter, namely, in an unhealthy state), and the unused time of the user using the user terminal on the same day is also shorter (the rest time of the user can be considered to be shorter, namely, in an unhealthy state), so that the user state is determined to be in the unhealthy state in the time period from the last week to the same day.
As another embodiment, when the usage time information of the ue includes a usage time period of the ue and an unused time period of the ue, referring to fig. 7, step S320 may include:
step S431, obtaining a first variation value according to the duration of use of the ue in the first time period and the duration of use of the ue in the second time period.
The embodiment synchronization step S411 is not described herein again.
Step S432, obtaining a second variation value according to the unused duration of the ue in the first time period and the unused duration of the ue in the second time period.
The embodiment synchronization step S421 is not described herein again.
Step S433, determine whether the first variation value is greater than the first threshold, and whether the second variation value is greater than the third threshold.
If yes, go to step S434; otherwise, step S437 is performed.
Step S434, determining whether the used time of the ue in the second time period is greater than the second threshold, and whether the unused time is less than the fourth threshold.
If yes, go to step S435; otherwise, step S436 is performed.
In step S435, it is determined that the user state changes from the first state to the second state.
Specifically, the first state is a healthy state, and the second state is an unhealthy state. That is, when the usage duration of the user terminal used by the user on a certain day of the week is greatly changed relative to the usage duration of the last week, and when the usage duration of the user terminal unused on a certain day of the week is greatly changed relative to the usage duration of the last week, and the usage duration of the user terminal used on the day is long (it can be considered that the working time of the user is greater than the second threshold), and the usage duration of the user terminal used on the day is short (it can be considered that the rest duration of the user is less than the fourth threshold), it is considered that the user status is changed from the healthy status to the unhealthy status.
In step S436, if the used time of the ue in the second time period is less than or equal to the second threshold and the unused time of the ue in the second time period is greater than or equal to the fourth threshold, it is determined that the user state is changed from the second state to the first state for the first time.
Specifically, the first state is a healthy state, and the second state is an unhealthy state. That is, when the usage duration of the user terminal used by the user on a certain day of the week is greatly changed relative to the usage duration of the last week, and when the usage duration of the user terminal unused on a certain day of the week is greatly changed relative to the usage duration of the last week, and the usage duration of the user terminal used on the day is short (it can be considered that the working time of the user is less than or equal to the second threshold), and the usage duration of the user terminal used on the day is long (it can be considered that the rest duration of the user is greater than or equal to the fourth threshold), it is determined that the user status is changed from the unhealthy status to the healthy status for the first time.
Step S437, if the first variation value is less than or equal to a first threshold, the used time of the ue in the second time period is greater than a second threshold, the second variation value is less than or equal to a third threshold, and the unused time of the ue in the second time period is less than a fourth threshold, determining that the ue is in the second state in a third time period, where the third time period is the sum of the first time period and the second time period.
Specifically, the first state is a healthy state, and the second state is an unhealthy state. That is, when the usage duration of the user terminal used by the user on a certain day of the week is not greatly changed with respect to the usage duration of the last week, and when the usage duration of the user terminal unused on a certain day of the week is not greatly changed with respect to the usage duration of the last week, the usage duration of the user terminal used on the day is long (it can be considered that the working time of the user is greater than the second threshold), and the usage duration of the user terminal used on the day is short (it can be considered that the rest duration of the user is less than the fourth threshold), and therefore, it is determined that the user status is in the unhealthy status in the period from the last week to the day.
Step S330, if the user state meets the preset condition, generating reminding information for reminding the user.
The preset condition comprises that when the user state is changed from the first state to the second state or the user state is in the second state within the third time period or the user state is changed from the second state to the first state for the first time.
Namely, when the user state is any one of the three states, the reminding information for reminding the user is generated. It can be understood that the user state is only reminded when the user state is restored to the first state for the first time, and the subsequent user state is not reminded when the user state is always in the first state, so that the user experience can be improved.
As an implementation manner, when the preset condition includes that the user state is changed from the first state to the second state or the user state is in the second state within the third time period, the use information of the client in the user terminal may be acquired, and when the user state meets the preset condition, the reminding information for reminding the user is generated according to the use information of the client in the user terminal.
The usage information of the client in the user terminal may include the name and the duration of usage of the client in the second time period.
Further, as an embodiment, referring to fig. 8, step S330 may include:
step S331, obtaining the usage duration of each category of client in the second time period according to the name and the usage duration of the client in the second time period.
As an embodiment, referring to fig. 9, step S331 includes:
step S3311, respectively determining the category to which each client belongs according to the name of the client used in the second time period.
The categories may include games, information, entertainment, shopping, reading, etc., but are not limited thereto.
The category to which each client belongs can be judged according to the name of each client. For example, one can "Taobao" belong to the shopping category.
Step S3312, add the use durations of all the clients included in each category to obtain the use duration of the client in the category.
Step S332, generating, according to the usage duration of the clients of each category in the second time period and the preset weight of each category, reminding information for reminding the user at a level corresponding to the preset weight.
Different categories may be weighted differently, for example, games and entertainment may be weighted higher, information may be weighted lower, shopping and reading may be weighted lower. Of course, the setting method of the weight is not limited to this.
For example, if the usage duration of the client of the game class is the same as the usage duration of the client of the reading class, the reminding information for reminding the user is generated at a level corresponding to the preset weight of the game class because the preset weight of the game class is higher.
Furthermore, the reminding information for reminding the user at the corresponding level can be respectively set for each preset weight, and the larger the preset weight is, the more direct and timely the reminding information at the corresponding level is.
Specifically, the reminding information comprises reminding content and reminding patterns, and the reminding patterns comprise visual reminding or voice reminding. Further, the visual type reminder may include a notification type reminder, a dialog box reminder, and the like. For example, the reminding information of the game class corresponding to the grade can adopt a more direct and more timely reminding mode such as voice reminding, and for the reminding information of the reading class corresponding to the grade, a more moderate reminding mode such as notification reminding can be adopted.
If the user terminal uses the data processing method to be implemented in the user terminal 110 shown in fig. 1, the user terminal 110 may perform the reminding directly according to the reminding information; if the method for processing the data used by the user terminal is implemented in the server 120 shown in fig. 1, the server 120 sends the generated reminder information to the user terminal 110, so that the user terminal 110 reminds according to the received reminder information.
According to the user terminal use data processing method provided by the embodiment of the invention, the use time information of the user terminal is obtained, the user state corresponding to the user terminal is determined according to the use time information and the preset judgment rule, and the reminding information for reminding the user is generated when the user state meets the preset condition.
Please refer to fig. 10, which is a functional block diagram of a ue-based data processing apparatus 500 according to an embodiment of the present invention. The user terminal usage data processing apparatus 500 includes an obtaining module 510, a processing module 520, and a generating module 530.
An obtaining module 510, configured to obtain usage time information of a user terminal;
in one embodiment, the usage time information of the ue includes a usage time duration of the ue and/or an unused time duration of the ue.
A processing module 520, configured to determine a user state corresponding to the user terminal according to the usage time information and a preset determination rule;
the user state corresponding to the user terminal comprises a first state, a second state and a change condition of a user between the first state and the second state.
As an embodiment, the processing module 520 is specifically configured to obtain a usage time variation value according to the usage time information of the ue in a first time period and the usage time information of the ue in a second time period; and determining the user state corresponding to the user terminal according to the use time change value, the use time information of the user terminal in the first time period and the use time information of the user terminal in the second time period.
A generating module 530, configured to generate a reminding message for reminding a user if the user status meets a preset condition.
The preset condition comprises that when the user state is changed from the first state to the second state or the user state is in the second state within the third time period or the user state is changed from the second state to the first state for the first time.
As an embodiment, the preset condition includes that when the user status changes from the first status to the second status or the user status is in the second status within a third time period, the obtaining module 510 is further configured to obtain the usage information of the client in the user terminal; the generating module 530 is specifically configured to generate a reminding message for reminding a user according to the usage information of the client in the user terminal if the user status meets a preset condition.
Specifically, the usage information of the client in the user terminal includes a name and a usage duration of the client in the second time period, and the generating module 530 is specifically configured to obtain the usage duration of each category of the client in the second time period according to the name and the usage duration of the client in the second time period; and generating reminding information of a grade corresponding to the preset weight and used for reminding the user according to the service duration of the client of each category and the preset weight of each category in the second time period.
Further, the generating module 530 is specifically configured to respectively determine the category to which each client belongs according to the name of the client used in the second time period; and adding the use durations of all the clients contained in each category to obtain the use duration of the client in the category.
As another embodiment, the preset condition includes that when the user state is in the second state in the third time period, the generating module 530 is specifically configured to generate the reminding information of the level corresponding to the duration in the second state according to the duration in the second state of the user state in the third time period if the user state meets the preset condition.
Optionally, the reminding information includes reminding content and reminding style, and the reminding style includes visual reminding or voice reminding.
The above modules may be implemented by software codes, and in this case, the modules may be stored in the memory 201 of the electronic device 200. The above modules may also be implemented by hardware, such as an integrated circuit chip.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other.
The user terminal provided by the embodiment of the present invention uses the data processing apparatus, the implementation principle and the generated technical effect are the same as those of the foregoing method embodiment, and for the sake of brief description, no part of the apparatus embodiment is mentioned, and reference may be made to the corresponding contents in the foregoing method embodiment.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (8)
1. A method for processing data used by a user terminal, the method comprising:
acquiring the use time information of a user terminal, wherein the use time information of the user terminal comprises the use time of the user terminal and/or the unused time of the user terminal;
determining a user state corresponding to the user terminal according to the use time information and a preset judgment rule, wherein the user state corresponding to the user terminal comprises a first state, a second state and a change condition of a user between the first state and the second state;
wherein, the determining the user state corresponding to the user terminal according to the usage time information and a preset determination rule includes:
obtaining a use time change value according to the use time information of the user terminal in a first time period and the use time information of the user terminal in a second time period;
determining a user state corresponding to the user terminal according to the use time change value, the use time information of the user terminal in the first time period and the use time information of the user terminal in the second time period;
and if the user state meets a preset condition, generating reminding information for reminding the user, wherein the preset condition comprises that when the user state is changed from the first state to the second state or the user state is in the second state in a third time period or the user state is changed from the second state to the first state for the first time, and the third time period is the sum of the first time period and the second time period.
2. The method of claim 1, wherein the preset condition comprises when the user state changes from the first state to the second state or the user state is in the second state for a third period of time, the method further comprising:
acquiring the use information of a client in the user terminal; if the user state meets the preset condition, generating reminding information for reminding the user, wherein the reminding information comprises:
and if the user state meets the preset condition, generating reminding information for reminding the user according to the use information of the client in the user terminal.
3. The method according to claim 2, wherein the usage information of the client in the user terminal includes a name and a usage duration of the client in the second time period, and the generating of the reminding information for reminding the user according to the usage information of the client in the user terminal includes:
obtaining the service duration of each type of client in the second time period according to the name and the service duration of the client in the second time period;
and generating reminding information of a grade corresponding to the preset weight and used for reminding the user according to the service duration of the client of each category and the preset weight of each category in the second time period.
4. The method according to claim 3, wherein obtaining the usage duration of each category of the clients in the second time period according to the name and the usage duration of the clients in the second time period comprises:
respectively judging the category of each client according to the name of the client used in the second time period;
and adding the use durations of all the clients contained in each category to obtain the use duration of the client in the category.
5. The method according to claim 1, wherein the preset condition includes that when the user state is in the second state within the third time period, and if the user state meets the preset condition, the generating of the reminding information for reminding the user includes:
and if the user state meets the preset condition, generating reminding information of a grade corresponding to the duration in the second state according to the duration in the second state of the user state in the third time period.
6. The method of claim 1, wherein the reminder information comprises a reminder content and a reminder pattern, and wherein the reminder pattern comprises a visual-type reminder or a voice-type reminder.
7. An apparatus for processing data used by a user terminal, the apparatus comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring the use time information of a user terminal, and the use time information of the user terminal comprises the use time length of the user terminal and/or the unused time length of the user terminal;
the processing module is used for determining a user state corresponding to the user terminal according to the service time information and a preset judgment rule, wherein the user state corresponding to the user terminal comprises a first state, a second state and a change condition of a user between the first state and the second state;
wherein, the determining the user state corresponding to the user terminal according to the usage time information and a preset determination rule includes:
obtaining a use time change value according to the use time information of the user terminal in a first time period and the use time information of the user terminal in a second time period;
determining a user state corresponding to the user terminal according to the use time change value, the use time information of the user terminal in the first time period and the use time information of the user terminal in the second time period;
and the generating module is used for generating reminding information for reminding the user if the user state meets a preset condition, wherein the preset condition comprises that when the user state is changed from the first state to the second state or the user state is in the second state in a third time period or the user state is changed from the second state to the first state for the first time, and the third time period is the sum of the first time period and the second time period.
8. An electronic device comprising a memory, a processor, and a network module, the memory coupled to the processor, the memory storing instructions, the network module receiving and transmitting network signals, the instructions when executed by the processor to cause the processor to:
acquiring the use time information of a user terminal, wherein the use time information of the user terminal comprises the use time of the user terminal and/or the unused time of the user terminal;
determining a user state corresponding to the user terminal according to the use time information and a preset judgment rule, wherein the user state corresponding to the user terminal comprises a first state, a second state and a change condition of a user between the first state and the second state;
wherein, the determining the user state corresponding to the user terminal according to the usage time information and a preset determination rule includes:
obtaining a use time change value according to the use time information of the user terminal in a first time period and the use time information of the user terminal in a second time period;
determining a user state corresponding to the user terminal according to the use time change value, the use time information of the user terminal in the first time period and the use time information of the user terminal in the second time period;
and if the user state meets a preset condition, generating reminding information for reminding the user, wherein the preset condition comprises that when the user state is changed from the first state to the second state or the user state is in the second state in a third time period or the user state is changed from the second state to the first state for the first time, and the third time period is the sum of the first time period and the second time period.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710111777.9A CN106897565B (en) | 2017-02-28 | 2017-02-28 | User terminal use data processing method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710111777.9A CN106897565B (en) | 2017-02-28 | 2017-02-28 | User terminal use data processing method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106897565A CN106897565A (en) | 2017-06-27 |
CN106897565B true CN106897565B (en) | 2019-12-24 |
Family
ID=59185686
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710111777.9A Active CN106897565B (en) | 2017-02-28 | 2017-02-28 | User terminal use data processing method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106897565B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109101206A (en) * | 2018-07-03 | 2018-12-28 | 北京奇艺世纪科技有限公司 | A kind of health prompting method, device and electronic equipment |
CN110069497A (en) * | 2019-03-28 | 2019-07-30 | 深圳市舜宝科技有限公司 | Electronic cigarette big data processing method, device and computer equipment |
CN112118356B (en) * | 2020-09-21 | 2021-09-14 | 珠海格力电器股份有限公司 | Task reminding method for user terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103516875A (en) * | 2012-06-25 | 2014-01-15 | 百度在线网络技术(北京)有限公司 | Method for remising user of mobile terminal and mobile terminal |
CN104980565A (en) * | 2014-04-09 | 2015-10-14 | 小米科技有限责任公司 | Terminal anti-addiction method and device |
CN106060252A (en) * | 2016-05-26 | 2016-10-26 | 广东欧珀移动通信有限公司 | Control method of applications, control device of applications and mobile terminal |
CN106200940A (en) * | 2016-06-29 | 2016-12-07 | 广东欧珀移动通信有限公司 | Screen control method, screen control device and electronic installation |
-
2017
- 2017-02-28 CN CN201710111777.9A patent/CN106897565B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103516875A (en) * | 2012-06-25 | 2014-01-15 | 百度在线网络技术(北京)有限公司 | Method for remising user of mobile terminal and mobile terminal |
CN104980565A (en) * | 2014-04-09 | 2015-10-14 | 小米科技有限责任公司 | Terminal anti-addiction method and device |
CN106060252A (en) * | 2016-05-26 | 2016-10-26 | 广东欧珀移动通信有限公司 | Control method of applications, control device of applications and mobile terminal |
CN106200940A (en) * | 2016-06-29 | 2016-12-07 | 广东欧珀移动通信有限公司 | Screen control method, screen control device and electronic installation |
Also Published As
Publication number | Publication date |
---|---|
CN106897565A (en) | 2017-06-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6946746B2 (en) | Smart notification scheduling and modality selection methods, systems, and non-transitory computer-readable media | |
CN106897565B (en) | User terminal use data processing method and device and electronic equipment | |
US9442885B2 (en) | Estimating the time until a reply email will be received using a recipient behavior model | |
CN107025713B (en) | The implementation method and device of electronic voting in instant messaging group chat scene | |
CN109155023B (en) | Limiting alerts on a computing device | |
CN112152913B (en) | Service control method, device and system | |
CN108093138A (en) | A kind of coordinate prompt method, device, terminal and readable storage medium storing program for executing | |
CN106790350B (en) | Information pushing device, server and method | |
CN112600902A (en) | Notification message pushing method and device | |
CN111770351A (en) | Live broadcast message display method and device | |
CN107835114B (en) | Information processing method, equipment and computer readable medium | |
CN107295105B (en) | Child behavior analysis method, terminal device and computer-readable storage medium | |
CN103517218B (en) | Electronic calendar sharing method and device | |
CN106215417B (en) | Server and gift package distribution device and method | |
CN113051014A (en) | Eye protection prompting method and device, storage medium and computer equipment | |
CN107970613B (en) | Person position notification method, device and system | |
CN108460077B (en) | Index analysis method, system and computer readable storage medium | |
CN107979529B (en) | Information processing method, information processing apparatus, computer apparatus, and computer-readable storage medium | |
CN107426303B (en) | Information processing method and device | |
CN111105789A (en) | Awakening word obtaining method and device | |
CN104107471B (en) | Information processing method and electronic equipment | |
CN113590276A (en) | Information pushing method and related product | |
CN110688165A (en) | Application wake-up lock management method and device, terminal, storage medium and electronic device | |
CN111475223A (en) | Management method and device for information reminding | |
CN106920200B (en) | Information processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200420 Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province Patentee after: Alibaba (China) Co.,Ltd. Address before: 510000 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping square B radio tower 13 layer self unit 03 Patentee before: GUANGZHOU ALIBABA LITERATURE INFORMATION TECHNOLOGY Co.,Ltd. |