CN107690029A - Terminal control method and device - Google Patents

Terminal control method and device Download PDF

Info

Publication number
CN107690029A
CN107690029A CN201710765490.8A CN201710765490A CN107690029A CN 107690029 A CN107690029 A CN 107690029A CN 201710765490 A CN201710765490 A CN 201710765490A CN 107690029 A CN107690029 A CN 107690029A
Authority
CN
China
Prior art keywords
terminal
screen
information
lighting device
ambient brightness
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
Application number
CN201710765490.8A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710765490.8A priority Critical patent/CN107690029A/en
Publication of CN107690029A publication Critical patent/CN107690029A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The disclosure is directed to terminal control method and device.This method includes:Obtain the screen work status information of the ambient brightness information of terminal, the movement state information of terminal and terminal;When the ambient brightness that terminal is determined according to ambient brightness information is less than or equal to ambient brightness threshold value, determines that according to movement state information the user of using terminal be in walking states and the screen for being determined according to screen work status information in terminal is in released state, the lighting device in unlatching terminal.The technical scheme may insure that the screen of terminal can be checked under ambient brightness of the user after raising after lighting device is opened while check the pavement behavior on itself residing road surface, the probability that user bumps against barrier be reduced, so as to improve Consumer's Experience.

Description

Terminal control method and device
Technical field
This disclosure relates to control technology field, more particularly to terminal control method and device.
Background technology
In correlation technique, terminal is popularized rapidly such as smart mobile phone and tablet personal computer in the life of people.With The development of technology, the function of terminal also gradually strengthen, and the frequency of people's routine use terminal also increasingly improves.In some scenes Under, screen that user may be checked in terminal in walking, although user can also check road simultaneously when ambient brightness is higher Planar condition, to avoid user from bumping against barrier during walking, but when ambient brightness is relatively low, user can not in walking The screen checked in terminal causes user to bump against barrier, compromises Consumer's Experience while check pavement behavior.
The content of the invention
To overcome problem present in correlation technique, embodiment of the disclosure provides a kind of terminal control method and device. Technical scheme is as follows:
First aspect in accordance with an embodiment of the present disclosure, there is provided a kind of terminal control method, including:
Obtain the screen work status information of the ambient brightness information of terminal, the movement state information of terminal and terminal;
When the ambient brightness that terminal is determined according to ambient brightness information is less than or equal to ambient brightness threshold value, according to motion shape State information determines that the user of using terminal is in walking states and the screen in terminal is determined according to screen work status information During in released state, the lighting device in terminal is opened.
Believed by the screen work state for obtaining the ambient brightness information of terminal, the movement state information of terminal and terminal Breath, when the user that using terminal is determined according to movement state information is in walking states and is determined according to screen work status information When screen in terminal is in released state, it is determined that just also checked in walking and the user using the user of the terminal simultaneously The screen of the terminal, when determining that the ambient brightness of terminal is less than or equal to ambient brightness threshold value according to ambient brightness information, it is determined that The ambient brightness of terminal local environment is relatively low, and user walking and checks that the screen of terminal may cause this under the ambient brightness User can not check the pavement behavior on itself residing road surface simultaneously, therefore open the lighting device in terminal, reach raising terminal The purpose of the ambient brightness of local environment, make user can be under the ambient brightness after raising while looking into after lighting device unlatching The screen of terminal is seen while checking the pavement behavior on itself residing road surface, reduces the probability that user bumps against barrier.
In one embodiment, method also includes:
Obtain the brightness of screen;
According to the brightness of the brightness adjustment lighting device of screen.
Because the brightness of screen can be adjusted according to user's request or ambient brightness, opened when the brightness of screen is far below During the brightness of the lighting device after opening, the light that lighting device is sent can disturb user to check the screen of terminal, and work as screen When brightness is far above the brightness of the lighting device after opening, user still may can not clearly check certainly after lighting device unlatching The pavement behavior on road surface residing for body, therefore by obtaining the brightness of screen, and according to the bright of the brightness adjustment lighting device of screen Degree, makes the brightness of the lighting device after adjustment and the brightness of screen match, it is ensured that the light that the lighting device after unlatching is sent On the premise of the screen that terminal is checked without interference with user, allow users to clearly check the road surface shape on itself residing road surface Condition, improve Consumer's Experience.
In one embodiment, method also includes:
Obtain lighting instruction;
The lighting device in terminal is opened, including:
Lighting device is opened in response to lighting instruction.
Lighting device is opened by obtaining lighting instruction, and in response to lighting instruction, there can be illumination to need ensuring user Lighting device is opened on the premise of asking, improves Consumer's Experience.
In one embodiment, method also includes:
The unblock moment is obtained, at the time of the unblock moment is determines that screen is in released state;
The lighting device in terminal is opened, including:
Lighting device is opened in start-up time, when the time span at start-up time distance unblock moment is more than or equal to default Between length threshold.
The moment is unlocked by obtaining, and lighting device is opened in start-up time, can be avoided when user frequently controls terminal Screen when switching between released state and non-released state lighting device also frequently opened therewith, reduce illumination dress The number of unlatching is put, extends the life-span of lighting device.
In one embodiment, method also includes:
Obtain the attitude information of terminal;
The lighting device in terminal is opened, including:
When determining that the surface of screen and the angle on ground meet posture angle condition according to attitude information, illumination dress is opened Put.
Because when screen is in released state, the screen is less for blocking for the sight of user, may not block Live in user checks the sight on road surface, and may need not now open the lighting device in terminal.By the posture for obtaining terminal Information, when determining that the surface of screen and the angle on ground meet posture angle condition according to attitude information, determine the screen pair In user sight block it is more, therefore open terminal on lighting device to improve the ambient brightness of terminal local environment, So as to avoid the lighting device opened when blocking less in terminal in screen for the sight of user, reduce to battery in terminal The consumption of electricity, improves Consumer's Experience.
In one embodiment, method also includes:
Obtain the dump energy information of battery in terminal;
The lighting device in terminal is opened, including:
When the dump energy that battery in terminal is determined according to dump energy information is more than or equal to power threshold, opens and shine Bright device.
Due to opening the lighting device in terminal, the electric quantity consumption of terminal can be increased and reduce the stand-by time of terminal, when The lighting device in terminal is opened when the dump energy of battery is less in terminal, the normal use of terminal may be interrupted, thus it is logical The dump energy information for obtaining battery in terminal is crossed, and is determining that the dump energy of battery in terminal is big according to dump energy information When power threshold, lighting device is opened, it is ensured that the normal use of terminal will not be interrupted, so as to improve user's body Test.
Second aspect in accordance with an embodiment of the present disclosure, there is provided a kind of terminal control mechanism, including:
Data obtaining module, for obtaining the ambient brightness information of terminal, the movement state information of terminal and terminal Screen work status information;
Control module, determine that the ambient brightness of terminal is less than or equal to ambient brightness threshold according to ambient brightness information for working as Value, determine that according to movement state information the user of using terminal is in walking states and determined according to screen work status information When screen in terminal is in released state, the lighting device in terminal is opened.
In one embodiment, device also includes:
Screen intensity acquisition module, for obtaining the brightness of screen;
Brightness of illumination adjustment module, the brightness for the brightness adjustment lighting device according to screen.
In one embodiment, device also includes:
Lighting instruction acquisition module, for obtaining lighting instruction;
Control module, including:
Respond module is instructed, for opening lighting device in response to lighting instruction.
In one embodiment, device also includes:
Timing module, the moment is unlocked for obtaining, at the time of the unblock moment is determines that screen is in released state;
Control module, including:
Submodule is opened in timing, for opening lighting device, the time at start-up time distance unblock moment in start-up time Length is more than or equal to predetermined time period threshold value.
In one embodiment, device also includes:
Attitude information acquisition module, for obtaining the attitude information of terminal;
Control module, including:
Posture opens submodule, determines that the surface of screen and the angle on ground meet that posture is pressed from both sides according to attitude information for working as During corner condition, lighting device is opened.
In one embodiment, device also includes:
Information about power acquisition module, for obtaining the dump energy information of battery in terminal;
Control module, including:
Electricity opens submodule, for when determining that the dump energy of battery in terminal is more than or waited according to dump energy information When power threshold, lighting device is opened.
The third aspect in accordance with an embodiment of the present disclosure, there is provided a kind of terminal control mechanism, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, processor is configured as:
Obtain the screen work status information of the ambient brightness information of terminal, the movement state information of terminal and terminal;
When the ambient brightness that terminal is determined according to ambient brightness information is less than or equal to ambient brightness threshold value, according to motion shape State information determines that the user of using terminal is in walking states and the screen in terminal is determined according to screen work status information During in released state, the lighting device in terminal is opened.
Fourth aspect in accordance with an embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, be stored thereon with meter Calculation machine instructs, it is characterised in that the instruction realizes any one of first aspect of embodiment of the disclosure when being executed by processor The step of method.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is the structural representation of the terminal according to an exemplary embodiment;
Fig. 2 a are the schematic flow sheets 1 of the terminal control method according to an exemplary embodiment;
Fig. 2 b are the schematic flow sheets 2 of the terminal control method according to an exemplary embodiment;
Fig. 2 c are the schematic flow sheets 3 of the terminal control method according to an exemplary embodiment;
Fig. 2 d are the schematic flow sheets 4 of the terminal control method according to an exemplary embodiment;
Fig. 2 e are the schematic flow sheets 5 of the terminal control method according to an exemplary embodiment;
Fig. 2 f are the schematic flow sheets 6 of the terminal control method according to an exemplary embodiment;
Fig. 3 is the schematic flow sheet of the terminal control method according to an exemplary embodiment;
Fig. 4 is the schematic flow sheet of the terminal control method according to an exemplary embodiment;
Fig. 5 a are structural representation Fig. 1 of the terminal control mechanism according to an exemplary embodiment;
Fig. 5 b are structural representation Fig. 2 of the terminal control mechanism according to an exemplary embodiment;
Fig. 5 c are structural representation Fig. 3 of the terminal control mechanism according to an exemplary embodiment;
Fig. 5 d are structural representation Fig. 4 of the terminal control mechanism according to an exemplary embodiment;
Fig. 5 e are structural representation Fig. 5 of the terminal control mechanism according to an exemplary embodiment;
Fig. 5 f are structural representation Fig. 6 of the terminal control mechanism according to an exemplary embodiment;
Fig. 6 is a kind of block diagram of device according to an exemplary embodiment;
Fig. 7 is a kind of block diagram of device according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
With the high speed development and people's living standards continue to improve of science and technology, in recent years, for example intelligent hand of terminal Machine and tablet personal computer etc. are popularized rapidly in the life of people, are gradually strengthened with the function of terminal, and people's routine use is whole The frequency at end also increasingly improves.In some scenarios, the screen that user may be checked in terminal in walking, such as when user exists The picture or video that show can be checked on the screen of smart mobile phone on pavement during walking simultaneously.Although when residing for user When ambient brightness is higher, screen that user can be checked in terminal in walking while check pavement behavior, such as when with Family is 09:00 to 15:Between 00 out of doors walking when, because now outdoor ambient brightness is higher, user can be with walking While the screen of smart mobile phone is checked, user can also check the pavement behavior on road surface residing for the user with remaining light, to keep away Exempt from user and barrier is bumped against during walking.Because when user is seeing the thing closer to the distance with it, user's pupil can contract Small, and when the ambient brightness of local environment is relatively low, user is seeing that thing is that the pupil of user can dissipate greatly, therefore in ambient brightness The physiological requirement that pavement behavior is checked when relatively low is with the physiological requirement of checking the screen in terminal on the contrary, using during relatively low ambient brightness Family possibly the screen that can not be checked in walking in terminal while check pavement behavior, cause user to bump against the several of barrier Rate increases, and compromises Consumer's Experience.
It is bright by the environment for obtaining terminal in the technical scheme provided by this disclosed embodiment in order to solve the above problems The screen work status information of information, the movement state information of terminal and terminal is spent, is made when according to movement state information determination When being in walking states with the user of terminal and determining that the screen in terminal is in released state according to screen work status information, It is determined that just also checking the screen of the terminal simultaneously in walking and the user using the user of the terminal, believed according to ambient brightness When breath determines that the ambient brightness of terminal is less than or equal to ambient brightness threshold value, determine that the ambient brightness of terminal local environment is relatively low, User walking and checks that the screen of terminal may cause the user can not check itself residing road simultaneously under the ambient brightness The pavement behavior in face, therefore the lighting device in terminal is opened, reach the purpose for the ambient brightness for improving terminal local environment, make User can check the screen of terminal while checking itself institute after lighting device unlatching under the ambient brightness after raising Locate the pavement behavior on road surface, reduce the probability that user bumps against barrier.
The technical scheme provided by this disclosed embodiment, it is related to terminal 101 as shown in Figure 1, wherein, terminal 101 can be with This is not limited for mobile phone, tablet personal computer, intelligent wearable device, embodiment of the disclosure, terminal 101 includes screen 102 And lighting device 103.
Embodiment of the disclosure provides a kind of terminal control method, applied to terminal, as shown in Figure 2 a, including walks as follows Rapid 201 to step 202:
In step 201, the screen work of the ambient brightness information of terminal, the movement state information of terminal and terminal is obtained Make status information.
Exemplary, ambient brightness information is used for the ambient brightness of instruction terminal local environment, the motion state letter of terminal Cease the motion state for indicating the user using the terminal, the work for the screen that screen work status information is used in instruction terminal Make state, the working condition comprises at least released state.Obtain the ambient brightness information of terminal, the movement state information of terminal with And the screen work status information of terminal, can be read storage ambient brightness information in the terminal, movement state information with And screen work status information, can be other devices of reception or ambient brightness information, the terminal of the terminal of system transmission Movement state information and the terminal screen work status information, or by the luminance sensor in terminal to terminal The ambient brightness of local environment is detected, and the ambient brightness information of terminal is obtained according to testing result;By the angle in terminal At least one in velocity sensor or acceleration transducer is detected, and the motion state letter of terminal is obtained according to testing result Breath, wherein the movement state information of terminal surrounds any one including acceleration and terminal of the terminal on any one direction At least one of in the angular speed that axle rotates, because the terminal is used by user, it can be considered that the acquired terminal Motion state is the motion state using the user of the terminal.It should be noted that the ambient brightness information of terminal can include Brightness value, the brightness value are the brightness value of terminal local environment, can also include the positional information and temporal information of terminal.Its In when determined according to the positional information of terminal the position of the terminal positioned at it is outdoor when, can be according to temporal information and outdoor illumination Intensity mapping table determines intensity of illumination of the outdoor environment in the time interval indicated by temporal information, and wherein intensity of illumination maps Table is used to indicate the mapping relations between the intensity of illumination of at least one outdoor environment and at least one time interval, intensity of illumination Mapping table can be previously stored in terminal, or terminal obtains at other devices or system.
In step 202, when the ambient brightness that terminal is determined according to ambient brightness information is less than or equal to ambient brightness threshold Value, determine that according to movement state information the user of using terminal is in walking states and determined according to screen work status information When screen in terminal is in released state, the lighting device in terminal is opened.
Exemplary, ambient brightness threshold value can be previously stored in terminal, or terminal is from other devices or is Obtained at system.Determine that the user of using terminal is in walking states, can be to determine the acceleration in movement state information or angle Whether speed meets preparatory condition, determines that the user of using terminal is in walking states when meeting.For example, when motion state is believed When breath includes the angular speed that terminal rotates around any one axle, if determining that terminal turns around any one axle according to testing result When dynamic angular speed is more than or equal to preset angle threshold speed, then it is assumed that be in walking states using the user of the terminal, work as fortune It is true according to testing result when dynamic status information includes the angular speed that at the appointed time terminal rotates around any one axle in section Determine terminal around any one axle rotate angular speed at the appointed time in the section in change track meet preparatory condition when, it is believed that Walking states are in using the user of the terminal.In another example when movement state information includes terminal on any one direction During acceleration, if determining that acceleration of the terminal on any one direction is more than or equal to acceleration rate threshold according to testing result When, then it is assumed that walking states are in using the user of the terminal, or when movement state information includes at the appointed time end in section End determines that acceleration of the terminal on any one direction is referring in the acceleration on any one direction according to testing result The track changed in section fix time when meeting preparatory condition, it is believed that be in walking states using the user of the terminal.
Lighting device in terminal includes flash lamp or light compensating lamp in terminal etc., opens the lighting device in terminal, can Think to the designated port of terminal and send open command, receiving the lighting device in terminal should and enter in response to the open command Row is opened, or activation is arranged on the specified application in terminal, makes designated ends of the specified application to terminal Mouth sends open command.Lighting device after unlatching is illuminated to environment where terminal, so as to improve terminal place environment Ambient brightness.
Believed by the screen work state for obtaining the ambient brightness information of terminal, the movement state information of terminal and terminal Breath, when the user that using terminal is determined according to movement state information is in walking states and is determined according to screen work status information When screen in terminal is in released state, it is determined that just also checked in walking and the user using the user of the terminal simultaneously The screen of the terminal, when determining that the ambient brightness of terminal is less than or equal to ambient brightness threshold value according to ambient brightness information, it is determined that The ambient brightness of terminal local environment is relatively low, and user walking and checks that the screen of terminal may cause this under the ambient brightness User can not check the pavement behavior on itself residing road surface simultaneously, therefore open the lighting device in terminal, reach raising terminal The purpose of the ambient brightness of local environment, make user can be under the ambient brightness after raising while looking into after lighting device unlatching The screen of terminal is seen while checking the pavement behavior on itself residing road surface, reduces the probability that user bumps against barrier.
In one embodiment, as shown in Figure 2 b, the terminal control method that embodiment of the disclosure provides also includes step 203 to step 204:
In step 203, the brightness of screen is obtained.
Exemplary, the brightness for obtaining screen can be the brightness for reading the screen of storage in the terminal, or logical Touch-screen or the operational motion of keyboard detection user are crossed, and the brightness of screen in terminal is obtained according to the operational motion of user.Example Such as, can according to the drag action of user when user shows sliding block to adjust the brightness of touch-screen on the touchscreen by dragging To obtain the brightness of screen.
In step 204, according to the brightness of the brightness adjustment lighting device of screen.
Exemplary, can be by the brightness adjustment of lighting device according to the brightness of the brightness adjustment lighting device of screen For object brightness, the difference between object brightness and the brightness of screen is less than or equal to luminance threshold, and wherein luminance threshold can be with It is previously stored in terminal, or obtained at other devices or system.According to the brightness adjustment lighting device of screen Brightness, or search corresponding with the brightness of screen object brightness in brightness mapping table, and by the brightness of lighting device Object brightness is adjusted to, wherein brightness mapping table can be previously stored in terminal, or at other devices or system Obtain, brightness mapping table is used to indicate the corresponding relation between the brightness of screen and object brightness.
Because the brightness of screen can be adjusted according to user's request or ambient brightness, opened when the brightness of screen is far below During the brightness of the lighting device after opening, the light that lighting device is sent can disturb user to check the screen of terminal, and work as screen When brightness is far above the brightness of the lighting device after opening, user still may can not clearly check certainly after lighting device unlatching The pavement behavior on road surface residing for body, therefore by obtaining the brightness of screen, and according to the bright of the brightness adjustment lighting device of screen Degree, makes the brightness of the lighting device after adjustment and the brightness of screen match, it is ensured that the light that the lighting device after unlatching is sent On the premise of the screen that terminal is checked without interference with user, allow users to clearly check the road surface shape on itself residing road surface Condition, improve Consumer's Experience.
In one embodiment, as shown in Figure 2 c, the terminal control method that embodiment of the disclosure provides also includes step 205:
In step 205, lighting instruction is obtained.
It should be noted that the sequencing of step 201 and step 205 can be overturned mutually.
In step 202, when the ambient brightness that terminal is determined according to ambient brightness information is less than or equal to ambient brightness threshold Value, determine that according to movement state information the user of using terminal is in walking states and determined according to screen work status information When screen in terminal is in released state, the lighting device in terminal is opened, can be realized by step 2021:
In step 2021, when the ambient brightness that terminal is determined according to ambient brightness information is less than or equal to ambient brightness threshold Value, determine that according to movement state information the user of using terminal is in walking states and determined according to screen work status information When screen in terminal is in released state, lighting device is opened in response to lighting instruction.
Exemplary, lighting instruction is obtained, can be to read the lighting instruction being previously stored in terminal, or logical The lighting instruction that touch-screen, keyboard or microphone obtain user's input is crossed, can also be the photograph for receiving other devices or system transmission Bright instruction.For example, when the ambient brightness that terminal is determined according to ambient brightness information is less than or equal to ambient brightness threshold value, according to fortune Dynamic status information determines that the user of using terminal is in walking states and determined according to screen work status information in terminal When screen is in released state, terminal can show information warning by touch-screen, to prompt user to input lighting instruction, and lead to Touch-screen or the operational motion of keyboard detection user are crossed, when the operational motion meets operational motion preparatory condition, it is determined that obtaining The lighting instruction of user's input, terminal can also obtain the voice of user by microphone, carry out speech recognition to the voice, work as knowledge When other result meets voice preparatory condition, it is determined that obtaining the lighting instruction of user's input.
Lighting device is opened by obtaining lighting instruction, and in response to lighting instruction, there can be illumination to need ensuring user Lighting device is opened on the premise of asking, improves Consumer's Experience.
In one embodiment, as shown in Figure 2 d, the terminal control method that embodiment of the disclosure provides also includes step 206:
In step 206, the unblock moment is obtained.
Wherein, at the time of unlocking the moment to determine that screen is in released state.
In step 202, when the ambient brightness that terminal is determined according to ambient brightness information is less than or equal to ambient brightness threshold Value, determine that according to movement state information the user of using terminal is in walking states and determined according to screen work status information When screen in terminal is in released state, the lighting device in terminal is opened, can be realized by step 2022:
In step 2022, when the ambient brightness that terminal is determined according to ambient brightness information is less than or equal to ambient brightness threshold Value, determine that according to movement state information the user of using terminal is in walking states and determined according to screen work status information When screen in terminal is in released state, lighting device is opened in start-up time.
Wherein, the time span at start-up time distance unblock moment is more than or equal to predetermined time period threshold value.
Exemplary, the unblock moment is obtained, and ought determine that the ambient brightness of terminal is less than or waited according to ambient brightness information Determine that the user of using terminal is in walking states and according to screen work in ambient brightness threshold value, according to movement state information When status information determines that the screen in terminal is in released state, lighting device is opened in start-up time, can be it is determined that screen Start timing at the unblock moment when curtain is in released state, determining that the ambient brightness of terminal is less than according to ambient brightness information Or determine that the user of using terminal is in walking states and according to screen equal to ambient brightness threshold value, according to movement state information Work state information determines that the screen in terminal is in released state and the length of timing time is grown more than or equal to preset time Spend threshold value and open lighting device in start-up time.Wherein predetermined time period threshold value can be to be previously stored in terminal, It can be the predetermined time period threshold value that user's input is obtained by touch-screen or keyboard, or be obtained at other devices or system Predetermined time period threshold value.
The moment is unlocked by obtaining, and lighting device is opened in start-up time, can be avoided when user frequently controls terminal Screen when switching between released state and non-released state lighting device also frequently opened therewith, reduce illumination dress The number of unlatching is put, extends the life-span of lighting device.
In one embodiment, as shown in Figure 2 e, the terminal control method that embodiment of the disclosure provides also includes step 207:
In step 207, the attitude information of terminal is obtained.
In step 202, when the ambient brightness that terminal is determined according to ambient brightness information is less than or equal to ambient brightness threshold Value, determine that according to movement state information the user of using terminal is in walking states and determined according to screen work status information When screen in terminal is in released state, the lighting device in terminal is opened, can be realized by step 2023:
In step 2023, when the ambient brightness that terminal is determined according to ambient brightness information is less than or equal to ambient brightness threshold Value, determine that according to movement state information the user of using terminal is in walking states, determined eventually according to screen work status information Screen on end is in released state and determines that the surface of screen and the angle on ground meet posture angle according to attitude information During condition, lighting device is opened.
Exemplary, the attitude information of terminal is obtained, can be to be detected by the acceleration transducer in terminal, and The attitude information of terminal is obtained according to testing result, the attitude information of terminal can also be obtained at other devices or system, its The surface of screen and the angle on ground that the attitude information of middle terminal is used in instruction terminal.For example, pass through the acceleration in terminal Degree sensor is detected, and obtains the acceleration in the x-axis, y-axis, z-axis of terminal according to testing result, due to above-mentioned acceleration It is that acceleration of the terminal using the earth as object of reference subtracts the value after the superposition of acceleration of gravity, when equipment is in relative to ground Inactive state or during uniform speed motion state, the x-axis of terminal, y-axis, the acceleration in z-axis are that gravity acceleration g projects to x-axis, y Acceleration on axle, z-axis, it can be obtained in the x-axis, y-axis, z-axis of terminal and appointed according to the acceleration in the x-axis, y-axis, z-axis of terminal One with the angle on ground, wherein because the x-axis of terminal is parallel with the direction on the longer side of the screen in terminal, the y of terminal Axle is parallel with the direction on the side that the screen in terminal is shorter, the surface of the screen of the z-axis of terminal in terminal, therefore basis X-axis, y-axis, z-axis and the angle on ground can determine the surface of screen and the angle on ground in terminal.
Because when screen is in released state, the screen is less for blocking for the sight of user, may not block Live in user checks the sight on road surface, and may need not now open the lighting device in terminal.By the posture for obtaining terminal Information, when determining that the surface of screen and the angle on ground meet posture angle condition according to attitude information, determine the screen pair In user sight block it is more, therefore open terminal on lighting device to improve the ambient brightness of terminal local environment, So as to avoid the lighting device opened when blocking less in terminal in screen for the sight of user, reduce to battery in terminal The consumption of electricity, improves Consumer's Experience.
In one embodiment, as shown in figure 2f, the terminal control method that embodiment of the disclosure provides also includes step 208:
In a step 208, the dump energy information of battery in terminal is obtained.
In step 202, when the ambient brightness that terminal is determined according to ambient brightness information is less than or equal to ambient brightness threshold Value, determine that according to movement state information the user of using terminal is in walking states and determined according to screen work status information When screen in terminal is in released state, the lighting device in terminal is opened, can be realized by step 2024:
In step 2024, when the ambient brightness that terminal is determined according to ambient brightness information is less than or equal to ambient brightness threshold Value, determine that according to movement state information the user of using terminal is in walking states, determined eventually according to screen work status information Screen on end is in released state and determines that the dump energy of battery in terminal is more than or equal to according to dump energy information During power threshold, lighting device is opened.
Exemplary, the dump energy information of battery in terminal is obtained, can be to read the residue electricity of storage in the terminal Measure information, or the dump energy of battery is detected in terminal-pair terminal, and obtains electricity in terminal according to testing result The dump energy information in pond.Power threshold can be to be previously stored in terminal, or be obtained by touch-screen or keyboard The power threshold of user's input, or power threshold is obtained at other devices or system.
Determine that the ambient brightness of terminal is less than or equal to ambient brightness threshold according to ambient brightness information it should be noted that working as Value, determine that according to movement state information the user of using terminal is in walking states, determined eventually according to screen work status information Screen on end is in released state and determines that the dump energy of battery in terminal is less than electricity threshold according to dump energy information During value, the language of prompt message can be read aloud by the screen shows prompt message in terminal or by the loudspeaker broadcasting in terminal Sound, to prompt user can not open lighting device due to the relatively low terminal of the dump energy of terminal.
Due to opening the lighting device in terminal, the electric quantity consumption of terminal can be increased and reduce the stand-by time of terminal, when The lighting device in terminal is opened when the dump energy of battery is less in terminal, the normal use of terminal may be interrupted, thus it is logical The dump energy information for obtaining battery in terminal is crossed, and is determining that the dump energy of battery in terminal is big according to dump energy information When power threshold, lighting device is opened, it is ensured that the normal use of terminal will not be interrupted, so as to improve user's body Test.
Implementation process is discussed in detail below by embodiment.
Fig. 3 is that a kind of indicative flowchart of terminal control method according to an exemplary embodiment illustrates. As shown in figure 3, comprise the following steps:
In step 301, the screen work of the ambient brightness information of terminal, the movement state information of terminal and terminal is obtained Make status information.
In step 302, lighting instruction is obtained.
In step 303, when the ambient brightness that terminal is determined according to ambient brightness information is less than or equal to ambient brightness threshold Value, determine that according to movement state information the user of using terminal is in walking states and determined according to screen work status information When screen in terminal is in released state, lighting device is opened in response to lighting instruction.
In step 304, the brightness of screen is obtained.
In step 305, according to the brightness of the brightness adjustment lighting device of screen.
In the technical scheme provided by this disclosed embodiment, the motion of ambient brightness information, terminal by obtaining terminal The screen work status information of status information and terminal, when the user that using terminal is determined according to movement state information is in row When walking state and determining that the screen in terminal is in released state according to screen work status information, it is determined that the use using the terminal The screen of the terminal is just also checked in family simultaneously in walking and the user, determines that the environment of terminal is bright according to ambient brightness information When degree is less than or equal to ambient brightness threshold value, determine that the ambient brightness of terminal local environment is relatively low, user is under the ambient brightness Walking and check that the screen of terminal may cause the user can not check the pavement behavior on itself residing road surface simultaneously, therefore open The lighting device in terminal is opened, reaches the purpose for the ambient brightness for improving terminal local environment, makes environment of the user after raising The screen of terminal can be checked under brightness while checking the pavement behavior on itself residing road surface, user is reduced and bumps against obstacle The probability of thing, improves Consumer's Experience.
Fig. 4 is that a kind of indicative flowchart of terminal control method according to an exemplary embodiment illustrates. As shown in figure 4, comprise the following steps:
In step 401, the screen work of the ambient brightness information of terminal, the movement state information of terminal and terminal is obtained Make status information.
In step 402, lighting instruction is obtained.
It should be noted that the sequencing of step 401 and step 402 can be overturned mutually.
In step 403, when the ambient brightness that terminal is determined according to ambient brightness information is less than or equal to ambient brightness threshold Value, determine that according to movement state information the user of using terminal is in walking states and determined according to screen work status information When screen in terminal is in released state, lighting device is opened in response to lighting instruction.
In step 404, the unblock moment is obtained.
It should be noted that the sequencing of step 401 and step 404 can be overturned mutually.
In step 405, when the ambient brightness that terminal is determined according to ambient brightness information is less than or equal to ambient brightness threshold Value, determine that according to movement state information the user of using terminal is in walking states and determined according to screen work status information When screen in terminal is in released state, lighting device is opened in start-up time.
In a step 406, the attitude information of terminal is obtained
It should be noted that the sequencing of step 401 and step 406 can be overturned mutually.
In step 407, when the ambient brightness that terminal is determined according to ambient brightness information is less than or equal to ambient brightness threshold Value, determine that according to movement state information the user of using terminal is in walking states, determined eventually according to screen work status information Screen on end is in released state and determines that the surface of screen and the angle on ground meet posture angle according to attitude information During condition, lighting device is opened
In a step 408, the dump energy information of battery in terminal is obtained.
It should be noted that the sequencing of step 401 and step 408 can be overturned mutually.
In step 409, when the ambient brightness that terminal is determined according to ambient brightness information is less than or equal to ambient brightness threshold Value, determine that according to movement state information the user of using terminal is in walking states, determined eventually according to screen work status information Screen on end is in released state and determines that the dump energy of battery in terminal is more than or equal to according to dump energy information During power threshold, lighting device is opened
In step 410, the brightness of screen is obtained.
In step 411, according to the brightness of the brightness adjustment lighting device of screen.
Believed by the screen work state for obtaining the ambient brightness information of terminal, the movement state information of terminal and terminal Breath, when the user that using terminal is determined according to movement state information is in walking states and is determined according to screen work status information When screen in terminal is in released state, it is determined that just also checked in walking and the user using the user of the terminal simultaneously The screen of the terminal, when determining that the ambient brightness of terminal is less than or equal to ambient brightness threshold value according to ambient brightness information, it is determined that The ambient brightness of terminal local environment is relatively low, and user walking and checks that the screen of terminal may cause this under the ambient brightness User can not check the pavement behavior on itself residing road surface simultaneously.Because the brightness of screen can be bright according to user's request or environment Degree is adjusted, and when the brightness of screen is far below the brightness of the lighting device after opening, the light that lighting device is sent can be done Disturb the screen that user checks terminal, and when screen brightness far above the lighting device after opening brightness when, user may be Lighting device still can not clearly check the pavement behavior on itself residing road surface after opening, therefore by obtaining the brightness of screen, And the brightness of the brightness adjustment lighting device according to screen, make the brightness of the lighting device after adjustment and the brightness phase of screen Match somebody with somebody, it is ensured that on the premise of the light that the lighting device after unlatching is sent checks the screen of terminal without interference with user, reach raising The purpose of the ambient brightness of terminal local environment, making can be while checks the screen of terminal under ambient brightness of the user after raising While checking the pavement behavior on itself residing road surface, the probability that user bumps against barrier is reduced.By obtaining lighting instruction, and Lighting device is opened in response to lighting instruction, lighting device is opened on the premise of there can be lighting demand ensuring user, is improved Consumer's Experience.The moment is unlocked by obtaining, and lighting device is opened in start-up time, can be avoided when user frequently controls end Lighting device is also frequently opened therewith when the screen at end switches between released state and non-released state, reduces illumination The number that device is opened, extend the life-span of lighting device.Because when screen is in released state, the screen is for user's Blocking for sight is less, may not shelter from the sight that user checks road surface, may and need not now open in terminal Lighting device.By obtaining the attitude information of terminal, when the angle on the surface and ground that screen is determined according to attitude information meets During posture angle condition, determine that the screen is more for blocking for the sight of user, thus open terminal on lighting device with The ambient brightness of terminal local environment is improved, so as to avoid being opened for the sight of user when blocking less in terminal in screen Lighting device, reduce the consumption to battery electric quantity in terminal, improve Consumer's Experience.Due to opening the illumination dress in terminal Put, the electric quantity consumption of terminal can be increased and reduce the stand-by time of terminal, opened when the dump energy of battery in terminal is less Lighting device in terminal, the normal use of terminal may be interrupted, therefore by obtaining the dump energy information of battery in terminal, And when the dump energy that battery in terminal is determined according to dump energy information is more than or equal to power threshold, open illumination dress Put, it is ensured that the normal use of terminal will not be interrupted, so as to improve Consumer's Experience.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.
Fig. 5 a are a kind of block diagrams of terminal control mechanism 50 according to an exemplary embodiment, terminal control mechanism 50 can be the part that terminal can also be terminal, and terminal control mechanism 50 can pass through the knot of software, hardware or both Conjunction is implemented as some or all of of electronic equipment.As shown in Figure 5 a, the terminal control mechanism 50 includes:
Data obtaining module 501, for obtaining the ambient brightness information, the movement state information of terminal and terminal of terminal Screen work status information;
Control module 502, determine that the ambient brightness of terminal is bright less than or equal to environment according to ambient brightness information for working as Spend threshold value, determine that the user of using terminal is in walking states and according to screen work status information according to movement state information When determining that the screen in terminal is in released state, the lighting device in terminal is opened.
In one embodiment, as shown in Figure 5 b, the terminal control mechanism 50 also includes:
Screen intensity acquisition module 503, for obtaining the brightness of screen;
Brightness of illumination adjustment module 504, the brightness for the brightness adjustment lighting device according to screen.
In one embodiment, as shown in Figure 5 c, the terminal control mechanism 50 also includes:
Lighting instruction acquisition module 505, for obtaining lighting instruction;
Control module 502, including:
Respond module 5021 is instructed, for opening lighting device in response to lighting instruction.
In one embodiment, as fig 5d, the terminal control mechanism 50 also includes:
Timing module 506, the moment is unlocked for obtaining, at the time of the unblock moment is determines that screen is in released state;
Control module 502, including:
Submodule 5022 is opened in timing, for opening lighting device in start-up time, the start-up time distance unblock moment Time span is more than or equal to predetermined time period threshold value.
In one embodiment, as depicted in fig. 5e, the terminal control mechanism 50 also includes:
Attitude information acquisition module 507, for obtaining the attitude information of terminal;
Control module 502, including:
Posture opens submodule 5023, determines that the surface of screen and the angle on ground meet appearance according to attitude information for working as During state angle condition, lighting device is opened.
In one embodiment, as shown in figure 5f, the terminal control mechanism 50 also includes:
Information about power acquisition module 508, for obtaining the dump energy information of battery in terminal;
Control module 502, including:
Electricity opens submodule 5024, determines that the dump energy of battery in terminal is more than according to dump energy information for working as Or during equal to power threshold, open lighting device.
A kind of terminal control mechanism that embodiment of the disclosure provides, the terminal control mechanism is by obtaining the environment of terminal The screen work status information of monochrome information, the movement state information of terminal and terminal, is determined when according to movement state information The user of using terminal is in walking states and determines that the screen in terminal is in released state according to screen work status information When, it is determined that the screen of the terminal also just is checked simultaneously in walking and the user using the user of the terminal, it is bright according to environment Degree information is when determining that the ambient brightness of terminal is less than or equal to ambient brightness threshold value, determine the ambient brightness of terminal local environment compared with Low, user walking and checks that the screen of terminal may cause the user not check simultaneously residing for itself under the ambient brightness The pavement behavior on road surface, therefore the lighting device in terminal is opened, reach the purpose for the ambient brightness for improving terminal local environment, Make that under ambient brightness of the user after raising the screen of terminal can be checked while checking the road surface shape on itself residing road surface Condition, reduce the probability that user bumps against barrier.
Fig. 6 is a kind of block diagram of terminal control mechanism 60 according to an exemplary embodiment, the terminal control mechanism 60 can be terminal, or a part for terminal, terminal control mechanism 60 include:
Processor 601;
For storing the memory 602 of the executable instruction of processor 601;
Wherein, processor 601 is configured as:
Obtain the screen work status information of the ambient brightness information of terminal, the movement state information of terminal and terminal;
When the ambient brightness that terminal is determined according to ambient brightness information is less than or equal to ambient brightness threshold value, according to motion shape State information determines that the user of using terminal is in walking states and the screen in terminal is determined according to screen work status information During in released state, the lighting device in terminal is opened.
In one embodiment, above-mentioned processor 601 can be additionally configured to:
Obtain the brightness of screen;
According to the brightness of the brightness adjustment lighting device of screen.
In one embodiment, above-mentioned processor 601 can be additionally configured to:
Obtain lighting instruction;
The lighting device in terminal is opened, including:
Lighting device is opened in response to lighting instruction.
In one embodiment, above-mentioned processor 601 can be additionally configured to:
The unblock moment is obtained, at the time of the unblock moment is determines that screen is in released state;
The lighting device in terminal is opened, including:
Lighting device is opened in start-up time, when the time span at start-up time distance unblock moment is more than or equal to default Between length threshold.
In one embodiment, above-mentioned processor 601 can be additionally configured to:
Obtain the attitude information of terminal;
The lighting device in terminal is opened, including:
When determining that the surface of screen and the angle on ground meet posture angle condition according to attitude information, illumination dress is opened Put.
In one embodiment, above-mentioned processor 601 can be additionally configured to:
Obtain the dump energy information of battery in terminal;
The lighting device in terminal is opened, including:
When the dump energy that battery in terminal is determined according to dump energy information is more than or equal to power threshold, opens and shine Bright device.
A kind of terminal control mechanism that embodiment of the disclosure provides, the terminal control mechanism is by obtaining the environment of terminal The screen work status information of monochrome information, the movement state information of terminal and terminal, is determined when according to movement state information The user of using terminal is in walking states and determines that the screen in terminal is in released state according to screen work status information When, it is determined that the screen of the terminal also just is checked simultaneously in walking and the user using the user of the terminal, it is bright according to environment Degree information is when determining that the ambient brightness of terminal is less than or equal to ambient brightness threshold value, determine the ambient brightness of terminal local environment compared with Low, user walking and checks that the screen of terminal may cause the user not check simultaneously residing for itself under the ambient brightness The pavement behavior on road surface, therefore the lighting device in terminal is opened, reach the purpose for the ambient brightness for improving terminal local environment, Make that under ambient brightness of the user after raising the screen of terminal can be checked while checking the road surface shape on itself residing road surface Condition, reduce the probability that user bumps against barrier.
Fig. 7 be according to an exemplary embodiment it is a kind of be used for control terminal device 700 block diagram, the device 700 are applied to terminal.For example, device 700 can be mobile phone, and computer, digital broadcast terminal, messaging devices, trip Play console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Device 700 can include following one or more assemblies:Processing component 702, memory 704, power supply module 706, Multimedia groupware 708, audio-frequency assembly 710, the interface 712 of input/output (I/O), sensor cluster 714, and communication component 716。
The integrated operation of the usual control device 700 of processing component 702, such as communicated with display, call, data, phase The operation that machine operates and record operation is associated.Treatment element 702 can refer to including one or more processors 720 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 702 can include one or more modules, just Interaction between processing component 702 and other assemblies.For example, processing component 702 can include multi-media module, it is more to facilitate Interaction between media component 708 and processing component 702.
Memory 704 is configured not store various types of data to support the operation in device 700.These data are shown Example includes the instruction of any application program or method for being operated on device 700, contact data, telephone book data, disappears Breath, picture, video etc..Memory 704 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 706 provides electric power for the various assemblies of device 700.Power supply module 706 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 700.
Multimedia groupware 708 is included in the screen of one output interface of offer between device 700 and user.In some realities Apply in example, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen can To be implemented as touch-screen, to receive the input signal from user.Touch panel include one or more touch sensors with Gesture on sensing touch, slip and touch panel.The touch sensor can the not only side of sensing touch or sliding action Boundary, but also detect the duration and pressure related to the touch or slide.In certain embodiments, multimedia group Part 708 includes a front camera and/or rear camera.When device 700 is in operator scheme, such as screening-mode or video During pattern, front camera and/or rear camera can receive outside multi-medium data.Each front camera and rearmounted Camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 710 is configured as output and/or input audio signal.For example, audio-frequency assembly 710 includes a Mike Wind (MIC), when device 700 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 704 or via communication set Part 716 is sent.In certain embodiments, audio-frequency assembly 710 also includes a loudspeaker, for exports audio signal.
I/O interfaces 712 provide interface between processing component 702 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 714 includes one or more sensors, and the state for providing various aspects for device 700 is commented Estimate.For example, sensor cluster 714 can detect opening/closed mode of device 700, and the relative positioning of component, for example, it is described Component is the display and keypad of device 700, and sensor cluster 714 can be with 700 1 components of detection means 700 or device Position change, the existence or non-existence that user contacts with device 700, the orientation of device 700 or acceleration/deceleration and device 700 Temperature change.Sensor cluster 714 can include proximity transducer, be configured to detect in no any physical contact The presence of neighbouring object.Sensor cluster 714 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 714 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 716 is configured to facilitate the communication of wired or wireless way between device 700 and other equipment.Device 700 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 716 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 716 also includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 700 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 704 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 720 of device 700.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 700 When device performs so that device 700 is able to carry out above-mentioned terminal control method, and methods described includes:
Obtain the screen work status information of the ambient brightness information of terminal, the movement state information of terminal and terminal;
When the ambient brightness that terminal is determined according to ambient brightness information is less than or equal to ambient brightness threshold value, according to motion shape State information determines that the user of using terminal is in walking states and the screen in terminal is determined according to screen work status information During in released state, the lighting device in terminal is opened.
In one embodiment, methods described also includes:
Obtain the brightness of screen;
According to the brightness of the brightness adjustment lighting device of screen.
In one embodiment, methods described also includes:
Obtain lighting instruction;
The lighting device in terminal is opened, including:
Lighting device is opened in response to lighting instruction.
In one embodiment, methods described also includes:
The unblock moment is obtained, at the time of the unblock moment is determines that screen is in released state;
The lighting device in terminal is opened, including:
Lighting device is opened in start-up time, when the time span at start-up time distance unblock moment is more than or equal to default Between length threshold.
In one embodiment, methods described also includes:
Obtain the attitude information of terminal;
The lighting device in terminal is opened, including:
When determining that the surface of screen and the angle on ground meet posture angle condition according to attitude information, illumination dress is opened Put.
In one embodiment, methods described also includes:
Obtain the dump energy information of battery in terminal;
The lighting device in terminal is opened, including:
When the dump energy that battery in terminal is determined according to dump energy information is more than or equal to power threshold, opens and shine Bright device.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (14)

  1. A kind of 1. terminal control method, it is characterised in that including:
    Obtain the screen work state letter of the ambient brightness information of terminal, the movement state information of the terminal and the terminal Breath;
    When the ambient brightness that the terminal is determined according to the ambient brightness information is less than or equal to ambient brightness threshold value, according to institute Movement state information is stated to determine to be in walking states and according to the screen work status information using the user of the terminal When determining that the screen in the terminal is in released state, the lighting device in the terminal is opened.
  2. 2. terminal control method according to claim 1, it is characterised in that methods described also includes:
    Obtain the brightness of the screen;
    According to the brightness of lighting device described in the brightness adjustment of the screen.
  3. 3. terminal control method according to claim 1, it is characterised in that methods described also includes:
    Obtain lighting instruction;
    The lighting device opened in the terminal, including:
    The lighting device is opened in response to the lighting instruction.
  4. 4. terminal control method according to claim 1, it is characterised in that methods described also includes:
    The unblock moment is obtained, at the time of the unblock moment is determines that the screen is in released state;
    The lighting device opened in the terminal, including:
    The lighting device is opened in start-up time, the start-up time is more than or waited apart from the time span at the unblock moment In predetermined time period threshold value.
  5. 5. terminal control method according to claim 1, it is characterised in that methods described also includes:
    Obtain the attitude information of the terminal;
    The lighting device opened in the terminal, including:
    When determining that the surface of the screen and the angle on ground meet posture angle condition according to the attitude information, institute is opened State lighting device.
  6. 6. terminal control method according to claim 1, it is characterised in that methods described also includes:
    Obtain the dump energy information of battery in the terminal;
    The lighting device opened in the terminal, including:
    When the dump energy that battery in the terminal is determined according to the dump energy information is more than or equal to power threshold, open Open the lighting device.
  7. A kind of 7. terminal control mechanism, it is characterised in that including:
    Data obtaining module, for obtaining the ambient brightness information of terminal, the movement state information of the terminal and the end The screen work status information at end;
    Control module, determine that the ambient brightness of the terminal is bright less than or equal to environment according to the ambient brightness information for working as Spend threshold value, determined to be in walking states and according to the screen using the user of the terminal according to the movement state information When work state information determines that the screen in the terminal is in released state, the lighting device in the terminal is opened.
  8. 8. terminal control mechanism according to claim 7, it is characterised in that described device also includes:
    Screen intensity acquisition module, for obtaining the brightness of the screen;
    Brightness of illumination adjustment module, the brightness for lighting device described in the brightness adjustment according to the screen.
  9. 9. terminal control mechanism according to claim 7, it is characterised in that described device also includes:
    Lighting instruction acquisition module, for obtaining lighting instruction;
    The control module, including:
    Respond module is instructed, for opening the lighting device in response to the lighting instruction.
  10. 10. terminal control mechanism according to claim 7, it is characterised in that described device also includes:
    Timing module, the moment is unlocked for obtaining, at the time of the unblock moment is determines that the screen is in released state;
    The control module, including:
    Submodule is opened in timing, for opening the lighting device in start-up time, when the start-up time is apart from the unblock The time span at quarter is more than or equal to predetermined time period threshold value.
  11. 11. terminal control mechanism according to claim 7, it is characterised in that described device also includes:
    Attitude information acquisition module, for obtaining the attitude information of the terminal;
    The control module, including:
    Posture opens submodule, determines that the surface of the screen and the angle on ground meet appearance according to the attitude information for working as During state angle condition, the lighting device is opened.
  12. 12. terminal control mechanism according to claim 7, it is characterised in that described device also includes:
    Information about power acquisition module, for obtaining the dump energy information of battery in the terminal;
    The control module, including:
    Electricity opens submodule, determines that the dump energy of battery in the terminal is more than according to the dump energy information for working as Or during equal to power threshold, open the lighting device.
  13. A kind of 13. terminal control mechanism, it is characterised in that including:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:
    Obtain the screen work state letter of the ambient brightness information of terminal, the movement state information of the terminal and the terminal Breath;
    When the ambient brightness that the terminal is determined according to the ambient brightness information is less than or equal to ambient brightness threshold value, according to institute Movement state information is stated to determine to be in walking states and according to the screen work status information using the user of the terminal When determining that the screen in the terminal is in released state, the lighting device in the terminal is opened.
  14. 14. a kind of computer-readable recording medium, is stored thereon with computer instruction, it is characterised in that the instruction is by processor The step of any one of claim 1-6 methods described is realized during execution.
