CN109460199A - A kind of preceding screen of terminal determines method, terminal and computer readable storage medium - Google Patents
A kind of preceding screen of terminal determines method, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN109460199A CN109460199A CN201811085456.7A CN201811085456A CN109460199A CN 109460199 A CN109460199 A CN 109460199A CN 201811085456 A CN201811085456 A CN 201811085456A CN 109460199 A CN109460199 A CN 109460199A
- Authority
- CN
- China
- Prior art keywords
- screen
- terminal
- light intensity
- mean value
- evenly distributed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
- G06F3/1431—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display using a single graphics controller
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Graphics (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The preceding screen that the present invention provides a kind of terminal determines that method, terminal include the first screen that terminal front side is arranged in and the second screen that the terminal back side is arranged in, comprising the following steps: acquires the light intensity being radiated on the first screen and the second screen respectively;Obtain default determining rule;By the light intensity on the first screen and the second screen, according to default determining rule, determine that the preceding screen of terminal is the first screen or the second screen, the preceding screen of terminal is directed towards the screen of outside;The present invention also provides a kind of terminal and computer readable storage mediums, through the above scheme, according to the light intensity being radiated on the first screen and the second screen, determine which screen of terminal is preceding screen, improve the accuracy of screen definitive result after the preceding screen of terminal.
Description
Technical field
The present invention relates to field of terminal technology, determine method, terminal and meter more specifically to a kind of preceding screen of terminal
Calculation machine readable storage medium storing program for executing.
Background technique
With the continuous development of terminal technology, the external form of the terminals such as smart phone, PAD has changed a lot, such as
For terminal from having a screen to become tool there are two screen, two screens are separately positioned on the front and back of terminal, this end
End is referred to as double-sided screen terminal;It for the method for determination is shielded after the preceding screen of double-sided screen terminal, is used concerning double-sided screen terminal user
The emphasis of experience, preceding screen are screen of the double-sided screen terminal towards outside, and rear screen is directed towards the screen of the inside, such as terminal includes setting
Set terminal front side the first screen and second screen at the terminal back side is set, user when being hold by one hand double-sided screen terminal,
If the first screen is towards outside, the second screen is towards user's palm of the hand, and the first screen is preceding screen at this time, and the second screen shields after being;If
First screen is towards user's palm of the hand, and the second screen is towards outside, and the second screen is preceding screen at this time, and the first screen shields after being;It is two-sided
When screen terminal is placed on desk, if the first screen is towards outside, the second screen is towards desk, and the first screen is preceding screen at this time,
Second screen shields after being;If the first screen is towards desk, the second screen is towards outside, and the second screen is preceding screen, the first screen at this time
Curtain shields after being.
Shield after the preceding screen of double-sided screen terminal at present and determine, mainly according to the methods of pressure detection, gesture or bio-identification
It realizes, still, these method for detecting concentrate on the direct contact and judgement to end sensor state, this is easy for causing other
It is judged by accident caused by the reasons such as non-user contact, determining result inaccuracy is shielded after preceding screen.
Summary of the invention
It is a primary object of the present invention to propose that a kind of preceding screen of terminal determines method, terminal and computer-readable storage medium
Matter, it is intended to solve in the prior art, the problem of definitive result inaccuracy to be shielded after the preceding screen of double-sided screen terminal.
In order to solve the above technical problems, the preceding screen that the present invention provides a kind of terminal determines that method, the terminal include setting
The terminal front side the first screen and second screen at the terminal back side is set, the preceding screen of the terminal determines method
The following steps are included:
The light intensity being radiated on first screen and the second screen is acquired respectively;
Obtain default determining rule;
Light intensity on first screen and the second screen is determined into the end according to the default determining rule
The preceding screen at end is first screen or the second screen, and the preceding screen of the terminal is directed towards the screen of outside.
Optionally, the light intensity by first screen and the second screen, it is regular according to the default determination,
The preceding screen for determining the terminal is first screen or the second screen includes:
The mean value for calculating the light intensity in each region of the first screen, is denoted as the first mean value;
And the mean value of the light intensity in each region of the second screen is calculated, it is denoted as the second mean value;
When first mean value is greater than second mean value, it is determined that the preceding screen of the terminal is first screen;
When first mean value is less than second mean value, it is determined that the preceding screen of the terminal is second screen.
Optionally, the light intensity by first screen and the second screen, it is regular according to the default determination,
The preceding screen for determining the terminal is first screen or the second screen includes:
The degree that is evenly distributed for obtaining the light intensity of first screen is denoted as first and is evenly distributed degree;
And the degree that is evenly distributed of the light intensity of second screen is obtained, it is denoted as second and is evenly distributed degree;
When described first degree that is evenly distributed is evenly distributed degree greater than described second, it is determined that the preceding screen of the terminal is
First screen;
When described first degree that is evenly distributed is evenly distributed degree less than described second, it is determined that the preceding screen of the terminal is
Second screen.
Optionally, the light intensity by first screen and the second screen, it is regular according to the default determination,
The preceding screen for determining the terminal is first screen or the second screen includes:
The mean value for calculating the light intensity in each region of the first screen, is denoted as the first mean value, and obtain described first
The degree that is evenly distributed of the light intensity of screen is denoted as first and is evenly distributed degree;
And the mean value of the light intensity in each region of the second screen is calculated, it is denoted as the second mean value, and obtain described
The degree that is evenly distributed of the light intensity of two screens is denoted as second and is evenly distributed degree;
When first mean value is greater than second mean value and described first is evenly distributed degree greater than second distribution
Uniformity coefficient, it is determined that the preceding screen of the terminal is first screen;
When first mean value is less than second mean value and described first is evenly distributed degree less than second distribution
Uniformity coefficient, it is determined that the preceding screen of the terminal is second screen.
Optionally, the light intensity that acquisition is radiated on first screen and the second screen described respectively includes: to pass through
The photosensitive layer that first offscreen surface is arranged in acquires the light intensity being radiated on first screen, is existed by setting
The photosensitive layer of second offscreen surface acquires the light intensity being radiated on second screen.
Optionally, the light intensity that acquisition is radiated on first screen and the second screen described respectively includes: to pass through
The light sensor that first screen side is arranged in acquires the light intensity being radiated on first screen, is existed by setting
The light sensor of second screen side acquires the light intensity being radiated on second screen.
Optionally, in the light intensity by first screen and the second screen, according to the default determining rule
Then, further comprising the steps of after determining that the preceding screen of the terminal is first screen or the second screen:
Judge whether the preceding screen of the terminal changes;
If so, the content that screen is shown before the preceding screen display determined is former.
Optionally, in the light intensity by first screen and the second screen, according to the default determining rule
Then, further comprising the steps of after determining that the preceding screen of the terminal is first screen or the second screen:
Receive the selected operation that the closing options of function is determined to preceding screen;
The preceding screen, which is closed, according to the selected operation determines function.
Further, the present invention provides a kind of terminal, and the terminal includes the first screen that the terminal front side is arranged in
With the second screen that the terminal back side is arranged in, the terminal further includes processor, memory and communication bus;
Communication bus is for realizing the connection communication between processor and memory;
For processor for executing one or more program stored in memory, the preceding screen to realize terminal as above is true
The step of determining method.
Further, the present invention provides a kind of computer readable storage medium, and computer-readable recording medium storage has one
A or multiple programs, one or more program can be executed by one or more processor, to realize a kind of end as above
The step of preceding screen at end determines method.
Beneficial effect
The present invention provides a kind of preceding screens of terminal to determine method, terminal and computer readable storage medium, and terminal includes
First screen of terminal front side is set and second screen at the terminal back side is set, the preceding screen of terminal determines that method includes following
Step: the light intensity being radiated on the first screen and the second screen is acquired respectively;Obtain default determining rule;By the first screen
Determine that the preceding screen of terminal is the first screen or the second screen, end according to default determining rule with the light intensity on the second screen
The preceding screen at end is directed towards the screen of outside;Through the above scheme, strong according to the light being radiated on the first screen and the second screen
Degree, determines which screen of terminal is preceding screen, improves the accuracy of screen definitive result after the preceding screen of terminal.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
The hardware structural diagram of Fig. 1 each embodiment one optional terminal to realize the present invention;
Fig. 2 is that a kind of preceding screen for terminal that first embodiment of the invention provides determines the basic flow chart of method;
Signal of first screen towards outside when a kind of user's hand held terminal that Fig. 3 provides for first embodiment of the invention
Figure;
Fig. 4 is a kind of schematic diagram of the distribution curve for light intensity that first embodiment of the invention provides;
Fig. 5 is that a kind of preceding screen for double-sided screen smart phone that second embodiment of the invention provides determines the basic procedure of method
Figure;
Fig. 6 is a kind of schematic diagram for terminal that third embodiment of the invention provides.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, 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 specific meanings.Therefore, " module " can mixedly make with " component "
With.
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, the hardware structural diagram of its each embodiment one optional terminal to realize the present invention, the end
End 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V
(audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, storage
The components such as device 109 and processor 110.It will be understood by those skilled in the art that terminal structure shown in Fig. 1 is not constituted pair
The restriction of terminal, terminal may include perhaps combining certain components or different components than illustrating more or fewer components
Arrangement.
It is specifically introduced below with reference to all parts of the Fig. 1 to 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), CDMA1000 (Code
Division Multiple Access 1000, CDMA 1000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronics postal by WiFi module 102
Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.
Audio output unit 103 can be in call signal reception pattern, call mode, logging mode, language in terminal 100
It is radio frequency unit 101 or WiFi module 102 is received or depositing when under the isotypes such as sound recognition mode, broadcast reception mode
The audio data stored in reservoir 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 may be used also
To provide audio output relevant to the specific function that terminal 100 executes (for example, call signal receives sound, message sink sound
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 (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case 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.
Terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjusts the brightness of display panel 1061, and proximity sensor can close display panel when terminal 100 is moved in one's ear
1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture
Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone
Configurable fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, temperature
The other sensors such as meter, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the user with terminal 100
Setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 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 terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not limited herein specifically
It is fixed.
Interface unit 108 be used as at least one external device (ED) connect with terminal 100 can by interface.For example, external
Device may include wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless number
According to port, memory card port, port, the port audio input/output (I/O), view for connecting the device with identification module
The port frequency I/O, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, data are believed
Breath, electric power etc.) and by one or more elements that the input received is transferred in terminal 100 or can be used at end
Data are transmitted between end 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
Audio 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 terminal 100, utilizes each of various interfaces and the entire terminal 100 of connection
Part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in memory
Data in 109 execute the various functions and processing data of terminal 100, to carry out integral monitoring to terminal 100.Processor
110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modem processor,
Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing
Line communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Although Fig. 1 is not shown, terminal 100 can also be including bluetooth module etc., and details are not described herein.
Based on above-mentioned terminal hardware structure, below by way of specific embodiment, the present invention is described in detail.
First embodiment
In order to solve the problems, such as screen definitive result inaccuracy after the preceding screen of double-sided screen terminal in the prior art, the present embodiment will
The preceding screen for providing a kind of terminal determines method, and the terminal in the present embodiment includes smart phone, PAD, TV, Intelligent bracelet, intelligence
Can wrist-watch etc., terminal includes that the first screen of terminal front side is arranged in and is arranged in second screen at the terminal back side namely two-sided
Shield terminal;Wherein, the first screen and the second screen can use identical material, can also use different materials, specifically may be used
To be configured according to the actual situation, the first screen and the second screen include that (Thin Film Transistor, film are brilliant by TFT
Body pipe) screen of material, SLCD (Splice Liquid Crystal Display splices special liquid crystal screen) material screen,
AMOLED (Active Matrix/Organic Light Emitting Diode, active matrix organic light emitting diode panel)
Screen, electronic ink screen of material etc.;The size of first screen and the second screen may be the same or different, when the first screen
Curtain the sizes different with size of the second screen and the second screen less than the first screen size when, the second screen is in terminal back
The setting position in face can be configured according to the actual situation, such as the middle section at the terminal back side can be set, can also be with
Left area or the right area etc. at the terminal back side are set;The function being able to achieve on the first screen and the second screen can be with
It is identical, it can also be different, can be using the first screen as the main screen of terminal, the second screen is the vice screen curtain of terminal, can also be with first
Screen is the vice screen curtain of terminal, and the second screen is the main screen of terminal, such as can run on the first screen and the second screen
Game application, or on the first screen can running game application, and running game application is then unable on the second screen.
Preceding screen in the present embodiment is screen of the double-sided screen terminal towards outside, and rear screen is directed towards the screen of the inside, such as
Terminal includes the first screen that terminal front side is arranged in and the second screen that the terminal back side is arranged in, user be hold by one hand it is two-sided
When shielding terminal, if the first screen is towards outside, the second screen is towards user's palm of the hand, and the first screen is preceding screen, the second screen at this time
For rear screen;If the first screen is towards user's palm of the hand, the second screen is towards outside, and the second screen is preceding screen at this time, and the first screen is
After shield;When double-sided screen terminal is placed on desk, if the first screen, towards outside, the second screen is towards desk, the first screen at this time
Curtain is preceding screen, and the second screen shields after being;If the first screen is towards desk, the second screen is towards outside, before the second screen is at this time
Screen, the first screen shield after being.
Referring to fig. 2, Fig. 2 is the basic flow chart that a kind of preceding screen of terminal provided in this embodiment determines method, the terminal
Preceding screen determine method the following steps are included:
S201: the light intensity being radiated on the first screen and the second screen is acquired respectively;
In the present embodiment, S201-S203 step, which can be by terminal, realizes, S201 acquires be radiated at first respectively
The mode of screen and the light intensity on the second screen includes: to acquire irradiation by the way that the photosensitive layer of the first offscreen surface is arranged in
Light intensity on the first screen, the photosensitive layer by the way that the second offscreen surface is arranged in, which acquires, to be radiated on the second screen
Light intensity.It is respectively provided with one layer of photosensitive layer in the first screen and the second offscreen surface, so that the first screen, the second screen have
The standby photosensitive characteristic of screen itself;Photosensitive layer can use photoreception granule, and the thickness of photosensitive layer can carry out according to the actual situation
Setting, for example, photosensitive layer thickness in the range of 0.5 millimeter to 2.5 millimeters etc..The front and back of light intensity is received based on screen
Shield method of determination, the photosensitive feature of screen itself can be utilized, do not need to increase additional sensor cost.
Alternatively, S201 is acquired respectively, to be radiated at the mode of the first screen and the light intensity on the second screen include: to pass through
The light intensity of the light sensor acquisition irradiation of first screen side on the first screen is set, by being arranged in the second screen
The light sensor of side acquires the light intensity being radiated on the second screen.The first screen side in the present embodiment is relative to
For two screen sides, the second screen side is for the first screen side;First screen side refers in terminal front side,
Two screen sides refer at the terminal back side, namely the acquisition of the light sensor by the way that terminal front side is arranged in irradiation is on the first screen
Light intensity, the light sensor by the way that the terminal back side is arranged in acquires the light intensity that is radiated on the second screen.Light
Which specific location that terminal is arranged in sensor can be configured according to the actual situation, such as the light level of terminal front side
Device can be set on side of front camera etc., and the light sensor at the terminal back side can be set on the side of rear camera
Deng.
The trigger condition for executing the step for S201 acquisition is radiated at the light intensity on the first screen and the second screen can
To carry out flexible setting according to the actual situation, for example, it may be terminal is in the step of open state just executes always S201;Or
Person is just to start to execute S201-S203's when receiving user and determining preceding screen the selected operation of unlatching options of function
Step etc.;Shield before being either arranged the period for determining that function is opened, such as from 5 points of morning to 23 points etc. at night;Wherein, preceding screen
Determine that function unlatching then shows the step of executing S201-S203;
S202: default determining rule is obtained;
In the present embodiment, it presets and determines that rule can carry out flexible setting according to the actual situation, preset and determine that rule can
To be stored in terminal local, it is also possible to be stored in cloud server.It is default to determine that rule is to characterize to determine terminal
Preceding screen is the rule of the first screen or the second screen, according to default determining rule, can determine that the preceding screen of terminal is first
Screen or the second screen.
S203: the light intensity on the first screen and the second screen is determined into the preceding screen of terminal according to default determining rule
It is the first screen or the second screen, the preceding screen of terminal is directed towards the screen of outside.
In one embodiment, S203 is by the light intensity on the first screen and the second screen, according to default determining rule
Then, the preceding screen for determining terminal is the first screen or the second screen includes:
The mean value for calculating the light intensity in each region of the first screen, is denoted as the first mean value;
And the mean value of the light intensity in each region of the second screen is calculated, it is denoted as the second mean value;
When the first mean value is greater than the second mean value, it is determined that the preceding screen of terminal is the first screen;
When the first mean value is less than the second mean value, it is determined that the preceding screen of terminal is the second screen.
First screen and the second screen all can be uniformly divided into multiple regions, as unit of region, obtain first
What all areas for the light intensity and the second screen from external world's irradiation that all areas of screen receive received comes
From the light intensity of external world's irradiation, and calculate separately the mean value (namely first mean value) of the light intensity in each region of the first screen
With the mean value (namely second mean value) of the light intensity in each region of the second screen, and compare the first mean value and the second mean value is big
It is small;The light intensity in region of being blocked is less than the light intensity in region of not being blocked, so the light of the screen more than the region that is blocked
Line strength mean value is less than the light intensity mean value for the few screen in region that is blocked;
In the case where the first mean value is greater than the second mean value, then show to be greater than to the second screen blocking for the first screen
Block, application scenarios at this time may be user's hand held terminal, the first screen towards outside, the second screen towards the palm of the hand, referring to
Schematic diagram of first screen towards outside when Fig. 3, Fig. 3 are a kind of user's hand held terminal provided in this embodiment;Either terminal
Be placed on desk, the first screen towards outside, the second screen towards desk etc., then can determine the first screen be preceding screen, second
Screen shields after being;
In the case where the second mean value is greater than the first mean value, then show to be greater than to the first screen blocking for the second screen
Block, application scenarios at this time may be user's hand held terminal, the first screen towards the palm of the hand, the second screen towards outside, or
It is that terminal is placed on desk, the second screen is towards outside, and the first screen is towards desk etc., then before can determining that the second screen is
Screen, the first screen shield after being.
Such as under light, user's hand held terminal, the first screen and the second screen are uniformly divided into the area Liang Ge up and down
Domain, the first screen are not blocked a bit, and two collected light intensities in region are A, then the light of the first screen is strong
The mean value of degree is A;The top half region of second screen is blocked completely by the hand of user, the collected light in upper and lower two regions
Intensity is respectively B, A, and B is less than A namely the second subregional light intensity in the screen upper half is less than the subregional light in lower half
Intensity, then the mean value of the light intensity of the second screen is (B+A)/2, can determine that the first screen is preceding screen, after the second screen is
Screen.
Under light, when terminal is placed on desk and the first screen is towards outside, the second screen towards desk,
Two screens are blocked completely, then the light intensity of the second screen is far smaller than the light intensity of the first screen.
In another embodiment, S203 is by the light intensity on the first screen and the second screen, according to default determination
Rule, the preceding screen for determining terminal is the first screen or the second screen includes:
The degree that is evenly distributed for obtaining the light intensity of the first screen is denoted as first and is evenly distributed degree;
And the degree that is evenly distributed of the light intensity of the second screen is obtained, it is denoted as second and is evenly distributed degree;
When first degree that is evenly distributed is evenly distributed degree greater than second, it is determined that the preceding screen of terminal is the first screen;
When first degree that is evenly distributed is evenly distributed degree less than second, it is determined that the preceding screen of terminal is the second screen.
Likewise, the first screen and the second screen all can also be uniformly divided into multiple regions, as unit of region,
The all areas for obtaining the light intensity and the second screen from external world's irradiation that all areas of the first screen receive connect
The light intensity from external world's irradiation received, and the distribution curve of the light intensity of the first screen is drawn, from distribution curve
Obtain the degree that is evenly distributed (namely first be evenly distributed degree) of the light intensity of the first screen;Draw the light of the second screen
The distribution curve of intensity, obtained from distribution curve the light intensity of the second screen the degree that is evenly distributed (namely second distribution
Uniformity coefficient), the distribution curve of the light intensity of drafting, the longitudinal axis and horizontal axis can carry out flexible setting according to the actual situation,
Such as the longitudinal axis can be indicated by light intensity, horizontal axis can be indicated by the screen length under screen transverse screen state from left to right, ginseng
Seeing Fig. 4, Fig. 4 is a kind of schematic diagram of the distribution curve of light intensity provided in this embodiment, in Fig. 4, the upper half of the second screen
Partial region is blocked completely by the hand of user, and the collected light intensity in upper and lower two regions is respectively B, A, and B is less than A, namely
The second subregional light intensity in the screen upper half is less than the subregional light intensity in lower half;It should be understood that usually shielding
Curtain be subject to blocks all be it is irregular block, the present embodiment be in order to make it easy to understand, by occlusion area with rule region (
That is the top half region of screen) for.
Compare first be evenly distributed degree and second be evenly distributed degree size;The light intensity in region of being blocked is less than
Be not blocked the light intensity in region, so in distribution curve, light intensity value be less than preset threshold distribution it is more when, table
The area in the bright region that is blocked is more, and the degree that is evenly distributed is smaller, light intensity value be more than or equal to preset threshold distribution compared with
When more, the area in the region that shows to be blocked is less, and the degree that is evenly distributed is larger, and the few screen in the region that is blocked is preceding screen, is hidden
Screen more than gear region shields after being.
In yet another embodiment, S203 is by the light intensity on the first screen and the second screen, according to default determination
Rule, the preceding screen for determining terminal is the first screen or the second screen includes:
The mean value for calculating the light intensity in each region of the first screen is denoted as the first mean value, and obtains the light of the first screen
The degree that is evenly distributed of line intensity is denoted as first and is evenly distributed degree;
And the mean value of the light intensity in each region of the second screen is calculated, it is denoted as the second mean value, and obtain the second screen
The degree that is evenly distributed of light intensity is denoted as second and is evenly distributed degree;
When the first mean value is greater than the second mean value and first degree that is evenly distributed is evenly distributed degree greater than second, it is determined that
The preceding screen of terminal is the first screen;
When the first mean value is less than the second mean value and first degree that is evenly distributed is evenly distributed degree less than second, it is determined that
The preceding screen of terminal is the second screen.
When the mean value of the light intensity of the first screen is greater than the mean value of the light intensity of the second screen, and the quilt of the first screen
When the area in the region that is blocked of the second screen of area ratio of occlusion area is few, the first screen is preceding screen, and the second screen shields after being;
When the first screen light intensity mean value less than the second screen light intensity mean value, and the region that is blocked of the first screen
The second screen of area ratio the region that is blocked area it is more when, the second screen is preceding screen, and the first screen shields after being.
In the present embodiment, in S203 by the light intensity on the first screen and the second screen, according to default determining rule,
It is further comprising the steps of after determining that the preceding screen of terminal is the first screen or the second screen:
Judge whether the preceding screen of terminal changes;
If so, the content that screen is shown before the preceding screen display determined is former.
For example, user's hand held terminal, the first screen of terminal is towards outside, and the second screen is towards the palm of the hand, so terminal
Preceding screen is the first screen, and user sees wechat information with wechat application on the first screen in the green light of equal crossings;Then
When signal lamp is by red greening, terminal is placed into pocket by user, and after excessively complete crossing, user digs out in pocket
Terminal, user's hand held terminal, the first screen are changed towards the palm of the hand, the second screen towards outside, the preceding screen of terminal at this time,
Become the second screen, then can show wechat information on the second screen, eliminating user, to need manual overturning screen to check micro-
The step of letter information, improves the intelligent experience of user.
In the present embodiment, in S203 by the light intensity on the first screen and the second screen, according to default determining rule,
It is further comprising the steps of after determining that the preceding screen of terminal is the first screen or the second screen:
Receive the selected operation that the closing options of function is determined to preceding screen;
Shield before being closed according to selected operation and determines function.
Namely preceding screen can be determined that function is closed, save terminal by user according to the use demand and actual conditions of itself
Electricity, increase user and determine the controllability of function to preceding screen.
By the implementation of the present embodiment, according to the light intensity being radiated on the first screen and the second screen, terminal is determined
Which screen be preceding screen, improve the accuracy for shielding definitive result after the preceding screen of terminal, improve the close friend of double-sided screen terminal
Usage experience.
Second embodiment
The present embodiment provides specific example based on first embodiment and is further described;The present embodiment provides a kind of double
The preceding screen of face smart phone determines method, and double-sided screen smart phone includes setting in positive first screen of smart phone and sets
Set the second screen at the smart phone back side;Referring to Fig. 5, before Fig. 5 is a kind of double-sided screen smart phone provided in this embodiment
Shield determine method basic flow chart, the preceding screen of the double-sided screen smart phone determine method the following steps are included:
S501: the light intensity being radiated on the first screen and the second screen is acquired respectively;
S502: calculating the mean value of the light intensity in each region of the first screen, is denoted as the first mean value C, and obtain the first screen
The degree that is evenly distributed of the light intensity of curtain is denoted as first and is evenly distributed degree E;
S503: calculating the mean value of the light intensity in each region of the second screen, is denoted as the second mean value D, and obtain the second screen
The degree that is evenly distributed of the light intensity of curtain is denoted as second and is evenly distributed degree F;
S504: comparing the size of the first mean value C and the second mean value D, and compare first be evenly distributed degree E and second distribution
The size of uniformity coefficient F;
S505: when the first mean value C is greater than the second mean value D and the first degree E that is evenly distributed is evenly distributed degree greater than second
F, if user is to hold double-sided screen smart phone, it is determined that user hand grip position gesture is the first screen towards outside palm, the second screen court
Into palm, determine that the first screen of double-sided screen smart phone is preceding screen;When the first mean value C is less than the second mean value D and first
The degree that is evenly distributed E is evenly distributed degree F less than second, it is determined that the preceding screen of terminal is the second screen.
First mean value C is greater than the second mean value D, then illustrates that the second screen blocks and be likely larger than the first screen.
The first degree E that is evenly distributed is evenly distributed degree F greater than second, then illustrates that the second screen portions are blocked, and hide
Block face product is greater than the first screen.
By the implementation of the present embodiment, it according to the light intensity being radiated on the first screen and the second screen, determines two-sided
Which screen for shielding smart phone is preceding screen, improves the accuracy of screen definitive result after the preceding screen of double-sided screen smart phone,
Improve the friendly usage experience of double-sided screen smart phone.
3rd embodiment
In order to solve the problems, such as screen definitive result inaccuracy after the preceding screen of double-sided screen terminal in the prior art, the present embodiment is mentioned
For a kind of terminal, referring to Fig. 6, Fig. 6 be a kind of schematic diagram of terminal provided in this embodiment, the terminal include setting terminal just
The first screen (not shown) in face and the second screen (not shown) that the terminal back side is arranged in, terminal further include processing
Device 601, memory 602 and communication bus 603, in which:
Communication bus 603 is for realizing the connection communication between processor 601 and memory 602;
Processor 601 is for executing the one or more programs stored in memory 602, to realize in first embodiment eventually
The step of preceding screen of double-sided screen smart phone determines method in the step of preceding screen at end determines method, and/or second embodiment.
The present embodiment provides a kind of computer storage medium, computer-readable recording medium storage has one or more journey
Sequence, one or more program can be executed by one or more processor, and the preceding screen to realize terminal in first embodiment is true
The step of preceding screen of double-sided screen smart phone determines method in the step of determining method, and/or second embodiment.
By the implementation of the present embodiment, according to the light intensity being radiated on the first screen and the second screen, terminal is determined
Which screen be preceding screen, improve the accuracy for shielding definitive result after the preceding screen of terminal, improve the close friend of double-sided screen terminal
Usage experience.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
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, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Be engaged in device, air conditioner or the network equipment etc.) method that executes each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of preceding screen of terminal determines method, which is characterized in that the terminal includes first that the terminal front side is arranged in
Screen and the second screen that the terminal back side is set, the preceding screen of the terminal determine method the following steps are included:
The light intensity being radiated on first screen and the second screen is acquired respectively;
Obtain default determining rule;
Light intensity on first screen and the second screen is determined into the terminal according to the default determining rule
Preceding screen is first screen or the second screen, and the preceding screen of the terminal is directed towards the screen of outside.
2. the preceding screen of terminal as described in claim 1 determines method, which is characterized in that described by first screen and second
Light intensity on screen determines that the preceding screen of the terminal is first screen or second according to the default determining rule
Screen includes:
The mean value for calculating the light intensity in each region of the first screen, is denoted as the first mean value;
And the mean value of the light intensity in each region of the second screen is calculated, it is denoted as the second mean value;
When first mean value is greater than second mean value, it is determined that the preceding screen of the terminal is first screen;
When first mean value is less than second mean value, it is determined that the preceding screen of the terminal is second screen.
3. the preceding screen of terminal as described in claim 1 determines method, which is characterized in that described by first screen and second
Light intensity on screen determines that the preceding screen of the terminal is first screen or second according to the default determining rule
Screen includes:
The degree that is evenly distributed for obtaining the light intensity of first screen is denoted as first and is evenly distributed degree;
And the degree that is evenly distributed of the light intensity of second screen is obtained, it is denoted as second and is evenly distributed degree;
When described first degree that is evenly distributed is evenly distributed degree greater than described second, it is determined that the preceding screen of the terminal is described
First screen;
When described first degree that is evenly distributed is evenly distributed degree less than described second, it is determined that the preceding screen of the terminal is described
Second screen.
4. the preceding screen of terminal as described in claim 1 determines method, which is characterized in that described by first screen and second
Light intensity on screen determines that the preceding screen of the terminal is first screen or second according to the default determining rule
Screen includes:
The mean value for calculating the light intensity in each region of the first screen, is denoted as the first mean value, and obtains first screen
Light intensity the degree that is evenly distributed, be denoted as first and be evenly distributed degree;
And the mean value of the light intensity in each region of the second screen is calculated, it is denoted as the second mean value, and obtain second screen
The degree that is evenly distributed of the light intensity of curtain is denoted as second and is evenly distributed degree;
When first mean value is greater than second mean value and described first degree that is evenly distributed is evenly distributed greater than described second
Degree, it is determined that the preceding screen of the terminal is first screen;
When first mean value is less than second mean value and described first degree that is evenly distributed is evenly distributed less than described second
Degree, it is determined that the preceding screen of the terminal is second screen.
5. the preceding screen of the described in any item terminals of Claims 1-4 determines method, which is characterized in that the acquisition irradiation respectively
Light intensity on first screen and the second screen includes: the photosensitive layer by the way that first offscreen surface is arranged in
The light intensity being radiated on first screen is acquired, the photosensitive layer by the way that second offscreen surface is arranged in, which acquires, to be shone
Penetrate the light intensity on second screen.
6. the preceding screen such as the described in any item terminals of Claims 1-4 determines method, which is characterized in that the acquisition respectively is shone
The light intensity penetrated on first screen and the second screen includes: the light level by the way that first screen side is arranged in
Device acquires the light intensity being radiated on first screen, and the light sensor by the way that second screen side is arranged in acquires
The light intensity being radiated on second screen.
7. as the preceding screens of the described in any item terminals of Claims 1-4 determines method, which is characterized in that described by described the
Light intensity on one screen and the second screen determines that the preceding screen of the terminal is described the according to the default determining rule
It is further comprising the steps of after one screen or the second screen:
Judge whether the preceding screen of the terminal changes;
If so, the content that screen is shown before the preceding screen display determined is former.
8. as the preceding screens of the described in any item terminals of Claims 1-4 determines method, which is characterized in that described by described the
Light intensity on one screen and the second screen determines that the preceding screen of the terminal is described the according to the default determining rule
It is further comprising the steps of after one screen or the second screen:
Receive the selected operation that the closing options of function is determined to preceding screen;
The preceding screen, which is closed, according to the selected operation determines function.
9. a kind of terminal, which is characterized in that the terminal includes that the first screen of the terminal front side is arranged in and is arranged in institute
Second screen at the terminal back side is stated, the terminal further includes processor, memory and communication bus;
The communication bus is for realizing the connection communication between the processor and the memory;
The processor is for executing one or more program stored in the memory, to realize such as claim 1 to 8
The step of preceding screen of described in any item terminals determines method.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1 to 8
Any one of described in the preceding screen of terminal the step of determining method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811085456.7A CN109460199A (en) | 2018-09-18 | 2018-09-18 | A kind of preceding screen of terminal determines method, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811085456.7A CN109460199A (en) | 2018-09-18 | 2018-09-18 | A kind of preceding screen of terminal determines method, terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109460199A true CN109460199A (en) | 2019-03-12 |
Family
ID=65606722
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811085456.7A Pending CN109460199A (en) | 2018-09-18 | 2018-09-18 | A kind of preceding screen of terminal determines method, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109460199A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100073791A1 (en) * | 2008-09-19 | 2010-03-25 | Apple Inc. | External light illumination of display screens |
CN103208269A (en) * | 2012-01-16 | 2013-07-17 | 联想(北京)有限公司 | Method and device for adjusting screen luminance |
CN103561164A (en) * | 2013-10-17 | 2014-02-05 | 深圳市欧珀通信软件有限公司 | Method and device for screen switching of double-screen mobile phone |
CN103685762A (en) * | 2013-12-30 | 2014-03-26 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and control method thereof |
CN106249988A (en) * | 2016-07-18 | 2016-12-21 | 努比亚技术有限公司 | A kind of display packing and terminal |
CN106462339A (en) * | 2015-09-28 | 2017-02-22 | 华为技术有限公司 | Terminal and method for detecting ambient brightness |
CN107765971A (en) * | 2017-10-24 | 2018-03-06 | 广东欧珀移动通信有限公司 | Method for displaying user interface and equipment |
CN107966209A (en) * | 2017-11-22 | 2018-04-27 | 广东欧珀移动通信有限公司 | Environment light detection method, device, storage medium and electronic equipment |
-
2018
- 2018-09-18 CN CN201811085456.7A patent/CN109460199A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100073791A1 (en) * | 2008-09-19 | 2010-03-25 | Apple Inc. | External light illumination of display screens |
CN103208269A (en) * | 2012-01-16 | 2013-07-17 | 联想(北京)有限公司 | Method and device for adjusting screen luminance |
CN103561164A (en) * | 2013-10-17 | 2014-02-05 | 深圳市欧珀通信软件有限公司 | Method and device for screen switching of double-screen mobile phone |
CN103685762A (en) * | 2013-12-30 | 2014-03-26 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and control method thereof |
CN106462339A (en) * | 2015-09-28 | 2017-02-22 | 华为技术有限公司 | Terminal and method for detecting ambient brightness |
CN106249988A (en) * | 2016-07-18 | 2016-12-21 | 努比亚技术有限公司 | A kind of display packing and terminal |
CN107765971A (en) * | 2017-10-24 | 2018-03-06 | 广东欧珀移动通信有限公司 | Method for displaying user interface and equipment |
CN107966209A (en) * | 2017-11-22 | 2018-04-27 | 广东欧珀移动通信有限公司 | Environment light detection method, device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107798303A (en) | A kind of method and mobile terminal for adjusting screen backlight | |
CN107707729A (en) | A kind of terminal go out screen or bright screen method, terminal and computer-readable recording medium | |
CN108920059A (en) | Message treatment method and mobile terminal | |
CN109164994A (en) | Display methods, intelligent wearable device and storage medium based on intelligent wearable device | |
CN108415781A (en) | A kind of display control method, terminal and computer readable storage medium | |
CN109117041A (en) | A kind of message treatment method and mobile terminal | |
CN107831891A (en) | A kind of brightness adjusting method and mobile terminal | |
CN108762472A (en) | Wearable device control method, wearable device and computer readable storage medium | |
CN109358831A (en) | A kind of display control method, mobile terminal and computer readable storage medium | |
CN107920384A (en) | A kind of method, terminal and computer-readable recording medium for searching for communication network | |
CN108804170A (en) | The wearing of intelligent wearable device determines method, intelligent wearable device and storage medium | |
CN107797643A (en) | Reduce method, terminal and the computer-readable recording medium of terminal operating power consumption | |
CN107632757A (en) | A kind of terminal control method, terminal and computer-readable recording medium | |
CN107734172A (en) | A kind of method for information display and mobile terminal | |
CN109995391A (en) | A kind of image display method, intelligently wearing terminal and computer readable storage medium | |
CN109739346A (en) | A kind of key simulating method, double screen terminal and computer readable storage medium | |
CN108845785A (en) | A kind of display methods and terminal | |
CN107766110A (en) | A kind of message notification display method, terminal and computer-readable recording medium | |
CN110175008A (en) | Method, wearable device and the computer readable storage medium of operating terminal | |
CN110083289A (en) | A kind of button display methods, wearable device and computer readable storage medium | |
CN109669512A (en) | A kind of display control method, Folding screen terminal and computer readable storage medium | |
CN107678633A (en) | A kind of method for information display and terminal | |
CN110175259A (en) | Image display method, wearable device and computer readable storage medium | |
CN105224159B (en) | The method, apparatus and terminal of display window | |
CN110213637A (en) | Method, wearable device and the readable storage medium storing program for executing of video file increase watermark |
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: 20190312 |
|
RJ01 | Rejection of invention patent application after publication |