CN105278666B - Obtain the method and device of user's daily schedule - Google Patents
Obtain the method and device of user's daily schedule Download PDFInfo
- Publication number
- CN105278666B CN105278666B CN201410779188.4A CN201410779188A CN105278666B CN 105278666 B CN105278666 B CN 105278666B CN 201410779188 A CN201410779188 A CN 201410779188A CN 105278666 B CN105278666 B CN 105278666B
- Authority
- CN
- China
- Prior art keywords
- time
- point
- daily schedule
- time point
- user
- 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
Abstract
The present invention relates to electronic technology field, especially a kind of method and device for obtaining user's daily schedule, applied to mobile equipment.Including:User's work and rest storage and monitoring time segment is set;It records and discriminant parameter changed time point, the reference time point got up or slept using the time point as user is preset in the storage and monitoring time segment;The initial daily schedule point of user is determined according to the variation of the reference time point and the default discriminant parameter, the initial daily schedule point includes initial get up time point and point of initial sleeping time;The daily schedule of user is determined according to the initial daily schedule point, the daily schedule includes getting up time and sleeping time for user.The present invention also provides a kind of devices, are used to implement the above method.The embodiment of the present invention obtains daily schedule point, it can be achieved that hommization, the daily schedule of automatic accurate acquisition user, and can dynamically update by obtaining initial daily schedule point, by verifying and analyzing.
Description
Technical field
The present invention relates to electronic technology field, especially a kind of method and device for obtaining user's daily schedule.
Background technology
The years development of industry, information revolution is have passed through, when the world crosses this science and technology of people from natural Technology Times
In generation, it is hot issue instantly that science and technology how to be allowed, which to be better understood from the mankind, services the mankind.Automatically personal work, is accurately obtained
The breath time is the important science and technology for servicing the mankind.
The existing method for obtaining the personal daily schedule is comparatively laborious, and the daily schedule obtained is inaccurate, also without
Method is updated according to the variation of user's daily daily schedule, can not meet the requirement of better services user.
Invention content
To solve accurately obtain the personal daily schedule at present, and the acquired personal daily schedule can not be according to user
The variation of daily daily schedule and the problem of update, on the one hand the embodiment of the present invention provides a kind of acquisition user's daily schedule
Method, including:
User's work and rest storage and monitoring time segment is set;
It records and discriminant parameter changed time point is preset in the storage and monitoring time segment, using the time point as user
The reference time point got up or slept;
The initial daily schedule point of user, institute are determined according to the variation of the reference time point and the default discriminant parameter
It states initial daily schedule point and includes initial get up time point and point of initial sleeping time;
The daily schedule of user is determined according to the initial daily schedule point, the daily schedule includes when getting up of user
Between and sleeping time.
On the other hand the embodiment of the present invention additionally provides a kind of device, including:
Setup module, for setting user's work and rest storage and monitoring time segment;
Logging modle presets discriminant parameter changed time point, with described for recording in the storage and monitoring time segment
The reference time point that time point gets up or sleeps as user;
Initial daily schedule point acquisition module, for the variation according to the reference time point and the default discriminant parameter
Determine the initial daily schedule point of user, the initial daily schedule point includes initially getting up time point and initial sleeping time
Point;
Daily schedule acquisition module, for determining the daily schedule of user, the work according to the initial daily schedule point
The breath time includes getting up time and sleeping time for user.
The time point during variation of different differentiation factors that the embodiment of the present invention is recorded according to device, by verifying or dividing
Analysis, obtains initial daily schedule point, further according to the initial daily schedule point in the initial daily schedule point on the same day and several days, obtains
To final daily schedule point.Therefore, realization of the invention can be in the case where not increasing external equipment, and initiative recognition is simultaneously accurate
True obtains user's current daily schedule, and timely update the daily daily schedule according to the variation of personal daily schedule
Point.
Description of the drawings
Fig. 1 is the flow diagram of the embodiment one for the method that the present invention obtains user's daily schedule;
Fig. 2 is the flow diagram of the embodiment two for the method that the present invention obtains user's daily schedule;
Fig. 3 is the flow diagram of the embodiment three for the method that the present invention obtains user's daily schedule;
Fig. 4 is the structure diagram of the embodiment one of the device of the invention;
Fig. 5 is the structure diagram of the embodiment two of the device of the invention;
Fig. 6 is the structure diagram of the embodiment three of the device of the invention.
Specific embodiment
Below in conjunction with the embodiment of the present invention and attached drawing, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment shall fall within the protection scope of the present invention.
Fig. 1, is the flow diagram of the embodiment one for the method that the present invention obtains user's daily schedule, and this method includes:
Step S11:User's work and rest storage and monitoring time segment is set.
In this step, user can by be manually entered, select the modes such as preset time set get up storage and monitoring time segment and
The Sleep-Monitoring period.Illustratively, the storage and monitoring time segment of getting up of the present embodiment setting is 05:00 to 10:00, the sleep of setting
Storage and monitoring time segment is 20:00 to 24:00.
Step S12:It records and discriminant parameter changed time point is preset in the storage and monitoring time segment, with the time point
The reference time point got up or slept as user.
When the system time of equipment meets set storage and monitoring time segment, in the present embodiment, when system time reaches 05:
00 (or 20:00) when, at time point when the default discriminant parameter of start recording equipment changes, the time point is as reference
Time point.
The variation of default discriminant parameter include but not limited to the variation of network data, the variation of geographic position data, whether
Have the operating of touch screen/button, it is larger it is photosensitive change, the action of larger gyroscope, the input of sound, camera picture
Variation etc..
Step S13:The initial work and rest of user is determined according to the variation of the reference time point and the default discriminant parameter
Time point, the initial daily schedule point include initial get up time point and point of initial sleeping time.
Verify the default discriminant parameter in preset time after the reference time point duration whether be more than
Preset time threshold, if it is, determining that the reference time point is initially got up time point to be described.
In this step, illustratively, in storage and monitoring time segment of getting up:
It is 07 when in step S12, having recorded default discriminant parameter changed time point i.e. reference time point for the first time:
10, in 30 minutes after the reference time point, i.e., 07:11-07:In 40 periods:
The preset time threshold of discriminant parameter is:Touch screen/button operation be continued above 2 minutes, gyroscope action persistently surpass
Spend 1 minute, voice input is continued above 1 minute, facial image is continued above 30 seconds etc..More than any one in above-mentioned threshold value
Afterwards, equipment obtains the reference time point 07:10 be initial daily schedule point, meanwhile, default the sentencing of step S12 no longer recording equipments
Time point when other parameter changes.
If 07:11-07:In 40 times, any one in above-mentioned threshold value is not above, returns and performs step S12,
Time point when the default discriminant parameter of primary equipment changes is recorded, as with reference to time point.Illustratively, step
The point of reference time next time of S12 records is 08:10,08:11 to 08:In 40 periods, if it exceeds in above-mentioned threshold value
Any one after, equipment obtains the reference time point 08:10 be initial daily schedule point, meanwhile, step S12, which is not re-recorded, to be set
Time point when standby default discriminant parameter changes.
If 08:11-08:In 40 times, when being not above any one in above-mentioned threshold value, return and perform step
S12 records time point when the default discriminant parameter of primary equipment changes, as with reference to time point, so follows repeatedly
Ring terminates until getting initial daily schedule point or storage and monitoring time segment.
In the Sleep-Monitoring period, the default differentiation ginseng in the preset time after the reference time point is judged
Whether number changes, if it is not, then determining that the reference time point is the initial sleeping time point.
It is identical with above-mentioned principle, in the storage and monitoring time segment 20 of sleep:00 to 24:In 00,
It is 20 when step S12 has recorded default discriminant parameter changed time point i.e. reference time point for the first time:10,
In 30 minutes after the reference time point, i.e., 20:11-20:In 40 periods:
If changed without any default discriminant parameter, reference time point 20:10 be initial daily schedule point, together
When, time point when the default discriminant parameter of step S12 no longer recording equipments changes.
Discriminant parameter is preset if there is any one to change, return to step S12, record the default of primary equipment and sentence
Time point when other parameter changes, as with reference to time point.Illustratively, during the reference next time of step S12 records
Between point for 21:10,21:11 to 21:In 40 periods, if presetting discriminant parameter without any one and changing, the ginseng
Examine time point 21:10 be initial daily schedule point.Meanwhile the default discriminant parameter of step S12 no longer recording equipments changes
When time point.
If 21:11 to 21:In 40 times, there is any default discriminant parameter to change, return and perform step S12,
Time point when the default discriminant parameter of primary equipment changes is recorded, as with reference to time point, such iterative cycles, directly
To getting initial daily schedule point or storage and monitoring time segment terminates.
Step S14:The daily schedule of user is determined according to the initial daily schedule point, the daily schedule includes user
Get up time and sleeping time.
The described of the second preset times is obtained initially to get up time point;
The initial daily schedule point of second preset times is averaged, as the user when getting up
Between.
Illustratively, in the present embodiment, the second preset times are set as 30, then obtain nearest 30 times initial gets up time point
(including the same day initial daily schedule point).
The initial time point of getting up of 30 times is subjected to mean value calculation, obtains getting up the daily schedule for the same day.
When the times N of the initial daily schedule point acquired in equipment is less than or equal to 30:
The daily schedule point of getting up on the same day is:
The sum of nearest n times initial daily schedule/N;
When the times N of the initial daily schedule point acquired in equipment is more than 30:
The daily schedule point of getting up on the same day is:
The sum of nearest 30 times initial daily schedule/30.
Obtain the initial sleeping time point of third preset times;
The initial sleeping time point of the third preset times is averaged, the sleep as the user is worked and rested
Time point.
With above-mentioned acquisition get up daily schedule point principle it is identical, illustratively, in the present embodiment, the second preset times are set
It is 30, then obtains the initial sleeping time point of nearest 30 times, then carry out mean value calculation, obtain the sleep daily schedule on the same day
Point,
The embodiment of the present invention in storage and monitoring time segment, records time point when default discriminant parameter changes, according to institute
The time point of record within subsequent a period of time, verifies whether the time point can become initial daily schedule point.Further according to more
Secondary initial daily schedule point obtains the daily schedule point on the same day.It therefore, can be in the case where not increasing external equipment, actively
It identifies and accurately obtains user's current daily schedule, and can be according to the variation of user's daily schedule, daily dynamic more new work
Time point is ceased, ensures that the acquired daily schedule is accurate.
Fig. 2, is the flow diagram of the embodiment two for the method that the present invention obtains user's daily schedule, and this method includes:
Step S21:User's work and rest storage and monitoring time segment is set.
The correspondence step that this step is obtained with the present invention in the embodiment one of the method for user's daily schedule is identical, here not
It repeats again.
Step S22:Record and default discriminant parameter changed time point preset in the storage and monitoring time segment, with it is described when
Between put the reference time point getting up or sleep as user.
In this step, in the storage and monitoring time segment, when the default discriminant parameter of equipment each time is changed when
Between put and all record.
Step S23:Determine that user's is initial according to the variation of the reference time point and the default discriminant parameter
Daily schedule point, the initial daily schedule point include initial get up time point and point of initial sleeping time.
In this step, after storage and monitoring time segment, the storage and monitoring time segment is divided into multiple isometric analysis time sections;
Illustratively, after storage and monitoring time segment of getting up, by 05:00 to 10:00, it is divided into an analysis time within every five minutes
Section, altogether 60 analysis times section.
In 60 analysis time sections, a most analysis time of the changed number of default discriminant parameter is obtained
Section;In analysis time section, it is the initial daily schedule to choose time point when the default discriminant parameter changes for the first time
Point;
In this step, after the Sleep-Monitoring period, when being changed according to the default discriminant parameter that step S22 is recorded
Time point, it is initial daily schedule point to choose time point that the last one is recorded.
Step S24:The daily schedule of user is determined according to the initial daily schedule point, the daily schedule includes user
Get up time and sleeping time.
The correspondence step that this step is obtained with the present invention in the embodiment one of the method for user's daily schedule is identical, here not
It repeats again.
The embodiment of the present invention, by recording all time points preset in storage and monitoring time segment when discriminant parameter changes,
According to the time point recorded, most intensive data time section is obtained, further chooses initial daily schedule point.Further according to multiple
Initial daily schedule point obtain the same day daily schedule point.Therefore, can actively know in the case where not increasing external equipment
User's current daily schedule is obtained not and accurately, and can be according to the variation of user's daily schedule, the work and rest of dynamic update daily
Time point ensures that the acquired daily schedule is accurate.
Fig. 3, is the flow diagram of the embodiment three for the method that the present invention obtains user's daily schedule, and this method includes:
Step S31:User's work and rest storage and monitoring time segment is set.
The correspondence step that this step is obtained with the present invention in the embodiment one of the method for user's daily schedule is identical, here not
It repeats again.
Step S32:Record and default discriminant parameter changed time point preset in the storage and monitoring time segment, with it is described when
Between put the reference time point getting up or sleep as user.
The correspondence step that this step is obtained with the present invention in the embodiment two of the method for user's daily schedule is identical, here not
It repeats again.
Step S33:The initial work and rest of user is determined according to the variation of the reference time point and the default discriminant parameter
Time point, the initial daily schedule point include initial get up time point and point of initial sleeping time.
In this step, the storage and monitoring time segment is divided into multiple isometric analysis time sections.Illustratively, the present embodiment
In, it was an analysis time section with every 15 minutes,
In the monitoring period got up:05:00-10:In 00, analysis time section is:
05:00-05:15;
05:16-05:30;
05:31-05:45
…
…
9:31-9:45;
9:46-10:00
Illustratively, in this implementation, the first preset times threshold value is set as 2 times, is analyzed since first analysis time section,
When the default discriminant parameter in some analysis time section, having 2 times or more changes, by the starting of analysis time section
Time point as initially getting up time point, is simultaneously stopped analysis.
It is exemplary, 05:00-05:15 and 05:16-05:30 period does not all have repeatedly default discriminant parameter to become
Change, 05:31-05:Have repeatedly that default discriminant parameter changes in 45, then 05:31 be initial daily schedule point.
In the storage and monitoring time segment 20 of sleep:00-24:In 00 and above-mentioned same reason, opened from first analysis time section
Begin analysis, when some analysis time section in, no any default discriminant parameter changes, by the analysis time section initial time
Point is used as initial sleeping time point, is simultaneously stopped analysis.
Step S34:The daily schedule of user is determined according to the initial daily schedule point, the daily schedule includes user
Get up time and sleeping time.
The correspondence step that this step is obtained with the present invention in the embodiment one of the method for user's daily schedule is identical, here not
It repeats again.
The embodiment of the present invention, by recording all time points preset in storage and monitoring time segment when discriminant parameter changes,
It obtains and repeatedly or continuously presets the discriminant parameter changed period, further obtain initial daily schedule point.Root again
The daily schedule point on the same day is obtained according to multiple initial daily schedule point.Therefore, can in the case where not increasing external equipment,
Initiative recognition simultaneously accurately obtains user's current daily schedule, and can be according to the variation of user's daily schedule, daily dynamically more
New work and rest time point ensures that the acquired daily schedule is accurate.
The embodiment of the method to obtaining user's daily schedule in the present invention is discussed in detail above.It will correspond to below
The device of the above method is further elaborated.
Fig. 4, is the schematic diagram of the embodiment one for the device that the present invention obtains user's daily schedule, which includes:If
Put module 110, logging modle 120, point acquisition module of initial daily schedule 130, daily schedule acquisition module 140.
Setup module 110 is connect with logging modle 120, for user's work and rest storage and monitoring time segment.
Wherein, user can be by being manually entered, selecting the modes such as preset time to set get up storage and monitoring time segment and sleep
Storage and monitoring time segment.Illustratively, the storage and monitoring time segment of getting up of the present embodiment setting is 05:00 to 10:00, the Sleep-Monitoring of setting
Period is 20:00 to 24:00.
Logging modle 120 is connect with initial daily schedule point acquisition module 130, pre- in the storage and monitoring time segment for recording
If default discriminant parameter changed time point, the reference time point got up or slept using the time point as user.
Wherein, when the system time of equipment meets set storage and monitoring time segment, in the present embodiment, when system time arrives
Up to 05:00 (or 20:00) when, time point when the default discriminant parameter of start recording equipment changes, the time point is made
For reference time point.
The variation of default discriminant parameter include but not limited to the variation of network data, the variation of geographic position data, whether
Have the operating of touch screen/button, it is larger it is photosensitive change, the action of larger gyroscope, the input of sound, camera picture
Variation etc..
Initial daily schedule point acquisition module 130, including authentication unit 131 and determination unit 132, obtains with the daily schedule
Module 140 connects, for for the initial of the determining user of variation according to the reference time point and the default discriminant parameter
Daily schedule point, the initial daily schedule point include initial get up time point and point of initial sleeping time.
Authentication unit 131 is connected with determination unit 132, for verifying in the preset time after the reference time point
Whether the duration of the default discriminant parameter is more than preset time threshold,
If it is, determination unit 132 determines that the reference time point is initially got up time point to be described.
Illustratively, in storage and monitoring time segment of getting up:
Discriminant parameter changed time point i.e. reference time point is preset for the first time when in logging modle 120, having recorded
It is 07:10, in 30 minutes after the reference time point, i.e., 07:11-07:In 40 periods:
Presetting the preset time threshold of discriminant parameter is:Touch screen/button operation be continued above 2 minutes, gyroscope action hold
It is continuous more than 1 minute, voice input are continued above 1 minute, facial image is continued above 30 seconds etc..More than arbitrary in above-mentioned threshold value
After one, equipment obtains the reference time point 07:10 be initial daily schedule point, meanwhile, the no longer recording equipment of logging modle 120
Time point of default discriminant parameter when changing.
If 07:11-07:In 40 times, any one in above-mentioned threshold value is not above, return recording module 120,
Time point when the default discriminant parameter of primary equipment changes is recorded, as with reference to time point.Illustratively, mould is recorded
The point of reference time next time that block 120 records is 08:10,08:11 to 08:In 40 periods, if it exceeds above-mentioned threshold value
In any one after, equipment obtains the reference time point 08:10 be initial daily schedule point, meanwhile, logging modle 120 is no longer
Time point when the default discriminant parameter of recording equipment changes.
If 08:11-08:In 40 times, when being not above any one in above-mentioned threshold value, return recording module
120, time point when the default discriminant parameter of primary equipment changes is recorded, as with reference to time point, is so followed repeatedly
Ring terminates until getting initial daily schedule point or storage and monitoring time segment.
In the Sleep-Monitoring period, the default differentiation ginseng in the preset time after the reference time point is judged
Whether number changes,
If it is not, then determine that the reference time point is the initial sleeping time point.
It is identical with above-mentioned principle, in the storage and monitoring time segment 20 of sleep:00 to 24:In 00,
It is when logging modle 120 has recorded default discriminant parameter changed time point i.e. reference time point for the first time
20:10, in 30 minutes after the reference time point, i.e., 20:11-20:In 40 periods:
If changed without any default discriminant parameter, reference time point 20:10 be initial daily schedule point, together
When, time point when the default discriminant parameter of the no longer recording equipment of logging modle 120 changes.
Discriminant parameter is preset if there is any one to change, return recording module 120 records the pre- of primary equipment
Time point when if discriminant parameter changes, as with reference to time point.Illustratively, logging modle 120 records next time
Reference time point be 21:10,21:11 to 21:In 40 periods, if there is no any one to preset discriminant parameter
Variation, the reference time point 21:10 be initial daily schedule point.Meanwhile the default differentiation of the no longer recording equipment of logging modle 120
Time point when parameter changes.
If 21:11 to 21:In 40 times, there is any default discriminant parameter to change, return recording module 120,
Time point when the default discriminant parameter of primary equipment changes is recorded, as with reference to time point, such iterative cycles, directly
To getting initial daily schedule point or storage and monitoring time segment terminates.
Daily schedule acquisition module 140, it is described for determining the daily schedule of user according to the initial daily schedule point
Daily schedule includes getting up time and sleeping time for user.
Daily schedule acquisition module 140 obtains the described of the second preset times and initially gets up time point;
The initial daily schedule point of second preset times is averaged by daily schedule acquisition module 140, is made
For getting up the time for the user.
Illustratively, in the present embodiment, the second preset times are set as 30, then daily schedule acquisition module 140 obtains recently
30 times initial is got up time point (including the same day initial daily schedule point).
The initial time point of getting up of 30 times is subjected to mean value calculation, obtains getting up the daily schedule for the same day.
When the times N of the initial daily schedule point acquired in equipment is less than or equal to 30:
The daily schedule point of getting up on the same day is:
The sum of nearest n times initial daily schedule/N;
When the times N of the initial daily schedule point acquired in equipment is more than 30:
The daily schedule point of getting up on the same day is:
The sum of nearest 30 times initial daily schedule/30.
Daily schedule acquisition module 140 obtains the initial sleeping time point of third preset times;
The initial sleeping time point of the third preset times is averaged by daily schedule acquisition module 140, is made
Sleep daily schedule point for the user.
With above-mentioned acquisition get up daily schedule point principle it is identical, in the present embodiment, third preset times are set as 30, then make
Breath time-obtaining module 140 obtains the initial sleeping time point of nearest 30 times, then carries out mean value calculation, obtains sleeping for the same day
Dormancy daily schedule point.
The embodiment of the present invention in storage and monitoring time segment, records time point when default discriminant parameter changes, according to institute
The time point of record within subsequent a period of time, verifies whether the time point can become initial daily schedule point.Further according to more
Secondary initial daily schedule point obtains the daily schedule point on the same day.It therefore, can be in the case where not increasing external equipment, actively
It identifies and accurately obtains user's current daily schedule, and can be according to the variation of user's daily schedule, daily dynamic more new work
Time point is ceased, ensures that the acquired daily schedule is accurate.
Fig. 5, is the schematic diagram of the embodiment two for the device that the present invention obtains user's daily schedule, which includes:If
Put module 210, logging modle 220, point acquisition module of initial daily schedule 230, daily schedule acquisition module 240.
Setup module 210 is connect with logging modle 220, for setting user's work and rest storage and monitoring time segment.
The module principle obtains the respective modules principle phase in the embodiment one of the device of user's daily schedule with the present invention
Together, which is not described herein again.
Logging modle 220 is connect with initial daily schedule point acquisition module 230, pre- in the storage and monitoring time segment for recording
If discriminant parameter changed time point, the reference time point getting up or sleep using the time point as user.
In the present embodiment, in the storage and monitoring time segment, logging modle 220 sends out the default discriminant parameter of equipment each time
Time point during changing all is recorded.
Initial daily schedule point acquisition module 230, including analytic unit 231 and selection unit 232, obtains with the daily schedule
Module 240 connects, for determining the initial work and rest of user according to the variation of the reference time point and the default discriminant parameter
Time point, the initial daily schedule point include initial get up time point and point of initial sleeping time.
Wherein, after storage and monitoring time segment, the storage and monitoring time segment is divided into multiple isometric analysis times by analytic unit 231
Section;
Illustratively, after storage and monitoring time segment of getting up, by 05:00 to 10:00, it is divided into an analysis time within every five minutes
Section, altogether 60 analysis times section.
In 60 analysis time sections, analytic unit 231 obtains most one of the changed number of default discriminant parameter
A analysis time section;
In analysis time section, selection unit 232 chooses time when the default discriminant parameter changes for the first time
Point is initial daily schedule point;
In this step, after the Sleep-Monitoring period, become according to the default discriminant parameter that logging modle 220 is recorded
At time point during change, the last one time point recorded of the selection of selection unit 232 is initial daily schedule point.
Daily schedule acquisition module 240, it is described for determining the daily schedule of user according to the initial daily schedule point
Daily schedule includes getting up time and sleeping time for user.
The module principle obtains the respective modules principle phase in the embodiment one of the device of user's daily schedule with the present invention
Together, which is not described herein again.
The embodiment of the present invention, by recording all time points preset in storage and monitoring time segment when discriminant parameter changes,
According to the time point recorded, most intensive data time section is obtained, further chooses initial daily schedule point.Further according to multiple
Initial daily schedule point obtain the same day daily schedule point.Therefore, can actively know in the case where not increasing external equipment
User's current daily schedule is obtained not and accurately, and can be according to the variation of user's daily schedule, the work and rest of dynamic update daily
Time point ensures that the acquired daily schedule is accurate.
Fig. 6, is the schematic diagram of the embodiment three for the device that the present invention obtains user's daily schedule, which includes:If
Put module 310, logging modle 320, point acquisition module of initial daily schedule 330, daily schedule acquisition module 340.
Setup module 310 is connect with logging modle 320, for setting user's work and rest storage and monitoring time segment.
The module principle obtains the respective modules principle phase in the embodiment one of the device of user's daily schedule with the present invention
Together, which is not described herein again.
Logging modle 320 is connect with initial daily schedule point acquisition module 330, pre- in the storage and monitoring time segment for recording
If discriminant parameter changed time point, the reference time point getting up or sleep using the time point as user.
The module principle obtains the respective modules principle phase in the embodiment two of the device of user's daily schedule with the present invention
Together, which is not described herein again.
Initial daily schedule point acquisition module 330, including analytic unit 331 and acquiring unit 332, obtains with the daily schedule
Module 340 connects, for determining the initial work and rest of user according to the variation of the reference time point and the default discriminant parameter
Time point, the initial daily schedule point include initial get up time point and point of initial sleeping time.
Wherein, the storage and monitoring time segment is divided into multiple isometric analysis time sections by analytic unit 331.Illustratively, originally
It was an analysis time section with every 15 minutes in embodiment,
In the storage and monitoring time segment 05 got up:00-10:In 00, analysis time section is:
05:00-05:15;
05:16-05:30;
05:31-05:45
…
…
9:31-9:45;
9:46-10:00
Illustratively, in the present embodiment, the first preset times threshold value is set as 2 times, and analytic unit 331 is then from first analysis
Period starts to analyze, when in some analysis time section, when the default discriminant parameter for occurring 2 times or more changes, acquisition is single
Member 332 is simultaneously stopped analysis using the start time point of analysis time section as initially getting up time point.
Illustratively, 05:00-05:15 and 05:16-05:30 period does not all have repeatedly default discriminant parameter to become
Change, 05:31-05:Have repeatedly that default discriminant parameter changes in 45, then acquiring unit 332 is by 05:31 be the initial daily schedule
Point.
In the storage and monitoring time segment 20 of sleep:00-24:In 00 and above-mentioned same reason, analytic unit 331 is from first
Analysis time section start to analyze, when some analysis time section in, when no any default discriminant parameter changes, acquiring unit
332, using the start time point of analysis time section as initial sleeping time point, are simultaneously stopped analysis.
Daily schedule acquisition module 340, it is described for determining the daily schedule of user according to the initial daily schedule point
Daily schedule includes getting up time and sleeping time for user.
The module principle obtains the respective modules principle phase in the embodiment one of the device of user's daily schedule with the present invention
Together, which is not described herein again.
The embodiment of the present invention, by recording all time points preset in storage and monitoring time segment when discriminant parameter changes,
The period that default discriminant parameter generation repeatedly changes is obtained, further obtains initial daily schedule point.At the beginning of multiple
Beginning daily schedule point obtains the daily schedule point on the same day.Therefore, can be in the case where not increasing external equipment, initiative recognition is simultaneously
It is accurate to obtain user's current daily schedule, and can be according to the variation of user's daily schedule, dynamic updates the daily schedule daily
Point ensures that the acquired daily schedule is accurate.
One of ordinary skill in the art will appreciate that all or part of flow in above-described embodiment method, is that can pass through
Computer program instructs relevant hardware to complete, and the program can be stored in computer readable storage medium, the journey
Sequence is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic disc, CD,
Read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory,
RAM) etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the present invention, all essences in the present invention
All any modification, equivalent and improvement made within refreshing and principle etc., should all be included in the protection scope of the present invention.
Claims (8)
- A kind of 1. method for obtaining user's daily schedule, which is characterized in that including:User's work and rest storage and monitoring time segment is set;It records and discriminant parameter changed time point is preset in the storage and monitoring time segment, got up using the time point as user Or the reference time point of sleep;The initial daily schedule point of user is determined according to the variation of the reference time point and the default discriminant parameter, it is described first Beginning daily schedule point includes initial get up time point and point of initial sleeping time;Determine the daily schedule of user according to the initial daily schedule point, the daily schedule include user get up the time and Sleeping time;The user works and rests storage and monitoring time segment including getting up storage and monitoring time segment and Sleep-Monitoring period, described according to the reference The step of variation of time point and the default discriminant parameter determines the initial daily schedule point of user, including:In the storage and monitoring time segment of getting up, the default discriminant parameter in the preset time after the reference time point is verified Whether the duration is more than preset time threshold,If it is, determine that the reference time point is initially got up time point to be described;In the Sleep-Monitoring period, judge that the default discriminant parameter is in the preset time after the reference time point It is no to change,If it is not, then determine that the reference time point is the initial sleeping time point.
- 2. the method as described in claim 1, which is characterized in that user's work and rest storage and monitoring time segment includes monitoring period of getting up Section and Sleep-Monitoring period, the variation according to the reference time point and the default discriminant parameter determine that user's is first The step of beginning daily schedule point, including:The storage and monitoring time segment of getting up is divided into multiple analysis time sections;The default discriminant parameter in the multiple analysis time section is obtained to change frequency highest analysis time section;It changes in the highest analysis time section of frequency in the default discriminant parameter, searches the default discriminant parameter first Secondary changed time point, time point when the default discriminant parameter is changed for the first time initially get up as described Time point;In the Sleep-Monitoring period, at time point when being changed according to the default discriminant parameter last time, determine The initial sleeping time point.
- 3. the method as described in claim 1, which is characterized in that user's work and rest storage and monitoring time segment includes monitoring period of getting up Section and Sleep-Monitoring period, the variation according to the reference time point and the default discriminant parameter determine that user's is first The step of beginning daily schedule point, including:The storage and monitoring time segment of getting up is divided into multiple analysis time sections;Determine that the default discriminant parameter changes number more than the first preset times threshold value in the multiple analysis time section Analysis time section;The default discriminant parameter is changed into number for the first time more than of the analysis time of the first preset times threshold value section Time point beginning initially gets up time point as described;The Sleep-Monitoring period is divided into multiple analysis time sections;Determine the not changed analysis time section of the default discriminant parameter in the multiple analysis time section;Using the start time point of not changed analysis time section of the default discriminant parameter first time as during the sleep Between point.
- 4. method as described in any one of claims 1 to 3, which is characterized in that described true according to the initial daily schedule point The step of determining the daily schedule of user, including:The described of the second preset times is obtained initially to get up time point;The initial daily schedule point of second preset times is averaged, as getting up the time for the user;Obtain the initial sleeping time point of third preset times;The initial sleeping time point of the third preset times is averaged, the sleeping time as the user.
- 5. a kind of device for obtaining user's daily schedule, which is characterized in that including:Setup module, for setting user's work and rest storage and monitoring time segment;Logging modle presets discriminant parameter changed time point, with the time for recording in the storage and monitoring time segment The reference time point that point gets up or sleeps as user;Initial daily schedule point acquisition module, for being determined according to the variation of the reference time point and the default discriminant parameter The initial daily schedule point of user, the initial daily schedule point include initial get up time point and point of initial sleeping time;Daily schedule acquisition module, for determining the daily schedule of user according to the initial daily schedule point, during the work and rest Between include user and getting up time and sleeping time;The setup module is got up storage and monitoring time segment and Sleep-Monitoring period including setting, and the initial daily schedule point obtains Modulus block, including:In the storage and monitoring time segment of getting up, the default discriminant parameter in the preset time after the reference time point is verified Whether the duration is more than preset time threshold,If it is, determine that the reference time point is initially got up time point to be described;In the Sleep-Monitoring period, judge that the default discriminant parameter is in the preset time after the reference time point It is no to change,If it is not, then determine that the reference time point is the initial sleeping time point.
- 6. device as claimed in claim 5, the setup module are got up storage and monitoring time segment and Sleep-Monitoring time including setting Section, which is characterized in that the initial daily schedule point acquisition module includes:The storage and monitoring time segment of getting up is divided into multiple analysis time sections;The default discriminant parameter in the multiple analysis time section is obtained to change frequency highest analysis time section;It changes in the highest analysis time section of frequency in the default discriminant parameter, searches the default discriminant parameter first Secondary changed time point, time point when the default discriminant parameter is changed for the first time initially get up as described Time point;In the Sleep-Monitoring period, at time point when being changed according to the default discriminant parameter last time, determine The initial sleeping time point.
- 7. device as claimed in claim 5, which is characterized in that the setup module, including setting get up storage and monitoring time segment and Sleep-Monitoring period, the initial daily schedule point module include:The storage and monitoring time segment of getting up is divided into multiple analysis time sections;Determine that the default discriminant parameter changes number more than the first preset times threshold value in the multiple analysis time section Analysis time section;The default discriminant parameter is changed into number for the first time more than of the analysis time of the first preset times threshold value section Time point beginning initially gets up time point as described;The Sleep-Monitoring period is divided into multiple analysis time sections;Determine the not changed analysis time section of the default discriminant parameter in the multiple analysis time section;Using the start time point of not changed analysis time section of the default discriminant parameter first time as during the sleep Between point.
- 8. such as claim 5 to 7 any one of them device, which is characterized in that the daily schedule acquisition module includes:The described of the second preset times is obtained initially to get up time point;The initial daily schedule point of second preset times is averaged, as getting up the time for the user;Obtain the initial sleeping time point of third preset times;The initial sleeping time point of the third preset times is averaged, the sleeping time as the user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410779188.4A CN105278666B (en) | 2014-12-16 | 2014-12-16 | Obtain the method and device of user's daily schedule |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410779188.4A CN105278666B (en) | 2014-12-16 | 2014-12-16 | Obtain the method and device of user's daily schedule |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105278666A CN105278666A (en) | 2016-01-27 |
CN105278666B true CN105278666B (en) | 2018-06-26 |
Family
ID=55147831
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410779188.4A Active CN105278666B (en) | 2014-12-16 | 2014-12-16 | Obtain the method and device of user's daily schedule |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105278666B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109259729A (en) * | 2018-09-21 | 2019-01-25 | 珠海市万瑙特健康科技有限公司 | Sleep monitor system, method, apparatus, equipment and storage medium |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106294759B (en) * | 2016-08-11 | 2019-11-12 | 武汉科优达科技有限公司 | A kind of method and system of automatic acquisition group of subscribers daily schedule |
CN108594993B (en) * | 2018-03-30 | 2021-08-06 | Oppo广东移动通信有限公司 | Electronic device, audio playing method and related product |
CN109240752A (en) * | 2018-09-11 | 2019-01-18 | 浙江每日互动网络科技股份有限公司 | A method of obtaining terminal user's daily schedule |
CN111400148A (en) * | 2019-01-03 | 2020-07-10 | 中国移动通信集团终端有限公司 | Application program management method, device, equipment and medium |
CN113056756B (en) * | 2019-02-18 | 2024-03-12 | 深圳市欢太科技有限公司 | Sleep recognition method and device, storage medium and electronic equipment |
CN111314177B (en) * | 2020-02-21 | 2022-03-01 | 腾讯科技(深圳)有限公司 | Work and rest time period identification method based on wireless signals and related device |
CN111416905A (en) * | 2020-03-17 | 2020-07-14 | 浙江每日互动网络科技股份有限公司 | Information processing method and device, terminal and computer readable storage medium |
CN113672083B (en) * | 2021-07-30 | 2022-09-23 | 荣耀终端有限公司 | Method and device for monitoring work and rest moments |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103051805A (en) * | 2012-12-28 | 2013-04-17 | 广东欧珀移动通信有限公司 | Method and device for alarm clock timing and mobile terminal |
CN103973866A (en) * | 2013-01-28 | 2014-08-06 | 深圳富泰宏精密工业有限公司 | Intelligent alarm detecting system and method |
CN104158956A (en) * | 2014-07-21 | 2014-11-19 | 小米科技有限责任公司 | Method and device for sleep wakening through terminal |
-
2014
- 2014-12-16 CN CN201410779188.4A patent/CN105278666B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103051805A (en) * | 2012-12-28 | 2013-04-17 | 广东欧珀移动通信有限公司 | Method and device for alarm clock timing and mobile terminal |
CN103973866A (en) * | 2013-01-28 | 2014-08-06 | 深圳富泰宏精密工业有限公司 | Intelligent alarm detecting system and method |
CN104158956A (en) * | 2014-07-21 | 2014-11-19 | 小米科技有限责任公司 | Method and device for sleep wakening through terminal |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109259729A (en) * | 2018-09-21 | 2019-01-25 | 珠海市万瑙特健康科技有限公司 | Sleep monitor system, method, apparatus, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN105278666A (en) | 2016-01-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105278666B (en) | Obtain the method and device of user's daily schedule | |
CN106295567B (en) | A kind of localization method and terminal of key point | |
CN105117007B (en) | Show control method, device and the intelligent pad of equipment | |
US9405967B2 (en) | Image processing apparatus for facial recognition | |
CN103823561B (en) | expression input method and device | |
CN105744368B (en) | Divide the method for account management user on TV using sound groove recognition technology in e | |
CN109493849A (en) | Voice awakening method, device and electronic equipment | |
CN104853125B (en) | A kind of intelligence projecting method and electronic equipment | |
KR101819925B1 (en) | Dynamic control for data capture | |
CN104735339B (en) | A kind of automatic adjusting method and electronic equipment | |
CN109168067A (en) | Video timing correction method, correction terminal and computer readable storage medium | |
CN103914127B (en) | The control method and electronic equipment of a kind of electronic equipment | |
WO2016177200A1 (en) | Method and terminal for implementing screen control | |
CN106469297A (en) | Emotion identification method, device and terminal unit | |
CN105138238B (en) | Method and device for displaying time | |
CN109584874A (en) | Electrical equipment control method, device, electrical equipment and storage medium | |
EP2902949A2 (en) | Device management system and method | |
CN105913842A (en) | Method for waking up mobile phone by custom voice | |
CN108090446A (en) | Vehicular intelligent response method based on recognition of face | |
CN117390613A (en) | Echo pattern user authentication | |
CN113848747A (en) | Intelligent household equipment control method and device | |
CN112712444A (en) | Hotel management method based on Internet of things and related equipment | |
WO2017143951A1 (en) | Expression feedback method and smart robot | |
US20170069347A1 (en) | Method for Automatically Reducing a Video to Include Only What is Interesting | |
CN110164448A (en) | Method of speech processing and device, storage medium, speech processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201030 Address after: 901, building 1, Shenzhen new generation industrial park, 136 Zhongkang Road, Meidu community, Meilin street, Futian District, Shenzhen City, Guangdong Province Patentee after: SHENZHEN IOCO COMMUNICATION SOFTWARE Co.,Ltd. Address before: 283 No. 523000 Guangdong province Dongguan city Changan town usha BBK Avenue Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd. |
|
TR01 | Transfer of patent right |