Specific embodiment
It should be appreciated that described herein, specific examples are only used to explain the present invention, is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no 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, plate
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. move
The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic 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, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram,
Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
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 wireless communication.Any communication can be used in above-mentioned wireless 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 mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The voice data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 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 in image capture mode by image capture apparatus (such as camera) 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 (voice data), and can be voice 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 where telephone calling model.
Microphone 1042 can be implemented 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.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, 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 can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.Mobile terminal of the present invention
The quantity of display unit 106 can be one, be also possible to multiple.Such as double screen terminal, tool is there are two screen and is located at
Terminal fuselage front and back sides.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using 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 stick etc.
It is one or more, specifically herein without limitation.
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 the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it 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 mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
In addition, processor 110 is for calling the screen stored in memory 109 in mobile terminal 100 shown in Fig. 1
Program is lighted, to execute following operation:
The state of real-time detection terminal fuselage;
When terminating machine is in when grip state, the grip based on active user determines the main display of present terminal
Screen;
When terminating machine is in when non-grip state, the sensing data based on present terminal determines that the master of present terminal is aobvious
Display screen;
When the first display screen and second display screen are in breath screen state, if detecting the switch letter of terminal supplying power key triggering
Number, then light the main display of present terminal.
Further, processor 110 also executes following behaviour for calling the screen stored in memory 109 to light program
Make:
The pressure sensor parameter of terminal fuselage is obtained in real time;
If the pressure sensor parameter is zero, it is determined that present terminal fuselage is in non-grip state;
If the pressure sensor parameter is not zero, it is determined that present terminal fuselage is in grip state.
Further, processor 110 also executes following behaviour for calling the screen stored in memory 109 to light program
Make:
When terminating machine is in when grip state, detect whether there is on the first display screen and second display screen respectively is touched
Operating and touching duration is more than preset time period;
If there are touch operation and touching duration more than preset time period on the first display screen, it is determined that second display screen is to work as
The main display of preceding terminal;
If there are touch operation and touching duration more than preset time period on second display screen, it is determined that the first display screen is to work as
The main display of preceding terminal.
Further, processor 110 also executes following behaviour for calling the screen stored in memory 109 to light program
Make:
When terminating machine is in when non-grip state, the 3-axis acceleration data of acceleration transducer in terminal are obtained;
By the 3-axis acceleration data of current acceleration sensor respectively with the 3-axis acceleration number under pre- placement location posture
According to being compared, for determining the placement posture of present terminal;
If the placement posture of present terminal be the first display screen upward, second display screen downward, it is determined that the first display screen
For the main display of present terminal;
If the placement posture of present terminal be the first display screen downward, second display screen upward, it is determined that second display screen
For the main display of present terminal.
Further, processor 110 also executes following behaviour for calling the screen stored in memory 109 to light program
Make:
When the first display screen and second display screen are in breath screen state, detect whether that there are phonetic order or terminal fuselages
Posture action command;
If it exists, then judge whether the phonetic order or the posture action command are bright screen wake up instruction;
If so, lighting the main display of present terminal.
Further, processor 110 also executes following behaviour for calling the screen stored in memory 109 to light program
Make:
Breath screen state is in when the main display that the first display screen is present terminal and in bright screen state, second display screen
When, if detecting the switching signal of terminal supplying power key triggering, extinguish the first display screen;
Breath screen state is in when the main display that second display screen is present terminal and in bright screen state, the first display screen
When, if detecting the switching signal of terminal supplying power key triggering, extinguish second display screen.
Further, processor 110 also executes following behaviour for calling the screen stored in memory 109 to light program
Make:
Bright screen state is in when the main display that the first display screen is present terminal and in breath screen state, second display screen
When, if detecting the switching signal of terminal supplying power key triggering, lights the first display screen, extinguishes second display screen;
Bright screen state is in when the main display that second display screen is present terminal and in breath screen state, the first display screen
When, if detecting the switching signal of terminal supplying power key triggering, lights second display screen, extinguishes the first display screen.
Further, processor 110 also executes following behaviour for calling the screen stored in memory 109 to light program
Make:
When that can not determine the main display of present terminal, based on preceding once determining terminal main display and current end
The attitudes vibration of terminal body determines the main display of this terminal.
In addition, above-mentioned mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, preferably
, power supply 111 can be logically contiguous by power-supply management system and processor 110, manages to be realized by power-supply management system
The functions such as reason charging, electric discharge and power managed.
Although Fig. 1 is not shown, mobile 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 that mobile terminal of the invention is based below into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection
Family equipment) (the land 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 mobile 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 preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
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 should know the present invention is 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., herein without limitation.
Based on above-mentioned terminal hardware structure and communications network system, each implementation of screen lighting method of the present invention is proposed
Example.
It is the flow diagram of one embodiment of screen lighting method of the present invention referring to Fig. 3, Fig. 3.The screen point of the present embodiment
Bright method is applied to double screen terminal, which includes being located at the first display screen of terminal fuselage front and back sides to show with second
Display screen.
In the present embodiment, the screen lighting method the following steps are included:
Step S10, the state of real-time detection terminal fuselage;
Since the present embodiment does not control lighting for corresponding screen using multiple physical power source keys, while also not using logical
Cross software operation mode realize corresponding screen light namely the screen lighting mode of the present embodiment is not related to correspondingly
Screen lights control mode, therefore, for the terminal with multiple screens, if screen need to be lighted, firstly the need of intelligence
Ground determines the current screen to be lighted of user.Namely current embodiment require that determine the behaviour of user in real time by software processing mode
Work is intended to.
Therefore, in the present embodiment, by the state of real-time detection terminal fuselage, and the different conditions based on terminal fuselage,
The main display of present terminal, namely the main display by determining present terminal are determined in such a way that correspondence is different, are come true
Determine the current screen to be lighted (operation intention of user) of user.
For convenient for accurately determining that the operation of user is intended to (wanting which screen lighted or extinguish), the present embodiment is from terminating machine
The state of body is started with, analyzed by the state of terminal fuselage user operation be intended to, especially by following two categories state come into
Row analysis:
(1) terminating machine is in grip state, refers to that terminal is taken by user;
(2) terminating machine is in non-grip state, refers to that terminal is in placement status, for example put on the table.
The present embodiment is unlimited for the implementation for detecting the above-mentioned state of terminal fuselage, carries out with specific reference to actual needs
Setting.For example it is detected by proximity sensor, acceleration transducer etc..
Optionally, as shown in figure 4, in one embodiment, by multiple pressure sensors for being arranged on fuselage frame into
The state of row terminal fuselage judges that specific implementation includes:
(1) the pressure sensor parameter of terminal fuselage is obtained in real time;
(2) if the pressure sensor parameter is zero, it is determined that present terminal fuselage is in non-grip state;
(3) if the pressure sensor parameter is not zero, it is determined that present terminal fuselage is in grip state.
In this alternative embodiment, when user hold terminal fuselage when, will necessarily to terminal fuselage apply certain pressure to prevent
Only terminal slides.Therefore, can be by obtaining the parameter sensing of each pressure sensor with terminating machine, and joined according to pressure sensor
Several numerical value, to judge whether terminal fuselage is in grip state.This optional way is realized easy and judges that speed is fast, does not influence
User experience.
Step S20, when terminating machine is in when grip state, the grip based on active user determines present terminal
Main display;
In the present embodiment, when terminating machine is in when grip state, use can be determined based on the grip of active user
The operation at family is intended to (wanting which screen lighted or extinguish), and then determines the main display of present terminal.It should be noted that
Main display described in the present embodiment be a relative concept, in particular to: under present terminal fuselage status, pass through
Power key or the corresponding screen lighted of other modes, which both may be the front screen of terminal, it is also possible to the back of terminal
Face curtain.Since terminal fuselage status can change namely main screen also can accordingly change in real time.
It is unlimited by way of determining terminal main display for the grip user in the present embodiment.For example, terminal
Power button and fuselage on pressure sensor be all fixed setting, for example the right side of terminal home screen curtain is arranged in power button
Side passes through inspection if user gets used to left-handed (such as the grip habit that can obtain user by historical operation)
The parameter situation for surveying the pressure sensor of power button side, that is, can determine the main display of present terminal.Such as power button
There are multiple pressure values for side, then can determine that the terminal of active user's left-handed towards user is main screen, namely current
It is main screen that user, which wants the screen lighted,.
In addition, can also determine the main display of present terminal based on the feature of user's grip in the present embodiment.Example
Such as, when terminating machine is in when grip state, the grip that user holds terminal at this time had both been likely to be left-handed mode,
It could also be possible that the right hand holds mode or hands grasping mode, but no matter user using any gripping mode, uses
The family screen to be operated (namely user wants the screen lighted or extinguished) usually will not all be contacted by finger (prevents screen
Upper display content is blocked), and user does not need the screen of operation then usually as the stress point of support terminal fuselage and by hand
Finger is contacted.Therefore, the feature based on user's grip, can be used for determining the main display of present terminal.
Step S30, when terminating machine is in when non-grip state, the sensing data based on present terminal is determined current whole
The main display at end;
In the present embodiment, when terminating machine is in when non-grip state, it can be determined based on the sensing data of present terminal
The operation of user is intended to (wanting which screen lighted or extinguish), and then determines the main display of present terminal.It needs to illustrate
It is that the sensing data of terminal described in the present embodiment refers to data caused by terminal inner sensor, such as camera shooting
Image and generate image data, light sensor detection light and generate light sensation Value Data, acceleration transducer detection eventually
The motion conditions at end and the acceleration information etc. generated.
It is unlimited by way of determining terminal main display for the sensing data terminal in the present embodiment.For example, usually
Terminal is designed with the double data setting camera, then acquiring by camera of front camera or front and back, judges whether to detect
Face, if so, the screen of side where confirmly detecting the camera of face is the main display of present terminal.
Change in another example detecting the strong and weak of light by light sensor, and changed according to the power of light, determines light
The screen of side where after changing from weak to strong is the main display of present terminal.
In another example the motion state of terminal is detected by acceleration transducer, since acceleration transducer is affected by gravity,
It therefore, is the main display that can determine present terminal by the acceleration value on analysis three axis of acceleration transducer.For example, terminal
When static placement, acceleration value on Z axis be negative (such as -9.81) namely the front panel of present terminal upward, it is determined that when
The front panel (main screen) of preceding terminal is main display.
Step S40, when the first display screen and second display screen are in when ceasing screen state, if detecting, terminal supplying power key is triggered
Switching signal, then light the main display of present terminal.
Screen is lighted or extinguished to the present embodiment trigger switch signal preferably by the way of pressing power key, this generic operation
Mode is convenient and meets user's use habit.Certainly, mobile terminal of the present invention can also support other modes to light screen, such as
Gesture lights screen, voice wakes up screen etc..
In the present embodiment, screen lights control (including bright screen state also directly related with the current state of main display
With breath screen state).There are following several combinations for the double-display screen and its state of terminal:
(1) first display screen and second display screen are in breath screen state
(2) first display screens and second display screen are in bright screen state
(3) first display screens are in breath screen state, second display screen is in bright screen state
(4) first display screens are in bright screen state, second display screen is in breath screen state
Wherein, under the first combination, main display is in breath screen state;Under second of combination, main display is in bright screen
State;Under the third combination, if the first display screen is main display, main display is in breath screen state, if second display screen
For main display, then main display is in bright screen state;It is main aobvious if the first display screen is main display under 4th kind of combination
Display screen is in bright screen state, if second display screen is main display, main display is in breath screen state.
For the first combination: the first display screen and second display screen are in breath screen state, and main display is in breath at this time
Therefore screen state when detecting the switching signal of terminal supplying power key triggering, lights the main display of present terminal.Wherein, eventually
Hold the switching signal of power key triggering specifically related to the state of the current screen to be lighted, if the current screen to be lighted
For bright screen state, then the switching signal of terminal supplying power key triggering is power supply cut-off signal, if the current screen to be lighted is breath
Screen state, then the switching signal of terminal supplying power key triggering is power throughing signal.
Second is combined: the first display screen and second display screen are in bright screen state, and main display is in bright at this time
Screen state, it is therefore preferable that when detecting the switching signal of terminal supplying power key triggering, while extinguishing the first display screen and second and showing
Display screen.
The present embodiment is unlimited for the processing mode of third and fourth kind of combination, is configured with specific reference to actual needs.It needs
Illustrate, third and fourth kind of combination not only may include the processing mode of bright screen, can also include the processing mode of breath screen.
The present embodiment passes through the state of real-time detection terminal fuselage, grip or present terminal based on active user
Sensing data determines the main display of present terminal, and bright screen control of the invention only has the main display of present terminal
Effect, since main display both may be the front screen of terminal, it is also possible to the rear screen of terminal, thus can be worked as according to user
Preceding use needs and intelligently lights corresponding screen.The present embodiment while maintaining existing terminal appearance esthetic requirement,
Only lighting for two different screens need to can be realized by a physical button, improve the convenient behaviour that double screen terminal lights screen
Make.
It is further alternative, in one embodiment of screen lighting method of the present invention, for described in above-described embodiment
Three, four kinds of combinations, the processing mode of the present embodiment include:
(1) breath screen is in when the main display that the first display screen is present terminal and in bright screen state, second display screen
When state, if detecting the switching signal of terminal supplying power key triggering, extinguish the first display screen;
(2) breath screen is in when the main display that second display screen is present terminal and in bright screen state, the first display screen
When state, if detecting the switching signal of terminal supplying power key triggering, extinguish second display screen.
In the present embodiment, when main display is in bright screen state, and secondary display screen (for opposite main display) is in breath
When screen state namely the main display of present terminal is still preceding primary identified main display, if then detecting end at this time
The switching signal for holding power key triggering then identifies that the operation of active user is intended to extinguish screen operator, and then extinguishes currently eventually
The main display at end.
It is further alternative, in another embodiment of screen lighting method of the present invention, for described in above-described embodiment
Third and fourth kind of combination, the processing mode of the present embodiment further include:
(1) bright screen is in when the main display that the first display screen is present terminal and in breath screen state, second display screen
When state, if detecting the switching signal of terminal supplying power key triggering, lights the first display screen, extinguishes second display screen;
(2) bright screen is in when the main display that second display screen is present terminal and in breath screen state, the first display screen
When state, if detecting the switching signal of terminal supplying power key triggering, lights second display screen, extinguishes the first display screen.
In the present embodiment, when main display is in breath screen state, and secondary display screen (opposite main display for) is in bright
When screen state, namely the switching of main display has occurred, the main display of present terminal has not been preceding primary identified main
Display screen, therefore, if detecting the switching signal of terminal supplying power key triggering, namely the operation of identification active user is intended to light
Screen operator then lights main display.
In addition, in the present embodiment, since the screen operator focus point of active user has occurred that switching, namely from current
Secondary display screen be switched to current main display, therefore, for save electric quantity consumption, while simplify multi-screen between light switching
Operation, while lighting current main display, extinguishes current secondary display screen.
It is further alternative, in one embodiment of screen lighting method of the present invention, the screen lighting method further include:
When that can not determine the main display of present terminal, based on preceding once determining terminal main display and current end
The attitudes vibration of terminal body determines the main display of this terminal.
In the present embodiment, the intelligence of screen, which is lighted, needs the operation for first identifying user to be intended to, namely determines present terminal
Main display can not identify that the operation of user is intended to if the main display of present terminal can not be determined, and then can not be right
Screen carries out intelligence and lights.
Therefore, when the abnormal conditions of main display of present terminal can not be determined by occurring, for example testing conditions are unsatisfactory for
Or testing result is when there is a possibility that two kinds, to guarantee that operation intention of user identifies accuracy, the present embodiment especially by with
Lower two conditions determine this main display to integrate:
Condition one: the preceding terminal main display once determined;
Condition two: the attitudes vibration of present terminal fuselage.
In the present embodiment, the attitudes vibration of terminal fuselage refers to that terminal occurs such as to overturn, tilts variation.Usual user institute
The display screen to be operated all is directed towards user, namely has been determined that the main display of a certain moment terminal can determine that current master is aobvious
The direction of display screen.If the attitudes vibration of present terminal fuselage is smaller, namely the terminal main display once determined before having not been changed
Direction, then the main display of this terminal with it is previous identical.And if the attitudes vibration of present terminal fuselage is larger, Ye Jigai
Become the direction of preceding once determining terminal main display, then the main display of this terminal with it is previous not identical, namely
This main display determined is actually previous secondary display screen.
Further, in one embodiment of screen lighting method of the present invention, user is based in above-described embodiment in step S20
Grip determine that the specific implementation of the main display of present terminal includes:
1, when terminating machine is in when grip state, detect whether there is on the first display screen and second display screen respectively is touched
Touching operation and touching duration is more than preset time period;
If 2, on the first display screen there are touch operation and to touch duration be more than preset time period, it is determined that second display screen is
The main display of present terminal;
If 3, on second display screen there are touch operation and to touch duration be more than preset time period, it is determined that the first display screen is
The main display of present terminal.
The present embodiment is specifically based on the feature of user's grip to determine the main display of present terminal.
When terminating machine is in when grip state, the grip that user holds terminal at this time is both likely to be left-handed
Mode, it is also possible to be that the right hand holds mode or hands grasping mode, but no matter user is using any gripping mould
Formula, user's screen to be operated (namely user wants the screen lighted or extinguished) usually will not all be contacted (anti-by finger
Only show that content is blocked on screen), and user does not need the screen of operation then usually as the stress point of support terminal fuselage
And it is contacted by finger.Therefore, the feature based on user's grip, can be used for determining the main display of present terminal.
As shown in figure 5, in the present embodiment, the feature specific manifestation of user's grip are as follows: carried out for a long time in stress surface
Touch operation.Therefore, it is based on this feature, when terminating machine is in when grip state, detects the first display screen and second respectively
Whether there is touch operation on display screen and touch duration is more than preset time period, and if it exists, then can determine that the master of present terminal is aobvious
Display screen, specifically:
If there are touch operation and touching duration more than preset time period on the first display screen, second display screen is current whole
The main display at end, and if there are touch operation and touching duration more than preset time period, the first display screen on second display screen
For the main display of present terminal.
Further, in one embodiment of screen lighting method of the present invention, terminal is based in above-described embodiment in step S30
Sensing data determine that the specific implementation of the main display of present terminal includes:
1, when terminating machine is in when non-grip state, the 3-axis acceleration data of acceleration transducer in terminal are obtained;
2, by the 3-axis acceleration data of current acceleration sensor respectively with the 3-axis acceleration under pre- placement location posture
Data are compared, for determining the placement posture of present terminal;
If 3, the placement posture of present terminal be the first display screen upward, second display screen downward, it is determined that first display
Screen is the main display of present terminal;
If 4, the placement posture of present terminal be the first display screen downward, second display screen upward, it is determined that second display
Screen is the main display of present terminal.
As shown in fig. 6,3-axis acceleration (X, Y, Z axis) data of 3-axis acceleration sensor have space coordinate feature,
Wherein, the direction of x-axis be along the first display screen horizontal direction from left to right, the direction of Y-axis is under the first display screen
The top of the first display screen is directed toward at end along the horizontal direction of screen, and the direction of Z axis is perpendicular to XY axis and by the first display screen
It is directed toward external.If terminal is not square, shorter side needs to be horizontally arranged, and longer side needs to be disposed vertically.
For the current placement posture convenient for determining terminal, multiple placement postures have been preset in the present embodiment and have been saved
Each placement posture corresponding 3-axis acceleration data, by the real-time 3-axis acceleration data of present terminal that will acquire with
The 3-axis acceleration data of preservation are compared, and then can determine the placement posture of present terminal.
The present embodiment is unlimited for the setting for placing posture, preferably comprises there are many posture is placed, for example main screen is upward
Or it is biased to placement posture upward, main screen downward or is biased to placement posture directed downwardly.If the placement posture of present terminal is the
One display screen upward or be biased to upward, second display screen downward or is biased to downward, it is determined that first display screen is present terminal
Main display;And if the placement posture of present terminal be the first display screen downward or be biased to downward, second display screen upward or partially
To downward, it is determined that second display screen is the main display of present terminal.
In the present embodiment, the data acquisition of 3-axis acceleration sensor is easy, and the identification process of main display is succinctly quasi-
Really, user's use process not Caton, improves usage experience.
Further alternative, in another embodiment of screen lighting method of the present invention, the screen lighting method is also supported
Voice wakes up or posture movement wakes up and lights screen, specific implementation are as follows:
1, when the first display screen and second display screen are in breath screen state, detect whether that there are phonetic order or terminating machines
The posture action command of body;
2, if it exists, then judge whether the phonetic order or the posture action command are bright screen wake up instruction;If so,
Then light the main display of present terminal.
In the present embodiment, screen lighting method also supports that voice wakes up or posture movement wakes up and lights screen, specially works as
When first display screen and second display screen are in breath screen state, if detecting, the posture movement of phonetic order or terminal fuselage refers to
It enables, and the phonetic order or the posture action command are matched with preset bright screen wake up instruction, then light present terminal
Main display.
For example, user has preset a voice as bright screen wake up instruction, then when terminal is detected in the case where ceasing screen state
When to the phonetic order, the main display of present terminal is lighted.
In another example user first pass through whipping terminal fuselage in advance and be arranged a posture movement be used as bright screen wake up instruction, then when
Terminal lights the main display of present terminal when detecting the posture action command under ceasing screen state.
In the present embodiment, terminal not only supports power button mode to light screen, and also support voice wakes up, posture movement is called out
Awake mode lights screen, improves the convenience that user uses.
The present invention also provides a kind of computer readable storage mediums.
In the present embodiment, it is stored with screen on the computer readable storage medium and lights program, the screen lights journey
The step of screen lighting method as described in the examples such as any of the above-described is realized when sequence is executed by processor.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM), including some instructions are used so that a terminal (can be mobile phone, computer, server or network are set
It is standby 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 to 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, it is all using equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content, directly or indirectly
Other related technical areas are used in, all of these belong to the protection of the present invention.