CN106775536B - Double-screen switching method and device - Google Patents

Double-screen switching method and device Download PDF

Info

Publication number
CN106775536B
CN106775536B CN201611218432.5A CN201611218432A CN106775536B CN 106775536 B CN106775536 B CN 106775536B CN 201611218432 A CN201611218432 A CN 201611218432A CN 106775536 B CN106775536 B CN 106775536B
Authority
CN
China
Prior art keywords
screen
distance
mobile terminal
preset time
orientation
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.)
Active
Application number
CN201611218432.5A
Other languages
Chinese (zh)
Other versions
CN106775536A (en
Inventor
黄鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201611218432.5A priority Critical patent/CN106775536B/en
Publication of CN106775536A publication Critical patent/CN106775536A/en
Application granted granted Critical
Publication of CN106775536B publication Critical patent/CN106775536B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital 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

Abstract

The embodiment of the invention discloses a double-screen switching method which is used for realizing double-screen switching of a mobile terminal through a distance sensing mechanism. The method provided by the embodiment of the invention comprises the following steps: the method comprises the steps that the distance between a first screen and a first placing object is obtained, the mobile terminal comprises the first screen and a second screen, and the first screen and the second screen are located at front and back opposite positions of the mobile terminal; judging whether the distance is not greater than a preset threshold value; if so, the content of the first screen is switched to the second screen. The embodiment of the invention also provides a double-screen switching device, so that a user can freely select a screen of the mobile terminal, meanwhile, non-touch switching operation can avoid non-artificial misoperation, the mobile terminal is convenient to use, the number of times of using physical keys is effectively reduced due to the non-key switching operation, and the service life of the physical keys is prolonged.

Description

Double-screen switching method and device
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a double-screen switching method and a double-screen switching device.
Background
With the development of electronic technology, users have higher and higher requirements on mobile terminals such as smart phones and tablet computers, and dual-screen mobile terminals, that is, mobile terminals with display screens on the front and back sides, have come into force.
In the prior art, a user mainly realizes double-screen switching of a double-screen mobile terminal in a physical key mode. When a user wants to use the back side auxiliary screen, the physical keys can be pressed, and when a system of the dual-screen mobile terminal detects signals of the physical keys in real time, dual-screen switching can be performed, for example, when the user presses the screen locking key, the dual-screen mobile terminal can be switched from the back side auxiliary screen to the front side main screen.
However, in the process of using the dual-screen mobile terminal by the user, the following problems exist in the implementation of the dual-screen switching by using the physical keys: (1) in consideration of convenience of finger operation, a user needs to search for an appointed key deliberately, so that the convenience is poor, the mode is single, and the operation is not flexible; (2) the use of physical keys increases the cost of hardware development, and the design of the hardware structure of the original double-screen mobile terminal needs to be changed.
Therefore, how to improve the operation experience of the user on the basis of not increasing the cost of a hardware structure to perform the double-screen switching of the double-screen mobile terminal is a necessary problem to be solved.
Disclosure of Invention
The embodiment of the invention provides a double-screen switching method and a double-screen switching device, which are used for realizing the free switching of double screens through a distance sensing mechanism, so that a user can freely select a screen of a mobile terminal, meanwhile, non-touch switching operation can avoid non-artificial misoperation, the convenient use of the mobile terminal is realized, the number of times of using physical keys is effectively reduced due to the non-key switching operation, and the service life of the physical keys is prolonged.
The first aspect of the present invention provides a dual-screen switching method, which is applied to a mobile terminal, and may include:
the method comprises the steps that the distance between a first screen and a first placing object is obtained, the mobile terminal comprises the first screen and a second screen, and the first screen and the second screen are located at front and back opposite positions of the mobile terminal;
judging whether the distance is not greater than a preset threshold value;
if so, the content of the first screen is switched to the second screen.
With reference to the first aspect of the embodiments, in a first implementation manner of the first aspect of the embodiments, the method further includes:
detecting whether the first screen is in a bright screen state or not, and detecting whether the orientation of the first screen meets a preset condition or not;
and if the first screen is in a bright screen state and the orientation of the first screen meets a preset condition, triggering to acquire the distance between the first screen and the first placed object.
With reference to the first implementation manner of the first aspect of the embodiment of the present invention, in a second implementation manner of the first aspect of the embodiment of the present invention, the detecting whether the orientation of the first screen satisfies the preset condition includes:
detecting whether the first screen is placed downwards by using a gravity sensor, and if so, determining that the orientation of the first screen meets a preset condition; or the like, or, alternatively,
whether the first screen faces the first placed object or not is detected by the camera, and if yes, the orientation of the first screen is determined to meet a preset condition.
With reference to the first aspect of the embodiment of the present invention, which is the first implementation manner or the second implementation manner of the first aspect of the embodiment of the present invention, in a third implementation manner of the first aspect of the embodiment of the present invention, the acquiring a distance between the first screen and the first placement includes:
within a preset time length, acquiring a statistical distance between a first screen and a first placed object, wherein the statistical distance is acquired at preset time intervals;
and performing weighted calculation on the statistical distance to obtain the distance between the first screen and the first placed object.
With reference to the third implementation manner of the first aspect of the embodiment of the present invention, in a fourth implementation manner of the first aspect of the embodiment of the present invention, the obtaining the statistical distance between the first screen and the first placed object at the preset time interval within the preset time period includes:
if the first screen is positioned on the front side of the mobile terminal, acquiring a statistical distance between the first screen and a first placed object, which is acquired by a distance sensor at a preset time interval, within a preset time length;
if the first screen is located on the back of the mobile terminal, within a preset time length, acquiring a statistical distance between the first screen and a first placed object, wherein the statistical distance is acquired by the laser focusing sensor at preset time intervals.
A second aspect of the present invention provides a dual-screen switching device applied to a mobile terminal, including:
the mobile terminal comprises a first screen and a second screen, and the first screen and the second screen are located at front and back relative positions of the mobile terminal;
the judging module is used for judging whether the distance is not greater than a preset threshold value or not;
and the switching module is used for switching the content of the first screen to the second screen when the distance is not greater than the preset threshold value.
In combination with the second aspect of the embodiments of the present invention, in a first implementation of the second aspect of the embodiments of the present invention, the apparatus further comprises:
the first detection module is used for detecting whether the first screen is in a bright screen state;
the second detection module is used for detecting whether the orientation of the first screen meets a preset condition;
and the triggering module is used for triggering the acquisition module to acquire the distance between the first screen and the first placed object when the first screen is in a bright screen state and the orientation of the first screen meets a preset condition.
With reference to the first implementation manner of the second aspect of the embodiment of the present invention, in a third implementation manner of the second aspect of the embodiment of the present invention, the second detection module is specifically configured to:
detecting whether the first screen is placed downwards by using a gravity sensor, and if so, determining that the orientation of the first screen meets a preset condition; or the like, or, alternatively,
whether the first screen faces the first placed object or not is detected by the camera, and if yes, the orientation of the first screen is determined to meet a preset condition.
With reference to the second aspect of the embodiment of the present invention, the first implementation manner or the second implementation manner of the second aspect of the embodiment of the present invention, and in a third implementation manner of the second aspect of the embodiment of the present invention, the obtaining module is specifically configured to:
within a preset time length, acquiring a statistical distance between a first screen and a first placed object, wherein the statistical distance is acquired at preset time intervals;
and performing weighted calculation on the statistical distance to obtain the distance between the first screen and the first placed object.
With reference to the third implementation manner of the second aspect of the embodiment of the present invention, in a fourth implementation manner of the second aspect of the embodiment of the present invention, the obtaining module is further specifically configured to:
if the first screen is positioned on the front side of the mobile terminal, acquiring a statistical distance between the first screen and a first placed object, which is acquired by a distance sensor at a preset time interval, within a preset time length;
if the first screen is located on the back of the mobile terminal, within a preset time length, acquiring a statistical distance between the first screen and a first placed object, wherein the statistical distance is acquired by the laser focusing sensor at preset time intervals.
According to the technical scheme, the embodiment of the invention has the following advantages:
in this embodiment, the mobile terminal may include a first screen and a second screen, and when it is detected that the distance between the first screen and the first object is smaller than the preset distance, the content of the first screen may be switched to the second screen, so that it can be known that the screen switching of the mobile terminal may be realized through the distance detection, which is beneficial for the user to operate and use the mobile terminal.
Drawings
Fig. 1 is a schematic diagram of an embodiment of a dual-screen switching method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of another embodiment of a dual-screen switching method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of another embodiment of a dual-screen switching method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of another embodiment of a dual-screen switching method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another embodiment of a dual-screen switching method according to the embodiment of the present invention;
FIG. 6 is a schematic diagram of an embodiment of a dual-screen switching apparatus according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of another embodiment of a dual-screen switching device according to an embodiment of the present invention;
fig. 8 is a schematic diagram of an embodiment of a user equipment in the embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a double-screen switching method and a double-screen switching device, which are used for realizing the free switching of double screens through a distance sensing mechanism, so that a user can freely select a screen of a mobile terminal, meanwhile, non-touch switching operation can avoid non-artificial misoperation, the convenient use of the mobile terminal is realized, the number of times of using physical keys is effectively reduced due to non-key switching operation, and the service life of the physical keys is prolonged.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In order to better understand the dual-screen switching method disclosed by the embodiment of the present invention, a mobile terminal suitable for the embodiment of the present invention is described first. The mobile terminal described in the embodiment of the present invention may include any device having two display screens and communication and storage functions, for example: smart devices such as tablet computers and mobile phones, the mobile terminal can be installed with an operating system including: the mobile terminal may further install a plurality of application programs based on the installed operating system, where the application programs may be system applications pre-installed before the mobile terminal leaves a factory, such as mailbox applications, setup applications, music applications, browser applications, photographing applications, and the like, or may also be third-party applications installed by the user, such as QQ applications, wechat applications, pay applications, microblog applications, and the like, and specific details are not limited herein.
For convenience of understanding, a specific flow in the embodiment of the present invention is described below, and referring to fig. 1, an embodiment of a dual-screen switching method in the embodiment of the present invention includes:
101. acquiring the distance between a first screen and a first placed object;
in this embodiment, after the mobile terminal is started, a distance between the first screen and the first placing object may be acquired, where the mobile terminal may include the first screen and the second screen, and the first screen and the second screen may be located at front and back relative positions of the mobile terminal.
Specifically, the first screen and the second screen may be respectively located on the front side and the back side of the mobile terminal, wherein a front screen is provided on the front side (front side) of the mobile terminal. For example, the secondary screen is arranged on the back side (back side), if the first screen is located on the front side of the mobile terminal, the first screen is the main screen, the second screen is the secondary screen, and if the first screen is located on the back side of the mobile terminal, the first screen is the secondary screen, and the second screen is the main screen.
In practical application, the first screen is not limited to be the main screen or the sub-screen, that is, the obtained distance may be a distance between the main screen and the first object to be placed, or a distance between the sub-screen and the first object to be placed, and the corresponding setting may be specifically performed according to the requirement of the dual-screen switching, which is not limited herein.
In this embodiment, the first placing object is an object that supports the mobile terminal, and preferably, compared with the second screen, the first placing object may be an object that is relatively close to the first screen, for example, if the mobile terminal is placed on a desktop, at this time, the second screen is placed upward, then the first placing object is the desktop, the distance between the first screen and the desktop is obtained, and if the mobile terminal is assumed to be held by a user, at this time, the second screen faces the user, then the first placing object may be a palm of the user, and the obtained distance between the first screen and the palm is obtained.
102. Judging whether the distance is not greater than a preset threshold value, if so, executing a step 103, and if not, executing a step 104;
in this embodiment, after the distance between the first screen and the first placement object is obtained, whether the distance is not greater than a preset threshold value may be determined.
Specifically, a preset threshold may be preset in the mobile terminal to serve as a criterion for distance determination, and by comparing the distance with the preset threshold, the position state between the first screen and the first placed object may be estimated, so that the facing state between the first screen and the user may be determined, and the switching between the first screen and the second screen may be triggered when the distance satisfies the setting condition of the preset threshold.
In this embodiment, the preset threshold may be set by the user, or may be set by the mobile terminal based on data statistics of the server, or may be set by the mobile terminal before shipping, which is not limited herein.
103. Switching the content of the first screen to a second screen;
in this embodiment, if the distance is not greater than the preset threshold, the content of the first screen may be switched to the second screen.
Specifically, under the condition that the distance between the first screen and the first placement object is not greater than the preset threshold, which indicates that the display of the first screen on the mobile terminal is not convenient for the user to view, the content of the first screen can be switched to the second screen, so that the content of the first screen can be displayed on the second screen. For example, if a user holds the mobile terminal by hand, if the distance between the first screen and the palm center of the user is not greater than a preset threshold, it indicates that the second screen faces the user, the content of the first screen cannot be effectively displayed to the user or the user performs corresponding convenient operation, and the content of the first screen can be switched to the second screen under the condition that the distance satisfies the switching condition between the first screen and the second screen, so that the user can freely select the screen.
104. Other flows are performed.
In this embodiment, if it is determined that the distance between the first screen and the first placement object is greater than the preset threshold, which means that the content of the first screen is not required to be switched to only the second screen, other operations may not be performed, so that the mobile terminal maintains the current screen display state. In practical applications, other operations may also be performed, and are not limited herein.
In this embodiment, through the adoption of the distance perception mechanism, when the distance between the first screen and the first placed object is not greater than the preset threshold value, the content of the first screen is switched to the second screen, so that the convenience of user operation is improved, the triggering through the physical keys is not needed, the hardware development cost is favorably reduced, and the service life of the physical keys is prolonged.
It can be understood that, in practical applications, in order to avoid causing unnecessary dual-screen switching, a limitation may be imposed on the prerequisite of dual-screen switching, please refer to fig. 2, and another embodiment of the dual-screen switching method in the embodiment of the present invention includes:
201. detecting whether the first screen is in a bright screen state, if so, executing step 202, and if not, executing step 206;
in this embodiment, the condition that the first screen may need to be used may be determined through the screen-up state of the first screen, and then, after the mobile terminal is started, whether the first screen is in the screen-up state may be detected.
Specifically, the display screen of the mobile terminal may be divided into a bright screen state and a black screen state, where the bright screen state and the black screen state are two completely opposite display states. In a general case, since the display screen is in a bright screen state during the use of the mobile terminal by the user, whether the first screen is expected to be used or not can be estimated through the detection of the bright screen state.
It can be understood that, in this embodiment, the first screen of the mobile terminal is in a bright screen state, which is not equivalent to that the mobile terminal is in a non-locked state, for example, if the mobile terminal is provided with an unlocking password, when a user inputs the unlocking password in the mobile terminal, the screen of the mobile terminal may be in a bright screen state, but in a case that the unlocking password is not completely input or is input incorrectly, the mobile terminal is still in a locked state.
202. Detecting whether the orientation of the first screen meets a preset condition, if so, executing step 203, and if not, executing step 206;
in this embodiment, if it is detected that the first screen is in the bright screen state, it may be further detected whether the orientation of the first screen meets the preset condition.
In this embodiment, a specific manner of detecting whether the orientation of the first screen meets the preset condition may be:
detecting whether the first screen is placed downwards by using a gravity sensor, and if so, determining that the orientation of the first screen meets a preset condition; or the like, or, alternatively,
whether the first screen faces the first placed object or not is detected by the camera, and if yes, the orientation of the first screen is determined to meet a preset condition.
Specifically, taking a mobile terminal held by a user as an example, if the first screen faces the user, the user can freely view the content of the first screen or perform corresponding operations on the first mobile terminal, the switching operation of the first screen may not be performed even when the first screen is in a bright screen state, and if the first screen does not face the user, the user cannot view the content of the first screen and cannot perform related operations, and the switching operation of the first screen may be performed when the first screen is in the bright screen state. Based on the above description, on one hand, whether the first screen is placed downwards, that is, whether the gravity direction points to the first screen, may be detected through the gravity sensor, and if the gravity direction points to the first screen, it is described that the first screen is placed downwards and the first screen does not face the user, otherwise, it is described that the first screen does not face the user. On the other hand, whether the first screen faces the first placing object or not can be detected through the camera, wherein the camera and the first screen can be located on the same physical surface of the mobile terminal, and when the camera is in an open state, if the camera area is detected to have the first placing object, the first screen can be considered to face the first placing object but not face the user, otherwise, the first screen is considered not to face the first placing object but faces the user.
It is understood that the present embodiment has described only the specific manner of detecting whether the orientation of the first screen satisfies the preset condition in the above two examples, and in practical applications, other manners may also be adopted as long as it can be determined whether the orientation of the first screen satisfies the preset condition, and the specific manner is not limited herein.
It should be noted that, in this embodiment, step 201 and step 202 may also be executed at the same time, or step 202 may be executed first and then step 201 is executed, which is not limited herein.
Step 203 in this embodiment is the same as step 101 in the embodiment shown in fig. 1, and is not described here again.
204. Judging whether the distance is not greater than a preset threshold value, if so, executing a step 205, and if not, executing a step 206;
steps 204 to 205 in this embodiment are the same as steps 102 to 103 in the embodiment shown in fig. 1, and are not repeated here.
206. Other flows are performed.
In this embodiment, if it is detected that the first screen is not in the bright screen state, which means that there is no need to switch the content of the first screen to the second screen, no other operation may be performed, so that the mobile terminal maintains the current screen display state. In practical applications, other operations may also be performed, and are not limited herein.
In this embodiment, if it is detected that the orientation of the first screen does not satisfy the preset condition, which means that there is no need to switch the content of the first screen to the second screen, no other operation may be performed, so that the mobile terminal maintains the current screen display state. In practical applications, other operations may also be performed, and are not limited herein.
In this embodiment, if it is determined that the distance between the first screen and the first placement object is greater than the preset threshold, which means that there is no need to switch the content of the first screen to the second screen, other operations may not be performed, so that the mobile terminal maintains the current screen display state. In practical applications, other operations may also be performed, and are not limited herein.
It can be understood that, in this embodiment, when the orientation of the first screen does not satisfy the preset condition, it may be stated that the orientation of the second screen satisfies the preset condition in a reverse manner, and since the first screen is defined as a display screen of a side of the mobile terminal that does not face the user in this embodiment, if the orientation of the first screen does not satisfy the preset condition, the second screen may be correspondingly detected, and at this time, the second screen is the first screen.
Based on the beneficial effects of the embodiment shown in fig. 1, in this embodiment, the switching condition from the content of the first screen to the second screen is limited, that is, under the condition that the distance between the first screen and the first placed object is not greater than the preset threshold, the first screen should be in a bright screen state and not face the user, so that whether the first screen needs to be switched can be estimated, and the phenomenon that the user experience is not good due to the fact that the screen is switched when the user does not need to switch the screen is avoided.
On the basis of the embodiment shown in fig. 2, if the first screen and the second screen are fixed display screens of the mobile terminal, that is, have specific physical locations, that is, the main screen or the sub screen described in step 101 in the embodiment shown in fig. 1, in an actual using process, when the first screen does not satisfy the switching operation, the second screen may be correspondingly detected to realize that the content of the second screen is switched to the first screen, which is described by taking the first screen as the main screen and the second screen as the sub screen as an example, please refer to fig. 3, where another embodiment of the dual-screen switching method in the embodiment of the present invention includes:
301. detecting whether the orientation of the main screen meets a preset condition, if so, executing a step 302, and if not, executing a step 306;
302. detecting whether the main screen is in a bright screen state, if so, executing step 303, and if not, executing step 310;
303. acquiring the distance between the main screen and a first placed object;
304. detecting whether the distance between the main screen and the first placed object is not larger than a preset threshold value, if so, executing a step 305, and if not, executing a step 310;
305. switching the content of the main screen to the auxiliary screen;
based on the contents described in steps 201 to 205 in the embodiment shown in fig. 2, the contents of steps 301 to 305 in this embodiment are the same except that the first screen is defined as the main screen, and are not repeated here.
306. Detecting whether the auxiliary screen is in a bright screen state, if so, executing a step 307, and if not, executing a step 310;
in this embodiment, if the orientation of the main screen does not satisfy the preset condition, it is indicated that the main screen faces the user, and the sub screen does not face the user, and it may be detected whether the sub screen is in a bright screen state.
307. Acquiring the distance between the auxiliary screen and a first placed object;
308. detecting whether the distance between the auxiliary screen and the first placement object is not larger than a preset threshold value, if so, executing a step 309, and if not, executing a step 310;
309. switching the content of the auxiliary screen to the main screen;
in this embodiment, if the orientation of the main screen does not satisfy the preset condition, it is indicated that the main screen faces the user, and the sub screen does not face the user, and it may be detected whether the sub screen is in a bright screen state.
Based on the contents described in steps 201 to 205 in the embodiment shown in fig. 2, in steps 306 to 308 in this embodiment, the contents of the other parts are the same except that the first screen is defined as the main screen, the second screen is defined as the sub-screen, and the orientation of the second screen satisfies the preset condition, and are not repeated here.
310. Other flows are performed.
In this embodiment, if the orientation of the main screen is not in the bright screen state when the preset condition is met, which means that there is no need to switch the content of the main screen to the sub-screen, other operations may not be performed, so that the mobile terminal maintains the current screen display state. In practical applications, other operations may also be performed, and are not limited herein.
In this embodiment, if it is determined that the distance between the main screen and the first placement object is greater than the preset threshold, which means that there is no need to switch the content of the main screen to the sub-screen, other operations may not be performed, so that the mobile terminal maintains the current screen display state. In practical applications, other operations may also be performed, and are not limited herein.
In this embodiment, if the orientation of the secondary screen is not in the bright screen state when the preset condition is satisfied, which means that there is no need to switch the content of the secondary screen to the primary screen, other operations may not be performed, so that the mobile terminal maintains the current screen display state. In practical applications, other operations may also be performed, and are not limited herein.
In this embodiment, if it is determined that the distance between the secondary screen and the first placement object is greater than the preset threshold, which means that the content of the secondary screen is not required to be switched to the primary screen, other operations may not be performed, so that the mobile terminal maintains the current screen display state. In practical applications, other operations may also be performed, and are not limited herein.
Based on the beneficial effects of the embodiments shown in fig. 1 and fig. 2, the embodiment takes the first screen and the second screen as specific physical screens in the mobile terminal for example, so as to achieve the purpose of detecting the dual screens, and be beneficial to preventing the omission phenomenon of the dual-screen switching.
On the basis of the embodiment shown in fig. 3, it can be understood that, in practical applications, different sensors may be provided to perform distance acquisition between the first screen and the first placement object according to specific physical positions of the first screen and the second screen in the mobile terminal, which are described below:
referring to fig. 4, another embodiment of the dual-screen switching method according to the embodiment of the present invention includes:
401. detecting whether the first screen is in a bright screen state, if so, executing a step 402, and if not, executing a step 407;
402. detecting whether the orientation of the first screen meets a preset condition, if so, executing step 403, and if not, executing step 407;
steps 401 to 402 in this embodiment are the same as steps 201 to 202 in the embodiment shown in fig. 2, and are not described again here.
403. If the first screen is positioned on the front side of the mobile terminal, acquiring a statistical distance between the first screen and a first placed object, which is acquired by a distance sensor at a preset time interval, within a preset time length;
in this embodiment, when it is detected that the first screen is in a bright screen state and the orientation of the first screen meets the preset condition, if the first screen is located on the front side of the mobile terminal, the statistical distance between the first screen and the first placed object, which is acquired by the distance sensor at preset time intervals, may be obtained within a preset time period.
Specifically, it can set up in advance to predetermine length of time and predetermine the time interval, in order to acquire effectual statistics distance, and carry out effectual two-screen switching operation to mobile terminal, in practical application, when first screen is located mobile terminal's front, in order to be favorable to acquiring the statistics distance between first screen and the first thing of placing, can be equipped with distance sensor in mobile terminal's front, thereby when first screen is in bright screen state and its orientation satisfies the preset condition, can be in predetermineeing for a long time, utilize distance sensor to gather the statistics distance between first screen and the first thing of placing with predetermineeing the time interval, and can acquire the statistics distance after gathering the end. For example, the statistical distance between the first screen and the first placed object is collected at a preset time interval of 0.01 second within a preset time period of 1 second, whereby 10 statistical distances can be obtained.
Specifically, the distance sensor may estimate the distance between the first screen and the first placed object by emitting a particularly short light pulse and acquiring the measured time from the emission of this light pulse to the reflection of this light pulse by the first placed object, and then by measuring the time interval.
It should be noted that, the preset duration and the preset time interval in this embodiment may be set by a user, or may be set by the mobile terminal based on data statistics of the server, or may be set by the mobile terminal before shipping, which is not limited herein.
404. Carrying out weighted calculation on the statistical distance to obtain the distance between the first screen and the first placed object;
in this embodiment, after the statistical distance between the first screen and the first placement object is obtained, the statistical distance may be weighted to obtain the distance between the first screen and the first placement object.
Specifically, after the statistical distance within the preset time period is obtained, the statistical distance may be recorded, and further, the statistical distance may be weighted to obtain the distance between the first screen and the first placed object, for example, if the distance is an average distance, if the statistical distance obtained within the preset time period is d1, d2, d3, d4, and d5, the average value of d1, d2, d3, d4, and d5 may be calculated as the distance between the first screen and the first placed object.
It is understood that, in the present embodiment, the distance between the first screen and the first placement object may be other weighted calculation values in practical applications besides the average distance described above, and is not limited herein.
405. Judging whether the distance is not greater than a preset threshold value, if so, executing a step 406, and if not, executing a step 407;
steps 405 to 406 in this embodiment are the same as steps 102 to 103 in the embodiment shown in fig. 1, and are not repeated here.
Step 407 in this embodiment is the same as step 206 in the embodiment shown in fig. 2, and is not described here again.
Referring to fig. 5, another embodiment of the dual-screen switching method according to the embodiment of the present invention includes:
steps 501 to 502 in this embodiment are the same as steps 401 to 402 in the embodiment shown in fig. 4, and are not described again here.
503. If the first screen is positioned on the back of the mobile terminal, acquiring a statistical distance between the first screen and a first placed object, which is acquired by the laser focusing sensor at a preset time interval, within a preset time period;
in this embodiment, when it is detected that the first screen is in a bright screen state and the orientation of the first screen meets the preset condition, if the first screen is located on the back side of the mobile terminal, the statistical distance between the first screen and the first placed object, which is acquired by the laser focusing sensor at preset time intervals, may be obtained within a preset time period.
Based on the part of the description of step 403 in the embodiment shown in fig. 4, in practical applications, a rear camera is usually disposed on the back of the mobile terminal to meet the shooting requirement of the user, and a laser focusing sensor may be disposed beside the rear camera to achieve an improvement in the focusing speed of the mobile terminal and also have a distance measuring function. When the first screen is located on the back of the mobile terminal, due to the arrangement of the rear camera, the first screen and the laser sensor can be located on the same physical surface of the mobile terminal, so that the statistical distance between the first screen and the first placed object can be acquired by the laser focusing sensor at preset time intervals within preset time duration, and the statistical distance can be acquired after the acquisition is finished.
Specifically, the laser focusing sensor may be composed of two parts: laser emitter and photon inductive transducer. The basic principle is as follows: the laser emitter emits photons, the photons are reflected after the photons collide with the first placing object, the photons emitted by the photon induction sensor can be used for estimating the distance between the first screen and the first placing object by calculating the time from the emission to the reception of the photons.
Steps 504 to 507 in this embodiment are the same as steps 404 to 407 in the embodiment shown in fig. 4, and are not described again here.
The embodiment shown in fig. 4 and the embodiment shown in fig. 5 have been described with respect to the obtaining of the distance between the first screen and the first object when the first screen is at the specific physical location in the mobile terminal, which is beneficial to enriching the way of obtaining the distance of the mobile terminal in different use scenes and also beneficial to performing different hardware designs on the mobile terminal based on the requirements.
The above description is about the dual-screen switching method in the embodiment of the present invention, and the following description is about the dual-screen switching device in the embodiment of the present invention, where the dual-screen switching device may be applied to a mobile terminal, please refer to fig. 6, where an embodiment of the dual-screen switching device in the embodiment of the present invention includes:
the obtaining module 601 is configured to obtain a distance between a first screen and a first placing object, where the mobile terminal includes a first screen and a second screen, and the first screen and the second screen are located at front and back relative positions of the mobile terminal;
a judging module 602, configured to judge whether the distance is not greater than a preset threshold;
the switching module 603 is configured to switch the content of the first screen to the second screen when the distance is not greater than the preset threshold.
Optionally, in some embodiments of the present invention, the obtaining module 601 may be specifically configured to:
within a preset time length, acquiring a statistical distance between a first screen and a first placed object, wherein the statistical distance is acquired at preset time intervals;
and performing weighted calculation on the statistical distance to obtain the distance between the first screen and the first placed object.
Based on the above specific description of the obtaining module 601, optionally, in some embodiments of the present invention, the obtaining module 601 may further specifically be configured to:
if the first screen is positioned on the front side of the mobile terminal, acquiring a statistical distance between the first screen and a first placed object, which is acquired by a distance sensor at a preset time interval, within a preset time length;
if the first screen is located on the back of the mobile terminal, within a preset time length, acquiring a statistical distance between the first screen and a first placed object, wherein the statistical distance is acquired by the laser focusing sensor at preset time intervals.
Optionally, in some embodiments of the present invention, referring to fig. 6 on the basis of the foregoing fig. 6, another embodiment of the dual-screen switching device in the embodiments of the present invention may include:
a first detecting module 604, configured to detect whether the first screen is in a bright screen state;
a second detecting module 605, configured to detect whether the orientation of the first screen meets a preset condition;
the triggering module 606 is configured to trigger the obtaining module 601 to obtain a distance between the first screen and the first placed object when the first screen is in a bright screen state and the orientation of the first screen meets a preset condition.
Optionally, in some embodiments of the present invention, the second detecting module 605 may be specifically configured to:
detecting whether the first screen is placed downwards by using a gravity sensor, and if so, determining that the orientation of the first screen meets a preset condition; or the like, or, alternatively,
whether the first screen faces the first placed object or not is detected by the camera, and if yes, the orientation of the first screen is determined to meet a preset condition.
In the above, the dual-screen switching device in the embodiment of the present invention is described from the perspective of a modular functional entity, and in the following, the user equipment in the embodiment of the present invention is described from the perspective of hardware processing, referring to fig. 8, an embodiment of the user equipment in the embodiment of the present invention includes:
a processor 701 and a memory 702;
the memory 702 is configured to store instructions and the processor 701 is configured to execute the stored instructions, which when executed by the processor 701, cause the user equipment to perform the following functions:
the method comprises the steps that the distance between a first screen and a first placing object is obtained, the mobile terminal comprises the first screen and a second screen, and the first screen and the second screen are located at front and back opposite positions of the mobile terminal;
judging whether the distance is not greater than a preset threshold value;
and if so, switching the content of the first screen to the second screen.
In some embodiments of the invention, the stored instructions, when executed by the processor 701, cause the user equipment to perform the following functions as well:
detecting whether the first screen is in a bright screen state or not, and detecting whether the orientation of the first screen meets a preset condition or not;
and if the first screen is in a bright screen state and the orientation of the first screen meets a preset condition, triggering to acquire the distance between the first screen and the first placed object.
In some embodiments of the invention, the stored instructions, when executed by the processor 701, cause the user equipment to perform the following functions as well:
detecting whether the first screen is placed downwards by using a first gravity sensor, and if so, determining that the orientation of the first screen meets a preset condition; or the like, or, alternatively,
whether the first screen faces the first placed object or not is detected by the camera, and if yes, the orientation of the first screen is determined to meet a preset condition.
In some embodiments of the invention, the stored instructions, when executed by the processor 701, cause the user equipment to perform the following functions as well:
within a preset time length, acquiring a statistical distance between a first screen and a first placed object, wherein the statistical distance is acquired at preset time intervals;
carrying out weighted calculation on the statistical distance to obtain the distance between the first screen and the first placed object
In some embodiments of the invention, the stored instructions, when executed by the processor 701, cause the user equipment to perform the following functions as well:
if the first screen is positioned on the front side of the mobile terminal, acquiring a statistical distance between the first screen and a first placed object, which is acquired by a distance sensor at a preset time interval, within a preset time length;
if the first screen is located on the back of the mobile terminal, within a preset time length, acquiring a statistical distance between the first screen and a first placed object, wherein the statistical distance is acquired by the laser focusing sensor at preset time intervals.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A double-screen switching method is applied to a mobile terminal and is characterized by comprising the following steps:
the method comprises the steps that the distance between a first screen and a first placing object is obtained, the mobile terminal comprises the first screen and a second screen, the first screen and the second screen are located at front and back relative positions of the mobile terminal, and the first placing object comprises an object which supports the mobile terminal;
judging whether the distance is not greater than a preset threshold value;
and if so, switching the content of the first screen to the second screen.
2. The dual screen switching method of claim 1, further comprising:
detecting whether the first screen is in a bright screen state or not, and detecting whether the orientation of the first screen meets a preset condition or not;
and if the first screen is in the bright screen state and the orientation of the first screen meets a preset condition, triggering to acquire the distance between the first screen and a first placed object.
3. The dual-screen switching method according to claim 2, wherein the detecting whether the orientation of the first screen satisfies a preset condition comprises:
detecting whether the first screen is placed downwards by using a first gravity sensor, and if so, determining that the orientation of the first screen meets a preset condition; or the like, or, alternatively,
and detecting whether the first screen faces the first placed object or not by using a camera, and if so, determining that the orientation of the first screen meets a preset condition.
4. The dual screen switching method according to any one of claims 1 to 3, wherein the acquiring of the distance between the first screen and the first placed object includes:
acquiring a statistical distance between the first screen and a first placed object, which is acquired at a preset time interval, within a preset time length;
and performing weighted calculation on the statistical distance to obtain the distance between the first screen and the first placed object.
5. The dual-screen switching method according to claim 4, wherein the obtaining the statistical distance between the first screen and the first placed object collected at the preset time interval within the preset time duration comprises:
if the first screen is positioned on the front side of the mobile terminal, acquiring a statistical distance between the first screen and a first placed object, which is acquired by a distance sensor at a preset time interval, within a preset time length;
and if the first screen is positioned on the back of the mobile terminal, acquiring the statistical distance between the first screen and the first placed object, which is acquired by the laser focusing sensor at preset time intervals, within a preset time period.
6. The utility model provides a double screen auto-change over device, is applied to mobile terminal, its characterized in that includes:
the mobile terminal comprises a first screen and a second screen, wherein the first screen and the second screen are positioned at front and back relative positions of the mobile terminal, and the first placing object comprises an object which supports the mobile terminal;
the judging module is used for judging whether the distance is not greater than a preset threshold value or not;
and the switching module is used for switching the content of the first screen to the second screen when the distance is not greater than the preset threshold value.
7. The dual screen switching device of claim 6, further comprising:
the first detection module is used for detecting whether the first screen is in a bright screen state;
the second detection module is used for detecting whether the orientation of the first screen meets a preset condition;
and the triggering module is used for triggering the acquisition module to acquire the distance between the first screen and the first placed object when the first screen is in the bright screen state and the orientation of the first screen meets the preset condition.
8. The dual-screen switching device according to claim 7, wherein the second detecting module is specifically configured to:
detecting whether the first screen is placed downwards by using a gravity sensor, and if so, determining that the orientation of the first screen meets a preset condition; or the like, or, alternatively,
and detecting whether the first screen faces the first placed object or not by using a camera, and if so, determining that the orientation of the first screen meets a preset condition.
9. The dual-screen switching device according to any one of claims 6 to 8, wherein the obtaining module is specifically configured to:
acquiring a statistical distance between the first screen and a first placed object, which is acquired at a preset time interval, within a preset time length;
and performing weighted calculation on the statistical distance to obtain the distance between the first screen and the first placed object.
10. The dual-screen switching device according to claim 9, wherein the obtaining module is further specifically configured to:
if the first screen is positioned on the front side of the mobile terminal, acquiring a statistical distance between the first screen and a first placed object, which is acquired by a distance sensor at a preset time interval, within a preset time length;
and if the first screen is positioned on the back of the mobile terminal, acquiring the statistical distance between the first screen and the first placed object, which is acquired by the laser focusing sensor at preset time intervals, within a preset time period.
CN201611218432.5A 2016-12-26 2016-12-26 Double-screen switching method and device Active CN106775536B (en)

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 CN106775536A (en) 2017-05-31
CN106775536B true 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)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
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
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
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