CN201710765490.8A 2017-08-30 2017-08-30 Terminal control method and device Pending CN107690029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710765490.8A CN107690029A (en) 2017-08-30 2017-08-30 Terminal control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710765490.8A CN107690029A (en) 2017-08-30 2017-08-30 Terminal control method and device

Publications (1)

Publication Number Publication Date
CN107690029A true CN107690029A (en) 2018-02-13

Family

ID=61155709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710765490.8A Pending CN107690029A (en) 2017-08-30 2017-08-30 Terminal control method and device

Country Status (1)

Country Link
CN (1) CN107690029A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112202968A (en) * 2020-09-21 2021-01-08 珠海格力电器股份有限公司 Terminal device and position prompting method thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2346288A (en) * 1999-01-28 2000-08-02 Nec Corp Portable communication device with illumination means
JP2003323801A (en) * 2002-05-02 2003-11-14 Masaru Shibuya Portable telephone with flash light
CN104052878A (en) * 2014-06-19 2014-09-17 广东欧珀移动通信有限公司 Method and device for intelligently protecting eyes through controlling brightness of screen of mobile terminal
CN105320281A (en) * 2015-11-05 2016-02-10 深圳市金立通信设备有限公司 Application control method and terminal
CN105872160A (en) * 2015-11-20 2016-08-17 乐视移动智能信息技术(北京)有限公司 Method and device for rapidly starting flashlight
CN106537887A (en) * 2016-11-04 2017-03-22 北京小米移动软件有限公司 Terminal control method and terminal
CN106557179A (en) * 2016-10-10 2017-04-05 上海斐讯数据通信技术有限公司 The control method of the lamp of mobile terminal, system and mobile terminal
CN106790889A (en) * 2016-12-21 2017-05-31 深圳市金立通信设备有限公司 The method and terminal of a kind of illumination

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2346288A (en) * 1999-01-28 2000-08-02 Nec Corp Portable communication device with illumination means
JP2003323801A (en) * 2002-05-02 2003-11-14 Masaru Shibuya Portable telephone with flash light
CN104052878A (en) * 2014-06-19 2014-09-17 广东欧珀移动通信有限公司 Method and device for intelligently protecting eyes through controlling brightness of screen of mobile terminal
CN105320281A (en) * 2015-11-05 2016-02-10 深圳市金立通信设备有限公司 Application control method and terminal
CN105872160A (en) * 2015-11-20 2016-08-17 乐视移动智能信息技术(北京)有限公司 Method and device for rapidly starting flashlight
CN106557179A (en) * 2016-10-10 2017-04-05 上海斐讯数据通信技术有限公司 The control method of the lamp of mobile terminal, system and mobile terminal
CN106537887A (en) * 2016-11-04 2017-03-22 北京小米移动软件有限公司 Terminal control method and terminal
CN106790889A (en) * 2016-12-21 2017-05-31 深圳市金立通信设备有限公司 The method and terminal of a kind of illumination

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112202968A (en) * 2020-09-21 2021-01-08 珠海格力电器股份有限公司 Terminal device and position prompting method thereof

