CN106775536A - A kind of double screen changing method and device - Google Patents
A kind of double screen changing method and device Download PDFInfo
- Publication number
- CN106775536A CN106775536A CN201611218432.5A CN201611218432A CN106775536A CN 106775536 A CN106775536 A CN 106775536A CN 201611218432 A CN201611218432 A CN 201611218432A CN 106775536 A CN106775536 A CN 106775536A
- Authority
- CN
- China
- Prior art keywords
- screen
- mobile terminal
- distance
- thing
- double
- 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.)
- Granted
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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a kind of double screen changing method, the double screen for being realized mobile terminal by perceived distance mechanism is switched.Present invention method includes:Obtain the first screen and first and place the distance between thing, mobile terminal includes the first screen and the second screen, and the first screen and the second screen are located at the front and rear relative position of mobile terminal;Whether judging distance is not more than predetermined threshold value;If so, the content of the first screen then is switched into the second screen.The embodiment of the present invention additionally provides a kind of double screen switching device, so that user can be with the use screen of unrestricted choice mobile terminal, simultaneously, non-touch-control handover operation can avoid non-artificial maloperation, realize that the convenient of mobile terminal uses, rather than button handover operation also effectively reduces the access times of physical button, be conducive to extending the service life of physical button.
Description
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of double screen changing method and device.
Background technology
With the development of electronic technology, requirement of the user to mobile terminals such as smart mobile phone, panel computers is increasingly
Height, the mobile terminal that dual-screen mobile terminal, i.e. front and the back side are provided with display screen arises at the historic moment.
In the prior art, user is mainly by way of physical button the double screen switching for realizing dual-screen mobile terminal.When
When user wants screen secondary using the back side, physical button can be pressed, when the system real-time detection of dual-screen mobile terminal is pressed to physics
During the signal of key, double screen switching can be performed, for example, when user presses screen locking key, dual-screen mobile terminal can be from back side pair
Screen switches to front main screen.
However, during user uses dual-screen mobile terminal, realizing that double screen switching is present using physical button following
Problem:(1) consider that user needs deliberately to find specified button, and convenience is not good, and mode is more single from the convenience of finger manipulation
One, malfunction;(2) use of physical button increased the cost of hardware research and development, it is necessary to change former dual-screen mobile terminal
The design of hardware configuration.
It follows that how on the basis of the cost for not increasing hardware configuration, user's operating experience is improved, it is double to carry out
The double screen switching for shielding mobile terminal is a need for the problem for solving.
The content of the invention
A kind of double screen changing method and device are the embodiment of the invention provides, it is double for being realized by perceived distance mechanism
The free switching of screen so that user can with the screen of unrestricted choice mobile terminal, meanwhile, non-touch-control handover operation can avoid non-
Artificial maloperation, realizes that the convenient of mobile terminal uses, rather than button handover operation also effectively reduces making for physical button
With number of times, be conducive to extending the service life of physical button.
First aspect present invention provides a kind of double screen changing method, is applied to mobile terminal, it may include:
Obtain the first screen and first and place the distance between thing, mobile terminal includes the first screen and the second screen, the
One screen and the second screen are located at the front and rear relative position of mobile terminal;
Whether judging distance is not more than predetermined threshold value;
If so, the content of the first screen then is switched into the second screen.
With reference to the embodiment of the present invention in a first aspect, the first implementation method of the first aspect in the embodiment of the present invention
In, the method also includes:
Detect that whether the first screen, in bright screen state, detects whether the direction of the first screen meets pre-conditioned;
If the first screen is in bright screen state, and the direction of the first screen meets pre-conditioned, then triggering obtains the first screen
The step of curtain places the distance between thing with first.
With reference to the first implementation method of the first aspect of the embodiment of the present invention, in the first aspect of the embodiment of the present invention
In second implementation method, detect the first screen direction whether meet it is pre-conditioned including:
Detect whether the first screen is placed down using gravity sensor, if, it is determined that the direction of the first screen meets
It is pre-conditioned;Or,
Whether the first screen is detected towards the first placement thing using camera, if, it is determined that the direction of the first screen expires
Foot is pre-conditioned.
With reference to the embodiment of the present invention in a first aspect, the first implementation method or of the first aspect of the embodiment of the present invention
Two kinds of implementation methods, in the third implementation method of the first aspect of the embodiment of the present invention, obtain the first screen and are put with first
The distance between glove includes:
In preset duration, obtain with prefixed time interval gather the first screen and first place thing between statistics away from
From;
Statistical distance is weighted, the first screen and first is obtained and is placed the distance between thing.
With reference to the third implementation method of the first aspect of the embodiment of the present invention, in the first aspect of the embodiment of the present invention
In 4th kind of implementation method, in preset duration, with prefixed time interval obtain the first screen with first placement thing statistics away from
From including:
If the first screen is located at the front of mobile terminal, in preset duration, range sensor is obtained with Preset Time
It is spaced the first screen of collection and the first statistical distance placed between thing;
If the first screen is located at the back side of mobile terminal, in preset duration, laser focusing sensor is obtained with default
Statistical distance between first screen of time interval collection and the first placement thing.
Second aspect present invention provides a kind of double screen switching device, is applied to mobile terminal, it may include:
Acquisition module, the distance between thing is placed for obtaining the first screen and first, and mobile terminal includes the first screen
With the second screen, the first screen and the second screen are located at the front and rear relative position of mobile terminal;
Whether judge module, predetermined threshold value is not more than for judging distance;
Handover module, for when apart from no more than predetermined threshold value, then the content of the first screen being switched into the second screen
Curtain.
With reference to the second aspect of the embodiment of the present invention, in the first implementation method of the second aspect of the embodiment of the present invention
In, device also includes:
First detection module, for detecting whether the first screen is in bright screen state;
Whether the second detection module, the direction for detecting the first screen meets pre-conditioned;
Trigger module, for being in bright screen state when the first screen, and the direction of the first screen is when meeting pre-conditioned, then
Triggering acquisition module obtains the first screen and first and places the distance between thing.
With reference to the first implementation method of the second aspect of the embodiment of the present invention, in the second aspect of the embodiment of the present invention
In the third implementation method, the second detection module, specifically for:
Detect whether the first screen is placed down using gravity sensor, if, it is determined that the direction of the first screen meets
It is pre-conditioned;Or,
Whether the first screen is detected towards the first placement thing using camera, if, it is determined that the direction of the first screen expires
Foot is pre-conditioned.
With reference to the second aspect of the embodiment of the present invention, the first implementation method of the second aspect of the embodiment of the present invention or
Two kinds of implementation methods, in the third implementation method of the second aspect of the embodiment of the present invention, acquisition module, specifically for:
In preset duration, obtain with prefixed time interval gather the first screen and first place thing between statistics away from
From;
Statistical distance is weighted, the first screen and first is obtained and is placed the distance between thing.
With reference to the third implementation method of the second aspect of the embodiment of the present invention, in the second aspect of the embodiment of the present invention
In 4th kind of implementation method, acquisition module, also particularly useful for:
If the first screen is located at the front of mobile terminal, in preset duration, range sensor is obtained with Preset Time
It is spaced the first screen of collection and the first statistical distance placed between thing;
If the first screen is located at the back side of mobile terminal, in preset duration, laser focusing sensor is obtained with default
Statistical distance between first screen of time interval collection and the first placement thing.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
In the present embodiment, mobile terminal can include the first screen and the second screen, when detecting the first screen and first
When placing the distance between thing less than predeterminable range, the content of the first screen can be switched to the second screen, it follows that logical
Crossing distance detection can realize the screens switch of mobile terminal, be conducive to facilitating user to operate with mobile terminal, meanwhile,
This kind of switching mode can be avoided due to the non-artificial maloperation that touch-control handover operation causes, it is also possible to reduce button switching behaviour
The access times of physical button in work, on the cost basis for not increasing hardware configuration, are conducive to extending the use of physical button
Life-span.
Brief description of the drawings
Fig. 1 is double screen changing method one embodiment schematic diagram in the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram of double screen changing method in the embodiment of the present invention;
Fig. 3 is another embodiment schematic diagram of double screen changing method in the embodiment of the present invention;
Fig. 4 is another embodiment schematic diagram of double screen changing method in the embodiment of the present invention;
Fig. 5 is another embodiment schematic diagram of double screen changing method in the embodiment of the present invention;
Fig. 6 is double screen switching device one embodiment schematic diagram in the embodiment of the present invention;
Fig. 7 is another embodiment schematic diagram of double screen switching device in the embodiment of the present invention;
Fig. 8 is user equipment one embodiment schematic diagram in the embodiment of the present invention.
Specific embodiment
A kind of double screen changing method and device are the embodiment of the invention provides, it is double for being realized by perceived distance mechanism
The free switching of screen so that user can with the use screen of unrestricted choice mobile terminal, meanwhile, non-touch-control handover operation can be kept away
Exempt from non-artificial maloperation, realize that the convenient of mobile terminal uses, rather than button handover operation also effectively reduces physical button
Access times, be conducive to extend physical button service life.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only
The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, should all belong to the model of present invention protection
Enclose.
Term " first ", " second ", " the 3rd ", " in description and claims of this specification and above-mentioned accompanying drawing
Four " etc. (if present) is for distinguishing similar object, without for describing specific order or precedence.Should manage
The data that solution is so used can be exchanged in the appropriate case, so that the embodiments described herein can be with except illustrating herein
Or the order beyond the content of description is implemented.Additionally, term " comprising " and " having " and their any deformation, it is intended that
Covering is non-exclusive to be included, for example, the process, method, system, product or the equipment that contain series of steps or unit need not be limited
In those steps or unit for clearly listing, but may include not list clearly or for these processes, method, product
Product or other intrinsic steps of equipment or unit.
In order to be best understood from a kind of double screen changing method disclosed in the embodiment of the present invention, first the embodiment of the present invention is applicable
Mobile terminal is described.Mobile terminal described by the embodiment of the present invention can include any possessing two display screens and logical
The equipment of letter and store function, for example:The smart machines such as panel computer, mobile phone, the mobile terminal can be provided with including following behaviour
Make system:Android, Linux, IOS, Windows etc., mobile terminal can be further fitted with based on installed operating system
Some application programs, the application program can be before mobile terminal is dispatched from the factory pre-install system application, such as mailbox application, set application,
The third-party application that music application, browser application, take pictures application etc., or user oneself install, such as QQ applications, wechat
Using, Alipay application, microblogging application etc., do not limit herein specifically.
For ease of understanding, the idiographic flow in the embodiment of the present invention is described below, refers to Fig. 1, the present invention is real
Double screen changing method one embodiment includes in applying example:
101st, obtain the first screen and first and place the distance between thing;
In the present embodiment, after mobile terminal starts, the first screen and first can be obtained and place the distance between thing, its
In, before mobile terminal can include that the first screen and the second screen, the first screen and the second screen may be located at mobile terminal
Relative position afterwards.
Specifically, the first screen and the second screen can respectively be located at the front and the back side of mobile terminal, wherein, to move
The front (preceding) of dynamic terminal is provided with positive screen.The back side (afterwards) is provided with as a example by secondary screen, if the first screen is located at the front of mobile terminal,
First screen is main screen, and the second screen shields for secondary, if the first screen is located at the back side of mobile terminal, the first screen shields for secondary,
Second screen is main screen.
In actual applications, it is main screen or secondary screen to be not limited to the first screen, that is, the distance for obtaining can be main screen with
First places the distance between the distance between thing, or secondary screen and first placement thing, specifically can switch need according to double screen
Set accordingly, do not limited herein.
In the present embodiment, the first placement thing is the object played a supportive role to mobile terminal, it is preferred that with the second screen phase
Than, can be the object of relatively close first screen, for example, it is assumed that mobile terminal is placed in into desktop, now the second screen is upward
Place, then the first placement thing is desktop, acquisition the distance between is then the first screen with desktop, and for example, it is assumed that user
Hand-held mobile terminal, now the second screen user oriented, then first places the palm that thing can be user, acquisition is then the
The distance between one screen and palm.
102nd, whether judging distance is not more than predetermined threshold value, if so, step 103 is then performed, if it is not, then performing step 104;
In the present embodiment, after obtaining the distance between the first screen and first placement thing, it can be determined that whether distance is little
In predetermined threshold value.
Specifically, predetermined threshold value can be pre-set in mobile terminal, as the criterion of distance, by distance with
The comparing of predetermined threshold value, can estimate the first screen and the first location status placed between thing, and then can determine the first screen
Between curtain and user towards state, it is possible in the case of the setting that distance meets predetermined threshold value, the first screen can be triggered
With the switching between the second screen.
In the present embodiment, the predetermined threshold value can be based on service by user's sets itself, or by mobile terminal
The data statistics of device is set, and can also be that mobile terminal is set before dispatching from the factory, and is not limited herein.
103rd, the content of the first screen is switched into the second screen;
In the present embodiment, if judging distance is not more than predetermined threshold value, the content of the first screen can be switched to second
Screen.
Specifically, in the case that the distance between the first screen and the first placement thing is not more than predetermined threshold value, illustrating the
One screen user friendly cannot check in the display of mobile terminal, then the content of screen can be switched into the second screen,
So that the content of the first screen can be shown in the second screen.For example, it is assumed that user's hand-held mobile terminal, if first
The distance between centre of the palm of screen and user is not more than predetermined threshold value, then illustrate the second screen user oriented, the first screen
Content effectively shown without normal direction user or so that user carries out corresponding operation readiness, then meet the first screen in distance
Under switching condition between curtain and the second screen, the content of the first screen can be switched to the second screen, to facilitate user certainly
By carrying out screen selection.
104th, other flows are performed.
In the present embodiment, if judging, the first screen and first places the distance between thing more than predetermined threshold value, it is meant that do not have
The need for having the content switching of the first screen only the second screen, then other operations can not be carried out so that mobile terminal keeps
Current screen display state.In actual applications, it is also possible to perform other operations, do not limit herein.
In the present embodiment, by the use of perceived distance mechanism, can be between the first screen and first place thing away from
During from no more than predetermined threshold value, the content of the first screen is switched into the second screen, increased the convenience of user's operation, be not required to
Hardware development cost is advantageously reduced by the triggering of physical button, improve the service life of physical button.
It is understood that in actual applications, in order to avoid causing unnecessary double screen to switch, can switch to double screen
Prerequisite be any limitation as, refer to Fig. 2, another embodiment of double screen changing method includes in the embodiment of the present invention:
201st, whether the first screen of detection is in bright screen state, if so, step 202 is then performed, if it is not, then performing step
206;
In the present embodiment, the situation that the first screen may be needed to use can be subject to by the bright screen state of the first screen
Judge, then after mobile terminal startup, whether the first screen can be detected in bright screen state.
Specifically, the display screen of mobile terminal can have bright screen state and black state point, wherein, bright screen state with
Black state is two kinds of antipodal dispaly states.Under normal conditions, because user shows using during mobile terminal
Display screen curtain is bright screen state, then can estimate whether the first screen is expected to use by the detection of bright screen state.
It is understood that the first screen of mobile terminal is bright screen state in the present embodiment, it is not equivalent to mobile whole
It is non-locking state to hold, for example, it is assumed that mobile terminal is provided with unlocking pin, then when user is input into unlocking pin in mobile terminal
When, now the screen of mobile terminal can be bright screen state, but is not input into completely or in the case of input error in unlocking pin,
Mobile terminal is still in lock-out state.
202nd, whether the direction of the first screen of detection meets pre-conditioned, if so, step 203 is then performed, if it is not, then performing
Step 206;
In the present embodiment, if the first screen of detection is in bright screen state, the direction of the first screen can be further detected
Whether meet pre-conditioned.
In the present embodiment, detect whether the direction of the first screen meets pre-conditioned concrete mode and can be:
Detect whether the first screen is placed down using gravity sensor, if, it is determined that the direction of the first screen meets
It is pre-conditioned;Or,
Whether the first screen is detected towards the first placement thing using camera, if, it is determined that the direction of the first screen expires
Foot is pre-conditioned.
Specifically, illustrated by taking user's hand-held mobile terminal as an example, if the first screen user oriented, then user can be with
Freely check that the interior of the first screen is perhaps operated accordingly to the first mobile terminal, even if then the first screen be in it is bright
In the case of screen state, it is also possible to do not carry out the handover operation of the first screen, if the first screen not user oriented, then Yong Huwu
Method checks the content of the first screen, cannot also perform the operation of correlation, then in the case where the first screen is in bright screen state, can
To carry out the handover operation of the first screen.Based on described above, on the one hand, can detect that the first screen is by gravity sensor
No to place down, i.e., whether gravity direction points to the first screen, if gravity direction points to the first screen, illustrates the first screen court
Lower placement, and the first screen not user oriented, conversely, then illustrating the first screen not user oriented.On the other hand, can be by taking the photograph
As whether head detects the first screen towards the first placement thing, wherein, camera may be located at the same of mobile terminal with the first screen
One physical surface, camera has the first placement thing in the on state, if detecting and shooting with video-corder region, it is considered that the first screen cover
Thing is placed to first, without user oriented, conversely, then illustrating the first screen not towards the first placement thing, and user oriented.
It is understood that the present embodiment only illustrates whether the direction for detecting the first screen meets with above-mentioned two example
Pre-conditioned concrete mode, in actual applications, it would however also be possible to employ other manner, as long as can determine the direction of the first screen
Whether meet pre-conditioned, do not limit herein specifically.
It should be noted that the step 201 in the present embodiment can also be performed with step 202 simultaneously, it is also possible to first carry out
Step 202, then step 201 is performed, do not limit herein.
Step 203 in the present embodiment is identical with the step 101 in embodiment illustrated in fig. 1, and here is omitted.
204th, whether judging distance is not more than predetermined threshold value, if so, step 205 is then performed, if it is not, then performing step 206;
Step 204 in the present embodiment is identical to step 103 with the step 102 in embodiment illustrated in fig. 1 to step 205,
Here is omitted.
206th, other flows are performed.
In the present embodiment, if the first screen of detection is not at bright screen state, it is meant that do not cut the content of the first screen
The need for shifting to the second screen, then other operations can not be carried out so that mobile terminal keeps current screen display state.
In practical application herein, it is also possible to perform other operations, do not limit.
In the present embodiment, if detection the first screen direction be unsatisfactory for it is pre-conditioned, it is meant that not by the first screen
The need for content switches to the second screen, then other operations can not be carried out so that mobile terminal keeps current screen display
State.In actual applications, it is also possible to perform other operations, do not limit herein.
In the present embodiment, if judging, the first screen and first places the distance between thing more than predetermined threshold value, it is meant that do not have
Have the need for the content of the first screen is switched into the second screen, then can not carry out other operations so that mobile terminal keeps
Current screen display state.In actual applications, it is also possible to perform other operations, do not limit herein.
It is understood that in the present embodiment, the first screen direction be unsatisfactory for it is pre-conditioned in the case of, can be anti-
To explanation the second screen direction meet pre-conditioned, and due to limiting the first screen in this implementation as mobile terminal in not towards
The display screen of the one side of user, then the direction actually in the first screen be unsatisfactory for it is pre-conditioned in the case of, can be to
Two screens are detected that now the second screen is the first screen accordingly.
Beneficial effect based on embodiment illustrated in fig. 1, in the present embodiment, for the first screen content to the second screen
Switching condition is limited, i.e., in the case that the distance between the first screen and the first placement thing is not more than predetermined threshold value,
First screen should be at bright screen state and not user oriented, such that it is able to estimate whether the first screen needs to switch over, to keep away
Exempt to have carried out screens switch and caused the generation of the bad phenomenon of Consumer's Experience when user need not carry out screens switch.
On the basis of embodiment illustrated in fig. 2, if the first screen and the second screen are the display screen that mobile terminal is fixed,
The main screen or pair with step 101 explanation in specific physical location, i.e. embodiment illustrated in fig. 1 are shielded, then in reality
During use, in the case where the first screen is unsatisfactory for handover operation, the second screen can accordingly be detected, with reality
The content of existing second screen switches to the first screen, is main screen with the first screen, and the second screen, please to be illustrated as a example by secondary screen
Refering to Fig. 3, another embodiment of double screen changing method includes in the embodiment of the present invention:
301st, whether the direction of detection main screen meets pre-conditioned, if so, step 302 is then performed, if it is not, then performing step
306;
302nd, whether detection main screen is in bright screen state, if so, step 303 is then performed, if it is not, then performing step 310;
303rd, obtain main screen and place the distance between thing with first;
304th, detection main screen places whether the distance between thing is not more than predetermined threshold value with first, if so, then performing step
305, if it is not, then performing step 310;
305th, the content of main screen is switched into secondary screen;
Based on the content of the step 201 in embodiment illustrated in fig. 2 to 205 explanations, step 301 in the present embodiment to step
305, in addition to the first screen is defined to main screen, other parts content is identical, and here is omitted.
306th, detect whether secondary screen is in bright screen state, if so, step 307 is then performed, if it is not, then performing step 310;
In the present embodiment, if the direction of main screen is unsatisfactory for pre-conditioned, illustrate main screen user oriented, pair screen not towards with
Whether family, then can detect secondary screen in bright screen state.
307th, obtain secondary screen and place the distance between thing with first;
308th, detect that secondary screen places whether the distance between thing is not more than predetermined threshold value with first, if so, then performing step
309, if it is not, then performing step 310;
309th, the content of secondary screen is switched into main screen;
In the present embodiment, if the direction of main screen is unsatisfactory for pre-conditioned, illustrate main screen user oriented, pair screen not towards with
Whether family, then can detect secondary screen in bright screen state.
Based on the content of the step 201 in embodiment illustrated in fig. 2 to 205 explanations, step 306 in the present embodiment to step
308, except the first screen is defined to main screen, the second screen is defined to secondary screen, and the second screen direction meet it is pre-conditioned outside,
Other parts content is identical, and here is omitted.
310th, other flows are performed.
In the present embodiment, if the direction of main screen meet it is pre-conditioned in the case of be bright screen state, it is meant that do not have
The need for the content of main screen is switched into secondary screen, then other operations can not be carried out so that mobile terminal keeps current screen
Dispaly state.In actual applications, it is also possible to perform other operations, do not limit herein.
In the present embodiment, if judging, main screen places the distance between thing more than predetermined threshold value with first, it is meant that without will
The need for the content of main screen switches to secondary screen, then other operations can not be carried out so that the screen that mobile terminal keeps current shows
Show state.In actual applications, it is also possible to perform other operations, do not limit herein.
In the present embodiment, if the direction of secondary screen meet it is pre-conditioned in the case of be not bright screen state, it is meant that do not have
The need for the content of secondary screen is switched into main screen, then other operations can not be carried out so that mobile terminal keeps current screen
Dispaly state.In actual applications, it is also possible to perform other operations, do not limit herein.
In the present embodiment, if judging, secondary screen places the distance between thing and is more than predetermined threshold value with first, it is meant that without will
The need for the content of pair screen switches to main screen, then other operations can not be carried out so that the screen that mobile terminal keeps current shows
Show state.In actual applications, it is also possible to perform other operations, do not limit herein.
Beneficial effect based on Fig. 1 and embodiment illustrated in fig. 2, the present embodiment is with the first screen and the second screen as mobile whole
It is illustrated as a example by specific physical screen in end, to reach the purpose for detecting double screen, is conducive to preventing double
Shield the omission phenomenon of switching.
On the basis of embodiment illustrated in fig. 3, it is to be understood that in actual applications, according to the first screen and second
Screen specific physical location in the terminal, can be provided with different sensors carry out the first screen and first place thing it
Between distance collection, illustrate separately below:
Fig. 4 is referred to, another embodiment of double screen changing method includes in the embodiment of the present invention:
401st, whether the first screen of detection is in bright screen state, if so, step 402 is then performed, if it is not, then performing step
407;
402nd, whether the direction of the first screen of detection meets pre-conditioned, if so, step 403 is then performed, if it is not, then performing
Step 407;
Step 401 in the present embodiment is identical to step 202 with the step 201 in embodiment illustrated in fig. 2 to step 402,
Here is omitted.
If the 403, the first screen is located at the front of mobile terminal, in preset duration, range sensor is obtained with default
Statistical distance between first screen of time interval collection and the first placement thing;
In the present embodiment, bright screen state is in when the first screen is detected, and the direction of the first screen meets pre-conditioned
When, if the first screen is located at the front of mobile terminal, range sensor can be obtained between Preset Time in preset duration
Statistical distance between the first screen of collection and first place thing.
Specifically, preset duration and prefixed time interval can be configured in advance, to obtain effective statistical distance,
And effective double screen handover operation is carried out to mobile terminal, in actual applications, when the first screen is located at the front of mobile terminal
When, in order to be conducive to obtaining the statistical distance between the first screen and the first placement thing, can be provided with the front of mobile terminal
Range sensor, so as to the first screen be in bright screen state and its towards meet pre-conditioned when, can in preset duration,
The statistical distance between the first screen and the first placement thing is gathered with prefixed time interval using range sensor, it is possible to adopting
Collection obtains statistical distance after terminating.For example, in the preset duration of 1 second, the first screen is gathered with the prefixed time interval of 0.01 second
Statistical distance between curtain and the first placement thing, it is hereby achieved that 10 statistical distances.
Specifically, range sensor can by launch especially short light pulse, and obtain this light pulse for measuring from
The time reflected by the first placement thing is transmitted into, can then estimate that the first screen is put with first by surveying time interval
The distance between glove.
It should be noted that preset duration and prefixed time interval in the present embodiment can by user's sets itself,
Can also be that the data statistics for being based on server by mobile terminal is set, can also be that mobile terminal is set before dispatching from the factory
It is fixed, do not limit herein.
404th, statistical distance is weighted, obtains the first screen and first and place the distance between thing;
In the present embodiment, after getting the statistical distance between the first screen and the first placement thing, can be to statistical distance
It is weighted, obtains the first screen and first and place the distance of thing.
Specifically, after the statistical distance in preset duration is got, can be recorded to statistical distance, further
, statistical distance can be weighted, obtain the first screen and first and place the distance between thing, for example, it is assumed that away from
From being average distance, if the statistical distance got in preset duration is d1, d2, d3, d4, d5, can calculate d1, d2,
The average value of d3, d4, d5 is that the first screen and first place the distance between thing.
It is understood that the first screen and first places the distance between thing putting down except described above in the present embodiment
Equal distance, in actual applications, or other weighted calculation values, does not limit specifically herein.
405th, whether judging distance is not more than predetermined threshold value, if so, step 406 is then performed, if it is not, then performing step 407;
Step 405 in the present embodiment is identical to step 103 with the step 102 in embodiment illustrated in fig. 1 to step 406,
Here is omitted.
Step 407 in the present embodiment is identical with the step 206 in embodiment illustrated in fig. 2, and here is omitted.
Fig. 5 is referred to, another embodiment of double screen changing method includes in the embodiment of the present invention:
Step 501 in the present embodiment is identical to step 402 with the step 401 in embodiment illustrated in fig. 4 to step 502,
Here is omitted.
If the 503, the first screen be located at mobile terminal the back side, in preset duration, obtain laser focusing sensor with
Statistical distance between first screen of prefixed time interval collection and the first placement thing;
In the present embodiment, bright screen state is in when the first screen is detected, and the direction of the first screen meets pre-conditioned
When, if the first screen is located at the back side of mobile terminal, can be in preset duration, when obtaining laser focusing sensor to preset
Between be spaced the first screen of collection and first place thing between statistical distance.
Based on the partial content of step 403 explanation in embodiment illustrated in fig. 4, in actual applications, the back side of mobile terminal
Rear camera is typically provided with, to meet the shooting needs of user, the side of the rear camera can focus equipped with laser
Sensor, to realize the raising of the focusing speed of mobile terminal, while with distance measurement function.When the first screen is located at movement eventually
During the back side at end, due to the setting of rear camera, the first screen may be located at the same thing of mobile terminal with laser sensor
Reason face, then can focus sensor with prefixed time interval the first screen of collection and the first placement in preset duration by laser
Statistical distance between thing, it is possible to obtain statistical distance after collection terminates.
Specifically, laser focusing sensor can be made up of two parts:Generating laser and photon inductive pick-up.Substantially
Principle is:Laser transmitter projects photon, will reflect after photon collision to the first width places thing, photon sensing sensing
The photon that device is fired back, then be issued to by calculating photon the time of reception can estimate the first screen and first place thing it
Between distance.
Step 504 in the present embodiment is identical to step 407 with the step 404 in embodiment illustrated in fig. 4 to step 507,
Here is omitted.
Embodiment illustrated in fig. 4 and embodiment illustrated in fig. 5 specific physical location respectively with regard to the first screen in the terminal
When, obtained with first placement the distance between thing and be illustrated, be conducive to abundant mobile terminal in different usage scenarios
The mode of distance is obtained, is also beneficial to that mobile terminal is based on to need to carry out different hardware designs.
The double screen changing method in the embodiment of the present invention is described above, below to the embodiment of the present invention in it is double
Screen switching device is described, and the double screen switching device can apply to mobile terminal, Fig. 6 be referred to, in the embodiment of the present invention
Double screen switching device one embodiment includes:
Acquisition module 601, the distance between thing is placed for obtaining the first screen and first, and mobile terminal includes the first screen
Curtain and the second screen, the first screen and the second screen are located at the front and rear relative position of mobile terminal;
Whether judge module 602, predetermined threshold value is not more than for judging distance;
Handover module 603, for when apart from no more than predetermined threshold value, then the content of the first screen being switched into institute second
Screen.
Optionally, in some embodiments of the invention, acquisition module 601, can be specifically for:
In preset duration, obtain with prefixed time interval gather the first screen and first place thing between statistics away from
From;
Statistical distance is weighted, the first screen and first is obtained and is placed the distance between thing.
Based on illustrating for above-mentioned acquisition module 601, optionally, in some embodiments of the invention, acquisition module
601, can also further specifically for:
If the first screen is located at the front of mobile terminal, in preset duration, range sensor is obtained with Preset Time
It is spaced the first screen of collection and the first statistical distance placed between thing;
If the first screen is located at the back side of mobile terminal, in preset duration, laser focusing sensor is obtained with default
Statistical distance between first screen of time interval collection and the first placement thing.
Optionally, in some embodiments of the invention, on the basis of shown in above-mentioned Fig. 6, Fig. 6 is referred to, the present invention
Another embodiment of double screen switching device may include in embodiment:
First detection module 604, for detecting whether the first screen is in bright screen state;
Whether the second detection module 605, the direction for detecting the first screen meets pre-conditioned;
Trigger module 606, for being in bright screen state when the first screen, and the direction of the first screen meets pre-conditioned
When, then trigger acquisition module 601 and obtain the distance between the first screen and first placement thing.
Optionally, in some embodiments of the invention, the second detection module 605, can be specifically for:
Detect whether the first screen is placed down using gravity sensor, if, it is determined that the direction of the first screen meets
It is pre-conditioned;Or,
Whether the first screen is detected towards the first placement thing using camera, if, it is determined that the direction of the first screen expires
Foot is pre-conditioned.
The angle of slave module functional entity is described to the double screen switching device in the embodiment of the present invention above, below
The user equipment in the embodiment of the present invention is described from the angle of hardware handles, refers to Fig. 8, used in the embodiment of the present invention
Family equipment one embodiment includes:
Processor 701 and memory 702;
Memory 702 is used for store instruction, and processor 701 is used to perform store instruction, and store instruction is by processor 701
During execution, user equipment is set to perform following function:
Obtain the first screen and first and place the distance between thing, mobile terminal includes the first screen and the second screen, the
One screen and the second screen are located at the front and rear relative position of mobile terminal;
Whether judging distance is not more than predetermined threshold value;
If so, the content of the first screen then is switched into the second screen.
In some embodiments of the invention, store instruction makes user equipment also perform such as when being performed by processor 701
Lower function:
Detect that whether the first screen, in bright screen state, detects whether the direction of the first screen meets pre-conditioned;
If the first screen is in bright screen state, and the direction of the first screen meets pre-conditioned, then triggering obtains the first screen
The step of curtain places the distance between thing with first.
In some embodiments of the invention, store instruction makes user equipment also perform such as when being performed by processor 701
Lower function:
Detect whether the first screen is placed down using the first gravity sensor, if, it is determined that the direction of the first screen
Meet pre-conditioned;Or,
Whether the first screen is detected towards the first placement thing using camera, if, it is determined that the direction of the first screen expires
Foot is pre-conditioned.
In some embodiments of the invention, store instruction makes user equipment also perform such as when being performed by processor 701
Lower function:
In preset duration, obtain with prefixed time interval gather the first screen and first place thing between statistics away from
From;
Statistical distance is weighted, the first screen and first is obtained and is placed the distance between thing
In some embodiments of the invention, store instruction makes user equipment also perform such as when being performed by processor 701
Lower function:
If the first screen is located at the front of mobile terminal, in preset duration, range sensor is obtained with Preset Time
It is spaced the first screen of collection and the first statistical distance placed between thing;
If the first screen is located at the back side of mobile terminal, in preset duration, laser focusing sensor is obtained with default
Statistical distance between first screen of time interval collection and the first placement thing.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the unit
Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, for example multiple units or component
Can combine or be desirably integrated into another system, or some features can be ignored, or do not perform.It is another, it is shown or
The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings of device or unit by some interfaces
Close or communicate to connect, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme
's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is to realize in the form of SFU software functional unit and as independent production marketing or use
When, can store in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part for being contributed to prior art in other words or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are used to so that a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, RandomAccess Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to preceding
Embodiment is stated to be described in detail the present invention, it will be understood by those within the art that:It still can be to preceding
State the technical scheme described in each embodiment to modify, or equivalent is carried out to which part technical characteristic;And these
Modification is replaced, and does not make the spirit and scope of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution.
Claims (10)
1. a kind of double screen changing method, is applied to mobile terminal, it is characterised in that including:
Obtain the first screen and first and place the distance between thing, the mobile terminal includes first screen and the second screen
Curtain, first screen and second screen are located at the front and rear relative position of the mobile terminal;
Judge whether the distance is not more than predetermined threshold value;
If so, the content of first screen then is switched into second screen.
2. double screen changing method according to claim 1, it is characterised in that methods described also includes:
Detect that whether first screen, in bright screen state, detects whether the direction of first screen meets pre-conditioned;
If first screen is in the bright screen state, and the direction of first screen meets pre-conditioned, then triggering is obtained
The step of taking the distance between the first screen and first placement thing.
3. double screen changing method according to claim 2, it is characterised in that the direction of detection first screen is
It is no meet it is pre-conditioned including:
Detect whether first screen is placed down using the first gravity sensor, if, it is determined that first screen
Direction meets pre-conditioned;Or,
Whether first screen is detected towards the described first placement thing using camera, if, it is determined that first screen
Direction meet pre-conditioned.
4. double screen changing method according to any one of claim 1 to 3, it is characterised in that the screen of the acquisition first
Placing the distance between thing with first includes:
In preset duration, obtain with prefixed time interval gather first screen and first place thing between statistics away from
From;
The statistical distance is weighted, first screen is obtained and is placed the distance between thing with described first.
5. double screen changing method according to claim 4, it is characterised in that described in preset duration, obtains with default
First screen of time interval collection includes with the statistical distance of the first placement thing:
If first screen is located at the front of the mobile terminal, in preset duration, range sensor is obtained with default
Statistical distance between first screen of time interval collection and the first placement thing;
If first screen be located at the mobile terminal the back side, in preset duration, obtain laser focusing sensor with
Statistical distance between first screen of prefixed time interval collection and the first placement thing.
6. a kind of double screen switching device, is applied to mobile terminal, it is characterised in that including:
Acquisition module, the distance between thing is placed for obtaining the first screen and first, and the mobile terminal includes described first
Screen and the second screen, first screen and second screen are located at the front and rear relative position of the mobile terminal;
Judge module, for judging whether the distance is not more than predetermined threshold value;
Handover module, for when the distance is not more than the predetermined threshold value, then switching to the content of first screen
Second screen.
7. double screen switching device according to claim 6, it is characterised in that described device also includes:
First detection module, for detecting first screen whether in bright screen state;
Whether the second detection module, the direction for detecting first screen meets pre-conditioned;
Trigger module, for being in the bright screen state when first screen, and the direction of first screen meets default
During condition, then trigger acquisition module and obtain the distance between the first screen and first placement thing.
8. double screen switching device according to claim 7, it is characterised in that second detection module, specifically for:
Detect whether first screen is placed down using gravity sensor, if, it is determined that the direction of first screen
Meet pre-conditioned;Or,
Whether first screen is detected towards the described first placement thing using camera, if, it is determined that first screen
Direction meet pre-conditioned.
9. the double screen switching device according to any one of claim 6 to 8, it is characterised in that the acquisition module, specifically
For:
In preset duration, obtain with prefixed time interval gather first screen and first place thing between statistics away from
From;
The statistical distance is weighted, first screen is obtained and is placed the distance between thing with described first.
10. double screen switching device according to claim 9, it is characterised in that the acquisition module, also particularly useful for:
If first screen is located at the front of the mobile terminal, in preset duration, range sensor is obtained with default
Statistical distance between first screen of time interval collection and the first placement thing;
If first screen be located at the mobile terminal the back side, in preset duration, obtain laser focusing sensor with
Statistical distance between first screen of prefixed time interval collection and the first placement thing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611218432.5A CN106775536B (en) | 2016-12-26 | 2016-12-26 | Double-screen switching method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611218432.5A CN106775536B (en) | 2016-12-26 | 2016-12-26 | Double-screen switching method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106775536A true CN106775536A (en) | 2017-05-31 |
CN106775536B CN106775536B (en) | 2020-07-03 |
Family
ID=58926119
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611218432.5A Active CN106775536B (en) | 2016-12-26 | 2016-12-26 | Double-screen switching method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106775536B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107436744A (en) * | 2017-08-02 | 2017-12-05 | 合肥红铭网络科技有限公司 | A kind of computer multi-screen switching device and its method |
CN108170394A (en) * | 2017-12-28 | 2018-06-15 | 努比亚技术有限公司 | A kind of double-sided screen terminal and its control method |
CN108234773A (en) * | 2018-01-29 | 2018-06-29 | 努比亚技术有限公司 | A kind of switching method of double-sided screen, terminal and storage medium |
CN108234748A (en) * | 2017-11-30 | 2018-06-29 | 努比亚技术有限公司 | A kind of terminal display screen management method, terminal and computer readable storage medium |
CN108377298A (en) * | 2018-02-07 | 2018-08-07 | 广东欧珀移动通信有限公司 | A kind of method, apparatus and computer readable storage medium of switching answer mode |
CN108628568A (en) * | 2018-05-14 | 2018-10-09 | 维沃移动通信有限公司 | A kind of display methods of information, device and terminal device |
CN108769766A (en) * | 2018-06-29 | 2018-11-06 | 维沃移动通信有限公司 | A kind of video playing control method and terminal device |
CN109885153A (en) * | 2019-01-30 | 2019-06-14 | 东莞市步步高通信软件有限公司 | A kind of screen control method and mobile terminal |
CN109922202A (en) * | 2017-12-11 | 2019-06-21 | 北京小米移动软件有限公司 | Screen control method and device, readable storage medium storing program for executing, electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101751209A (en) * | 2008-11-28 | 2010-06-23 | 联想(北京)有限公司 | Method and computer for adjusting screen display element |
CN102917124A (en) * | 2012-09-27 | 2013-02-06 | 东莞宇龙通信科技有限公司 | Method for dynamically adjusting threshold of distance sensor, and mobile terminal |
CN102957801A (en) * | 2012-11-14 | 2013-03-06 | 深圳市金立通信设备有限公司 | Method and device for switching screens of symmetrical double-screen mobile terminal |
US20130249873A1 (en) * | 2012-03-26 | 2013-09-26 | Lenovo (Beijing) Co., Ltd. | Display Method and Electronic Device |
CN105468133A (en) * | 2014-08-25 | 2016-04-06 | 中兴通讯股份有限公司 | Touch processing method and device |
CN106168891A (en) * | 2016-06-30 | 2016-11-30 | 努比亚技术有限公司 | Screen content switching device, double screen terminal and screen content changing method |
-
2016
- 2016-12-26 CN CN201611218432.5A patent/CN106775536B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101751209A (en) * | 2008-11-28 | 2010-06-23 | 联想(北京)有限公司 | Method and computer for adjusting screen display element |
US20130249873A1 (en) * | 2012-03-26 | 2013-09-26 | Lenovo (Beijing) Co., Ltd. | Display Method and Electronic Device |
CN102917124A (en) * | 2012-09-27 | 2013-02-06 | 东莞宇龙通信科技有限公司 | Method for dynamically adjusting threshold of distance sensor, and mobile terminal |
CN102957801A (en) * | 2012-11-14 | 2013-03-06 | 深圳市金立通信设备有限公司 | Method and device for switching screens of symmetrical double-screen mobile terminal |
CN105468133A (en) * | 2014-08-25 | 2016-04-06 | 中兴通讯股份有限公司 | Touch processing method and device |
CN106168891A (en) * | 2016-06-30 | 2016-11-30 | 努比亚技术有限公司 | Screen content switching device, double screen terminal and screen content changing method |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107436744A (en) * | 2017-08-02 | 2017-12-05 | 合肥红铭网络科技有限公司 | A kind of computer multi-screen switching device and its method |
CN108234748A (en) * | 2017-11-30 | 2018-06-29 | 努比亚技术有限公司 | A kind of terminal display screen management method, terminal and computer readable storage medium |
CN109922202A (en) * | 2017-12-11 | 2019-06-21 | 北京小米移动软件有限公司 | Screen control method and device, readable storage medium storing program for executing, electronic equipment |
CN108170394A (en) * | 2017-12-28 | 2018-06-15 | 努比亚技术有限公司 | A kind of double-sided screen terminal and its control method |
CN108234773A (en) * | 2018-01-29 | 2018-06-29 | 努比亚技术有限公司 | A kind of switching method of double-sided screen, terminal and storage medium |
CN108377298A (en) * | 2018-02-07 | 2018-08-07 | 广东欧珀移动通信有限公司 | A kind of method, apparatus and computer readable storage medium of switching answer mode |
CN108377298B (en) * | 2018-02-07 | 2020-09-25 | Oppo广东移动通信有限公司 | Method and device for switching answering mode, mobile terminal and computer readable storage medium |
CN108628568A (en) * | 2018-05-14 | 2018-10-09 | 维沃移动通信有限公司 | A kind of display methods of information, device and terminal device |
CN108769766A (en) * | 2018-06-29 | 2018-11-06 | 维沃移动通信有限公司 | A kind of video playing control method and terminal device |
CN108769766B (en) * | 2018-06-29 | 2020-09-22 | 维沃移动通信有限公司 | Video playing control method and terminal equipment |
CN109885153A (en) * | 2019-01-30 | 2019-06-14 | 东莞市步步高通信软件有限公司 | A kind of screen control method and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106775536B (en) | 2020-07-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106775536A (en) | A kind of double screen changing method and device | |
CN103984885B (en) | Application program hiding method applied to touch screen terminal and touch screen terminal | |
JP6790259B2 (en) | Methods and terminals to prevent accidental touches | |
CN104571693B (en) | Information processing method and electronic equipment | |
CN104460987B (en) | The electronic equipment that can be manipulated by Non-contact gesture | |
CN104462907B (en) | Solve lock control method and device, electronic equipment | |
US20130100044A1 (en) | Method for Detecting Wake Conditions of a Portable Electronic Device | |
CN104615374B (en) | The method and device that terminal is entered the operating instructions | |
CN106886766B (en) | A kind of fingerprint identification method, fingerprint recognition circuit and mobile terminal | |
US9965086B2 (en) | Method for enabling function module of terminal, and terminal device | |
CN104866225A (en) | Electronic device having touch display screen and control method therefor | |
CN109074216A (en) | A kind of method of toch control and device | |
CN103139389A (en) | Method of preventing wrong operation for mobile terminal and mobile terminal | |
CN105607853B (en) | A kind of information processing method and electronic equipment | |
CN103713731A (en) | Electronic device and method for controlling same | |
CN105893130B (en) | A kind of processing method and mobile terminal of application program for mobile terminal | |
CN105607843A (en) | Method and device for controlling terminal on the basis of gesture | |
CN107016337A (en) | A kind of fingerprint identification method and mobile terminal | |
CN102855068A (en) | Interface operation control method and device and electronic equipment | |
CN104657689A (en) | Touch screen operation control method and touch screen operation control device for mobile terminal | |
CN108984092A (en) | Apparatus control method, device, storage medium and electronic equipment | |
CN110244894A (en) | A kind of control method of screen locking, device, handheld terminal and storage medium | |
CN107422970B (en) | A kind of unlocking method and mobile terminal | |
CN109614787A (en) | Solve lock control method, device, mobile terminal and storage medium | |
CN109634450A (en) | False-touch prevention detection method, device and terminal |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |