CN109240752A - A method of obtaining terminal user's daily schedule - Google Patents
A method of obtaining terminal user's daily schedule Download PDFInfo
- Publication number
- CN109240752A CN109240752A CN201811054582.6A CN201811054582A CN109240752A CN 109240752 A CN109240752 A CN 109240752A CN 201811054582 A CN201811054582 A CN 201811054582A CN 109240752 A CN109240752 A CN 109240752A
- Authority
- CN
- China
- Prior art keywords
- time
- user
- data
- terminal
- daily schedule
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4418—Suspend and resume; Hibernate and awake
Abstract
The present invention relates to a kind of methods for obtaining terminal user's daily schedule, include: step S100, obtains the adjacent solution screen data and screen locking data of the terminal, wherein, the solution screen data include at least terminal solution screen time T2, and the screen locking data include at least terminal screen locking time T1;Step S200, if T1 ∈ [t11,t12], T2 ∈ [t21,t22], and T2-T1 ∈ [Δ T1, Δ T2], then determining terminal user's daily schedule according to screen locking time T1 and screenshotss time T2;Wherein t11<t12<t21<t22Respectively the first, second, third and fourth time point, Δ T1 and Δ T2 are respectively sleeping time lower threshold value and sleeping time upper threshold value.
Description
Technical field
The present invention relates to the information processing technology more particularly to the operation information processing methods of terminal user a kind of.
Background technique
Extensive use has been obtained in intelligent mobile terminal, also have investigation statistics show there are more user have sleep
The habit of browsing or operating handset content (such as browsing news, video, object for appreciation game) before feeling, and more users sleep in the morning
Mobile phone can be first opened after waking up.For leaving the user of this kind of habit, in the prior art, the movement much according to user is had already appeared
Terminal operation information is come the method that obtains user's daily schedule.Such as patent document CN106096228A is disclosed according to user's
Come information such as the sleeping time, the durations that calculate user, patent document CN108024014A is disclosed to close charge data according to screen
The method for closing the time to obtain user's time for falling asleep, patent document CN107566257A is disclosed can be by user terminal screen most
Content of the time once closed afterwards as user's time for falling asleep.However, calculating user's daily schedule according to user's charge data
When, it can not directly sleep later because not charging or charging before user's sleep and the scope of application of this method is caused to reduce, it is quasi-
Exactness reduces;And according only to the method for screen locking data acquisition user's time for falling asleep in certain time period, make it possible to obtain
User's work and rest information is few (during only falling asleep, time of getting up, sleep duration are all unclear).
Summary of the invention
In order to solve the above technical problems, the invention discloses a kind of methods for obtaining terminal user's daily schedule, comprising: step
Rapid S100 obtains the adjacent solution screen data and screen locking data of the terminal, wherein the solution screen data include at least terminal solution screen
Time T2, the screen locking data include at least terminal screen locking time T1;Step S200, if T1 ∈ [t11,t12], T2 ∈ [t21,
t22], and T2-T1 ∈ [Δ T1, Δ T2], then determining terminal user's daily schedule according to screen locking time T1 and screenshotss time T2;
Wherein t11<t12<t21<t22Respectively the first, second, third and fourth time point, Δ T1 and Δ T2 are respectively sleeping time lower threshold value and sleep
Dormancy time upper threshold value.
Detailed description of the invention
Fig. 1 is the flow chart for the method that the present invention obtains terminal user's daily schedule.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, the present invention will be made further in conjunction with attached drawing
Detailed description.This description is to describe specific implementation consistent with the principles of the present invention by way of example, and not limitation
Mode, the description of these embodiments is detailed enough, so that those skilled in the art can practice the present invention, is not being taken off
Other embodiments can be used in the case where from scope and spirit of the present invention and can change and/or replace each element
Structure.Therefore, the following detailed description should not be understood from restrictive sense.
The present invention provides a kind of methods for obtaining terminal user's daily schedule.According to the present invention, mobile terminal can be with object
The equipment that reason is embodied as smart phone, PAD etc..As known to those skilled in the art, the parameters such as model, specification of mobile terminal are not
Influence protection scope of the present invention.
It, can be by event that the terminal occurs or end it will be understood by those skilled in the art that mobile terminal is in the process of running
The state at end is stored in log with certain format, and the log is real time updated at any time.For example, user's operation terminal carries out
When solution screen, which can be saved in log by terminal recognition according to certain format at this time to there is solution screen event, wherein
At least solution screen time reconciliation screen mark is saved, and similarly, when terminal recognition is to when having screen locking event, meeting in the same fashion will
The screen locking event is stored in the log.Those skilled in the art are it is also to be understood that required solution screen data and lock of the invention
Screen data can be obtained from the log.
Fig. 1 is the flow chart for the method that the present invention obtains terminal user's daily schedule.In Fig. 1, this method comprises:
Step S100 obtains the adjacent solution screen data and screen locking data of the terminal, wherein the solution screen data are at least wrapped
Terminal solution screen time T2 is included, the screen locking data include at least terminal screen locking time T1.Specifically, in this step, Ke Yigen
The previous screen locking data adjacent in time with it are searched according to a solution screen data, or can be according to a screen locking data
To search the latter solution screen data adjacent in time with it, the above-described adjacent solution screen data of acquisition and screen locking data.
Before this step, data scrubbing also is carried out to storage or acquisition all solution screen data and screen locking data, be removed from it
Isolated solution screen data or screen locking data.
Step S200, if T1 ∈ [t11,t12], T2 ∈ [t21,t22], and T2-T1 ∈ [Δ T1, Δ T2], then according to lock
Shield time T1 and screenshotss time T2, determines terminal user's daily schedule;Wherein t11<t12<t21<t22Respectively first, second, third and fourth
Time point, Δ T1 and Δ T2 are respectively sleeping time lower threshold value and sleeping time upper threshold value.When in this step, by screen locking
Between, solution screen the time and solution the screen locking time difference be defined, the daily schedule of terminal user can be more precisely computed out.Example
It such as, is 7:00 when the solution screen time for obtaining terminal user, when the adjacent screen locking time is 23:00, when by judging solution screen
Between and the screen locking time and the time difference between them whether meet above-mentioned each qualifications, can determine the work of the user
Cease the time.
Specifically, user's daily schedule includes that user's time for falling asleep and user get up the time, and user's time for falling asleep is
The function F1 (T1) of screen locking time T1, user get up the time be solution screen the time function F2 (T2).In one embodiment, F1 (T1)
=T1, F2 (T2)=T2 think that the time of getting up of the user is T2, the time for falling asleep of user is T1.Another embodiment
In, F1 (T1)=T1+K, F2 (T2)=T2, wherein K be empirical, preferably value range 5-20 minute, that is, think sleep when
Between for a period of time after screen locking, and the time of getting up for the solution screen time, i.e., the movement in the presence of solution screen means that user has waken up.
Compared with technology disclosed in CN108024014A and CN107566257A, by using empirical constants K, so that time for falling asleep is more
Meet the objective natural law of user's sleep, so that the time for falling asleep determined is more accurate.
Further, user's daily schedule can also include user's sleep duration F2 (T2)-F1 (T1).Reality above-mentioned
It applies in example, the T2-T1 is user sleep duration or T2-T1-K is user sleep duration.
In one embodiment, the first time point t11, the second time point t12, the third time point t21, it is described
4th time point t22, the sleeping time lower threshold value Δ T1 and/or the sleeping time upper threshold value Δ T2 rule of thumb estimate really
It is fixed.It is preferable that according to the probability statistics mould of crowd's sleeping time survey data (such as data existing in the prior art)
Type determines;It is furthermore preferred that determining aforementioned each time point and threshold value according to the normal distribution model of sleeping time.Preferred threshold value is set
It is set to [t11,t12]=[20:00-24:00] ∪ [0:00-2:00], [t21,t22]=[5:00-11:00], [Δ T1, Δ T2]=
[4 hours, 12 hours].
In summary content is it is found that by the solution screen data and screen locking data using terminal described in end users operation, with
And to the solution screen time, screen locking time and the limitation for solving the screen locking time difference, it can more precisely calculate entering for user
It sleeps time, the time of getting up and sleep duration multiple user's daily schedules, applied widely, accuracy is high.
As known to those skilled in the art, method of the invention can be realized at the terminal, i.e. mobile terminal records solution screen number
According to screen locking data and obtain the daily schedule;Method of the invention can also realize in server-side, i.e. mobile terminal is by record
Solution screen data and screen locking data are transferred to server-side, obtain the daily schedule by server-side.
Currently preferred aspect realizes the method that step S100 and step S200 is constituted by server-side.Server-side storage
There are the mapping relations and crowd's type identification and first time point of terminal TID (unique identification of terminal) and crowd's type identification
t11, the second time point t12, the third time point t21, the 4th time point t22, the sleeping time lower threshold value Δ T1
With the mapping relations of the sleeping time upper threshold value Δ T2.As known to those skilled in the art, mapping relations can be with physics realization
The part field of table or table in relational database or other physical store forms in the prior art.
In the preferred aspect, terminal TID, the reconciliation of screen locking time are shielded time tranfer to server-side by mobile terminal.In order to mention
The accuracy of high user's daily schedule, server-side can also include: before step S100
Step S001 inquires corresponding crowd's type identification according to the terminal TID.
Step S002, according to crowd's type identification, is obtained corresponding if inquiring corresponding crowd's type identification
First time point t11, the second time point t12, the third time point t21, the 4th time point t22, sleeping time
The lower threshold value Δ T1 and sleeping time upper threshold value Δ T2.
Step S003 makes if not inquiring corresponding crowd's type identification (such as query result is Null)
With preset first time point t11, the second time point t12, the third time point t21, the 4th time point t22, it is described
The sleeping time lower threshold value Δ T1 and sleeping time upper threshold value Δ T2;For example, [t11,t12]=[20:00-24:00] ∪ [0:
00-2:00], [t21,t22]=[5:00-11:00], [Δ T1, Δ T2]=[4 hours, 12 hours].
Illustratively, crowd's type identification is for example including old user, young user etc..Old user service end is deposited
Storing up user's time for falling asleep threshold range is [20:00,22:00], and for young user, server-side stores sleep time threshold range
For [22:30,23:00], the sleep duration threshold range of the old user of storage is [5 hours, 7 hours], and the youth stored
The sleep duration threshold range of user is [9 hours, 11 hours], etc..As known to those skilled in the art, crowd's type identification can
There can be tens to several hundred items, old user and young user are only examples therein, are not meant to protection of the invention
Range is confined to old user and youth with two kinds;Moreover, the setting of each time point and threshold value it is also preferred that slept according to crowd
The probability statistics model of time survey data (such as data existing in the prior art) determines.
Since server-side can store and using aforementioned two kinds of mapping relations so that server-side can be according to difference
Type different time point and threshold value is respectively set, user's daily schedule of acquisition is more accurate.
In another improved embodiment, server-side is also by the corresponding first time point t of terminal TID11, second time
Point t12, the third time point t21, the 4th time point t22, the sleeping time lower threshold value Δ T1 and the sleeping time
Upper threshold value Δ T2 is synchronized to terminal, so that terminal can also reach identical technical effect.
In another embodiment of the present invention, in order to further increase the accuracy of user's daily schedule, in step
Can also include a pre-treatment step before S100, which specifically includes:
Step S01 obtains all solution screen data and screen locking data of the terminal in a period of time.Wherein described one section when
Between can be configured as needed, such as may be configured as 24 hours, 12 hours etc..
Step S02, if the time difference of a screen locking data and the previous solution screen data adjacent in time with it is not
Greater than first threshold, then the solution screen data and the screen locking data are deleted.Such as all solution screen data and screen locking data in acquisition
In, the screen locking time of one of screen locking data is 1:00, and the solution screen time of previous solution screen data adjacent thereto is 00:
59, it is known that the two differs 1 minute, and when the time difference being less than first threshold, the screen locking data and the solution screen data will be deleted
It removes.Therefore, by above-mentioned pre-treatment step, some transiences during user can sleep check that the behavioral datas such as time are filtered
It removes, so that the user's daily schedule finally calculated is more acurrate.
Wherein, the first threshold can be usually no more than 3 minutes with self-setting;Preferably, the first threshold can be with
For the default screen locking duration of mobile terminal setting.
As shown in the above, it by being pre-processed to all solution screen data and screen locking data of acquisition, can eliminate
The interference that some transience terminal operations of the user during rest judge user's daily schedule improves and calculates user's work and rest
The accuracy of time.
In one more embodiment of the present invention, solution screen data and screen locking data are uploaded to server-side, so as in server-side
End obtains the daily schedule of terminal user.Specifically, according to the present invention, server-side can with physics realization be a server-side,
Can be implemented as include multiple server-sides server-side group.As known to those skilled in the art, the model of server-side, specification etc. are joined
Number has no effect on protection scope of the present invention.
By calculating the daily schedule of user at server-side end, the slack resources at server-side end can be made full use of, are reduced
To the occupancy and consumption of terminal storage resource itself, computing resource etc., it is also convenient for managing the solution screen locking number of the terminal user concentratedly
According to for subsequent use.
Specifically, the terminal uploads the solution screen data and screen locking data in a daily specified time.
Specifically, the terminal uploads the solution screen data and screen locking data after being connected to wifi network.
Preferably, the terminal uploads the solution screen data and screen locking data after having detected unlock operation, to make
Obtaining server-side can handled in real time
Preferably, the terminal uploads solution screen data to server-side using the third party SDK being integrated in the terminal APP
With screen locking data.
Preferably, the solution screen data and the screen locking data are uploaded to the server-side in the way of two one group.
In addition, according to disclosed specification of the invention, other realizations of the invention are for those skilled in the art
Significantly.The various aspects of embodiment and/or embodiment can be used for system of the invention individually or with any combination
In method.Specification and example therein should be only be regarded solely as it is exemplary, the actual scope of the present invention and spirit by appended
Claims indicate.
Claims (10)
1. a kind of method for obtaining terminal user's daily schedule characterized by comprising
Step S100 obtains the adjacent solution screen data and screen locking data of the terminal, wherein the solution screen data include at least eventually
End solution screen time T2, the screen locking data include at least terminal screen locking time T1;
Step S200, if T1 ∈ [t11,t12], T2 ∈ [t21,t22], and T2-T1 ∈ [Δ T1, Δ T2], then when according to screen locking
Between T1 and screenshotss time T2, determine terminal user's daily schedule;
Wherein t11<t12<t21<t22Respectively the first, second, third and fourth time point, Δ T1 and Δ T2 are respectively sleeping time lower threshold value
With sleeping time upper threshold value.
2. the method according to claim 1 for obtaining terminal user's daily schedule, which is characterized in that the daily schedule packet
Include: user's time for falling asleep and user get up the time, wherein the terminal screen locking time T1 is user's time for falling asleep, the end
End solution screen time T2 is that the user gets up the time.
3. the method according to claim 1 or 2 for obtaining terminal user's daily schedule, which is characterized in that when the work and rest
Between include user sleep duration, wherein the T2-T1 be the user sleep duration.
4. the method according to claim 1-3 for obtaining terminal user's daily schedule, which is characterized in that the step
Can also include: before rapid S100
Step S001 inquires corresponding crowd's type identification according to the terminal TID;
Step S002, according to crowd's type identification, obtains corresponding first if inquiring corresponding crowd's type identification
Time point t11, the second time point t12, the third time point t21, the 4th time point t22, threshold under sleeping time
It is worth the Δ T1 and sleeping time upper threshold value Δ T2;
Step S003 uses preset first time point t if not inquiring corresponding crowd's type identification11, it is described
Second time point t12, the third time point t21, the 4th time point t22, the sleeping time lower threshold value Δ T1 and described
Sleeping time upper threshold value Δ T2.
5. the method according to claim 1-3 for obtaining terminal user's daily schedule, which is characterized in that described to sleep
The time upper threshold value Δ T1 and sleeping time lower threshold value Δ T2 that sleeps is determining according to the probability statistics model of crowd's sleeping time, and
The sleeping time upper threshold value Δ T1 is preferably 12 hours, and the sleeping time lower threshold value Δ T2 is preferably 4 hours.
6. the method according to claim 4 for obtaining terminal user's daily schedule, which is characterized in that solution screen data with
Screen locking data are uploaded to server-side by the third party SDK being integrated in the terminal software APP.
7. the method according to claim 4 for obtaining terminal user's daily schedule, which is characterized in that the terminal is daily
A specified time upload the solution and shield data and screen locking data.
8. the method according to claim 4 for obtaining terminal user's daily schedule, which is characterized in that the terminal is connecting
The solution screen data and screen locking data are uploaded after to wifi network.
9. the method according to claim 4 for obtaining terminal user's daily schedule, which is characterized in that the terminal is detecting
Shield data and screen locking data to there is unlock to upload the solution after operating.
10. the method according to claim 4 for obtaining terminal user's daily schedule, which is characterized in that the solution shields data
The server-side is uploaded in the way of two one group with the screen locking data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811054582.6A CN109240752A (en) | 2018-09-11 | 2018-09-11 | A method of obtaining terminal user's daily schedule |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811054582.6A CN109240752A (en) | 2018-09-11 | 2018-09-11 | A method of obtaining terminal user's daily schedule |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109240752A true CN109240752A (en) | 2019-01-18 |
Family
ID=65067758
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811054582.6A Pending CN109240752A (en) | 2018-09-11 | 2018-09-11 | A method of obtaining terminal user's daily schedule |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109240752A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111416905A (en) * | 2020-03-17 | 2020-07-14 | 浙江每日互动网络科技股份有限公司 | Information processing method and device, terminal and computer readable storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103093335A (en) * | 2013-01-04 | 2013-05-08 | 广东欧珀移动通信有限公司 | User reminding method and user reminding device |
CN104536726A (en) * | 2014-11-21 | 2015-04-22 | 深圳市金立通信设备有限公司 | Terminal |
CN104808767A (en) * | 2015-03-31 | 2015-07-29 | 深圳市金立通信设备有限公司 | Terminal control method |
CN105279661A (en) * | 2014-07-11 | 2016-01-27 | 阿里巴巴集团控股有限公司 | Commodity object information providing method and apparatus |
CN105278666A (en) * | 2014-12-16 | 2016-01-27 | 维沃移动通信有限公司 | Method and device for obtaining work and rest time of users |
CN106294759A (en) * | 2016-08-11 | 2017-01-04 | 武汉科优达科技有限公司 | A kind of method and system of automatic acquisition group of subscribers daily schedule |
US9842010B1 (en) * | 2016-10-24 | 2017-12-12 | International Business Machines Corporation | Adjustment of a sleep duration for a process based on an expected time for securing a spinlock |
CN107660927A (en) * | 2017-09-26 | 2018-02-06 | 绵眠(上海)智能科技有限公司 | Method and system based on sleep stage regulation bed temperature |
CN107704281A (en) * | 2017-09-12 | 2018-02-16 | 广东小天才科技有限公司 | The use control method and electronic equipment of a kind of electronic equipment |
-
2018
- 2018-09-11 CN CN201811054582.6A patent/CN109240752A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103093335A (en) * | 2013-01-04 | 2013-05-08 | 广东欧珀移动通信有限公司 | User reminding method and user reminding device |
CN105279661A (en) * | 2014-07-11 | 2016-01-27 | 阿里巴巴集团控股有限公司 | Commodity object information providing method and apparatus |
CN104536726A (en) * | 2014-11-21 | 2015-04-22 | 深圳市金立通信设备有限公司 | Terminal |
CN105278666A (en) * | 2014-12-16 | 2016-01-27 | 维沃移动通信有限公司 | Method and device for obtaining work and rest time of users |
CN104808767A (en) * | 2015-03-31 | 2015-07-29 | 深圳市金立通信设备有限公司 | Terminal control method |
CN106294759A (en) * | 2016-08-11 | 2017-01-04 | 武汉科优达科技有限公司 | A kind of method and system of automatic acquisition group of subscribers daily schedule |
US9842010B1 (en) * | 2016-10-24 | 2017-12-12 | International Business Machines Corporation | Adjustment of a sleep duration for a process based on an expected time for securing a spinlock |
CN107704281A (en) * | 2017-09-12 | 2018-02-16 | 广东小天才科技有限公司 | The use control method and electronic equipment of a kind of electronic equipment |
CN107660927A (en) * | 2017-09-26 | 2018-02-06 | 绵眠(上海)智能科技有限公司 | Method and system based on sleep stage regulation bed temperature |
Non-Patent Citations (1)
Title |
---|
顾维玺: "基于移动感知技术的睡眠状态追踪研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111416905A (en) * | 2020-03-17 | 2020-07-14 | 浙江每日互动网络科技股份有限公司 | Information processing method and device, terminal and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220277248A1 (en) | User objective assistance technologies | |
CN105144156B (en) | Metadata is associated with the image in personal images set | |
CN105210352B (en) | Intelligent content based on fingerprint prefetches | |
CN107678776A (en) | Multimode version dependence construction method, device, server and storage medium | |
CN107090693A (en) | A kind of clothing management method, system, washing machine and server | |
CN106462453A (en) | Dynamic adjustment of mobile device based on peer event data | |
CN106664254A (en) | Optimizing network traffic management in a mobile network | |
CN102037481A (en) | Method and apparatus for detecting patterns of behavior | |
CN109189782A (en) | A kind of indexing means in block chain commodity transaction inquiry | |
JP2013536488A (en) | Network server equipment configuration and related methods for handling non-parametric, multi-dimensional, spatial and temporal human behavior or a wide range of technical observations | |
CN106998274A (en) | Application message method for pushing and device | |
CN103517405B (en) | A kind of method and system of network positions, mobile terminal and network side equipment | |
CN105139557B (en) | The information prompting method and artificial intelligence door bell and button system of artificial intelligence doorbell | |
CN108959505A (en) | A kind of method and terminal device of management caching picture | |
CN110096996A (en) | Biological information identification method, device, terminal, system and storage medium | |
Ye et al. | Resolving uncertainty in context integration and abstraction: context integration and abstraction | |
Xue et al. | Pattern-based event detection in sensor networks | |
CN110474963A (en) | A kind of resource access method based on zookeeper, system, medium and electronic equipment | |
CN109240752A (en) | A method of obtaining terminal user's daily schedule | |
CN106550095A (en) | The yellow page system of the method, device and mobile terminal of health data management | |
CN110502510A (en) | A kind of real-time analysis of WIFI terminal equipment track data and De-weight method and system | |
CN109460965B (en) | Method for acquiring work and rest time of terminal user | |
CN109525487A (en) | Mission bit stream distribution method, device, readable storage medium storing program for executing and computer equipment | |
CN107194221A (en) | Schedule synchronization method and device | |
CN108989894A (en) | Method and apparatus for playing TV programme |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190118 |
|
RJ01 | Rejection of invention patent application after publication |