Citations (5)

* Cited by examiner, † Cited by third party
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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9514669B2 (en) * 2012-03-26 2016-12-06 Beijing Lenovo Software Ltd. Display method and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
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

Also Published As

Publication number Publication date
CN106775536A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106775536B (en) Double-screen switching method and device
CN108021259B (en) False touch prevention method and electronic equipment
US10037105B2 (en) Method for preventing false touches on terminal and terminal
CN106406904B (en) Information processing method, electronic equipment and information processing device
KR101510851B1 (en) Mobile device and gesture determination method
KR101892315B1 (en) Touch event anticipation in a computing device
WO2017124773A1 (en) Gesture recognition method and device
CN105824495B (en) A kind of method and mobile terminal of one-handed performance mobile terminal
CN110140342B (en) Screen locking interface processing method and terminal
CN108701043A (en) A kind of processing method and processing device of display
CN106681636B (en) Method and device for preventing false touch and mobile terminal
CN104657053B (en) A kind of method for realizing specific function using multi-point gestures in touch screen terminal
KR20130011437A (en) Method and apparatus for managing icon in portable terminal
CN105210023B (en) Device and correlation technique
US10102410B2 (en) Terminal device with function of fingerprint identification
CN106484236B (en) A kind of method and device of physical button prompt operation
WO2009089495A1 (en) Apparatus and methods for a touch user interface using an image sensor
CN107340910A (en) A kind of response method of touch key-press, device, storage medium and electronic equipment
CN109766054B (en) Touch screen device and control method and medium thereof
CN103809895B (en) It is a kind of can dynamic generation button mobile terminal and method
CN105893130B (en) A kind of processing method and mobile terminal of application program for mobile terminal
CN107463290A (en) Response control mehtod, device, storage medium and the mobile terminal of touch operation
CN106708409B (en) A kind of response method of popup menu, device and mobile terminal
CN106775367A (en) The operating method and device of terminal touch-control
CN103399711A (en) Display control method of pop-up window 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