CN105739669B - Terminal control method and terminal control mechanism - Google Patents

Terminal control method and terminal control mechanism Download PDF

Info

Publication number
CN105739669B
CN105739669B CN201610058274.5A CN201610058274A CN105739669B CN 105739669 B CN105739669 B CN 105739669B CN 201610058274 A CN201610058274 A CN 201610058274A CN 105739669 B CN105739669 B CN 105739669B
Authority
CN
China
Prior art keywords
screen
sleep
pressure value
predetermined
operator attribute
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
Application number
CN201610058274.5A
Other languages
Chinese (zh)
Other versions
CN105739669A (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610058274.5A priority Critical patent/CN105739669B/en
Publication of CN105739669A publication Critical patent/CN105739669A/en
Application granted granted Critical
Publication of CN105739669B publication Critical patent/CN105739669B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention proposes a kind of terminal control methods and a kind of terminal control mechanism, wherein terminal control method includes: the screen operator attribute for detecting terminal in a sleep mode;Determine whether the screen operator attribute meets predetermined sleep condition;When determining that the screen operator attribute meets the predetermined sleep condition, the corresponding safety operation function of the sleep pattern is executed.According to the technical solution of the present invention, the state of mind of user can be effectively judged by screen operator attribute, consequently facilitating executing safety operation function in time after user falls asleep, flow, power consumption are consumed caused by avoiding the problem that due to maloperation or terminal work long hours, also it avoids terminal from generating the interference of light or sound to the user of sleep, promotes the sleep quality of user.

Description

Terminal control method and terminal control mechanism
Technical field
The present invention relates to field of terminal technology, fill in particular to a kind of terminal control method and a kind of terminal control It sets.
Background technique
Currently, the automatic control function of terminal develops rapidly, wherein in order to promote user experience, propose in the related technology It can automatically adjust the screen intensity of terminal and the scheme of colour temperature.
However, in this scenario, although can be simply automatically adjusted to the screen intensity of terminal and colour temperature, Its adjustment is inaccurate.Meanwhile user is highly likely to enter sleep during using terminal, can not examine in time in the related technology Survey user when enter sleep, also can not just take effective counter-measure, be likely in sleep occur user misoperation or The problem of terminal continues working causes the flow of terminal, electricity significantly to consume.
Therefore a kind of new technical solution is needed, the state of mind of user can be effectively judged, avoid because of maloperation or end End work long hours and caused by consumption flow, power consumption the problem of.
Summary of the invention
The present invention is based on the above problems, proposes a kind of new technical solution, can effectively judge the spirit of user State consumes flow, power consumption caused by avoiding the problem that due to maloperation or terminal work long hours.
In view of this, an aspect of of the present present invention proposes a kind of terminal control method, comprising: in a sleep mode, detection The screen operator attribute of terminal;Determine whether the screen operator attribute meets predetermined sleep condition;When determining screen behaviour When meeting the predetermined sleep condition as attribute, the corresponding safety operation function of the sleep pattern is executed.
In the technical scheme, sleep pattern can be opened, in a sleep mode when, when detecting that screen operator attribute is full When the predetermined sleep condition of foot, it can assert that the user of operating terminal is in sleep state, at this point, in order to avoid maloperation and flow The problems such as consumption, can take corresponding safety operation function under sleep pattern.
For example, detecting that screen pressure value is smaller and smaller after user opens sleep pattern, illustrating the user of operating terminal very It is possible that having entered sleep, finger landing causes screen pressure value to reduce, at this point, i.e. executable disabling video software and disabling are broadcast The safety operation function of putting device avoids user that error touch control operation occurs in sleep and causes the flow of terminal, electricity significantly Consumption.
By the technical solution, the state of mind of user can be effectively judged by screen operator attribute, consequently facilitating User executes safety operation function after falling asleep in time, consumption flow, consumption caused by avoiding due to maloperation or terminal work long hours The problem of electricity, also avoids terminal from generating the interference of light or sound to the user of sleep, promotes the sleep quality of user.
In the above-mentioned technical solutions, it is preferable that the screen operator attribute includes: screen pressure value and/or to screen Operating frequency;And the screen operator attribute of the detection terminal, it specifically includes: by pressure-detecting device real time scan screen Screen pressure value, and/or the operating frequency to screen is detected by frequency detecting device.
In the technical scheme, screen operator attribute includes but is not limited to screen pressure value and/or the operation frequency to screen Rate, wherein pressure-detecting device can detect a secondary screen pressure value, and frequency detecting device every the first predetermined time interval It is then to count in the second predetermined time interval that user is to the number of operations of screen, to calculate the operating frequency to screen.It is logical The technical solution is crossed, it is accurate to detect screen pressure value and/or the operating frequency to screen, convenient for according further to screen pressure value And/or the state of mind of user is determined to whether the operating frequency of screen meets predetermined sleep condition.
In addition, the first predetermined time interval of detection screen pressure value, detection are predetermined to the second of the operating frequency of screen Time interval can be arranged by system to be carried, and can also be accustomed to self-setting according to practical by user.
In any of the above-described technical solution, it is preferable that when the screen operator attribute is the screen pressure value or described When to the operating frequency of screen, whether the determination screen operator attribute meets predetermined sleep condition, specifically includes: judgement Whether the screen pressure value of real time scan is sequentially reduced or whether decreasing value is more than predetermined threshold, or judges the operation frequency Whether rate is less than or equal to preset frequency;When the judgment result is yes, determine that the screen operator attribute meets described predetermined sleep Otherwise dormancy condition continues to test the screen operator attribute.
In the technical scheme, if only using screen pressure value or to the operating frequency of screen as screen operator category Property, when screen pressure value is sequentially reduced or decreasing value is more than predetermined threshold, or works as and the operating frequency of screen is less than or equal to When preset frequency, illustrate that user is likely to the operating terminal that can not persistently concentrate one's energy, situations such as finger slides has occurred, this When, it can assert that user is in sleep state, that is, determine screen pressure value or predetermined sleep item is met to the operating frequency of screen Part avoids working long hours because of maloperation or terminal so as to further execute the corresponding safety operation function of sleep pattern The problem of flow, power consumption are consumed caused by and, also avoids terminal from generating the interference of light or sound to the user of sleep, is promoted and is used The sleep quality at family.
In addition, the corresponding predetermined threshold of the decreasing value of screen pressure value, the preset frequency to the operating frequency of screen, all may be used It is included to be arranged by system, self-setting can also be accustomed to according to practical by user.
In any of the above-described technical solution, it is preferable that when the screen operator attribute includes the screen pressure value and institute When stating the operating frequency to screen, whether the determination screen operator attribute meets predetermined sleep condition, specifically includes: sentencing Whether the screen pressure value of disconnected real time scan is sequentially reduced or whether decreasing value is more than predetermined threshold, and judges the operation Whether frequency is less than or equal to preset frequency;When judging result is that the screen pressure value is sequentially reduced or decreasing value is more than described Predetermined threshold, the and when operating frequency is less than or equal to the preset frequency, determine that the screen operator attribute meets described in Otherwise predetermined sleep condition continues to test the screen operator attribute.
In the technical scheme, if using screen pressure value and to the operating frequency of screen together as screen operator category Property, only when screen pressure value is sequentially reduced or decreasing value is more than predetermined threshold, and the operating frequency of screen is less than or equal to When preset frequency, just illustrate that user is likely to the operating terminal that can not persistently concentrate one's energy, situations such as finger slides has occurred, this When, it can assert that user is in sleep state, that is, determine screen pressure value and predetermined sleep item is met to the operating frequency of screen Part avoids working long hours because of maloperation or terminal so as to further execute the corresponding safety operation function of sleep pattern The problem of flow, power consumption are consumed caused by and, also avoids terminal from generating the interference of light or sound to the user of sleep, is promoted and is used The sleep quality at family.
In addition, the corresponding predetermined threshold of the decreasing value of screen pressure value, the preset frequency to the operating frequency of screen, all may be used It is included to be arranged by system, self-setting can also be accustomed to according to practical by user.
In any of the above-described technical solution, it is preferable that further include: after entering the sleep pattern, filter the green of screen Blue light, and periodical adjustment is carried out to the brightness of the screen by color temperature regulator.
In the technical scheme, since the light for influencing sleep is mainly green-blue light, filtering green-blue light can improve user Sleep quality, in addition, optimizing screen intensity by color temperature regulator, can make screen intensity is suitable for human eye viewing, wherein can Make its soft variation further periodically to adjust screen intensity, so as to protect the eyesight of user, and generates hypnosis effect Fruit falls asleep convenient for user.It is carried in addition, the period for adjusting screen intensity can be arranged by system, it can also be by user according to reality It is accustomed to self-setting in border.
In any of the above-described technical solution, it is preferable that the corresponding safety operation function of the sleep pattern include it is following it One or combinations thereof: the application program of No starting predefined type;No starting predetermined application;It is played with according to predetermined volume Predetermined audio.
In the technical scheme, under sleep pattern, when judgement screen operator attribute meets predetermined sleep condition, i.e. identification is grasped When making the user of terminal and being in sleep state, can with the application program of No starting predefined type, such as No starting video software, Can also directly No starting predetermined application, such as No starting software upgrading management program, can also be according to pre- accordatura Amount plays predetermined audio, for example, playing lullaby with minimum volume.The corresponding safety operation function of sleep pattern includes but unlimited In above-mentioned several functions, also, above-mentioned several functions may be used alone, can also be used in combination.
Another aspect of the present invention proposes a kind of terminal control mechanism, comprising: screen operator detection of attribute unit is being slept Under sleep mode, the screen operator attribute of terminal is detected;Sleep condition authentication unit, determines whether the screen operator attribute meets Predetermined sleep condition;Execution unit is slept described in execution when determining that the screen operator attribute meets the predetermined sleep condition The corresponding safety operation function of sleep mode.
In the technical scheme, sleep pattern can be opened, in a sleep mode when, when detecting that screen operator attribute is full When the predetermined sleep condition of foot, it can assert that the user of operating terminal is in sleep state, at this point, in order to avoid maloperation and flow The problems such as consumption, can take corresponding safety operation function under sleep pattern.
For example, detecting that screen pressure value is smaller and smaller after user opens sleep pattern, illustrating the user of operating terminal very It is possible that having entered sleep, finger landing causes screen pressure value to reduce, at this point, i.e. executable disabling video software and disabling are broadcast The safety operation function of putting device avoids user that error touch control operation occurs in sleep and causes the flow of terminal, electricity significantly Consumption.
By the technical solution, the state of mind of user can be effectively judged by screen operator attribute, consequently facilitating User executes safety operation function after falling asleep in time, consumption flow, consumption caused by avoiding due to maloperation or terminal work long hours The problem of electricity, also avoids terminal from generating the interference of light or sound to the user of sleep, promotes the sleep quality of user.
In the above-mentioned technical solutions, it is preferable that the screen operator attribute includes: screen pressure value and/or to screen Operating frequency;And the screen operator detection of attribute unit is specifically used for: passing through pressure-detecting device real time scan screen Screen pressure value, and/or the operating frequency to screen is detected by frequency detecting device.
In the technical scheme, screen operator attribute includes but is not limited to screen pressure value and/or the operation frequency to screen Rate, wherein pressure-detecting device can detect a secondary screen pressure value, and frequency detecting device every the first predetermined time interval It is then to count in the second predetermined time interval that user is to the number of operations of screen, to calculate the operating frequency to screen.It is logical The technical solution is crossed, it is accurate to detect screen pressure value and/or the operating frequency to screen, convenient for according further to screen pressure value And/or the state of mind of user is determined to whether the operating frequency of screen meets predetermined sleep condition.
In addition, the first predetermined time interval of detection screen pressure value, detection are predetermined to the second of the operating frequency of screen Time interval can be arranged by system to be carried, and can also be accustomed to self-setting according to practical by user.
In any of the above-described technical solution, it is preferable that the sleep condition authentication unit includes: the first judging unit, when When the screen operator attribute is the screen pressure value or the operating frequency to screen, the screen of real time scan is judged Whether curtain pressure value is sequentially reduced or whether decreasing value is more than predetermined threshold, or judges whether the operating frequency is less than or equal to Preset frequency, wherein when the judgment result is yes, determine that the screen operator attribute meets the predetermined sleep condition, otherwise, Continue to test the screen operator attribute.
In the technical scheme, if only using screen pressure value or to the operating frequency of screen as screen operator category Property, when screen pressure value is sequentially reduced or decreasing value is more than predetermined threshold, or works as and the operating frequency of screen is less than or equal to When preset frequency, illustrate that user is likely to the operating terminal that can not persistently concentrate one's energy, situations such as finger slides has occurred, this When, it can assert that user is in sleep state, that is, determine screen pressure value or predetermined sleep item is met to the operating frequency of screen Part avoids working long hours because of maloperation or terminal so as to further execute the corresponding safety operation function of sleep pattern The problem of flow, power consumption are consumed caused by and, also avoids terminal from generating the interference of light or sound to the user of sleep, is promoted and is used The sleep quality at family.
In addition, the corresponding predetermined threshold of the decreasing value of screen pressure value, the preset frequency to the operating frequency of screen, all may be used It is included to be arranged by system, self-setting can also be accustomed to according to practical by user.
In any of the above-described technical solution, it is preferable that the sleep condition authentication unit includes: second judgment unit, when When the screen operator attribute includes the screen pressure value and the operating frequency to screen, the described of real time scan is judged Whether screen pressure value is sequentially reduced or whether decreasing value is more than predetermined threshold, and judges whether the operating frequency is less than or waits In preset frequency;Wherein, when the second judgment unit judges that the screen pressure value is sequentially reduced or the decreasing value is more than The predetermined threshold, and when the operating frequency is less than or equal to the preset frequency, the sleep condition authentication unit determines The screen operator attribute meets the predetermined sleep condition, otherwise, continues to test the screen operator attribute.
In the technical scheme, if using screen pressure value and to the operating frequency of screen together as screen operator category Property, only when screen pressure value is sequentially reduced or decreasing value is more than predetermined threshold, and the operating frequency of screen is less than or equal to When preset frequency, just illustrate that user is likely to the operating terminal that can not persistently concentrate one's energy, situations such as finger slides has occurred, this When, it can assert that user is in sleep state, that is, determine screen pressure value and predetermined sleep item is met to the operating frequency of screen Part avoids working long hours because of maloperation or terminal so as to further execute the corresponding safety operation function of sleep pattern The problem of flow, power consumption are consumed caused by and, also avoids terminal from generating the interference of light or sound to the user of sleep, is promoted and is used The sleep quality at family.
In addition, the corresponding predetermined threshold of the decreasing value of screen pressure value, the preset frequency to the operating frequency of screen, all may be used It is included to be arranged by system, self-setting can also be accustomed to according to practical by user.
In any of the above-described technical solution, it is preferable that further include: filter element, after entering the sleep pattern, filtering The green-blue light of screen;Color temperature adjusting unit carries out periodical adjustment to the brightness of the screen by color temperature regulator.
In the technical scheme, since the light for influencing sleep is mainly green-blue light, filtering green-blue light can improve user Sleep quality, in addition, optimizing screen intensity by color temperature regulator, can make screen intensity is suitable for human eye viewing, wherein can Make its soft variation further periodically to adjust screen intensity, so as to protect the eyesight of user, and generates hypnosis effect Fruit falls asleep convenient for user.It is carried in addition, the period for adjusting screen intensity can be arranged by system, it can also be by user according to reality It is accustomed to self-setting in border.
In any of the above-described technical solution, it is preferable that the corresponding safety operation function of the sleep pattern include it is following it One or combinations thereof: the application program of No starting predefined type;No starting predetermined application;It is played with according to predetermined volume Predetermined audio.
In the technical scheme, under sleep pattern, when judgement screen operator attribute meets predetermined sleep condition, i.e. identification is grasped When making the user of terminal and being in sleep state, can with the application program of No starting predefined type, such as No starting video software, Can also directly No starting predetermined application, such as No starting software upgrading management program, can also be according to pre- accordatura Amount plays predetermined audio, for example, playing lullaby with minimum volume.The corresponding safety operation function of sleep pattern includes but unlimited In above-mentioned several functions, also, above-mentioned several functions may be used alone, can also be used in combination.
Another aspect of the invention proposes a kind of terminal, including terminal control described in any one of above-mentioned technical proposal Device, therefore, the terminal have technical effect identical with the terminal control mechanism described in any one of above-mentioned technical proposal, This is repeated no more.
By above technical scheme, the state of mind of user can be effectively judged by screen operator attribute, consequently facilitating Safety operation function is executed in time after user falls asleep, consumption flow caused by avoiding due to maloperation or terminal work long hours, The problem of power consumption, also avoids terminal from generating the interference of light or sound to the user of sleep, promotes the sleep quality of user.
Detailed description of the invention
Fig. 1 shows the flow chart of terminal control method according to an embodiment of the invention;
Fig. 2 shows the block diagrams of terminal control mechanism according to an embodiment of the invention;
Fig. 3 shows the block diagram of terminal according to an embodiment of the invention;
Fig. 4 shows the work flow diagram of terminal according to an embodiment of the invention in a sleep mode.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application Feature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also To be implemented using other than the one described here other modes, therefore, protection scope of the present invention is not by described below Specific embodiment limitation.
Fig. 1 shows the flow chart of terminal control method according to an embodiment of the invention.
As shown in Figure 1, terminal control method according to an embodiment of the invention, comprising:
Step 102, in a sleep mode, the screen operator attribute of terminal is detected;
Step 104, determine whether the screen operator attribute meets predetermined sleep condition;
Step 106, when determining that the screen operator attribute meets the predetermined sleep condition, the sleep pattern is executed Corresponding safety operation function.
In the technical scheme, sleep pattern can be opened, in a sleep mode when, when detecting that screen operator attribute is full When the predetermined sleep condition of foot, it can assert that the user of operating terminal is in sleep state, at this point, in order to avoid maloperation and flow The problems such as consumption, can take corresponding safety operation function under sleep pattern.
For example, detecting that screen pressure value is smaller and smaller after user opens sleep pattern, illustrating the user of operating terminal very It is possible that having entered sleep, finger landing causes screen pressure value to reduce, at this point, i.e. executable disabling video software and disabling are broadcast The safety operation function of putting device avoids user that error touch control operation occurs in sleep and causes the flow of terminal, electricity significantly Consumption.
By the technical solution, the state of mind of user can be effectively judged by screen operator attribute, consequently facilitating User executes safety operation function after falling asleep in time, consumption flow, consumption caused by avoiding due to maloperation or terminal work long hours The problem of electricity, also avoids terminal from generating the interference of light or sound to the user of sleep, promotes the sleep quality of user.
In the above-mentioned technical solutions, it is preferable that the screen operator attribute includes: screen pressure value and/or to screen Operating frequency;And step 102 specifically includes: by the screen pressure value of pressure-detecting device real time scan screen, and/or it is logical Overfrequency detection device detects the operating frequency to screen.
In the technical scheme, screen operator attribute includes but is not limited to screen pressure value and/or the operation frequency to screen Rate, wherein pressure-detecting device can detect a secondary screen pressure value, and frequency detecting device every the first predetermined time interval It is then to count in the second predetermined time interval that user is to the number of operations of screen, to calculate the operating frequency to screen.It is logical The technical solution is crossed, it is accurate to detect screen pressure value and/or the operating frequency to screen, convenient for according further to screen pressure value And/or the state of mind of user is determined to whether the operating frequency of screen meets predetermined sleep condition.
In addition, the first predetermined time interval of detection screen pressure value, detection are predetermined to the second of the operating frequency of screen Time interval can be arranged by system to be carried, and can also be accustomed to self-setting according to practical by user.
In any of the above-described technical solution, it is preferable that when the screen operator attribute is the screen pressure value or described When to the operating frequency of screen, step 104 is specifically included: judge the screen pressure value of real time scan whether be sequentially reduced or Whether decreasing value is more than predetermined threshold, or judges whether the operating frequency is less than or equal to preset frequency;When judging result is It when being, determines that the screen operator attribute meets the predetermined sleep condition, otherwise, continues to test the screen operator attribute.
In the technical scheme, if only using screen pressure value or to the operating frequency of screen as screen operator category Property, when screen pressure value is sequentially reduced or decreasing value is more than predetermined threshold, or works as and the operating frequency of screen is less than or equal to When preset frequency, illustrate that user is likely to the operating terminal that can not persistently concentrate one's energy, situations such as finger slides has occurred, this When, it can assert that user is in sleep state, that is, determine screen pressure value or predetermined sleep item is met to the operating frequency of screen Part avoids working long hours because of maloperation or terminal so as to further execute the corresponding safety operation function of sleep pattern The problem of flow, power consumption are consumed caused by and, also avoids terminal from generating the interference of light or sound to the user of sleep, is promoted and is used The sleep quality at family.
In addition, the corresponding predetermined threshold of the decreasing value of screen pressure value, the preset frequency to the operating frequency of screen, all may be used It is included to be arranged by system, self-setting can also be accustomed to according to practical by user.
In any of the above-described technical solution, it is preferable that when the screen operator attribute includes the screen pressure value and institute When stating the operating frequency to screen, step 104 is specifically included: judging whether the screen pressure value of real time scan is sequentially reduced Or whether decreasing value is more than predetermined threshold, and judges whether the operating frequency is less than or equal to preset frequency;Work as judging result It is sequentially reduced for the screen pressure value or decreasing value is more than the predetermined threshold, and the operating frequency is less than or equal to described When preset frequency, determines that the screen operator attribute meets the predetermined sleep condition, otherwise, continue to test the screen operator Attribute.
In the technical scheme, if using screen pressure value and to the operating frequency of screen together as screen operator category Property, only when screen pressure value is sequentially reduced or decreasing value is more than predetermined threshold, and the operating frequency of screen is less than or equal to When preset frequency, just illustrate that user is likely to the operating terminal that can not persistently concentrate one's energy, situations such as finger slides has occurred, this When, it can assert that user is in sleep state, that is, determine screen pressure value and predetermined sleep item is met to the operating frequency of screen Part avoids working long hours because of maloperation or terminal so as to further execute the corresponding safety operation function of sleep pattern The problem of flow, power consumption are consumed caused by and, also avoids terminal from generating the interference of light or sound to the user of sleep, is promoted and is used The sleep quality at family.
In addition, the corresponding predetermined threshold of the decreasing value of screen pressure value, the preset frequency to the operating frequency of screen, all may be used It is included to be arranged by system, self-setting can also be accustomed to according to practical by user.
In any of the above-described technical solution, it is preferable that further include: after entering the sleep pattern, filter the green of screen Blue light, and periodical adjustment is carried out to the brightness of the screen by color temperature regulator.
In the technical scheme, since the light for influencing sleep is mainly green-blue light, filtering green-blue light can improve user Sleep quality, in addition, optimizing screen intensity by color temperature regulator, can make screen intensity is suitable for human eye viewing, wherein can Make its soft variation further periodically to adjust screen intensity, so as to protect the eyesight of user, and generates hypnosis effect Fruit falls asleep convenient for user.It is carried in addition, the period for adjusting screen intensity can be arranged by system, it can also be by user according to reality It is accustomed to self-setting in border.
In any of the above-described technical solution, it is preferable that the corresponding safety operation function of the sleep pattern include it is following it One or combinations thereof: the application program of No starting predefined type;No starting predetermined application;It is played with according to predetermined volume Predetermined audio.
In the technical scheme, under sleep pattern, when judgement screen operator attribute meets predetermined sleep condition, i.e. identification is grasped When making the user of terminal and being in sleep state, can with the application program of No starting predefined type, such as No starting video software, Can also directly No starting predetermined application, such as No starting software upgrading management program, can also be according to pre- accordatura Amount plays predetermined audio, for example, playing lullaby with minimum volume.The corresponding safety operation function of sleep pattern includes but unlimited In above-mentioned several functions, also, above-mentioned several functions may be used alone, can also be used in combination.
Fig. 2 shows the block diagrams of terminal control mechanism according to an embodiment of the invention.
As shown in Fig. 2, terminal control mechanism 200 according to an embodiment of the invention, comprising: the inspection of screen operator attribute Survey unit 202, sleep condition authentication unit 204 and execution unit 206.
Wherein, screen operator detection of attribute unit 202 is in a sleep mode, detecting the screen operator attribute of terminal; Sleep condition authentication unit 204 is for determining whether the screen operator attribute meets predetermined sleep condition;Execution unit 206 is used In when determining that the screen operator attribute meets the predetermined sleep condition, the corresponding safety operation of the sleep pattern is executed Function.
In the technical scheme, sleep pattern can be opened, in a sleep mode when, when detecting that screen operator attribute is full When the predetermined sleep condition of foot, it can assert that the user of operating terminal is in sleep state, at this point, in order to avoid maloperation and flow The problems such as consumption, can take corresponding safety operation function under sleep pattern.
For example, detecting that screen pressure value is smaller and smaller after user opens sleep pattern, illustrating the user of operating terminal very It is possible that having entered sleep, finger landing causes screen pressure value to reduce, at this point, i.e. executable disabling video software and disabling are broadcast The safety operation function of putting device avoids user that error touch control operation occurs in sleep and causes the flow of terminal, electricity significantly Consumption.
By the technical solution, the state of mind of user can be effectively judged by screen operator attribute, consequently facilitating User executes safety operation function after falling asleep in time, consumption flow, consumption caused by avoiding due to maloperation or terminal work long hours The problem of electricity, also avoids terminal from generating the interference of light or sound to the user of sleep, promotes the sleep quality of user.
In the above-mentioned technical solutions, it is preferable that the screen operator attribute includes: screen pressure value and/or to screen Operating frequency;And screen operator detection of attribute unit 202 is specifically used for: by the screen of pressure-detecting device real time scan screen Curtain pressure value, and/or the operating frequency to screen is detected by frequency detecting device.
In the technical scheme, screen operator attribute includes but is not limited to screen pressure value and/or the operation frequency to screen Rate, wherein pressure-detecting device can detect a secondary screen pressure value, and frequency detecting device every the first predetermined time interval It is then to count in the second predetermined time interval that user is to the number of operations of screen, to calculate the operating frequency to screen.It is logical The technical solution is crossed, it is accurate to detect screen pressure value and/or the operating frequency to screen, convenient for according further to screen pressure value And/or the state of mind of user is determined to whether the operating frequency of screen meets predetermined sleep condition.
In addition, the first predetermined time interval of detection screen pressure value, detection are predetermined to the second of the operating frequency of screen Time interval can be arranged by system to be carried, and can also be accustomed to self-setting according to practical by user.
In any of the above-described technical solution, it is preferable that sleep condition authentication unit 204 includes: the first judging unit 2042, When the screen operator attribute is the screen pressure value or the operating frequency to screen, the described of real time scan is judged Whether screen pressure value is sequentially reduced or whether decreasing value is more than predetermined threshold, or judges whether the operating frequency is less than or waits In preset frequency, wherein when the judgment result is yes, determine that the screen operator attribute meets the predetermined sleep condition, it is no Then, the screen operator attribute is continued to test.
In the technical scheme, if only using screen pressure value or to the operating frequency of screen as screen operator category Property, when screen pressure value is sequentially reduced or decreasing value is more than predetermined threshold, or works as and the operating frequency of screen is less than or equal to When preset frequency, illustrate that user is likely to the operating terminal that can not persistently concentrate one's energy, situations such as finger slides has occurred, this When, it can assert that user is in sleep state, that is, determine screen pressure value or predetermined sleep item is met to the operating frequency of screen Part avoids working long hours because of maloperation or terminal so as to further execute the corresponding safety operation function of sleep pattern The problem of flow, power consumption are consumed caused by and, also avoids terminal from generating the interference of light or sound to the user of sleep, is promoted and is used The sleep quality at family.
In addition, the corresponding predetermined threshold of the decreasing value of screen pressure value, the preset frequency to the operating frequency of screen, all may be used It is included to be arranged by system, self-setting can also be accustomed to according to practical by user.
In any of the above-described technical solution, it is preferable that sleep condition authentication unit 204 includes: second judgment unit 2044, When the screen operator attribute includes the screen pressure value and the operating frequency to screen, the institute of real time scan is judged State whether screen pressure value is sequentially reduced or whether decreasing value is more than predetermined threshold, and judge the operating frequency whether be less than or Equal to preset frequency;Wherein, when second judgment unit 2044 judges that the screen pressure value is sequentially reduced or the decreasing value is super Cross the predetermined threshold, and when the operating frequency is less than or equal to the preset frequency, sleep condition authentication unit 204 is determined The screen operator attribute meets the predetermined sleep condition, otherwise, continues to test the screen operator attribute.
In the technical scheme, if using screen pressure value and to the operating frequency of screen together as screen operator category Property, only when screen pressure value is sequentially reduced or decreasing value is more than predetermined threshold, and the operating frequency of screen is less than or equal to When preset frequency, just illustrate that user is likely to the operating terminal that can not persistently concentrate one's energy, situations such as finger slides has occurred, this When, it can assert that user is in sleep state, that is, determine screen pressure value and predetermined sleep item is met to the operating frequency of screen Part avoids working long hours because of maloperation or terminal so as to further execute the corresponding safety operation function of sleep pattern The problem of flow, power consumption are consumed caused by and, also avoids terminal from generating the interference of light or sound to the user of sleep, is promoted and is used The sleep quality at family.
In addition, the corresponding predetermined threshold of the decreasing value of screen pressure value, the preset frequency to the operating frequency of screen, all may be used It is included to be arranged by system, self-setting can also be accustomed to according to practical by user.
In any of the above-described technical solution, it is preferable that further include: filter element 208, after entering the sleep pattern, Filter the green-blue light of screen;Color temperature adjusting unit 210 carries out periodical tune to the brightness of the screen by color temperature regulator It is whole.
In the technical scheme, since the light for influencing sleep is mainly green-blue light, filtering green-blue light can improve user Sleep quality, in addition, optimizing screen intensity by color temperature regulator, can make screen intensity is suitable for human eye viewing, wherein can Make its soft variation further periodically to adjust screen intensity, so as to protect the eyesight of user, and generates hypnosis effect Fruit falls asleep convenient for user.It is carried in addition, the period for adjusting screen intensity can be arranged by system, it can also be by user according to reality It is accustomed to self-setting in border.
In any of the above-described technical solution, it is preferable that the corresponding safety operation function of the sleep pattern include it is following it One or combinations thereof: the application program of No starting predefined type;No starting predetermined application;It is played with according to predetermined volume Predetermined audio.
In the technical scheme, under sleep pattern, when judgement screen operator attribute meets predetermined sleep condition, i.e. identification is grasped When making the user of terminal and being in sleep state, can with the application program of No starting predefined type, such as No starting video software, Can also directly No starting predetermined application, such as No starting software upgrading management program, can also be according to pre- accordatura Amount plays predetermined audio, for example, playing lullaby with minimum volume.The corresponding safety operation function of sleep pattern includes but unlimited In above-mentioned several functions, also, above-mentioned several functions may be used alone, can also be used in combination.
Fig. 3 shows the block diagram of terminal according to an embodiment of the invention.
As shown in figure 3, terminal 300 according to an embodiment of the invention, including Fig. 2 shows terminal control mechanism 200, therefore, the terminal 300 have and Fig. 2 shows the identical technical effect of terminal control mechanism 200, details are not described herein.
Fig. 4 shows the work flow diagram of terminal according to an embodiment of the invention in a sleep mode.
As shown in figure 4, the workflow of terminal according to an embodiment of the invention in a sleep mode, comprising:
Step 402, into sleep pattern, green-blue light is filtered by photosensitive sensors.
Step 404, pass through color temperature regulator periodically optimization screen intensity.
Step 406, No starting video class, game class software are set.
Step 408, pass through the screen pressure value of pressure-detecting device real time scan screen.
Step 410, the operating frequency to screen is detected by frequency detecting device.
Wherein it is possible to the screen pressure value according to screen determines whether user is in sleep state, it can also be according to screen The operating frequency of curtain determines whether user is in sleep state.Furthermore it is also possible to by the screen pressure value of screen and to screen Operating frequency combine determine user whether be in sleep state, be not shown in the figure.
Step 412, determine that user is in sleep state.That is, screen pressure value and same to the operating frequency of screen When meeting predetermined sleep condition, just determine that user is in sleep state.
Step 414, it opens specified application and plays hypnosis music.
In the technical scheme, it can set the hypnagogic state of user to " 1 ", non-hypnagogic state is set as " 0 ".Night Module can be adjusted by screen intensity and adjust light, filter out the green-blue light in light with time opening sleep pattern, terminal.
After filtering out green-blue light, the color of screen may be distorted, therefore, it is desirable to be optimized by built-in color temperature regulator Screen intensity, reaches the state of suitable human eye viewing, and carries out periodically soft variation to screen, makes one to generate and sleep Meaning.Wherein, the period can be preset to according to the actual situation in color temperature regulator by user or the default of color temperature regulator is all Phase.
While above situation occurs, built-in pressure-detecting device (such as pressure sensor) is continually scanned for from screen Screen pressure value, and the screen pressure value measured is compared, if pressure value be gradually reduced, reduce slope be higher than it is predetermined Value, pressure value decreasing value are less than or equal to predetermined threshold, then can be determined that the state of mind of user reaches sleep state, sensor The data of storage are " 1 ", otherwise determine that the state of mind of user is that not up to sleep state, the data of sensor storage are " 0 ".
If it is determined that the state of mind of user is sleep state, No starting video can be arranged in the backstage of terminal automatically Class, game class software, in order to avoid open related software because of maloperation when that will fall asleep, sound after being turned on software or soft Interested content stimulates and " awake " in part, leads to not fall asleep, meanwhile, it also avoids working long hours because of maloperation or terminal The problem of flow, power consumption are consumed caused by and.
It judges by accident in order to prevent, while detecting screen pressure value, frequency detecting device can continually scan for screen, by sweeping The operating frequency retouched is compared with preset frequency, for example, preset frequency may be configured as every 5 minutes 1 time operation, is being detected Screen pressure value constantly compares operating frequency and preset frequency while variation, if operating frequency is less than or equal to predetermined frequency Rate then determines that user reaches hypnagogic state, and frequency detecting device storing data is " 1 ".If operating frequency is greater than preset frequency, Then determine that user is not up to sleep state, frequency detecting device storing data is " 0 ".
Central processing unit collects the detection data of pressure-detecting device and frequency detecting device, what detection data was likely to occur Situation is " 00 ", " 01 ", " 10 ", " 11 ", and only when detecting " 11 ", terminal just determines that user reaches hypnagogic state.
After determining that user reaches hypnagogic state, application program specified in advance can be opened, soft hypnosis music is played, risen To the effect for improving sleep quality.
The technical scheme of the present invention has been explained in detail above with reference to the attached drawings, according to the technical solution of the present invention, can pass through screen Curtain operational attribute effectively to judge the state of mind of user, consequently facilitating safety operation function is executed in time after user falls asleep, Flow, power consumption are consumed caused by avoiding the problem that due to maloperation or terminal work long hours, and also avoid terminal to the use of sleep Family generates the interference of light or sound, promotes the sleep quality of user.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (6)

1. a kind of terminal control method characterized by comprising
In a sleep mode, the screen operator attribute of terminal is detected;
Determine whether the screen operator attribute meets predetermined sleep condition;
When determining that the screen operator attribute meets the predetermined sleep condition, the corresponding safety behaviour of the sleep pattern is executed Make function;
The corresponding safety operation function of the sleep pattern includes following one or combinations thereof: the application of No starting predefined type Program;No starting predetermined application;Predetermined audio is played with according to predetermined volume;
The screen operator attribute includes: screen pressure value and/or the operating frequency to screen;And
The screen operator attribute of the detection terminal, specifically includes:
By the screen pressure value of pressure-detecting device real time scan screen, and/or detected by frequency detecting device it is described right The operating frequency of screen;
When the screen operator attribute includes the screen pressure value and the operating frequency to screen, described in the determination Whether screen operator attribute meets predetermined sleep condition, specifically includes:
Judge whether the screen pressure value of real time scan is sequentially reduced or whether decreasing value is more than predetermined threshold, and judges institute State whether operating frequency is less than or equal to preset frequency;
When judging result is that the screen pressure value is sequentially reduced or decreasing value is more than the predetermined threshold, and the operating frequency When less than or equal to the preset frequency, determines that the screen operator attribute meets the predetermined sleep condition, otherwise, continue to examine Survey the screen operator attribute.
2. terminal control method according to claim 1, which is characterized in that when the screen operator attribute is the screen When pressure value or the operating frequency to screen, whether the determination screen operator attribute meets predetermined sleep condition, It specifically includes:
Judge whether the screen pressure value of real time scan is sequentially reduced or whether decreasing value is more than predetermined threshold, or judges institute State whether operating frequency is less than or equal to preset frequency;
When the judgment result is yes, it determines that the screen operator attribute meets the predetermined sleep condition, otherwise, continues to test institute State screen operator attribute.
3. terminal control method according to claim 1 or 2, which is characterized in that further include:
After entering the sleep pattern, the green-blue light of screen is filtered, and pass through brightness of the color temperature regulator to the screen Carry out periodical adjustment.
4. a kind of terminal control mechanism characterized by comprising
Screen operator detection of attribute unit detects the screen operator attribute of terminal in a sleep mode;
Sleep condition authentication unit, determines whether the screen operator attribute meets predetermined sleep condition;
Execution unit executes the sleep pattern pair when determining that the screen operator attribute meets the predetermined sleep condition The safety operation function of answering;
The corresponding safety operation function of the sleep pattern includes following one or combinations thereof: the application of No starting predefined type Program;No starting predetermined application;Predetermined audio is played with according to predetermined volume;
The screen operator attribute includes: screen pressure value and/or the operating frequency to screen;And
The screen operator detection of attribute unit is specifically used for:
By the screen pressure value of pressure-detecting device real time scan screen, and/or detected by frequency detecting device it is described right The operating frequency of screen;
The sleep condition authentication unit includes:
Second judgment unit, when the screen operator attribute includes the screen pressure value and the operating frequency to screen When, judge whether the screen pressure value of real time scan is sequentially reduced or whether decreasing value is more than predetermined threshold, and judge institute State whether operating frequency is less than or equal to preset frequency;
Wherein, when the second judgment unit judges that the screen pressure value is sequentially reduced or the decreasing value is more than described predetermined Threshold value, and the operating frequency be less than or equal to the preset frequency when, the sleep condition authentication unit determines the screen Operational attribute meets the predetermined sleep condition, otherwise, continues to test the screen operator attribute.
5. terminal control mechanism according to claim 4, which is characterized in that the sleep condition authentication unit includes:
First judging unit, when the screen operator attribute is the screen pressure value or the operating frequency to screen, Judge whether the screen pressure value of real time scan is sequentially reduced or whether decreasing value is more than predetermined threshold, or judges the behaviour Whether working frequency is less than or equal to preset frequency, wherein when the judgment result is yes, determines that the screen operator attribute meets institute Predetermined sleep condition is stated, otherwise, continues to test the screen operator attribute.
6. terminal control mechanism according to claim 4 or 5, which is characterized in that further include:
Filter element filters the green-blue light of screen after entering the sleep pattern;
Color temperature adjusting unit carries out periodical adjustment to the brightness of the screen by color temperature regulator.
CN201610058274.5A 2016-01-27 2016-01-27 Terminal control method and terminal control mechanism Active CN105739669B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610058274.5A CN105739669B (en) 2016-01-27 2016-01-27 Terminal control method and terminal control mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610058274.5A CN105739669B (en) 2016-01-27 2016-01-27 Terminal control method and terminal control mechanism

Publications (2)

Publication Number Publication Date
CN105739669A CN105739669A (en) 2016-07-06
CN105739669B true CN105739669B (en) 2019-06-11

Family

ID=56246852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610058274.5A Active CN105739669B (en) 2016-01-27 2016-01-27 Terminal control method and terminal control mechanism

Country Status (1)

Country Link
CN (1) CN105739669B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453700A (en) * 2016-09-23 2017-02-22 努比亚技术有限公司 Mobile terminal display control apparatus and method
CN106572251B (en) * 2016-10-31 2018-09-28 珠海市魅族科技有限公司 Mode switching method, mode-changeover device and terminal
CN107221305B (en) * 2017-06-19 2019-09-06 Oppo广东移动通信有限公司 Color temperature adjusting method, device and its equipment based on screen intensity
CN107582028B (en) * 2017-09-25 2021-04-13 北京小米移动软件有限公司 Sleep monitoring method and device
CN107670158A (en) * 2017-09-30 2018-02-09 努比亚技术有限公司 The method, apparatus and its computer-readable recording medium of a kind of assisting sleep
CN107835307A (en) * 2017-10-28 2018-03-23 上海爱优威软件开发有限公司 Sleep method and system are helped for terminal
CN107995676A (en) * 2017-11-24 2018-05-04 北京小米移动软件有限公司 terminal control method and device
CN112401838B (en) * 2020-11-16 2023-07-14 上海创功通讯技术有限公司 Method for detecting sleep state by wearable device and wearable device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019107A (en) * 2011-09-23 2013-04-03 王权炜 Terminal and method for automatically pausing music play function during sleep time of user
CN104050039A (en) * 2014-07-03 2014-09-17 中科创达软件股份有限公司 Method and device for having control over multimedia playing

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100727926B1 (en) * 2004-10-23 2007-06-14 삼성전자주식회사 Power management method in portable information device and power management apparatus
CN202892606U (en) * 2012-11-06 2013-04-24 镇江和华医疗科技有限公司 Device for controlling intensity of light entering eyes to improve biological clock
CN104383681B (en) * 2014-10-27 2016-03-30 腾讯科技(深圳)有限公司 Method for controlling game program, device and mobile terminal
CN105261378A (en) * 2015-11-09 2016-01-20 广东欧珀移动通信有限公司 An audio file playing method and apparatus based on sleep states

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019107A (en) * 2011-09-23 2013-04-03 王权炜 Terminal and method for automatically pausing music play function during sleep time of user
CN104050039A (en) * 2014-07-03 2014-09-17 中科创达软件股份有限公司 Method and device for having control over multimedia playing

Also Published As

Publication number Publication date
CN105739669A (en) 2016-07-06

Similar Documents

Publication Publication Date Title
CN105739669B (en) Terminal control method and terminal control mechanism
CN104934014B (en) Sight protectio method and device
CN105157157B (en) A kind of VMC and its ventilation control method and device
TWI729983B (en) Electronic device, system and method for adjusting display device
EP3363096A1 (en) Processing of resource consumption data via monitoring physically observable behaviors of an existing resource meter and provision of functionalities based on processing of resource consumption data
WO2017145566A1 (en) Cognitive symptom detection system and program
CN106457115A (en) Air purifier, method for determining time to replace filter thereof, and device and method for determining filer replacement time pressure differential therefor
CN108510963A (en) Method of adjustment, device, storage medium and the intelligent terminal of screen intensity
CN106169290B (en) Control method, control device and electronic device
CN109631262A (en) A kind of air conditioning control method, device and air conditioner
CN104581127B (en) Method, terminal and head-worn display equipment for automatically adjusting screen brightness
CN105867605A (en) Functional menu page-turning method and apparatus for virtual reality helmet, and helmet
WO2017101226A1 (en) Method and apparatus for judging user eyesight fatigue
KR20170101221A (en) Management system and method of an active device
TWI684924B (en) Assisting appatatus for bean roasting and bean roasting appatatus
CN103000004A (en) Monitoring method for visibility range from eyes to screen
CN109782620A (en) Intelligent curtain and its control method, device and computer readable storage medium
CN105516446A (en) Terminal screen backlight adjusting method and terminal
CN106066761B (en) Control method and control device
CN111820479B (en) Control method and device of electronic cigarette
CN105491451B (en) The method and electronic equipment of electronic equipment automatic shutdown
CN114630067A (en) Video playing control method, device, equipment and storage medium
CN106210332A (en) Control method and control device
CN106293421B (en) Control method and mobile terminal
CN105869602A (en) Display screen adaptive adjustment method and system, and defibrillator

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