Similar Documents

Publication Publication Date Title
WO2020211701A1 (en) Model training method, emotion recognition method, related apparatus and device
RU2628558C2 (en) Method and smart terminal handling device
CN104052867B (en) Mobile terminal and its control method
CN107426428A (en) Electronic equipment and display lightness regulating method
CN110126783B (en) Vehicle control method and device
CN108234873A (en) A kind of method and apparatus for obtaining image
CN107786743A (en) Prevent the method and device of terminal false touch
KR20170055893A (en) Electronic device and method for performing action according to proximity of external object
CN106375676A (en) Photographing control method and device of terminal equipment, and terminal equipment
CN106339168A (en) Screen control method and device
CN106325479A (en) Touch response method and mobile terminal
CN110341627B (en) Method and device for controlling behavior in vehicle
CN107820024A (en) Image capturing method, device and storage medium
CN105974918B (en) Balance car control method, device and balance car
CN107168620A (en) Method, device, terminal device and the computer-readable recording medium of control terminal
WO2020103091A9 (en) Touch operation locking method and electronic device
CN106357934A (en) Screen-locking control method and device
CN107529699A (en) Control method of electronic device and device
CN106292320A (en) Control the method and device that controlled device runs
CN109670287A (en) Intelligent terminal unlocking method, intelligent terminal and computer readable storage medium
CN109218527A (en) screen brightness control method, mobile terminal and computer readable storage medium
CN107284358A (en) Rearview mirror method of adjustment, device and terminal
CN107393528A (en) Sound control method and device
CN106502403A (en) Intelligent glasses control method, device and intelligent glasses
WO2020258698A1 (en) Lyric display method and apparatus, device, and 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

Application publication date: 20180213

RJ01 Rejection of invention patent application after publication