CN108459806A - terminal control method, terminal and computer readable storage medium - Google Patents
terminal control method, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN108459806A CN108459806A CN201810295267.6A CN201810295267A CN108459806A CN 108459806 A CN108459806 A CN 108459806A CN 201810295267 A CN201810295267 A CN 201810295267A CN 108459806 A CN108459806 A CN 108459806A
- Authority
- CN
- China
- Prior art keywords
- user
- terminal
- fatigue
- frequency
- application program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/103—Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
- A61B5/11—Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
- A61B5/1103—Detecting eye twinkling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/18—Eye characteristics, e.g. of the iris
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Ophthalmology & Optometry (AREA)
- Human Computer Interaction (AREA)
- Pathology (AREA)
- Medical Informatics (AREA)
- Dentistry (AREA)
- Biophysics (AREA)
- Physiology (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Molecular Biology (AREA)
- Surgery (AREA)
- Animal Behavior & Ethology (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Multimedia (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of terminal control method, the terminal includes image acquisition units, and the method comprising the steps of:The application program that detecting user currently opens, and judge that user opens the time of the application program;When the time that user opens the application program being more than preset time, start the eye state of described image collecting unit acquisition user;Whether user described in the eye condition adjudgement according to the user is tired;And when human fatigue, controls the terminal and enter anti-Fatigue pattern.The embodiment of the invention also discloses a kind of terminal and computer readable storage mediums.Technical solution through the embodiment of the present invention, it is intended to can Auto-Sensing User Status alleviate human fatigue while when user is in fatigue state.
Description
Technical field
The present invention relates to a kind of field of terminal technology more particularly to terminal control method, terminal and computer-readable storages
Medium.
Background technology
Electronic equipment is indispensable in our life.People's work, life, trip can all use electronics and set
It is standby.But electronic equipment is watched for a long time or using that can lead to human fatigue, therefore, but current electronic device all can not
The fatigue state of Auto-Sensing user.
Invention content
It is a primary object of the present invention to propose a kind of terminal control method, terminal and computer readable storage medium, purport
Can Auto-Sensing User Status alleviate human fatigue while when user is in fatigue state.
To achieve the above object, a kind of terminal control method provided by the invention, is applied to terminal, and the terminal includes figure
As collecting unit, the method comprising the steps of:The application program that detecting user currently opens, and it is described using journey to judge that user opens
The time of sequence;When the time that user opens the application program being more than preset time, start the acquisition of described image collecting unit
The eye state of user;Whether user described in the eye condition adjudgement according to the user is tired;And when human fatigue, control
The terminal enters anti-Fatigue pattern.
Optionally, the eye state of described image collecting unit acquisition user includes acquiring the eyes picture of the user,
User described in the eye condition adjudgement according to the user whether fatigue step, including:Extract the eyes of the user
The iris of eyes in picture;Judge whether the iris is congested;When the iris is in congestive state, then the user is judged
Fatigue.
Optionally, the eye state of described image collecting unit acquisition user further includes acquiring the blink frequency of the user
Rate, user described in the eye condition adjudgement according to the user whether the step of fatigue, further include:When the iris is in
When non-congestive state, the frequency of wink of the user is recorded;The frequency of wink of the user is compared with predetermined threshold value;When
When the frequency of wink of the user is less than the predetermined threshold value, then the human fatigue is judged.
Optionally, described when human fatigue, the step of terminal is into anti-Fatigue pattern is controlled, including:It opens pre-
If application program, and the sound of the application program is adjusted, to alleviate the degree of fatigue of the user.
Optionally, the terminal is provided with light bar, and the light bar is arranged on the frame pre-determined distance apart from the terminal
Position, it is described when human fatigue, control the terminal into anti-Fatigue pattern the step of, further include:Open light bar, control
The lighting effects of the light bar, wherein the lighting effects include at least the light color variation of the light bar and the light
The frequency of color change.
In addition, to achieve the above object, the present invention also proposes that a kind of terminal, the terminal include:Memory, processor and
It is stored in the terminal control program that can be run on the memory and on the processor, the terminal further includes Image Acquisition
Unit, the terminal control program realize step when being executed by the processor:The application program that detecting user currently opens, and
Judge that user opens the time of the application program;When the time that user opens the application program being more than preset time, open
The eye state of dynamic described image collecting unit acquisition user;Whether user described in the eye condition adjudgement according to the user is tired
Labor;And when human fatigue, controls the terminal and enter anti-Fatigue pattern.
Optionally, the eye state of described image collecting unit acquisition user includes acquiring the eyes picture of the user,
When the terminal control program is executed by the processor, whether user described in the eye condition adjudgement according to the user
The step of fatigue, including:Extract the iris of eyes in the eyes picture of the user;Judge whether the iris is congested;Work as institute
When stating iris and being in congestive state, then the human fatigue is judged.
Optionally, the eye state of described image collecting unit acquisition user further includes acquiring the blink frequency of the user
Rate, when the terminal control program is executed by the processor, user described in the eye condition adjudgement according to the user
Whether fatigue step, further include:When the iris is in non-congestive state, the frequency of wink of the user is recorded;By institute
The frequency of wink for stating user is compared with predetermined threshold value;When the frequency of wink of the user is less than the predetermined threshold value, then
Judge the human fatigue.
Optionally, the terminal is provided with light bar, and the light bar is arranged on the frame pre-determined distance apart from the terminal
Position, it is described when human fatigue, control the terminal into anti-Fatigue pattern the step of, including:Light bar is opened, institute is controlled
State the lighting effects of light bar, wherein the lighting effects include at least the light color variation of the light bar and the light face
The frequency of color change.
Further, to achieve the above object, the present invention also provides a kind of computer readable storage medium, the storage is situated between
It is stored with terminal control program in matter, such as above-mentioned terminal control is realized when the terminal control program is executed by the processor
The step of method.
Terminal control method, terminal and computer readable storage medium proposed by the present invention, it is a kind of based on finger by providing
Line gesture carrys out the network speed of control terminal, and by pre-setting the trigger condition of speed limit pattern, when game is opened, actively detecting is used
The identity at family, when user is child, automatic trigger speed limit pattern.
Description of the drawings
The hardware architecture diagram of Fig. 1 terminals of each embodiment to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of terminal as shown in Figure 1;
Fig. 3 is a kind of flow chart for terminal control method that first embodiment of the invention proposes;
Fig. 4 is a kind of module diagram for terminal that second embodiment of the invention proposes.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only
The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, tablet
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. are eventually
End, and the fixed terminals such as number TV, desktop computer.
It will be illustrated by taking terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to being used in particular for
Except the element of mobile purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its terminal of each embodiment to realize the present invention, the terminal
100 may include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V
(audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, storage
The components such as device 109, processor 110 and power supply 111.It will be understood by those skilled in the art that terminal structure shown in Fig. 1
The not restriction of structure paired terminal, terminal may include than illustrating more or fewer components, either combine certain components or
Different component arrangements.
The all parts of terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronics postal by WiFi module 102
Part, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 is shown
WiFi module 102, but it is understood that, and it is not belonging to must be configured into for terminal, it can not change as needed completely
Become in the range of the essence of invention and omits.
Audio output unit 103 can be in call signal reception pattern, call mode, logging mode, language in terminal 100
It is that radio frequency unit 101 or WiFi module 102 are received or depositing when under the isotypes such as sound recognition mode, broadcast reception mode
The audio data stored in reservoir 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 may be used also
To provide the relevant audio output of specific function executed with terminal 100 (for example, call signal receives sound, message sink sound
Sound etc.).Audio output unit 103 may include loud speaker, buzzer etc..
A/V input units 104 are for receiving audio or video signal.A/V input units 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjusts the brightness of display panel 1061, and proximity sensor can close display panel when terminal 100 is moved in one's ear
1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture
Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone
Configurable fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, temperature
The other sensors such as meter, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generates and set with the user of terminal
It sets and the related key signals of function control inputs.Specifically, user input unit 107 may include touch panel 1071 and its
His input equipment 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation (are compared
Such as user is using finger, stylus any suitable object or attachment on touch panel 1071 or near touch panel 1071
Operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detecting apparatus
With two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect what touch operation was brought
Signal transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and it is converted
At contact coordinate, then processor 110 is given, and order that processor 110 is sent can be received and executed.Furthermore, it is possible to adopt
Touch panel 1071 is realized with multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc.
It is one or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be to realize the function that outputs and inputs of terminal as two independent components, but in some embodiments it is possible to will
Touch panel 1071 is integrated with display panel 1061 and realizes the function that outputs and inputs of terminal, does not limit herein specifically.
Interface unit 108 be used as at least one external device (ED) connect with terminal 100 can by interface.For example, external
Device may include wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless number
According to port, memory card port, the port for connecting the device with identification module, the port audio input/output (I/O), regard
The ports frequency I/O, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, data are believed
Breath, electric power etc.) and by one or more elements that the input received is transferred in terminal 100 or can be used at end
Transmission data between end 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area
And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to
It crosses operation or executes the software program and/or module being stored in memory 109, and call and be stored in memory 109
Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 110 may include one
Or multiple processing units;Preferably, processor 110 can integrate application processor and modem processor, wherein application processing
The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage
Solution, above-mentioned modem processor can not also be integrated into processor 110.
Terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 can be with
It is logically contiguous by power-supply management system and processor 110, to by power-supply management system realize management charging, electric discharge, with
And the functions such as power managed.
Although Fig. 1 is not shown, terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system being based below to the terminal of the present invention are retouched
It states.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes communicating UE (User Equipment, the use of connection successively
Family equipment) (the lands Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and some are preserved in relation to use such as service features, data rates
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., it does not limit herein.
Based on above-mentioned terminal hardware structure and communications network system, each embodiment of the method for the present invention is proposed.
Embodiment one
As shown in figure 3, first embodiment of the invention proposes that a kind of terminal control method, this method are applied in terminal 100,
The terminal 100 includes image acquisition units (not marked in Fig. 3), and described image collecting unit can be camera, and network is taken the photograph
Camera (IP camera) etc. can acquire the image collecting device of user images, and this approach includes the following steps:
Step S300, the application program that detecting user currently opens, and judge that user opens the time of the application program.
Usually, when user watches electronic device overlong time, it just will appear fatigue state, therefore, terminal 100 records
User opens the time of application program to judge whether user can fatigue.In the present embodiment, terminal 100 can be, but not limited to be hand
The mobile terminals such as mechanical, electrical brain, game machine or car-mounted electronic device etc..Application program can be, but not limited to be game, video display,
Vehicle mounted guidance etc..
Step S302 starts described image acquisition when the time that user opens the application program being more than preset time
Unit acquires the eye state of user.
Specifically, the preset time is counted by developer according to the data model in actual conditions, obtains use
The average duration of family fatigue.For example, in the present embodiment, preset time can be set to 1 hour, when user watches application program
After 1 hour, terminal 100 starts the eye state of described image collecting unit acquisition user.In the present embodiment, described image acquisition
The eye state that unit acquires user includes the eyes picture for acquiring the user and the frequency of wink of the user.Wherein, it uses
The frequency of wink at family refers to the number of winks in the unit interval.Unit interval is 1 minute or 2 minutes, voluntarily by developer
Setting.
Whether step S304, user described in the eye condition adjudgement according to the user are tired.
Specifically, after described image collecting unit collects the eye state of user, terminal 100 is according to the eye of user
Whether state analysis user is currently in fatigue state.In the present embodiment, terminal 100 is in the following manner according to the user's
Whether user described in eye condition adjudgement is tired:
Terminal 100 extracts the iris of eyes in the eyes picture of the user, and judges whether the iris is congested, specifically
Judge that the technology of iris hyperemia is ripe at present, this embodiment is not repeated.
Further, when the iris is in congestive state, terminal 100 then judges the human fatigue.
When eyes are absorbed in an object, frequency of wink can decline, this causes the dry and astringent problem of device-dependent eyes
Main cause.Therefore, when the iris is normal, when being not in congestive state, terminal 100 records the frequency of wink of the user,
The frequency of wink of the user and predetermined threshold value (such as 2 times/second) are compared, when the frequency of wink of the user is less than institute
State predetermined threshold value such as 2 times/second) when, then terminal 100 judges that the user is in fatigue state.
Step S306 controls the terminal 100 and enters anti-Fatigue pattern when human fatigue.
In the present embodiment, terminal 100 is at least through following several into anti-Fatigue pattern:
First, terminal 100, which is opened, presets application program (such as music, broadcast etc.), and adjusts the sound of the application program
Sound, to alleviate the degree of fatigue of the user.For example, when terminal 100 detects user and is in fatigue state, it can be by music
Sound tunes up, and opens more hot music, allows user to be in excitatory state in this way, relieves fatigue.
Second, the terminal 100 can be arranged light bar, the light bar be arranged on the frame apart from the terminal it is default away from
From position, when detecting human fatigue, terminal 100 open light bar, control the lighting effects of the light bar, wherein described
Lighting effects include at least the frequency of light color variation and the light color variation of the light bar.
In the present embodiment, light bar is the light bar that the combination for the array of lamp for surrounding the setting of 100 frame of terminal is constituted, institute
The position for the frame pre-determined distance that light bar is arranged on apart from the terminal 100 is stated, for example, the light bar is arranged on apart from institute
2 centimeters of frame of terminal 100 are stated, around terminal 100 frame one circle.Certainly, the specific installation position of light bar is by developer
It is set as needed, however it is not limited to the setting method of the present embodiment.In this way, terminal 100 is by blinking light, so that user
In excitatory state, the effect refreshed oneself is played.
The terminal control method that the present embodiment proposes being capable of Auto-Sensing use for the eye state by acquiring user
Family state, while when user is in fatigue state, alleviating human fatigue, increasing the experience of user.
The present invention further provides a kind of terminal, the terminal includes memory, processor and terminal control system.It is described
Terminal control system be used for by acquire user eye state, can Auto-Sensing User Status, while user be in it is tired
When labor state, alleviates human fatigue, increase the experience of user.
Embodiment two
As shown in figure 4, second embodiment of the invention proposes a kind of terminal 100.The terminal 100 includes memory 109, place
Manage device 110, terminal control system 40 and at least one image acquisition units 105.Described image collecting unit can be camera,
Web camera (IP camera) etc. can acquire the image collecting device of user images.
In the present embodiment, the terminal control system 40 includes:
Detecting module 400, the application program currently opened for detecting user, and judge that user opens the application program
Time.
Usually, when user watches electronic device overlong time, it just will appear fatigue state, therefore, detecting module 400
Record user opens the time of application program to judge whether user can fatigue.In the present embodiment, terminal 100 can be, but not limited to
It is the mobile terminals such as mobile phone, computer, game machine or car-mounted electronic device etc..Application program can be, but not limited to be game, shadow
Depending on, vehicle mounted guidance etc..
Acquisition module 402 starts the figure when time for opening the application program as user is more than preset time
As collecting unit 105 acquires the eye state of user.
Specifically, the preset time is counted by developer according to the data model in actual conditions, obtains use
The average duration of family fatigue.For example, in the present embodiment, preset time can be set to 1 hour, when user watches application program
After 1 hour, acquisition module 402 starts the eye state that described image collecting unit 105 acquires user.It is described in the present embodiment
The eye state that image acquisition units 105 acquire user includes the blink frequency for the eyes picture and user for acquiring the user
Rate.Wherein, the frequency of wink of user refers to the number of winks in the unit interval.Unit interval is 1 minute or 2 minutes, by opening
Hair personnel's sets itself.
Judgment module 404, it is whether tired for user described in the eye condition adjudgement according to the user.
Specifically, after described image collecting unit 105 collects the eye state of user, judgment module 404 according to
Whether the eye state analysis user at family is currently in fatigue state.In the present embodiment, the root in the following manner of judgment module 404
Whether user described in the eye condition adjudgement according to the user is tired:
The iris of eyes in the eyes picture of the extraction collected user of image acquisition units 105 of judgment module 404,
And judging whether the iris is congested, the specific technology for judging iris hyperemia is ripe at present, and this embodiment is not repeated.
Further, when the iris is in congestive state, judgment module 404 then judges the human fatigue.
When eyes are absorbed in an object, frequency of wink can decline, this causes the dry and astringent problem of device-dependent eyes
Main cause.Therefore, when the iris is normal, when being not in congestive state, judgment module 404 records the blink frequency of the user
The frequency of wink of the user and predetermined threshold value (such as 2 times/second) are compared by rate, when the frequency of wink of the user is small
In the predetermined threshold value such as 2 times/second) when, then judgment module 404 judges that the user is in fatigue state.
Control module 406 enters anti-Fatigue pattern for when human fatigue, controlling the terminal 100.
In the present embodiment, control module 406 is at least through following several into anti-Fatigue pattern:
First, control module 406, which is opened, presets application program (such as music, broadcast etc.), and adjusts the application program
Sound, to alleviate the degree of fatigue of the user.For example, when judgment module 404 judges that user is in fatigue state, control
Module 406 can tune up musical sound, and open more hot music, and user is allowed to be in excitatory state in this way, alleviate tired
Labor.
Second, light bar can be arranged in the terminal 100, and the frame that the light bar is arranged on apart from the terminal 100 is pre-
If the position of distance, when judgment module 404 judges human fatigue, control module 406 opens light bar, controls the lamp of the light bar
Light effect, wherein the lighting effects include at least the frequency of light color variation and the light color variation of the light bar
Rate.
In the present embodiment, light bar is the light bar that the combination for the array of lamp for surrounding the setting of 100 frame of terminal is constituted, institute
The position for the frame pre-determined distance that light bar is arranged on apart from the terminal 100 is stated, for example, the light bar is arranged on apart from institute
2 centimeters of frame of terminal 100 are stated, around terminal 100 frame one circle.Certainly, the specific installation position of light bar is by developer
It is set as needed, however it is not limited to the setting method of the present embodiment.In this way, control module 406 is by blinking light, so that
User is in excitatory state, plays the effect refreshed oneself.
Certainly, developer can also be arranged other and allows the mode of the anti-fatigue of user as needed, the present invention is not limited to
The above several ways, specific embodiment this case repeat no more.
The terminal control system that the present embodiment proposes being capable of Auto-Sensing use for the eye state by acquiring user
Family state, while when user is in fatigue state, alleviating human fatigue, increasing the experience of user.
Further, to achieve the above object, the present invention also provides a kind of computer readable storage medium, the computers
It is stored with terminal control program on readable storage medium storing program for executing, is realized as above-mentioned when the terminal control program is executed by the processor
Terminal control method the step of.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of terminal control method is applied in terminal, which is characterized in that the terminal includes image acquisition units, the party
Method includes step:
The application program that detecting user currently opens, and judge that user opens the time of the application program;
When the time that user opens the application program being more than preset time, start described image collecting unit acquisition user's
Eye state;
Whether user described in the eye condition adjudgement according to the user is tired;And
When human fatigue, controls the terminal and enter anti-Fatigue pattern.
2. terminal control method according to claim 1, which is characterized in that described image collecting unit acquires the eye of user
Portion's state includes acquiring the eyes picture of the user, and whether user is tired described in the eye condition adjudgement according to the user
The step of labor, including:
Extract the iris of eyes in the eyes picture of the user;
Judge whether the iris is congested;
When the iris is in congestive state, then the human fatigue is judged.
3. terminal control method according to claim 2, which is characterized in that described image collecting unit acquires the eye of user
Portion's state further includes acquiring the frequency of wink of the user, and whether user described in the eye condition adjudgement according to the user
Fatigue step, further include:
When the iris is in non-congestive state, the frequency of wink of the user is recorded;
The frequency of wink of the user is compared with predetermined threshold value;
When the frequency of wink of the user is less than the predetermined threshold value, then the human fatigue is judged.
4. terminal control method according to claim 1, which is characterized in that it is described when human fatigue, control the end
End enters the step of anti-Fatigue pattern, including:
It opens and presets application program, and adjust the sound of the application program, to alleviate the degree of fatigue of the user.
5. terminal control method according to claim 4, which is characterized in that the terminal is provided with light bar, the light bar
It is arranged on the position of the frame pre-determined distance apart from the terminal, it is described when human fatigue, it is anti-to control the terminal entrance
The step of Fatigue pattern further includes:
Light bar is opened, the lighting effects of the light bar are controlled, wherein the lighting effects include at least the light face of the light bar
The frequency of color change and light color variation.
6. a kind of terminal, which is characterized in that the terminal includes:It memory, processor and is stored on the memory and can
The terminal control program run on the processor, the terminal further include image acquisition units, the terminal control program
Step is realized when being executed by the processor:
The application program that detecting user currently opens, and judge that user opens the time of the application program;
When the time that user opens the application program being more than preset time, start described image collecting unit acquisition user's
Eye state;
Whether user described in the eye condition adjudgement according to the user is tired;And
When human fatigue, controls the terminal and enter anti-Fatigue pattern.
7. terminal according to claim 6, which is characterized in that described image collecting unit acquires the eye state packet of user
The eyes picture for acquiring the user is included, it is described according to the user when terminal control program is executed by the processor
Eye condition adjudgement described in user whether fatigue step, including:
Extract the iris of eyes in the eyes picture of the user;
Judge whether the iris is congested;
When the iris is in congestive state, then the human fatigue is judged.
8. terminal according to claim 7, which is characterized in that described image collecting unit acquires the eye state of user also
Frequency of wink including acquiring the user, it is described according to the use when terminal control program is executed by the processor
User described in the eye condition adjudgement at family whether fatigue step, further include:
When the iris is in non-congestive state, the frequency of wink of the user is recorded;
The frequency of wink of the user is compared with predetermined threshold value;
When the frequency of wink of the user is less than the predetermined threshold value, then the human fatigue is judged.
9. terminal according to claim 6, which is characterized in that the terminal is provided with light bar, and the light bar is arranged on
The position of frame pre-determined distance apart from the terminal, it is described when human fatigue, it controls the terminal and enters anti-Fatigue pattern
The step of, including:
Light bar is opened, the lighting effects of the light bar are controlled, wherein the lighting effects include at least the light face of the light bar
The frequency of color change and light color variation.
10. a kind of computer readable storage medium, which is characterized in that be stored with terminal control on the computer readable storage medium
Processing procedure sequence realizes the terminal as described in any one of claim 1-5 when the terminal control program is executed by the processor
The step of control method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810295267.6A CN108459806A (en) | 2018-03-30 | 2018-03-30 | terminal control method, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810295267.6A CN108459806A (en) | 2018-03-30 | 2018-03-30 | terminal control method, terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108459806A true CN108459806A (en) | 2018-08-28 |
Family
ID=63234733
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810295267.6A Pending CN108459806A (en) | 2018-03-30 | 2018-03-30 | terminal control method, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108459806A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109259724A (en) * | 2018-08-30 | 2019-01-25 | Oppo广东移动通信有限公司 | A kind of eye monitoring method, apparatus, storage medium and wearable device |
CN109739331A (en) * | 2018-12-27 | 2019-05-10 | 联想(北京)有限公司 | Control method, control device and electronic equipment |
CN111079679A (en) * | 2019-12-23 | 2020-04-28 | 广东小天才科技有限公司 | Eye fatigue value judgment method, device, equipment and storage medium |
CN111580651A (en) * | 2020-04-30 | 2020-08-25 | 英华达(上海)科技有限公司 | Terminal control method, terminal, and computer-readable storage medium |
CN112006900A (en) * | 2019-05-28 | 2020-12-01 | 广东小天才科技有限公司 | Control method and system of intelligent desk lamp capable of preventing myopia and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10117742A1 (en) * | 2001-04-09 | 2002-10-10 | Wolfram Weis | Warning device for protection of eyes during reading and writing measures ambient light level for initiating warning signal |
CN102109903A (en) * | 2010-12-28 | 2011-06-29 | 中兴通讯股份有限公司 | Method and device for protecting eyesight |
CN103426275A (en) * | 2013-08-01 | 2013-12-04 | 步步高教育电子有限公司 | Device, desk lamp and method for detecting eye fatigue |
CN103530595A (en) * | 2012-07-04 | 2014-01-22 | 富士通株式会社 | Method and apparatus for detecting eye states |
CN104168384A (en) * | 2014-08-22 | 2014-11-26 | 广东欧珀移动通信有限公司 | Mobile terminal and health warning control method thereof |
CN105022981A (en) * | 2014-04-18 | 2015-11-04 | 中兴通讯股份有限公司 | Method and device for detecting health state of human eyes and mobile terminal |
CN105677174A (en) * | 2015-12-30 | 2016-06-15 | 宇龙计算机通信科技(深圳)有限公司 | Terminal reading mode control method and device, and terminal |
CN105718043A (en) * | 2014-12-18 | 2016-06-29 | 三星电子株式会社 | Method And Apparatus For Controlling An Electronic Device |
CN105718875A (en) * | 2016-01-15 | 2016-06-29 | 广东欧珀移动通信有限公司 | Visual fatigue detection method and user terminal |
-
2018
- 2018-03-30 CN CN201810295267.6A patent/CN108459806A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10117742A1 (en) * | 2001-04-09 | 2002-10-10 | Wolfram Weis | Warning device for protection of eyes during reading and writing measures ambient light level for initiating warning signal |
CN102109903A (en) * | 2010-12-28 | 2011-06-29 | 中兴通讯股份有限公司 | Method and device for protecting eyesight |
CN103530595A (en) * | 2012-07-04 | 2014-01-22 | 富士通株式会社 | Method and apparatus for detecting eye states |
CN103426275A (en) * | 2013-08-01 | 2013-12-04 | 步步高教育电子有限公司 | Device, desk lamp and method for detecting eye fatigue |
CN105022981A (en) * | 2014-04-18 | 2015-11-04 | 中兴通讯股份有限公司 | Method and device for detecting health state of human eyes and mobile terminal |
CN104168384A (en) * | 2014-08-22 | 2014-11-26 | 广东欧珀移动通信有限公司 | Mobile terminal and health warning control method thereof |
CN105718043A (en) * | 2014-12-18 | 2016-06-29 | 三星电子株式会社 | Method And Apparatus For Controlling An Electronic Device |
CN105677174A (en) * | 2015-12-30 | 2016-06-15 | 宇龙计算机通信科技(深圳)有限公司 | Terminal reading mode control method and device, and terminal |
CN105718875A (en) * | 2016-01-15 | 2016-06-29 | 广东欧珀移动通信有限公司 | Visual fatigue detection method and user terminal |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109259724A (en) * | 2018-08-30 | 2019-01-25 | Oppo广东移动通信有限公司 | A kind of eye monitoring method, apparatus, storage medium and wearable device |
CN109739331A (en) * | 2018-12-27 | 2019-05-10 | 联想(北京)有限公司 | Control method, control device and electronic equipment |
CN112006900A (en) * | 2019-05-28 | 2020-12-01 | 广东小天才科技有限公司 | Control method and system of intelligent desk lamp capable of preventing myopia and storage medium |
CN111079679A (en) * | 2019-12-23 | 2020-04-28 | 广东小天才科技有限公司 | Eye fatigue value judgment method, device, equipment and storage medium |
CN111580651A (en) * | 2020-04-30 | 2020-08-25 | 英华达(上海)科技有限公司 | Terminal control method, terminal, and computer-readable storage medium |
CN111580651B (en) * | 2020-04-30 | 2023-12-15 | 英华达(上海)科技有限公司 | Terminal control method, terminal and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108459806A (en) | terminal control method, terminal and computer readable storage medium | |
CN108495056A (en) | Photographic method, mobile terminal and computer readable storage medium | |
CN109561219A (en) | Music adjusting method, device, mobile terminal and readable storage medium storing program for executing | |
CN107340833A (en) | Terminal temperature control method, terminal and computer-readable recording medium | |
CN110046597A (en) | Face identification method, mobile terminal and computer readable storage medium | |
CN108391190B (en) | A kind of noise-reduction method, earphone and computer readable storage medium | |
CN109656371A (en) | Mobile terminal eye care method, device, mobile terminal and storage medium | |
CN109947248A (en) | Vibration control method, mobile terminal and computer readable storage medium | |
CN108537021A (en) | Unlocked by fingerprint method, terminal and computer readable storage medium based on double-sided screen | |
CN107463243A (en) | A kind of screen control method, mobile terminal and computer-readable recording medium | |
CN108833665A (en) | Communication means, wearable device and computer readable storage medium | |
CN109542232A (en) | Switching method, terminal and the computer readable storage medium of terminal horizontal/vertical screen mode | |
CN109218527A (en) | screen brightness control method, mobile terminal and computer readable storage medium | |
CN109542325A (en) | Double-sided screen touch control method, double-sided screen terminal, readable storage medium storing program for executing | |
CN109885362A (en) | Terminal and its eyeshield control method and computer readable storage medium | |
CN109547633A (en) | A kind of based reminding method, terminal and computer readable storage medium | |
CN109276881A (en) | A kind of game control method, equipment | |
CN108600545A (en) | Method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN108541116A (en) | Lamp light control method, terminal and computer readable storage medium | |
CN108650399A (en) | A kind of volume adjusting method, mobile terminal and computer readable storage medium | |
CN108319833A (en) | A kind of control method and mobile terminal of application program | |
CN107844759A (en) | A kind of gesture identification method, terminal and storage medium | |
CN109600518A (en) | Application method, mobile terminal, the readable storage medium storing program for executing of eyeshield display pattern | |
CN109782851A (en) | Operating mode adjusting method, wearable device and computer readable storage medium | |
CN109558009A (en) | Video broadcasting method, mobile terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180828 |