CN107203310A - Sleep based reminding method, device and terminal - Google Patents

Sleep based reminding method, device and terminal Download PDF

Info

Publication number
CN107203310A
CN107203310A CN201710383936.0A CN201710383936A CN107203310A CN 107203310 A CN107203310 A CN 107203310A CN 201710383936 A CN201710383936 A CN 201710383936A CN 107203310 A CN107203310 A CN 107203310A
Authority
CN
China
Prior art keywords
terminal screen
sleep
terminal
user
acceleration
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.)
Granted
Application number
CN201710383936.0A
Other languages
Chinese (zh)
Other versions
CN107203310B (en
Inventor
张方芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Chuanying Information Technology Co Ltd
Original Assignee
Shanghai Spreadrise Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Spreadrise Technologies Co Ltd filed Critical Shanghai Spreadrise Technologies Co Ltd
Priority to CN201710383936.0A priority Critical patent/CN107203310B/en
Publication of CN107203310A publication Critical patent/CN107203310A/en
Application granted granted Critical
Publication of CN107203310B publication Critical patent/CN107203310B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The present invention relates to one kind sleep based reminding method, it is included in acceleration of the default length of one's sleep by 3-axis acceleration sensor acquisition terminal;Judge whether user is currently in resting state according to the numerical values recited of acceleration;If so, obtaining terminal screen uses data, if it is not, passing back through the step of 3-axis acceleration sensor obtains the acceleration of terminal;Judge whether terminal screen is in opening using data according to terminal screen;If so, starting the unlatching duration of computing terminal screen, and sleep prompting is carried out when the unlatching duration of terminal screen reaches the first setting duration, the step of terminal screen uses data is obtained if it is not, returning.The present invention also provides a kind of sleep alarm set and terminal.Sleep based reminding method, device and the terminal of the present invention can judge whether user is currently in resting state in the default length of one's sleep, and opening according to terminal screen and open duration to remind user to rest healthy in favor of user, and Consumer's Experience is good.

Description

Sleep based reminding method, device and terminal
Technical field
The present invention relates to automatic control technology field, especially with regard to one kind sleep based reminding method, device and terminal.
Background technology
Smart mobile phone, refer to as PC have independent operating system, independent running space, can by with Family is voluntarily installed by the program of the third party service providers such as software, game, navigation offer, it is possible to realize by mobile communication network Wireless network accesses the general name of type of cell phone.Increasingly enriched with the function of smart mobile phone, people also become increasingly dependent on mobile phone, Even there are many people when should sleep at night, still lie on a bed and sack time is postponed using mobile phone for a long time, no It is only bad to eyes, while having an effect on sleep quality, it is unfavorable for healthy, poor user experience.
The content of the invention
, can be in the default length of one's sleep it is an object of the invention to provide one kind sleep based reminding method, device and terminal Judge whether user is currently in resting state, and opening according to terminal screen and open duration remind user's sleep with Beneficial to the healthy of user, Consumer's Experience is good.
The present invention provides a kind of sleep based reminding method, including:
The acceleration of terminal is obtained by 3-axis acceleration sensor in the default length of one's sleep;
Judge whether user is currently in resting state according to the numerical values recited of the acceleration;
If so, then obtaining terminal screen uses data;
The step of the acceleration of terminal is obtained by 3-axis acceleration sensor in the default length of one's sleep if it is not, then returning Suddenly;
Judge whether the terminal screen is in opening using data according to the terminal screen;
If so, then starting the unlatching duration of computing terminal screen, and the first setting is reached in the unlatching duration of terminal screen Sleep prompting is carried out during duration;
The step of terminal screen uses data is obtained if it is not, then returning.
Further, the numerical values recited according to the acceleration judges whether user is currently in the step of resting state Suddenly include:
Record the numerical value of the acceleration;
Judge whether the numerical values recited of the acceleration continues the second setting duration and be less than setting numerical value;
If so, then confirming that user is currently at resting state, if it is not, then confirming that user is not currently in resting state.
Further, after sleep prompting is carried out, in addition to:
Adjust the brightness of terminal screen.
Further, the step of brightness of the adjustment terminal screen includes:
By the brightness adjustment of terminal screen to setting brightness, or according to the detection data point reuse terminal screen of light source inductor Brightness.
Further, after sleep prompting is carried out, in addition to:
The unlatching duration of accumulative terminal screen, and locking is whole when the unlatching duration of terminal screen reaches the 3rd setting duration Hold screen.
Further, the sleep, which is reminded, includes displaying prompting frame, vibrating alert or voice reminder.
The present invention also provides a kind of sleep alarm set, including:
First data acquisition module, for obtaining adding for terminal by 3-axis acceleration sensor in the default length of one's sleep Speed;
First judge module, for judging whether user is currently in rest shape according to the numerical values recited of the acceleration State;
Second data acquisition module, data are used for obtaining terminal screen when user is currently at resting state;
Second judge module, for judging whether terminal screen is in opening using data according to terminal screen;
Performing module, including timer and reminding unit, the timer are used for when terminal screen is in opening Start the unlatching duration of computing terminal screen, the reminding unit is used for when the unlatching duration of terminal screen reaches the first setting Sleep prompting is carried out when long.
Further, first judge module includes recording unit, judging unit and state confirmation unit;
The recording unit, the numerical value for recording the acceleration;
The judging unit, is less than setting for judging whether the numerical values recited of the acceleration continues the second setting duration Numerical value;
The state confirmation unit, for being less than setting number when the numerical values recited of the acceleration continues the second setting duration Confirm that user is currently at resting state during value, and be not less than when the numerical values recited of the acceleration continues the second setting duration Confirm that user is not currently in resting state during setting numerical value.
Further, the performing module also includes brightness adjustment unit and screen locking unit;
The brightness adjustment unit, the brightness for adjusting terminal screen after sleep prompting is carried out;
The timer, is additionally operable to add up after sleep prompting is carried out the unlatching duration of terminal screen;
The screen locking unit, for the locking terminal screen when the unlatching duration of terminal screen reaches the 3rd setting duration Curtain.
The present invention, which is also provided, includes the terminal of above-mentioned sleep alarm set.
Sleep based reminding method, device and the terminal of the present invention can judge whether user currently locates in the default length of one's sleep In resting state, and opening according to terminal screen and open duration and remind user's sleep to be good in favor of the body of user Health, Consumer's Experience is good.
Brief description of the drawings
Fig. 1 is a kind of structural representation of terminal.
The schematic flow sheet for the sleep based reminding method that Fig. 2 provides for first embodiment of the invention.
The schematic flow sheet for the sleep based reminding method that Fig. 3 provides for second embodiment of the invention.
The schematic flow sheet for the sleep based reminding method that Fig. 4 provides for third embodiment of the invention.
The structural representation for the sleep alarm set that Fig. 5 provides for fourth embodiment of the invention.
The structural representation for the terminal that Fig. 6 provides for fifth embodiment of the invention.
Embodiment
Further to illustrate the present invention to reach the technological means and effect that predetermined goal of the invention is taken, below in conjunction with Accompanying drawing and preferred embodiment, to embodiment, structure, feature and its effect of the present invention, are described in detail as after.
Fig. 1 is a kind of structural representation of terminal.Sleep based reminding method, the device of the present invention can be, but not limited to be applied to Terminal as shown in Figure 1.As shown in figure 1, terminal 10 include memory 102, storage control 104, it is one or more (in figure only Show one) processor 106, Peripheral Interface 108, radio-frequency module 110, locating module 112, photographing module 114, audio-frequency module 116th, screen 118 and key-press module 120.These components are mutually communicated by one or more communication bus/signal wire 122.
It is appreciated that the structure shown in Fig. 1 is only signal, terminal 10 may also include more more or less than shown in Fig. 1 Component, or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can be using hardware, software or its combination Realize.
Sleep based reminding method that memory 102 can be used in storage software program and module, such as embodiment of the present invention and Corresponding programmed instruction/the module of device, processor 106 by operation be stored in software program in storage control 104 and Module, so as to perform various function application and data processing, that is, realizes above-mentioned sleep based reminding method and device.
Memory 102 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic Property storage device, flash memory or other non-volatile solid state memories.In some instances, memory 102 can further comprise The memory remotely located relative to processor 106, these remote memories can pass through network connection to terminal 10.Above-mentioned net The example of network includes but is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.Processor 106 and Access of other possible components to memory 102 can be carried out under the control of storage control 104.
Various input/output devices are coupled to CPU and memory 102 by Peripheral Interface 108.The operation of processor 106 is deposited Various softwares in reservoir 102, instruction are to perform the various functions of terminal 10 and carry out data processing.
In certain embodiments, Peripheral Interface 108, processor 106 and storage control 104 can be in one single chips Realize.In some other example, they can be realized by independent chip respectively.
Radio-frequency module 110 is used to receiving and sending electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, so that with Communication network or other equipment are communicated.Radio-frequency module 110 may include the various existing electricity for being used to perform these functions Circuit component, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card, Memory etc..Radio-frequency module 110 can be communicated or led to various networks such as internet, intranet, wireless network Wireless network is crossed to be communicated with other equipment.Above-mentioned wireless network may include cellular telephone networks, WLAN or Metropolitan Area Network (MAN).Above-mentioned wireless network can use various communication standards, agreement and technology, and including but not limited to the whole world is mobile logical Letter system (Global System for Mobile Communication, GSM), enhanced mobile communication technology (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (wideband code division Multiple access, W-CDMA), CDMA (Code division access, CDMA), TDMA (time division multiple access, TDMA), bluetooth, adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (such as American Institute of Electrical and Electronics Engineers's standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/ Or IEEE 802.11n), the networking telephone (Voice over internet protocal, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave Access, Wi-Max), other be used for mail, IMU The agreement of news and short message, and any other suitable communications protocol, or even may include that those are not developed currently yet Agreement.
Locating module 112 is used for the current location for obtaining terminal 10.The example of locating module 112 includes but is not limited to the whole world Global position system (GPS), the location technology based on WLAN or mobile radio communication.
Photographing module 114 is used to shoot photo or video.The photo or video of shooting can be stored to memory 102 It is interior, and can be sent by radio-frequency module 110.
Audio-frequency module 116 provides a user COBBAIF, and it may include one or more microphones, one or more raises Sound device and voicefrequency circuit.Voicefrequency circuit receives voice data at Peripheral Interface 108, and voice data is converted into power information, Power information is transmitted to loudspeaker.Power information is converted to the sound wave that human ear can be heard by loudspeaker.Voicefrequency circuit is also from microphone Place receives power information, converts electrical signals to voice data, and by data transmission in network telephony into Peripheral Interface 108 to enter traveling one The processing of step.Voice data can be obtained at memory 102 or by radio-frequency module 110.In addition, voice data can also Store into memory 102 or be transmitted by radio-frequency module 110.In some instances, audio-frequency module 116 may also include One earphone broadcasts hole, for providing COBBAIF to earphone or other equipment.
Screen 118 provides an output interface between terminal 10 and user.Specifically, screen 118 is shown to user regards Frequency is exported, and the content of these video frequency outputs may include word, figure, video and its any combination.Some output results are correspondences In some user interface objects.It should be understood that screen 118 can also include Touch Screen.Touch Screen is in terminal 10 with using One output and inputting interface are provided simultaneously between family.Except showing video frequency output to user, Touch Screen also receives user's Input, gesture operation the click, slip such as user, so that user interface object is responded to the input of these users. The technology of detection user's input can be based on resistance-type, condenser type or other any possible touch control detection technologies.Touch-control The instantiation of screen display unit includes but is not limited to liquid crystal display or light emitting polymer displays.
Key-press module 120 equally provides the interface that user is inputted to terminal 10, and user can be different by pressing Button is so that terminal 10 performs different functions.
The schematic flow sheet for the sleep based reminding method that Fig. 2 provides for first embodiment of the invention.As shown in Fig. 2 this implementation The sleep based reminding method of example comprises the following steps:
Step S21:The acceleration of terminal is obtained by 3-axis acceleration sensor in the default length of one's sleep.
The default length of one's sleep refers to the length of one's sleep that user is set, and can be a start time point, for showing to use Family will prepare to sleep and need to carry out the initial time of sleep prompting.
When user's using terminal, terminal can be led to user action in the acceleration both vertically and horizontally produced The acceleration change of terminal in three directions can be detected by crossing 3-axis acceleration sensor, and then by obtaining the acceleration number of degrees It is worth and judges the numerical values recited change of the acceleration, confirms the current motion state of user.
Step S22:Judge whether user is currently in resting state according to the numerical values recited of acceleration.
After the acceleration that terminal is obtained by 3-axis acceleration sensor, the numerical value of acceleration is recorded first, the numerical value can To be the acceleration peak value of certain time, then judge whether the numerical values recited of acceleration continues the second setting duration and be less than setting Numerical value, if the numerical values recited of acceleration continues the second setting duration and is less than setting numerical value, confirms that user is currently at rest shape State, if the numerical values recited of acceleration continues the second setting duration not less than setting numerical value, confirms that user is not currently in rest State.Second setting duration is, for example, 5 minutes, and setting numerical value is, for example, 0.3m/s2, but be not limited.
It is appreciated that user might not be in resting state when the length of one's sleep of setting starts, therefore, pass through three axles Acceleration transducer obtains the acceleration value of terminal, then judges whether the numerical values recited of acceleration continues the second setting duration Less than setting numerical value, it can further confirm that whether user is currently in resting state, namely the state in geo-stationary, from And targetedly reminded.
If user is currently at resting state, into step S23:Obtain terminal screen and use data, if user is current Resting state is not at, then return to step S21:Adding for terminal, is obtained by 3-axis acceleration sensor in the default length of one's sleep Speed.
Specifically, when confirming that user is in resting state, to avoid user from lying on a bed the influence eye that sees the mobile phone for a long time Eyeball and sleep, need to determine whether the service condition of terminal screen, terminal screen can for example be included using data opening, Touch frequency or screen intensity.
It is appreciated that not necessarily using terminal when user is in resting state, therefore, is made by obtaining terminal screen It may further determine that whether user sees the mobile phone in the time of it's time to go to bed with data.
Step S24, judges whether terminal screen is in opening according to terminal screen using data.
If terminal screen is in opening, into step S25:The unlatching duration of beginning computing terminal screen, and The unlatching duration of terminal screen carries out sleep prompting when reaching the first setting duration.
Specifically, terminal screen shows that user sees the mobile phone in opening, now, starts computing terminal screen Duration is opened, namely calculates the duration that user sees the mobile phone, and is entered when the unlatching duration of terminal screen reaches the first setting duration Row sleep is reminded, and sleep, which is reminded, includes but is not limited to displaying prompting frame, vibrating alert or voice reminder.
If terminal screen is not on opening, return to step S23:Obtain terminal screen and use data.
The sleep based reminding method of the present invention can judge whether user is currently in resting state in the default length of one's sleep, And the opening and unlatching duration according to terminal screen remind user to sleep in favor of healthy, the Consumer's Experience of user It is good.
The schematic flow sheet for the sleep based reminding method that Fig. 3 provides for second embodiment of the invention.As shown in figure 3, this implementation The sleep based reminding method of example comprises the following steps:
Step S31:The acceleration of terminal is obtained by 3-axis acceleration sensor in the default length of one's sleep.
The default length of one's sleep refers to the length of one's sleep that user is set, and can be a start time point, for showing to use Family will prepare to sleep and need to carry out the initial time of sleep prompting.
When user's using terminal, terminal can be led to user action in the acceleration both vertically and horizontally produced The acceleration change of terminal in three directions can be detected by crossing 3-axis acceleration sensor, and then by obtaining the acceleration number of degrees It is worth and judges the numerical values recited change of the acceleration, confirms the current motion state of user.
Step S32:Judge whether user is currently in resting state according to the numerical values recited of acceleration.
After the acceleration that terminal is obtained by 3-axis acceleration sensor, the numerical value of acceleration is recorded first, the numerical value can To be the acceleration peak value of certain time, then judge whether the numerical values recited of acceleration continues the second setting duration and be less than setting Numerical value, if the numerical values recited of acceleration continues the second setting duration and is less than setting numerical value, confirms that user is currently at rest shape State, if the numerical values recited of acceleration continues the second setting duration not less than setting numerical value, confirms that user is not currently in rest State.Second setting duration is, for example, 5 minutes, and setting numerical value is, for example, 0.3m/s2, but be not limited.
It is appreciated that user might not be in resting state when the length of one's sleep of setting starts, therefore, pass through three axles Acceleration transducer obtains the acceleration value of terminal, then judges whether the numerical values recited of acceleration continues the second setting duration Less than setting numerical value, it can further confirm that whether user is currently in resting state, namely the state in geo-stationary, from And targetedly reminded.
If user is currently at resting state, into step S33:Obtain terminal screen and use data, if user is current Resting state is not at, then return to step S31:Adding for terminal, is obtained by 3-axis acceleration sensor in the default length of one's sleep Speed.
Specifically, when confirming that user is in resting state, to avoid user from lying on a bed the influence eye that sees the mobile phone for a long time Eyeball and sleep, need to determine whether the service condition of terminal screen, terminal screen can for example be included using data opening, Touch frequency or screen intensity.
It is appreciated that not necessarily using terminal when user is in resting state, therefore, is made by obtaining terminal screen It may further determine that whether user sees the mobile phone in the time of it's time to go to bed with data.
Step S34, judges whether terminal screen is in opening according to terminal screen using data.
If terminal screen is in opening, into step S35:The unlatching duration of beginning computing terminal screen, and The unlatching duration of terminal screen carries out sleep prompting when reaching the first setting duration.
Specifically, terminal screen shows that user sees the mobile phone in opening, now, starts computing terminal screen Duration is opened, namely calculates the duration that user sees the mobile phone, and is entered when the unlatching duration of terminal screen reaches the first setting duration Row sleep is reminded, and sleep, which is reminded, includes but is not limited to the displaying prompting page, vibrating alert or voice reminder.
If terminal screen is not on opening, return to step S33:Obtain terminal screen and use data.
Step S36:Adjust the brightness of terminal screen.
Specifically, when the unlatching duration of terminal screen reaches the first setting duration, show that user persistently look at mobile phone Screen reaches the first setting duration, therefore, the brightness of terminal screen is adjusted while reminding user, it is possible to decrease to eye The adverse effect of eyeball.
, can be by the brightness adjustment of terminal screen to setting brightness in an embodiment of the present invention.
In an embodiment of the present invention, the light intensity of surrounding environment, Ran Hougen can be detected by light source sensor According to the brightness of the detection data point reuse terminal screen of light source inductor.
The sleep based reminding method of the present invention can judge whether user is currently in resting state in the default length of one's sleep, And the opening and unlatching duration according to terminal screen remind user's sleep, while adjusting screen luminance of terminal in favor of user It is healthy, Consumer's Experience is good.
The schematic flow sheet for the sleep based reminding method that Fig. 4 provides for third embodiment of the invention.As shown in figure 4, this implementation The sleep based reminding method of example comprises the following steps:
Step S41:The acceleration of terminal is obtained by 3-axis acceleration sensor in the default length of one's sleep.
The default length of one's sleep refers to the length of one's sleep that user is set, and can be a start time point, for showing to use Family will prepare to sleep and need to carry out the initial time of sleep prompting.
When user's using terminal, terminal can be led to user action in the acceleration both vertically and horizontally produced The acceleration change of terminal in three directions can be detected by crossing 3-axis acceleration sensor, and then by obtaining the acceleration number of degrees It is worth and judges the numerical values recited change of the acceleration, confirms the current motion state of user.
Step S42:Judge whether user is currently in resting state according to the numerical values recited of acceleration;
After the acceleration that terminal is obtained by 3-axis acceleration sensor, the numerical value of acceleration is recorded first, the numerical value can To be the acceleration peak value of certain time, then judge whether the numerical values recited of acceleration continues the second setting duration and be less than setting Numerical value, if the numerical values recited of acceleration continues the second setting duration and is less than setting numerical value, confirms that user is currently at rest shape State, if the numerical values recited of acceleration continues the second setting duration not less than setting numerical value, confirms that user is not currently in rest State.Second setting duration is, for example, 5 minutes, and setting numerical value is, for example, 0.3m/s2, but be not limited.
It is appreciated that user might not be in resting state when the length of one's sleep of setting starts, therefore, pass through three axles Acceleration transducer obtains the acceleration value of terminal, then judges whether the numerical values recited of acceleration continues the second setting duration Less than setting numerical value, it can further confirm that whether user is currently in resting state, namely the state in geo-stationary, from And targetedly reminded.
If user is currently at resting state, into step S43:Obtain terminal screen and use data, if user is current Resting state is not at, then return to step S41:Adding for terminal, is obtained by 3-axis acceleration sensor in the default length of one's sleep Speed.
Specifically, when confirming that user is in resting state, to avoid user from lying on a bed the influence eye that sees the mobile phone for a long time Eyeball and sleep, need to determine whether the service condition of terminal screen, terminal screen can for example be included using data opening, Touch frequency or screen intensity.
It is appreciated that not necessarily using terminal when user is in resting state, therefore, is made by obtaining terminal screen It may further determine that whether user sees the mobile phone in the time of it's time to go to bed with data.
Step S44, judges whether terminal screen is in opening according to terminal screen using data.
If terminal screen is in opening, into step S45:The unlatching duration of beginning computing terminal screen, and The unlatching duration of terminal screen carries out sleep prompting when reaching the first setting duration.
Specifically, terminal screen shows that user sees the mobile phone in opening, now, starts computing terminal screen Duration is opened, namely calculates the duration that user sees the mobile phone, and is entered when the unlatching duration of terminal screen reaches the first setting duration Row sleep is reminded, and sleep, which is reminded, includes but is not limited to the displaying prompting page, vibrating alert or voice reminder.
If terminal screen is not on opening, return to step S43:Obtain terminal screen and use data.
Step S46:The unlatching duration of accumulative terminal screen, and reach the second setting duration in the unlatching duration of terminal screen When locking terminal screen.
Specifically, after sleep prompting is carried out to user, the unlatching duration of accumulative terminal screen is continued, for showing user Continue the duration seen the mobile phone after being alerted, the locking terminal screen when the unlatching duration of terminal screen reaches the second setting duration Curtain, sees the mobile phone so as to allow user passively to interrupt, allows eyes to be rested, while playing a part of further reminding user to sleep.
The sleep based reminding method of the present invention can judge whether user is currently in resting state in the default length of one's sleep, And the opening and unlatching duration according to terminal screen are reminded after user's sleep, continue the unlatching duration of computing terminal screen, And when the unlatching duration of terminal screen reaches the second setting duration locking terminal screen, it is healthy in favor of user, use Experience at family.
The structural representation for the sleep alarm set that Fig. 5 provides for fourth embodiment of the invention.As shown in figure 5, this implementation The sleep alarm set of example includes 3-axis acceleration sensor 51, the first data acquisition module 52, the first judge module 53, second Data acquisition module 54, the second judge module 55 and performing module 56.3-axis acceleration sensor 51 is used to obtain adding for terminal Speed.First data acquisition module 52 is used to obtain adding for terminal by 3-axis acceleration sensor 51 in the default length of one's sleep Speed.First judge module 53, for judging whether user is currently in resting state according to the numerical values recited of acceleration.Second Data acquisition module 54, data are used for obtaining terminal screen when user is currently at resting state.Second judge module 55, for judging whether terminal screen is in opening using data according to terminal screen.Performing module 56, including timer 561 are used for the unlatching for starting computing terminal screen when terminal screen is in opening with reminding unit 562, timer 561 Duration, reminding unit 562 is used to carry out sleep prompting when the unlatching duration of terminal screen reaches the first setting duration, reminds single Member 562 is not limited to include prompting frame, vibrator, buzzer or loudspeaker.
In an embodiment of the present invention, the first data acquisition module 52, the first judge module 53, the second data acquisition mould The judge module 55 of block 54 and second can be integrated in such as processor 58.
In an embodiment of the present invention, the first judge module 53 includes recording unit (not shown), judging unit (not shown) and state confirmation unit (not shown).Recording unit is used for the numerical value of recording detection data.Judge single Member is used to judge whether the numerical value for detecting data is set in duration continuously less than setting numerical value second.State confirmation unit is used for Resting state is currently at when the numerical values recited of acceleration continues confirmation user when the second setting duration is less than setting numerical value, and Confirm that user is not currently in resting state when the numerical values recited of acceleration continues the second setting duration not less than setting numerical value.
In an embodiment of the present invention, performing module 56 also includes brightness adjustment unit (not shown).Brightness is adjusted Whole unit is used for after sleep prompting is carried out the brightness for adjusting terminal screen.In an embodiment of the present invention, brightness adjustment list Member detects the light intensity of surrounding environment by light sensor 57, and according to the detection data point reuse terminal of light source inductor 57 The brightness of screen.
In an embodiment of the present invention, performing module 56 also includes screen locking unit (not shown).Timer 561 are additionally operable to add up after sleep prompting is carried out the unlatching duration of terminal screen.Screen locking unit is used in terminal screen Open locking terminal screen when duration reaches the second setting duration.
The sleep alarm set of the present invention can judge whether user is currently in resting state in the default length of one's sleep, And the opening and unlatching duration according to terminal screen remind user to sleep in favor of healthy, the Consumer's Experience of user It is good.
The structural representation for the terminal that Fig. 6 provides for fifth embodiment of the invention.As shown in fig. 6, terminal is carried including sleep Awake device 60, the structure of sleep alarm set 60 please join the description of Fig. 5 and correspondence embodiment, will not be repeated here.In addition, terminal Structure reference may also be made to Fig. 1.
Sleep based reminding method, device and the terminal of the present invention can judge whether user currently locates in the default length of one's sleep In resting state, and opening according to terminal screen and open duration and remind user's rest to be good in favor of the body of user Health, Consumer's Experience is good.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposited between operating In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Nonexcludability is included, so that process, method, article or device including a series of key elements not only will including those Element, but also other key elements including being not expressly set out, or also include being this process, method, article or device Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Also there is other identical element in process, method, article or device including key element.
The above described is only a preferred embodiment of the present invention, any formal limitation not is made to the present invention, though So the present invention is disclosed above with preferred embodiment, but is not limited to the present invention, any to be familiar with this professional technology people Member, without departing from the scope of the present invention, when the technology contents using the disclosure above make a little change or modification For the equivalent embodiment of equivalent variations, as long as being the technical spirit pair according to the present invention without departing from technical solution of the present invention content Any simple modification, equivalent variations and modification that above example is made, in the range of still falling within technical solution of the present invention.

Claims (10)

1. one kind sleep based reminding method, it is characterised in that including:
The acceleration of terminal is obtained by 3-axis acceleration sensor in the default length of one's sleep;
Judge whether user is currently in resting state according to the numerical values recited of the acceleration;
If so, then obtaining terminal screen uses data;
If it is not, then returning the step of the default length of one's sleep acceleration of terminal being obtained by 3-axis acceleration sensor;
Judge whether the terminal screen is in opening using data according to the terminal screen;
If so, then starting the unlatching duration of computing terminal screen, and the first setting duration is reached in the unlatching duration of terminal screen Shi Jinhang sleeps are reminded;
The step of terminal screen uses data is obtained if it is not, then returning.
2. based reminding method of sleeping as claimed in claim 1, it is characterised in that the numerical values recited according to the acceleration is sentenced The step of whether disconnected user is currently in resting state includes:
Record the numerical value of the acceleration;
Judge whether the numerical values recited of the acceleration continues the second setting duration and be less than setting numerical value;
If so, then confirming that user is currently at resting state, if it is not, then confirming that user is not currently in resting state.
3. based reminding method of sleeping as claimed in claim 1, it is characterised in that after sleep prompting is carried out, in addition to:
Adjust the brightness of terminal screen.
4. sleep based reminding method as claimed in claim 3, it is characterised in that wrap the step of the brightness of the adjustment terminal screen Include:
By the brightness adjustment of terminal screen to setting brightness, or according to the bright of the detection data point reuse terminal screen of light source inductor Degree.
5. based reminding method of sleeping as claimed in claim 1, it is characterised in that after sleep prompting is carried out, in addition to:
The unlatching duration of accumulative terminal screen, and the locking terminal screen when the unlatching duration of terminal screen reaches the 3rd setting duration Curtain.
6. based reminding method of sleeping as claimed in claim 1, it is characterised in that the sleep, which is reminded, to be included displaying prompting frame, shake It is dynamic to remind or voice reminder.
7. one kind sleep alarm set, it is characterised in that including:
First data acquisition module, the acceleration for obtaining terminal by 3-axis acceleration sensor in the default length of one's sleep Degree;
First judge module, for judging whether user is currently in resting state according to the numerical values recited of the acceleration;
Second data acquisition module, data are used for obtaining terminal screen when user is currently at resting state;
Second judge module, for judging whether terminal screen is in opening using data according to terminal screen;
Performing module, including timer and reminding unit, the timer are used to start when terminal screen is in opening The unlatching duration of computing terminal screen, the reminding unit is used for when the unlatching duration of terminal screen reaches the first setting duration Carry out sleep prompting.
8. as claimed in claim 7 sleep alarm set, it is characterised in that first judge module include recording unit, Judging unit and state confirmation unit;
The recording unit, the numerical value for recording the acceleration;
The judging unit, is less than setting number for judging whether the numerical values recited of the acceleration continues the second setting duration Value;
The state confirmation unit, for when the numerical values recited of the acceleration continues the second setting duration less than setting numerical value Confirm that user is currently at resting state, and when the numerical values recited of the acceleration continues the second setting duration not less than setting Confirm that user is not currently in resting state during numerical value.
9. alarm set of sleeping as claimed in claim 7, it is characterised in that the performing module also includes brightness adjustment unit With screen locking unit;
The brightness adjustment unit, the brightness for adjusting terminal screen after sleep prompting is carried out;
The timer, is additionally operable to add up after sleep prompting is carried out the unlatching duration of terminal screen;
The screen locking unit, for the locking terminal screen when the unlatching duration of terminal screen reaches the 3rd setting duration.
10. a kind of terminal, it is characterised in that the terminal includes sleep alarm set as claimed in claim 7.
CN201710383936.0A 2017-05-26 2017-05-26 Sleep reminding method, device and terminal Active CN107203310B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710383936.0A CN107203310B (en) 2017-05-26 2017-05-26 Sleep reminding method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710383936.0A CN107203310B (en) 2017-05-26 2017-05-26 Sleep reminding method, device and terminal

Publications (2)

Publication Number Publication Date
CN107203310A true CN107203310A (en) 2017-09-26
CN107203310B CN107203310B (en) 2023-10-17

Family

ID=59906429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710383936.0A Active CN107203310B (en) 2017-05-26 2017-05-26 Sleep reminding method, device and terminal

Country Status (1)

Country Link
CN (1) CN107203310B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943344A (en) * 2017-11-17 2018-04-20 珠海市魅族科技有限公司 Terminal control method and device, terminal and readable storage medium storing program for executing
CN111290926A (en) * 2020-03-09 2020-06-16 Oppo广东移动通信有限公司 Terminal prompting method and device, storage medium and terminal
CN111479016A (en) * 2020-04-07 2020-07-31 Oppo广东移动通信有限公司 Terminal use duration reminding method and device, terminal and storage medium
CN111596765A (en) * 2020-05-19 2020-08-28 广东小天才科技有限公司 Sleep reminding method, intelligent wearable device and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103632063A (en) * 2013-12-12 2014-03-12 惠州Tcl移动通信有限公司 Method and system for acquiring data of user sleep quality grade
CN104323763A (en) * 2014-10-23 2015-02-04 青岛歌尔声学科技有限公司 Method for reminding user of resting and wearable equipment capable of reminding user of resting
CN104508573A (en) * 2012-08-03 2015-04-08 三星电子株式会社 Method and apparatus for alarm service using context awareness in portable terminal
CN104735264A (en) * 2015-04-15 2015-06-24 上海斐讯数据通信技术有限公司 Mobile terminal and control method thereof
CN105282343A (en) * 2015-11-03 2016-01-27 广东欧珀移动通信有限公司 Smart sleep reminding method and smart sleep reminding device
JP2016171825A (en) * 2015-03-16 2016-09-29 株式会社国際電気通信基礎技術研究所 Sleep management device, sleep management program, sleep management method and sleep management system
CN106227484A (en) * 2016-07-26 2016-12-14 广东欧珀移动通信有限公司 Control method and control device
CN106214121A (en) * 2016-07-13 2016-12-14 广东乐心医疗电子股份有限公司 Sleep reminding method and device and wearable device
WO2017039264A1 (en) * 2015-09-03 2017-03-09 삼성전자주식회사 User terminal and sleep management method
CN106502710A (en) * 2016-11-22 2017-03-15 何晓川 A kind of eye protection method and apparatus

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104508573A (en) * 2012-08-03 2015-04-08 三星电子株式会社 Method and apparatus for alarm service using context awareness in portable terminal
CN103632063A (en) * 2013-12-12 2014-03-12 惠州Tcl移动通信有限公司 Method and system for acquiring data of user sleep quality grade
CN104323763A (en) * 2014-10-23 2015-02-04 青岛歌尔声学科技有限公司 Method for reminding user of resting and wearable equipment capable of reminding user of resting
JP2016171825A (en) * 2015-03-16 2016-09-29 株式会社国際電気通信基礎技術研究所 Sleep management device, sleep management program, sleep management method and sleep management system
CN104735264A (en) * 2015-04-15 2015-06-24 上海斐讯数据通信技术有限公司 Mobile terminal and control method thereof
WO2017039264A1 (en) * 2015-09-03 2017-03-09 삼성전자주식회사 User terminal and sleep management method
CN105282343A (en) * 2015-11-03 2016-01-27 广东欧珀移动通信有限公司 Smart sleep reminding method and smart sleep reminding device
CN106214121A (en) * 2016-07-13 2016-12-14 广东乐心医疗电子股份有限公司 Sleep reminding method and device and wearable device
CN106227484A (en) * 2016-07-26 2016-12-14 广东欧珀移动通信有限公司 Control method and control device
CN106502710A (en) * 2016-11-22 2017-03-15 何晓川 A kind of eye protection method and apparatus

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ANG GAOLI;WANG YONGCAI: "Healthcare Algorithms by Wearable Inertial Sensors: A Survey", 《中国通信》, pages 8 - 19 *
蒋小梅等: "可穿戴式设备分类及其相关技术进展", 《生物医学工程学杂志》, pages 42 - 47 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943344A (en) * 2017-11-17 2018-04-20 珠海市魅族科技有限公司 Terminal control method and device, terminal and readable storage medium storing program for executing
CN111290926A (en) * 2020-03-09 2020-06-16 Oppo广东移动通信有限公司 Terminal prompting method and device, storage medium and terminal
CN111479016A (en) * 2020-04-07 2020-07-31 Oppo广东移动通信有限公司 Terminal use duration reminding method and device, terminal and storage medium
CN111596765A (en) * 2020-05-19 2020-08-28 广东小天才科技有限公司 Sleep reminding method, intelligent wearable device and storage medium

Also Published As

Publication number Publication date
CN107203310B (en) 2023-10-17

Similar Documents

Publication Publication Date Title
JP7317242B2 (en) Bluetooth connection methods, systems and electronic devices
CN105630167B (en) Screen self-adapting regulation method, screen self-adapting adjusting apparatus and terminal device
CN108647005A (en) Audio frequency playing method, mobile terminal and computer readable storage medium
EP2020784A1 (en) Method of pairing devices
CN108401526A (en) Information configuring methods and device, the determination method and device of time-frequency location and base station
CN107203310A (en) Sleep based reminding method, device and terminal
CN108965306A (en) A kind of call handling method and mobile terminal
CN108966067A (en) Control method for playing back and Related product
JP7234379B2 (en) Methods and associated devices for accessing networks by smart home devices
CN110336910A (en) A kind of private data guard method and terminal
KR20210040424A (en) Voice control command generation method and terminal
CN106488413A (en) Notification message based reminding method and mobile terminal
CN107222629B (en) Incoming call processing method and related product
CN107767839A (en) Brightness adjusting method and related product
CN108112089A (en) Accidental access method, device and non-transitorycomputer readable storage medium
CN108494943A (en) Message sink sends processing method, terminal and computer readable storage medium
CN107770368B (en) Alarm clock application reminding method based on terminal and terminal
CN106611402A (en) Image processing method and device
CN114339698A (en) Method for establishing wireless connection through equipment touch, electronic equipment and chip
CN104219372B (en) Adjust the method and device of backlight brightness
CN108476479A (en) Accidental access method and device, user equipment and computer readable storage medium
CN108521879A (en) Wave beam reports and method of adjustment and device, user equipment, base station
CN110521227A (en) Residence reselecting and device, priority indication method and apparatus
CN105491226B (en) Intelligence adjusts the method and device of scene modes of mobile terminal
CN105912112A (en) Method and device for setting vibration grade of mobile terminal

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
TA01 Transfer of patent application right

Effective date of registration: 20221213

Address after: 201203 1st floor, building 1, Lane 36, Xuelin Road, Pudong New Area (Shanghai) pilot Free Trade Zone, Shanghai

Applicant after: SHANGHAI TRANSSION INFORMATION TECHNOLOGY Ltd.

Address before: Room 3201, Building 2, No. 1077, Zuchongzhi Road, Zhangjiang Hi Tech Park, Pudong New Area, Shanghai, March 2012

Applicant before: SHANGHAI SPREADRISE COMMUNICATION TECHNOLOGY Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant