WO2018133211A1 - Screen switching method for dual-screen electronic device, and dual-screen electronic device - Google Patents
Screen switching method for dual-screen electronic device, and dual-screen electronic device Download PDFInfo
- Publication number
- WO2018133211A1 WO2018133211A1 PCT/CN2017/079115 CN2017079115W WO2018133211A1 WO 2018133211 A1 WO2018133211 A1 WO 2018133211A1 CN 2017079115 W CN2017079115 W CN 2017079115W WO 2018133211 A1 WO2018133211 A1 WO 2018133211A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- screen
- electronic device
- dual
- touch area
- screen electronic
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 230000005484 gravity Effects 0.000 claims description 50
- 230000009977 dual effect Effects 0.000 claims description 22
- 230000008859 change Effects 0.000 claims description 20
- 239000003990 capacitor Substances 0.000 claims description 14
- 230000009471 action Effects 0.000 description 28
- 230000036544 posture Effects 0.000 description 22
- 230000006870 function Effects 0.000 description 20
- 230000033001 locomotion Effects 0.000 description 19
- 239000013078 crystal Substances 0.000 description 12
- 230000001133 acceleration Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 10
- 238000013461 design Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 8
- 238000006073 displacement reaction Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 229910052710 silicon Inorganic materials 0.000 description 3
- 239000010703 silicon Substances 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 238000011982 device technology Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003238 somatosensory effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
Definitions
- the dual-screen electronic device detects the first touch area and the second touch area, and specifically includes: when the gyroscope in the dual-screen electronic device indicates that the rotational angular velocity of the dual-screen electronic device is greater than the preset angular velocity, Or when the rotation angle of the dual-screen electronic device is greater than the second preset angle, the dual-screen electronic device detects the first touch area and the second touch area.
- the gyroscope is used to indicate the rotational angular velocity or the rotational angle of the dual-screen electronic device.
- the present application provides a dual screen electronic device including a first screen, a second screen, and a processor.
- the first touch area is used to indicate a contact area between the user and the currently lit screen in the first screen and the second screen
- the second touch area is used to indicate that the user and the first screen and the second screen are not currently in the point.
- the contact area of the bright screen is used to indicate that the user and the first screen and the second screen are not currently in the point.
- the present application relates to how a dual screen electronic device determines whether a screen switch is required.
- a dual-screen electronic device can sense its own movement mode through a gravity sensor or through a gyroscope to determine whether it needs to perform screen switching.
- the first screen and the second screen in the display screen 203 may be used to display information input by the user or information provided to the user and various menus of the electronic device 200, respectively, and may also accept user input.
- the specific first screen may include a first display panel and a first touch panel.
- the first display panel can be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
- the first touch panel also referred to as a touch screen, a touch sensitive screen, etc., can collect contact or non-contact operations on or near the user (eg, the user uses any suitable object or accessory such as a finger, a stylus, etc.
- the first touch panel can be implemented by using various types such as resistive, capacitive, infrared, and surface acoustic waves, and the first touch panel can be implemented by any technology developed in the future.
- the first touch panel may cover the first display panel, and the user may display the content according to the first display panel (the display content includes but is not limited to a soft keyboard, a virtual mouse, a virtual button, an icon, etc.) at the first The operation is performed on or near the first touch panel covered on the display panel. After the first touch panel detects the operation thereon or nearby, the operation information is transmitted to the processor 202 to determine the user input, and then the processor 202 A corresponding visual output is provided on the first display panel based on user input.
- the RF circuit can communicate with the network and other devices through wireless communication.
- the wireless communication may use any communication standard or protocol, including but not limited to: Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), code division multiple access ( Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
- GSM Global System of Mobile communication
- GPRS General Packet Radio Service
- CDMA Code Division Multiple Access
- WCDMA Wideband Code Division Multiple Access
- LTE Long Term Evolution
- E-mail Short Messaging Service
- a screen switching method of a dual-screen electronic device provided by the present application.
- the method can be applied to an electronic device having two screens, that is, applied to a dual screen electronic device.
- the method shown in FIG. 3 can be used to determine whether the dual-screen electronic device needs to perform screen switching.
- the method comprises the following steps:
- the second touch area can be determined according to the number of the second capacitor.
- the second touch area can be estimated according to the pattern of the second screen, the size of the screen, and the number of second capacitors.
- the dual-screen electronic device detects the first touched area and The second touch area.
- the gravity sensor indicates that the tilt angle of the dual-screen electronic device relative to the horizontal plane is greater than the first preset angle, it means that the dual-screen electronic device initially determines that screen switching is required.
- FIG. 6 only shows the components that must be provided in the dual-screen electronic device and the implementation of the solution of the present application, that is, the dual-screen electronic device 600 is the simplest configuration for implementing the solution of the present application.
- Other components of the dual screen electronic device 600 can be referred to the related description in FIG. 2.
- the method when detecting the first touch area and the second touch area, specifically includes: detecting a quantity of the first node capacitance on the currently lit screen in the first screen 601 and the second screen 602, and the first screen 601 and the number of second node capacitances on the screen that are not currently lit in the second screen 602; determining the first touch area according to the number of first node capacitances, and determining the second touch area according to the number of second node capacitances .
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A screen switching method for a dual-screen electronic device, and a dual-screen electronic device, wherein same are used for improving the accuracy during the screen switching of a dual-screen electronic device. The method comprises: a dual-screen electronic device detecting a first touch-screen area and a second touch-screen area, wherein the first touch-control area is used for indicating a contact area of a user with a first screen of the dual-screen electronic device, and the second touch-control area is used for indicating a contact area of the user with a second screen of the dual-screen electronic device, with the first screen being the screen of the dual-screen electronic device that is currently lit up and the second screen being the screen of the dual-screen electronic device that is currently not lit up; and the dual-screen electronic device performing screen switching when the first touch-control area is greater than the second touch-control area.
Description
本申请要求在2017年1月20日提交中国专利局、申请号为201710045481.1、发明名称为“一种通过TP感知避免双屏误切换的方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on January 20, 2017, the Chinese Patent Office, Application No. 201710045481.1, entitled "A Method and Apparatus for Avoiding Double Screen Mis-Switching Through TP Sensing", the entire contents of which is incorporated herein by reference. This is incorporated herein by reference.
本申请涉及电子设备技术领域,尤其涉及一种双屏电子设备的屏幕切换方法及双屏电子设备。The present application relates to the field of electronic device technologies, and in particular, to a screen switching method for a dual-screen electronic device and a dual-screen electronic device.
随着电子设备技术的发展,双屏显示越来越多地应用于各类电子设备,比如手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)等。双屏电子设备的两个屏幕分别位于双屏电子设备的正、反两面,且两个屏幕可以进行独立显示。即,当双屏电子设备的屏幕A进行显示时,双屏电子设备的屏幕B关闭;当双屏电子设备的屏幕B进行显示时,屏幕A关闭。双屏电子设备可满足用户的不同使用需求,带来较佳的用户体验。With the development of electronic device technology, dual-screen display is increasingly used in various types of electronic devices, such as mobile phones, tablets, personal digital assistants (PDAs) and the like. The two screens of the dual-screen electronic device are respectively located on the front and back sides of the dual-screen electronic device, and the two screens can be independently displayed. That is, when the screen A of the dual screen electronic device is displayed, the screen B of the dual screen electronic device is turned off; when the screen B of the dual screen electronic device is displayed, the screen A is turned off. Dual-screen electronic devices can meet the different needs of users and bring a better user experience.
如何根据用户需求准确地在双屏电子设备的两个屏幕之间进行切换是一个亟需解决的问题。通常,双屏电子设备可通过重力传感器或者通过陀螺仪感知电子设备的移动方式,进而判断自身是否需要进行屏幕切换。但是,这种屏幕切换方式在某些场景下的准确性较低,会导致屏幕的误切换。以双屏电子设备为手机为例,当用户在使用屏幕A时,若用户需要将屏幕A翻转朝下,避免他人看到屏幕上的内容,或者用户在浏览屏幕A中显示的内容时调整自身的姿势,都会导致双屏电子设备的位置和角度发生较大的变化,从而导致重力传感器或者陀螺仪将翻转手机或调整姿势的动作误判为切换屏幕的动作,将手机中用于进行显示的屏幕由屏幕A切换为屏幕B,进而导致屏幕的误切换。其中,用户为了避免他人看到屏幕上的内容翻转手机,从而导致屏幕误切换的场景可如图1所示。How to accurately switch between the two screens of a dual-screen electronic device according to user needs is an urgent problem to be solved. Generally, a dual-screen electronic device can sense the movement of an electronic device through a gravity sensor or through a gyroscope to determine whether it needs to perform screen switching. However, this kind of screen switching method is less accurate in some scenarios, which may cause mis-switching of the screen. Taking a dual-screen electronic device as a mobile phone, when the user is using the screen A, if the user needs to flip the screen A downward, to prevent others from seeing the content on the screen, or when the user browses the content displayed on the screen A, adjust the user. The posture will cause a large change in the position and angle of the dual-screen electronic device, causing the gravity sensor or the gyroscope to misjudge the action of flipping the mobile phone or adjusting the posture as the action of switching the screen, and using the mobile phone for display. The screen is switched from screen A to screen B, which in turn causes a false switch of the screen. The scene in which the user flips the mobile phone in order to prevent others from seeing the content on the screen, thereby causing the screen to switch incorrectly, can be as shown in FIG. 1 .
综上,亟需一种准确性较高的双屏电子设备的屏幕切换方式。In summary, there is a need for a screen switching method for a highly accurate dual-screen electronic device.
发明内容Summary of the invention
本申请实施例提供了一种双屏电子设备的屏幕切换方法及双屏电子设备,用以提高双屏电子设备进行屏幕切换时的准确性。The embodiment of the present application provides a screen switching method for a dual-screen electronic device and a dual-screen electronic device, which are used to improve the accuracy of the dual-screen electronic device when performing screen switching.
第一方面,本申请实施例提供一种双屏电子设备的屏幕切换方法,该方法包括如下步骤:In a first aspect, an embodiment of the present application provides a screen switching method for a dual-screen electronic device, where the method includes the following steps:
双屏电子设备检测第一触控面积和第二触控面积,在第一触控面积大于第二触控面积时进行屏幕切换。The dual-screen electronic device detects the first touch area and the second touch area, and performs screen switching when the first touch area is greater than the second touch area.
其中,第一触控面积用于指示用户与双屏电子设备的第一屏幕的接触面积,第二触控面积用于指示用户与双屏电子设备的第二屏幕的接触面积,第一屏幕为双屏电子设备中当前点亮的屏幕,第二屏幕为双屏电子设备中当前未点亮的屏幕。The first touch area is used to indicate the contact area of the user with the first screen of the dual-screen electronic device, and the second touch area is used to indicate the contact area between the user and the second screen of the dual-screen electronic device. The first screen is The currently lit screen in the dual screen electronic device, and the second screen is the currently unlit screen in the dual screen electronic device.
需要说明的是,本申请中,第一屏幕和第二屏幕可以进行独立显示。即,当第一屏幕
进行显示时,第二屏幕关闭;当第二屏幕进行显示时,第一屏幕关闭。It should be noted that, in the present application, the first screen and the second screen can be independently displayed. That is, when the first screen
When the display is performed, the second screen is turned off; when the second screen is displayed, the first screen is turned off.
通常,用户在操作电子设备时,与电子设备中正在进行显示的屏幕的接触面积较少,而与正在进行显示的屏幕的反面(或者未用于进行显示的屏幕)的接触面积较大。因此,双屏电子设备通过判断用户与双屏电子设备的哪个屏幕的接触面积较小,即可判断用户期望使用哪个屏幕进行显示。Generally, when the user operates the electronic device, the contact area with the screen being displayed in the electronic device is small, and the contact area with the reverse side of the screen being displayed (or the screen not used for display) is large. Therefore, the two-screen electronic device can determine which screen the user desires to display by judging which screen the user has with which screen of the dual-screen electronic device is small.
在第一方面提供的双屏电子设备的屏幕切换方法中,双屏电子设备检测第一触控面积和第二触控面积,通过比较第一触控面积和第二触控面积,即可判断是否需要进行屏幕切换。由于用户无论在调整姿势、翻转手机还是切换屏幕等各种操作下,用户的手指(或手掌)均不会大面积触控到期望进行显示的屏幕,即用户的手指(或手掌)与期望进行显示的屏幕的触控面积大于与另一个屏幕的触控面积。因此,第一方面提供的双屏电子设备的屏幕切换方法中,双屏电子设备通过比较第一触控面积和第二触控面积判断是否需要进行屏幕切换的方案,与现有技术中通过重力传感器或陀螺仪来判断是否进行屏幕切换的方案相比,在用户处于各种姿势和各种场景的情况下,均能对是否进行屏幕切换做出准确判断。In the screen switching method of the dual-screen electronic device provided by the first aspect, the dual-screen electronic device detects the first touch area and the second touch area, and can compare the first touch area and the second touch area to determine Whether you need to switch screens. Since the user does not touch the screen to the desired display screen, that is, the user's finger (or palm) and the desired operation, regardless of the user's various operations such as adjusting the posture, flipping the mobile phone, or switching the screen. The touch area of the displayed screen is larger than the touch area of the other screen. Therefore, in the screen switching method of the dual-screen electronic device provided by the first aspect, the dual-screen electronic device determines whether a screen switching is required by comparing the first touch area and the second touch area, and the prior art passes gravity. Compared with the scheme in which the sensor or the gyroscope determines whether or not to perform screen switching, it is possible to make an accurate judgment on whether or not to perform screen switching in the case where the user is in various postures and various scenes.
比如,当用户在使用屏幕A时,若用户需要将屏幕A翻转朝下,避免他人看到屏幕上的内容,由于用户做出翻转手机的动作后,由于用户与屏幕A的第一触控面积小于用户与屏幕B的第二触控面积,此时,采用第一方面提供的双屏电子设备的屏幕切换方法,不会像现有技术那样将用户翻转手机的动作误判为切换屏幕的动作,而是会准确判断出双屏电子设备不需进行屏幕切换。For example, when the user is using the screen A, if the user needs to flip the screen A downward to prevent others from seeing the content on the screen, the user touches the first touch area of the screen A after the action of flipping the mobile phone. Compared with the second touch area of the user and the screen B, the screen switching method of the dual-screen electronic device provided by the first aspect does not misjudge the action of the user flipping the mobile phone as the action of switching the screen as in the prior art. Instead, it will accurately determine that the dual-screen electronic device does not need to switch screens.
再比如,当用户在使用屏幕A时,若用户在浏览屏幕A中显示的内容时调整自身的姿势,由于此时用户操作手机的方式并没有改变,即第一触控面积仍小于第二触控面积,那么采用第一方面提供的双屏电子设备的屏幕切换方法,不会像现有技术那样,将用户调整自身姿势的动作误判为切换屏幕的动作,而是会准确判断出双屏电子设备不需进行屏幕切换。For another example, when the user is using the screen A, if the user adjusts his or her posture while browsing the content displayed on the screen A, since the manner in which the user operates the mobile phone does not change, the first touch area is still smaller than the second touch. Controlling the area, then the screen switching method of the dual-screen electronic device provided by the first aspect does not mistake the user's action of adjusting his posture as the action of switching the screen as in the prior art, but accurately determines the dual screen. The electronic device does not need to switch screens.
在一种可能的设计中,双屏电子设备检测第一触控面积和第二触控面积,具体可通过如下方式实现:双屏电子设备检测第一屏幕上第一节点电容的数量,以及第二屏幕上第二节点电容的数量,并根据第一节点电容的数量确定第一触控面积,并根据第二节点电容的数量确定第二触控面积。In a possible design, the dual-screen electronic device detects the first touch area and the second touch area, which can be implemented by: the dual-screen electronic device detecting the quantity of the first node capacitor on the first screen, and The number of the second node capacitors on the two screens, and determining the first touch area according to the number of the first node capacitors, and determining the second touch area according to the number of the second node capacitors.
其中,第一节点电容为第一屏幕的多个节点电容中感应电流发生变化的节点电容,第二节点电容为第二屏幕的多个节点电容中感应电流发生变化的节点电容。The first node capacitance is a node capacitance in which a sense current changes in a plurality of node capacitances of the first screen, and the second node capacitance is a node capacitance in which a sense current changes in a plurality of node capacitances of the second screen.
采用如上方案,提供了一种检测第一触控面积和第二触控面积的实现方式。With the above solution, an implementation for detecting the first touch area and the second touch area is provided.
在一种可能的设计中,双屏电子设备检测第一触控面积和第二触控面积时,具体用于:当双屏电子设备中的重力传感器指示双屏电子设备相对于水平面的倾斜角度大于第一预设角度时,双屏电子设备检测第一触控面积和第二触控面积。In a possible design, when the dual-screen electronic device detects the first touch area and the second touch area, specifically: when the gravity sensor in the dual-screen electronic device indicates the tilt angle of the dual-screen electronic device relative to the horizontal plane When the first preset angle is greater than the first preset angle, the dual-screen electronic device detects the first touch area and the second touch area.
双屏电子设备可通过重力传感器感知自身的移动方式,进而初步判断是否需要进行屏幕切换:重力传感器内部设置有晶体,当双屏电子设备的重力加速度发生改变时,会使该晶体发生形变。重力传感器将该晶体的形变转换成电压信号,该电压信号即可反应出晶体的形变状况,进而反应出双屏电子设备的重力加速度的变化。双屏电子设备通过分析重力加速度的变化,可获知自身的移动方式(比如双屏电子设备相对于水平面的倾斜角度等),进而通过分析自身的移动方式确定是否需要进行屏幕切换。比如,当重力传感器指示双屏电子设备相对于水平面翻转的角度大于第一预设角度90°时,则双屏电子设备可通过重力
传感器的指示初步判断需要进行屏幕切换。然后,双屏电子设备检测第一触控面积和第二触控面积,并在第一触控面积大于第二触控面积时最终确定对双屏电子设备进行屏幕切换。The dual-screen electronic device can sense its own movement mode through the gravity sensor, and then initially determine whether the screen switching is needed: the gravity sensor is internally provided with a crystal, and when the gravity acceleration of the dual-screen electronic device changes, the crystal is deformed. The gravity sensor converts the deformation of the crystal into a voltage signal, which reflects the deformation of the crystal, thereby reflecting the change in the gravitational acceleration of the dual-screen electronic device. By analyzing the change of gravity acceleration, the dual-screen electronic device can know its own movement mode (such as the tilt angle of the dual-screen electronic device with respect to the horizontal plane, etc.), and then determine whether it is necessary to perform screen switching by analyzing its own movement mode. For example, when the gravity sensor indicates that the angle of the dual-screen electronic device flipped relative to the horizontal plane is greater than the first predetermined angle by 90°, the dual-screen electronic device can pass gravity
The indication of the sensor initially determines that a screen switch is required. Then, the dual-screen electronic device detects the first touch area and the second touch area, and finally determines to perform screen switching on the dual-screen electronic device when the first touch area is greater than the second touch area.
采用上述方案,可在双屏电子设备通过重力传感器的指示初步判断需要进行屏幕切换时,再通过检测第一触控面积和第二触控面积来最终决定是否执行屏幕切换动作。当通过重力传感器的指示初步判断需进行屏幕切换且第一触控面积大于第二触控面积时,对双屏电子设备进行屏幕切换,可提高该屏幕切换方法的准确性。With the above solution, when the dual-screen electronic device initially determines that the screen switching needs to be performed by the indication of the gravity sensor, the first touch area and the second touch area are finally detected to determine whether to perform the screen switching action. When the screen is switched by the indication of the gravity sensor and the first touch area is larger than the second touch area, the screen switching of the dual-screen electronic device can improve the accuracy of the screen switching method.
在一种可能的设计中,双屏电子设备检测第一触控面积和第二触控面积,具体包括:当双屏电子设备中的陀螺仪指示双屏电子设备的转动角速度大于预设角速度,或者指示双屏电子设备的转动角度大于第二预设角度时,双屏电子设备检测第一触控面积和第二触控面积。其中,陀螺仪用于指示双屏电子设备的转动角速度或者转动角度。In a possible design, the dual-screen electronic device detects the first touch area and the second touch area, and specifically includes: when the gyroscope in the dual-screen electronic device indicates that the rotational angular velocity of the dual-screen electronic device is greater than the preset angular velocity, Or when the rotation angle of the dual-screen electronic device is greater than the second preset angle, the dual-screen electronic device detects the first touch area and the second touch area. The gyroscope is used to indicate the rotational angular velocity or the rotational angle of the dual-screen electronic device.
双屏电子设备可通过陀螺仪感知自身的移动方式,进而初步判断是否需要进行屏幕切换:陀螺仪(比如硅微型陀螺仪)在正常工作时,若双屏电子设备发生转动,则该转动的动作会在正交方向上产生位移,该位移与双屏电子设备的转动角速度或转动角度成正比。陀螺仪将该位移转换为电容的变化量。双屏电子设备通过分析电容的变化量,可获知自身的转动角速度或转动角度。当陀螺仪指示双屏电子设备的转动角速度大于预设角速度,或者指示指示双屏电子设备的转动角度大于第二预设角度时,则双屏电子设备初步判断需要进行屏幕切换。然后,双屏电子设备检测第一触控面积和第二触控面积,并在第一触控面积大于第二触控面积时最终确定对双屏电子设备进行屏幕切换。The dual-screen electronic device can sense its own movement mode through the gyroscope, and then initially determine whether screen switching is required: when the gyroscope (such as the silicon microgyroscope) is in normal operation, if the dual-screen electronic device rotates, the rotating motion A displacement is generated in the orthogonal direction that is proportional to the rotational angular velocity or angle of rotation of the dual-screen electronic device. The gyroscope converts this displacement into a change in capacitance. The dual-screen electronic device can know its own rotational angular velocity or rotational angle by analyzing the amount of change in capacitance. When the gyroscope indicates that the rotational angular velocity of the dual-screen electronic device is greater than the preset angular velocity, or indicates that the rotational angle of the dual-screen electronic device is greater than the second predetermined angle, the dual-screen electronic device initially determines that screen switching is required. Then, the dual-screen electronic device detects the first touch area and the second touch area, and finally determines to perform screen switching on the dual-screen electronic device when the first touch area is greater than the second touch area.
采用上述方案,可在双屏电子设备通过陀螺仪的指示初步判断需要进行屏幕切换时,再通过检测第一触控面积和第二触控面积来最终决定是否执行屏幕切换动作。当通过陀螺仪的指示初步判断需进行屏幕切换且第一触控面积大于第二触控面积时,对双屏电子设备进行屏幕切换,可提高该屏幕切换方法的准确性。With the above solution, when the dual-screen electronic device initially determines that the screen switching is required by the indication of the gyroscope, the first touch area and the second touch area are detected to finally determine whether to perform the screen switching action. When the screen is switched by the indication of the gyroscope and the first touch area is larger than the second touch area, the screen switching of the dual-screen electronic device can improve the accuracy of the screen switching method.
第二方面,本申请提供一种双屏电子设备,该双屏电子设备包括第一屏幕、第二屏幕以及处理器。In a second aspect, the present application provides a dual screen electronic device including a first screen, a second screen, and a processor.
处理器,用于检测第一触控面积和第二触控面积;在第一触控面积大于第二触控面积时进行屏幕切换。The processor is configured to detect the first touch area and the second touch area; and perform screen switching when the first touch area is greater than the second touch area.
其中,第一触控面积用于指示用户与第一屏幕和第二屏幕中当前点亮的屏幕的接触面积,第二触控面积用于指示用户与第一屏幕和第二屏幕中当前未点亮的屏幕的接触面积。The first touch area is used to indicate a contact area between the user and the currently lit screen in the first screen and the second screen, and the second touch area is used to indicate that the user and the first screen and the second screen are not currently in the point. The contact area of the bright screen.
通常,用户在操作电子设备时,与电子设备中正在进行显示的屏幕的接触面积较少,而与正在进行显示的屏幕的反面(或者未用于进行显示的屏幕)的接触面积较大。因此,处理器503通过判断用户与双屏电子设备的哪个屏幕的接触面积较小,即可判断用户期望使用哪个屏幕进行显示。Generally, when the user operates the electronic device, the contact area with the screen being displayed in the electronic device is small, and the contact area with the reverse side of the screen being displayed (or the screen not used for display) is large. Therefore, the processor 503 can determine which screen the user desires to use for display by determining which screen of the dual screen electronic device the user has a small contact area.
在上述第二方面提供的双屏电子设备中,处理器检测第一触控面积和第二触控面积,并通过比较第一触控面积和第二触控面积,判断是否需要进行屏幕切换。由于用户无论在调整姿势、翻转手机还是切换屏幕等各种操作下,用户的手指(或手掌)均不会大面积触控到期望进行显示的屏幕,即用户的手指(或手掌)与期望进行显示的屏幕的触控面积大于与另一个屏幕的触控面积。因此,上述第二方面提供的双屏电子设备中,处理器通过比较第一触控面积和第二触控面积判断是否需要进行屏幕切换的方案,与现有技术中通过重力传感器或陀螺仪来判断是否进行屏幕切换的方案相比,在用户处于各种姿势和各种场景
的情况下,均能对是否进行屏幕切换做出准确判断。In the dual-screen electronic device provided in the second aspect, the processor detects the first touch area and the second touch area, and compares the first touch area and the second touch area to determine whether screen switching is required. Since the user does not touch the screen to the desired display screen, that is, the user's finger (or palm) and the desired operation, regardless of the user's various operations such as adjusting the posture, flipping the mobile phone, or switching the screen. The touch area of the displayed screen is larger than the touch area of the other screen. Therefore, in the dual-screen electronic device provided by the second aspect, the processor determines whether a screen switching is required by comparing the first touch area and the second touch area, and the prior art uses a gravity sensor or a gyroscope. Determining whether to perform screen switching compared to the scenario where the user is in various poses and various scenarios
In the case of any, it is possible to make an accurate judgment on whether or not to perform screen switching.
比如,当用户在使用屏幕A时,若用户需要将屏幕A翻转朝下,避免他人看到屏幕上的内容,由于用户做出翻转手机的动作后,由于用户与屏幕A的第一触控面积小于用户与屏幕B的第二触控面积,此时,采用上述第二方面提供的双屏电子设备检测是否需要进行屏幕切换时,不会像现有技术那样将用户翻转手机的动作误判为切换屏幕的动作,而是会准确判断出双屏电子设备不需进行屏幕切换。For example, when the user is using the screen A, if the user needs to flip the screen A downward to prevent others from seeing the content on the screen, the user touches the first touch area of the screen A after the action of flipping the mobile phone. The second touch area of the user and the screen B is smaller than the second touch area provided by the second aspect. In this case, when the dual screen electronic device provided by the second aspect is used to detect whether the screen switching is required, the user's motion of flipping the mobile phone is not misjudged as in the prior art. Switching the action of the screen, but accurately determining that the dual-screen electronic device does not need to switch screens.
再比如,当用户在使用屏幕A时,若用户在浏览屏幕A中显示的内容时调整自身的姿势,由于此时用户操作手机的方式并没有改变,即第一触控面积仍小于第二触控面积,那么采用上述第二方面提供的双屏电子设备检测是否需要进行屏幕切换时,不会像现有技术那样,将用户调整自身姿势的动作误判为切换屏幕的动作,而是会准确判断出双屏电子设备不需进行屏幕切换。For another example, when the user is using the screen A, if the user adjusts his or her posture while browsing the content displayed on the screen A, since the manner in which the user operates the mobile phone does not change, the first touch area is still smaller than the second touch. If the dual-screen electronic device provided by the second aspect is used to detect whether screen switching is required, the user does not mistake the action of adjusting the user's posture as the action of switching the screen, but is accurate. It is judged that the dual screen electronic device does not need to perform screen switching.
在一种可能的设计中,第一屏幕和第二屏幕均为具有多点触控功能的屏幕。In one possible design, the first screen and the second screen are both screens with multi-touch functionality.
第一屏幕和第二屏幕具有多点触控功能时,可通过处理器检测到上述第一触控面积和第二触控面积。When the first screen and the second screen have multi-touch functions, the first touch area and the second touch area may be detected by the processor.
在一种可能的设计中,检测第一触控面积和第二触控面积时,具体可通过如下方式实现:检测第一屏幕和第二屏幕中当前点亮的屏幕上的第一节点电容的数量,以及第一屏幕和第二屏幕中当前未点亮的屏幕上的第二节点电容的数量;根据第一节点电容的数量确定第一触控面积,并根据第二节点电容的数量确定第二触控面积。In a possible design, when detecting the first touch area and the second touch area, the method may be implemented by: detecting the first node capacitance on the currently lit screen in the first screen and the second screen. The number, and the number of second node capacitances on the currently unlit screens in the first screen and the second screen; determining the first touch area according to the number of first node capacitances, and determining the number according to the number of second node capacitances Two touch areas.
其中,第一节点电容为第一屏幕和第二屏幕中当前点亮的屏幕的多个节点电容中感应电流发生变化的节点电容,第二节点电容为第一屏幕和第二屏幕中当前未点亮的屏幕的多个节点电容中感应电流发生变化的节点电容。The first node capacitance is a node capacitance of a plurality of node capacitances of the currently lit screen in the first screen and the second screen, and the second node capacitance is currently not in the first screen and the second screen. A node capacitance in which a sensed current changes in a plurality of node capacitances of a bright screen.
采用如上方案,提供了一种处理器检测第一触控面积和第二触控面积的实现方式。With the above solution, an implementation manner of detecting the first touch area and the second touch area by the processor is provided.
在一种可能的设计中,双屏电子设备还包括重力传感器,处理器还用于当重力传感器指示双屏电子设备相对于水平面的倾斜角度大于第一预设角度时,处理器检测第一触控面积和第二触控面积。In a possible design, the dual-screen electronic device further includes a gravity sensor, and the processor is further configured to: when the gravity sensor indicates that the tilt angle of the dual-screen electronic device relative to the horizontal plane is greater than the first preset angle, the processor detects the first touch Control area and second touch area.
双屏电子设备可通过重力传感器感知自身的移动方式,进而初步判断是否需要进行屏幕切换:重力传感器内部设置有晶体,当双屏电子设备的重力加速度发生改变时,会使该晶体发生形变。重力传感器将该晶体的形变转换成电压信号,该电压信号即可反应出晶体的形变状况,进而反应出双屏电子设备的重力加速度的变化。处理器通过采集该电压信号,即可通过分析重力加速度的变化,获知双屏电子设备的移动方式(比如双屏电子设备相对于水平面的倾斜角度等),进而通过分析双屏电子设备的移动方式确定是否需要进行屏幕切换。比如,当处理器根据采集到的电压信号判断双屏电子设备相对于水平面翻转的角度大于第一预设角度90°时,则初步判断双屏电子设备需要进行屏幕切换。然后,处理器检测第一触控面积和第二触控面积,并在第一触控面积大于第二触控面积时最终确定对双屏电子设备进行屏幕切换。The dual-screen electronic device can sense its own movement mode through the gravity sensor, and then initially determine whether the screen switching is needed: the gravity sensor is internally provided with a crystal, and when the gravity acceleration of the dual-screen electronic device changes, the crystal is deformed. The gravity sensor converts the deformation of the crystal into a voltage signal, which reflects the deformation of the crystal, thereby reflecting the change in the gravitational acceleration of the dual-screen electronic device. By collecting the voltage signal, the processor can know the movement mode of the dual-screen electronic device (such as the tilt angle of the dual-screen electronic device relative to the horizontal plane) by analyzing the change of the gravity acceleration, and then analyze the movement mode of the dual-screen electronic device. Determine if a screen switch is required. For example, when the processor determines that the angle of the dual-screen electronic device with respect to the horizontal plane is greater than the first preset angle by 90° according to the collected voltage signal, it is initially determined that the dual-screen electronic device needs to perform screen switching. Then, the processor detects the first touch area and the second touch area, and finally determines to perform screen switching on the dual-screen electronic device when the first touch area is greater than the second touch area.
采用上述方案,可在处理器通过重力传感器的指示初步判断需要进行屏幕切换后,再通过处理器检测第一触控面积和第二触控面积来最终决定是否执行屏幕切换动作。当处理器通过重力传感器的指示初步判断需进行屏幕切换,且第一触控面积大于第二触控面积时,处理器对双屏电子设备进行屏幕切换,可提高该屏幕切换方法的准确性。According to the above solution, after the processor initially determines that the screen switching needs to be performed by the indication of the gravity sensor, the processor further determines whether to perform the screen switching action by detecting the first touch area and the second touch area. When the processor initially determines that the screen is to be switched through the indication of the gravity sensor, and the first touch area is greater than the second touch area, the processor performs screen switching on the dual-screen electronic device, thereby improving the accuracy of the screen switching method.
在一种可能的设计中,双屏电子设备还包括陀螺仪,处理器还用于当陀螺仪指示双屏
电子设备的转动角速度大于预设角速度,或者指示双屏电子设备的转动角度大于第二预设角度时,检测第一触控面积和第二触控面积。In one possible design, the dual screen electronic device also includes a gyroscope, and the processor is also used to indicate dual screen when the gyroscope is instructed
The first touch area and the second touch area are detected when the rotational angular velocity of the electronic device is greater than the preset angular velocity or when the rotational angle of the dual-screen electronic device is greater than the second predetermined angle.
其中,陀螺仪用于指示双屏电子设备的转动角速度或者转动角度。The gyroscope is used to indicate the rotational angular velocity or the rotational angle of the dual-screen electronic device.
双屏电子设备可通过陀螺仪感知自身的移动方式,进而初步判断是否需要进行屏幕切换:陀螺仪(比如硅微型陀螺仪)在正常工作时,若双屏电子设备发生转动,则该转动的动作会在正交方向上产生位移,该位移与双屏电子设备的转动角速度成正比。陀螺仪将该位移转换为电容的变化量。处理器通过分析电容的变化量,可获知双屏电子设备的转动角速度或转动角度。比如,当陀螺仪指示双屏电子设备的转动角速度大于预设角速度,或者指示指示双屏电子设备的转动角度大于第二预设角度时,则处理器初步判断双屏电子设备需要进行屏幕切换。然后,处理器检测第一触控面积和第二触控面积,并在第一触控面积大于第二触控面积时最终确定对双屏电子设备进行屏幕切换。The dual-screen electronic device can sense its own movement mode through the gyroscope, and then initially determine whether screen switching is required: when the gyroscope (such as the silicon microgyroscope) is in normal operation, if the dual-screen electronic device rotates, the rotating motion A displacement is generated in the orthogonal direction that is proportional to the rotational angular velocity of the dual-screen electronic device. The gyroscope converts this displacement into a change in capacitance. By analyzing the amount of change in capacitance, the processor can know the rotational angular velocity or angle of rotation of the dual-screen electronic device. For example, when the gyroscope indicates that the rotational angular velocity of the dual-screen electronic device is greater than the preset angular velocity, or indicates that the rotational angle of the dual-screen electronic device is greater than the second predetermined angle, the processor initially determines that the dual-screen electronic device needs to perform screen switching. Then, the processor detects the first touch area and the second touch area, and finally determines to perform screen switching on the dual-screen electronic device when the first touch area is greater than the second touch area.
采用上述方案,可在处理器通过陀螺仪的指示初步判断需要进行屏幕切换后,再通过处理器检测第一触控面积和第二触控面积来最终决定是否执行屏幕切换动作。当处理器通过陀螺仪的指示初步判断需进行屏幕切换,且第一触控面积大于第二触控面积时,处理器对双屏电子设备进行屏幕切换,可提高该屏幕切换方法的准确性。With the above solution, after the processor initially determines that the screen switching needs to be performed by the indication of the gyroscope, the processor further determines whether to perform the screen switching action by detecting the first touch area and the second touch area. When the processor initially determines that the screen is to be switched through the indication of the gyroscope, and the first touch area is greater than the second touch area, the processor performs screen switching on the dual-screen electronic device, thereby improving the accuracy of the screen switching method.
第三方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,当计算节点的至少一个处理器执行该计算机执行指令时,计算节点执行上述第一方面或者第一方面的各种可能设计中提供的方法。In a third aspect, an embodiment of the present application provides a computer readable storage medium, where a computer execution instruction is stored, where a computing node performs the first step when at least one processor of a computing node executes the computer to execute an instruction. Aspects or methods provided in various possible designs of the first aspect.
第四方面,本申请实施例提供一种计算机程序产品,该计算机程序产品包括计算机执行指令,该计算机执行指令存储在计算机可读存储介质中。计算节点的至少一个处理器可以从计算机可读存储介质读取该计算机执行指令,至少一个处理器执行该计算机执行指令使得计算节点实施上述第一方面或者第一方面的各种可能设计中提供的方法。In a fourth aspect, an embodiment of the present application provides a computer program product, the computer program product comprising computer execution instructions, the computer execution instructions being stored in a computer readable storage medium. At least one processor of the computing node can read the computer-executable instructions from a computer-readable storage medium, the at least one processor executing the computer-executing instructions to cause the computing node to implement the first aspect or the various possible designs provided in the first aspect method.
图1为现有技术提供的一种用户翻转双屏电子设备导致屏幕误切换的示意图;1 is a schematic diagram of a user flipping a dual-screen electronic device caused by a prior art to cause a screen to be manually switched;
图2为本申请提供的电子设备的结构示意图;2 is a schematic structural diagram of an electronic device provided by the present application;
图3为本申请提供的一种双屏电子设备的屏幕切换方法的流程示意图;3 is a schematic flowchart of a screen switching method of a dual-screen electronic device according to the present application;
图4为本申请提供的一种第一屏幕(第二屏幕)的模型图的示意图;4 is a schematic diagram of a model diagram of a first screen (second screen) provided by the present application;
图5为本申请提供的另一种双屏电子设备的屏幕切换方法的流程示意图;5 is a schematic flowchart of a screen switching method of another dual-screen electronic device provided by the present application;
图6为本申请提供的一种双屏电子设备的结构示意图。FIG. 6 is a schematic structural diagram of a dual-screen electronic device provided by the present application.
本申请涉及双屏电子设备如何判断是否需要进行屏幕切换。通常,双屏电子设备可通过重力传感器或者通过陀螺仪感知自身的移动方式,进而判断自身是否需要进行屏幕切换。The present application relates to how a dual screen electronic device determines whether a screen switch is required. Generally, a dual-screen electronic device can sense its own movement mode through a gravity sensor or through a gyroscope to determine whether it needs to perform screen switching.
双屏电子设备通过重力传感器感知自身的移动方式,进而判断自身是否需要进行屏幕切换的方式可以是:双屏电子设备中的重力传感器内部设置有晶体,当双屏电子设备的重力加速度发生改变时,会使该晶体发生形变。重力传感器将该晶体的形变转换成电压信号,该电压信号就反应出晶体的形变状况,进而反应出双屏电子设备的重力加速度的变化。通
过分析重力加速度的变化,可获知双屏电子设备的移动方式(比如双屏电子设备相对于水平面的倾斜角度等),进而通过分析双屏电子设备的移动方式可确定是否需要进行屏幕切换。比如,当双屏电子设备相对于水平面翻转的角度为180°时,则双屏电子设备确定自身需要进行屏幕切换。The dual-screen electronic device senses its own movement mode through the gravity sensor, and then determines whether it needs to perform screen switching. The gravity sensor in the dual-screen electronic device is internally provided with a crystal, and when the gravity acceleration of the dual-screen electronic device changes. Will cause the crystal to deform. The gravity sensor converts the deformation of the crystal into a voltage signal that reflects the deformation of the crystal, thereby reflecting the change in the gravitational acceleration of the dual-screen electronic device. Pass
After analyzing the change of gravity acceleration, the moving mode of the dual-screen electronic device (such as the tilt angle of the dual-screen electronic device with respect to the horizontal plane) can be known, and then by analyzing the moving mode of the dual-screen electronic device, it can be determined whether the screen switching is needed. For example, when the angle of the dual-screen electronic device flipped relative to the horizontal plane is 180°, the dual-screen electronic device determines that it needs to perform screen switching.
双屏电子设备通过陀螺仪感知自身的移动方式,进而判断自身是否需要进行屏幕切换的方式可以是:陀螺仪(比如硅微型陀螺仪)在正常工作时,若电子设备发生转动,则该转动的动作会在正交方向上产生位移,该位移与双屏电子设备的转动角速度或转动角度成正比。陀螺仪将该位移转换为电容的变化量。通过分析电容的变化量,可获知双屏电子设备的转动角速度或转动角度。比如,当双屏电子设备的转动角速度大于预设值时,或者当双屏电子设备的转动角度大于预设值时,则双屏电子设备确定自身需要进行屏幕切换。The dual-screen electronic device senses its own movement mode through the gyroscope, and then determines whether it needs to switch the screen. The gyroscope (such as a silicon microgyroscope) can rotate when the electronic device rotates during normal operation. The action produces a displacement in the orthogonal direction that is proportional to the rotational angular velocity or angle of rotation of the dual-screen electronic device. The gyroscope converts this displacement into a change in capacitance. By analyzing the amount of change in capacitance, the rotational angular velocity or angle of rotation of the dual-screen electronic device can be known. For example, when the rotational angular velocity of the dual-screen electronic device is greater than a preset value, or when the rotational angle of the dual-screen electronic device is greater than a preset value, the dual-screen electronic device determines that it needs to perform screen switching.
但是,这种判断是否进行屏幕切换的方式在某些场景下会存在判断失误的情况。However, this way of judging whether or not to perform screen switching may result in a judgment error in some scenarios.
比如,当用户使用双屏电子设备的屏幕A进行显示时,若用户出于某种原因需要将屏幕A翻转朝下,避免他人看到屏幕A上的内容。此时,双屏电子设备通过分析重力传感器输出的电压信号,可获知自身相对于水平面翻转了180°,进而确定需要对自身进行屏幕切换。在这种情况下,进行屏幕切换的判断结果与用户的初衷不同,会导致屏幕的误切换。For example, when the user uses the screen A of the dual-screen electronic device for display, if the user needs to turn the screen A down for some reason, the others are prevented from seeing the content on the screen A. At this time, by analyzing the voltage signal output by the gravity sensor, the dual-screen electronic device can know that it has turned 180° with respect to the horizontal plane, thereby determining that it is necessary to switch the screen to itself. In this case, the judgment result of the screen switching is different from the original intention of the user, which may cause a wrong switching of the screen.
再比如,当用户使用双屏电子设备的屏幕A进行显示时,若用户在浏览屏幕A中显示的内容时调整自身的姿势,比如由站立的姿势调整为平躺的姿势。此时,双屏电子设备通过分析陀螺仪输出的电容的变化量,可获知自身的转动角速度大于预设值,进而确定需要对自身进行屏幕切换,如图1所示。在这种情况下,进行屏幕切换的判断结果与用户的初衷不同,会导致屏幕的误切换。For another example, when the user performs display using the screen A of the dual-screen electronic device, if the user browses the content displayed in the screen A, the user's posture is adjusted, for example, the posture of the standing is adjusted to the posture of lying flat. At this time, by analyzing the amount of change in the capacitance outputted by the gyroscope, the dual-screen electronic device can know that its own rotational angular velocity is greater than a preset value, thereby determining that it is necessary to perform screen switching on itself, as shown in FIG. In this case, the judgment result of the screen switching is different from the original intention of the user, which may cause a wrong switching of the screen.
为了提高双屏电子设备进行屏幕切换时的准确性。本申请提供一种双屏电子设备的屏幕切换方法及双屏电子设备。其中,方法和双屏电子设备是基于同一发明构思的,由于方法及双屏电子设备解决问题的原理相似,因此双屏电子设备与方法的实施可以相互参见,重复之处不再赘述。In order to improve the accuracy of the screen switching of the dual-screen electronic device. The application provides a screen switching method for a dual-screen electronic device and a dual-screen electronic device. The method and the dual-screen electronic device are based on the same inventive concept. Since the method and the principle of solving the problem by the dual-screen electronic device are similar, the implementation of the dual-screen electronic device and the method can be referred to each other, and the repeated description is not repeated.
需要说明的是,本申请中,多个是指两个或两个以上;在本申请的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。It should be noted that, in the present application, a plurality refers to two or more; in the description of the present application, the terms “first” and “second” are used only to distinguish the purpose of description, but cannot understand To indicate or imply relative importance, it is not to be construed as an indication or implied order.
本申请实施例涉及的双屏电子设备,可以包括手机、平板电脑、个人数字助理等。The dual-screen electronic device involved in the embodiment of the present application may include a mobile phone, a tablet computer, a personal digital assistant, and the like.
图2示出了本申请提供的一种双屏电子设备200(以下简称电子设备200)的内部结构。FIG. 2 shows the internal structure of a dual-screen electronic device 200 (hereinafter referred to as electronic device 200) provided by the present application.
如图2所示,电子设备200内部可包括:存储器201、处理器202、显示屏203、传感器204和其他输入设备205。其中,显示屏203可包含第一屏幕和第二屏幕。As shown in FIG. 2, the electronic device 200 may include a memory 201, a processor 202, a display screen 203, a sensor 204, and other input devices 205. The display screen 203 can include a first screen and a second screen.
存储器201可用于存储软件程序以及模块,处理器202通过运行存储在存储器201的软件程序以及模块,从而执行电子设备200的各种功能应用以及数据处理。存储器201可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备200的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器201可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 201 can be used to store software programs and modules, and the processor 202 executes various functional applications and data processing of the electronic device 200 by running software programs and modules stored in the memory 201. The memory 201 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the electronic device 200 (such as audio data, phone book, etc.), and the like. Further, the memory 201 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
处理器202是电子设备200的控制中心,利用各种接口和线路连接电子设备的各个部
分,通过运行或执行存储在存储器201内的软件程序和/或模块,以及调用存储在存储器201内的数据,执行电子设备200的各种功能和处理数据,从而对电子设备200进行整体监控。可选的,处理器202可包括一个或多个处理单元;可选的,处理器202可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器202中。The processor 202 is a control center of the electronic device 200, and connects various parts of the electronic device by using various interfaces and lines.
The electronic device 200 is integrally monitored by executing or executing software programs and/or modules stored in the memory 201, and recalling data stored in the memory 201, performing various functions and processing data of the electronic device 200. Optionally, the processor 202 may include one or more processing units; optionally, the processor 202 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and an application. Etc. The modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 202.
显示屏203中的第一屏幕和第二屏幕可分别用于显示由用户输入的信息或提供给用户的信息以及电子设备200的各种菜单,还可以接受用户输入。具体的第一屏幕可包括第一显示面板,以及第一触控面板。其中第一显示面板可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置第一显示面板。第一触控面板,也称为触摸屏、触敏屏等,可收集用户在其上或附近的接触或者非接触操作(比如用户使用手指、触笔等任何适合的物体或附件在第一触控面板上或在第一触控面板附近的操作,也可以包括体感操作;该操作包括单点控制操作、多点控制操作等操作类型),并根据预先设定的程式驱动相应的连接装置。可选的,第一触控面板可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位、姿势,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成处理器能够处理的信息,再送给处理器202,并能接收处理器202发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现第一触控面板,也可以采用未来发展的任何技术实现第一触控面板。进一步的,第一触控面板可覆盖第一显示面板,用户可以根据第一显示面板显示的内容(该显示内容包括但不限于软键盘、虚拟鼠标、虚拟按键、图标等等),在第一显示面板上覆盖的第一触控面板上或者附近进行操作,第一触控面板检测到在其上或附近的操作后,将该操作信息传送给处理器202以确定用户输入,随后处理器202根据用户输入在第一显示面板上提供相应的视觉输出。除如上介绍的第一触控面板与第一显示面板作为两个独立的部件来实现电子设备200的输入和输入功能的方式外,在某些实施例中,可以将第一触控面板与第一显示面板集成而实现电子设备200的输入和输出功能。第二屏幕与第一屏幕是相互独立的屏幕,第二屏幕的连接、功能等均与第一屏幕类似,此处不再赘述。The first screen and the second screen in the display screen 203 may be used to display information input by the user or information provided to the user and various menus of the electronic device 200, respectively, and may also accept user input. The specific first screen may include a first display panel and a first touch panel. The first display panel can be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. The first touch panel, also referred to as a touch screen, a touch sensitive screen, etc., can collect contact or non-contact operations on or near the user (eg, the user uses any suitable object or accessory such as a finger, a stylus, etc. at the first touch The operation on the panel or in the vicinity of the first touch panel may also include a somatosensory operation; the operation includes a single-point control operation, a multi-point control operation, and the like, and the corresponding connection device is driven according to a preset program. Optionally, the first touch panel may include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation and posture of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detection device, and converts the signal into a processor. The processed information is sent to the processor 202 and can receive commands from the processor 202 and execute them. In addition, the first touch panel can be implemented by using various types such as resistive, capacitive, infrared, and surface acoustic waves, and the first touch panel can be implemented by any technology developed in the future. Further, the first touch panel may cover the first display panel, and the user may display the content according to the first display panel (the display content includes but is not limited to a soft keyboard, a virtual mouse, a virtual button, an icon, etc.) at the first The operation is performed on or near the first touch panel covered on the display panel. After the first touch panel detects the operation thereon or nearby, the operation information is transmitted to the processor 202 to determine the user input, and then the processor 202 A corresponding visual output is provided on the first display panel based on user input. In addition to the manner in which the first touch panel and the first display panel are implemented as two separate components to implement the input and input functions of the electronic device 200, in some embodiments, the first touch panel and the first touch panel may be A display panel is integrated to implement input and output functions of the electronic device 200. The second screen and the first screen are mutually independent screens, and the connections, functions, and the like of the second screen are similar to the first screen, and are not described herein again.
传感器204可以包含运动传感器、光传感器、接近传感器以及其他传感器。其中,光传感器可包括环境光传感器及接近传感器,环境光传感器可根据环境光线的明暗来调节显示单元的亮度,接近传感器可在电子设备设备移动到耳边时,关闭显示单元和/或背光。运动传感器可包含加速度计传感器、重力传感器、陀螺仪等。加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准、双屏电子设备的屏幕切换)、振动识别相关功能(比如计步器、敲击)等。重力传感器可用于检测垂直方向的加速度的大小。陀螺仪可检测各个方向上(一般为三轴)转动角速度的大小,可用于电子设备姿态的应用,(比如横竖屏切换、双屏电子设备的屏幕切换)。此外,传感器204还可包含气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Sensor 204 can include motion sensors, light sensors, proximity sensors, and other sensors. The light sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor may adjust the brightness of the display unit according to the brightness of the ambient light, and the proximity sensor may turn off the display unit and/or the backlight when the electronic device device moves to the ear. The motion sensor can include an accelerometer sensor, a gravity sensor, a gyroscope, and the like. The accelerometer sensor can detect the acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration). , screen switching of dual-screen electronic devices), vibration recognition related functions (such as pedometer, tapping). A gravity sensor can be used to detect the magnitude of the acceleration in the vertical direction. The gyroscope can detect the angular velocity of rotation in all directions (usually three axes) and can be used for the attitude of electronic devices (such as horizontal and vertical screen switching, screen switching of dual-screen electronic devices). In addition, the sensor 204 may further include other sensors such as a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, and details are not described herein again.
其他输入设备205可用于接收输入的数字或字符信息,以及产生与电子设备200的用户设置以及功能控制有关的键信号输入。具体地,其他输入设备205可包括但不限于摄像
头、物理键盘、功能键(比如音量控制按键、开关按键等)、操作杆等中的一种或多种。Other input devices 205 can be used to receive input digital or character information, as well as generate key signal inputs related to user settings and function control of electronic device 200. Specifically, other input devices 205 may include, but are not limited to, video recording
One or more of a head, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), joysticks, and the like.
此外,电子设备200采用无线方式与外界通信时,还可包括射频(Radio Frequency,RF)电路和连接的天线,无线保真(Wireless Fidelity,WiFi)模块和连接的天线等。RF电路可用于收发信息或在通话过程中,完成信号的接收和发送,特别地,将收到基站发送的下行信息接收后,将下行信息交给处理器202处理;另外,将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于:全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。In addition, when the electronic device 200 communicates with the outside world in a wireless manner, it may further include a radio frequency (RF) circuit and a connected antenna, a wireless fidelity (WiFi) module, and a connected antenna. The RF circuit can be used for transmitting and receiving information or receiving and transmitting signals during the call. In particular, after receiving the downlink information sent by the base station, the downlink information is forwarded to the processor 202 for processing; in addition, the uplink data is sent. To the base station. Generally, RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit can communicate with the network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to: Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), code division multiple access ( Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
图2中,音频电路、扬声器,麦克风可提供用户与电子设备200之间的音频接口。音频电路可将接收到的音频数据转换后的电信号,传输到扬声器,由扬声器转换为声音信号输出;另一方面,麦克风将收集的声音信号转换为电信号,由音频电路接收后转换为音频数据,再将音频数据输出至RF电路以发送给其他电子设备,比如:手机,或者将音频数据输出至存储器201以便进一步处理。In FIG. 2, an audio circuit, a speaker, and a microphone can provide an audio interface between the user and the electronic device 200. The audio circuit can transmit the converted electrical signal of the received audio data to the speaker and convert it into a sound signal output by the speaker; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit and converted into audio. The data is then output to an RF circuit for transmission to other electronic devices, such as a cell phone, or the audio data is output to memory 201 for further processing.
电子设备200还包括给各个部件供电的电源(比如电池),可选地,电源可以通过电源管理系统与处理器202逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗等功能。The electronic device 200 also includes a power source (such as a battery) that supplies power to the various components. Alternatively, the power source can be logically coupled to the processor 202 through a power management system to manage functions such as charging, discharging, and power consumption through the power management system.
本领域技术人员可以理解,图2中示出的电子设备的内部结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It will be understood by those skilled in the art that the internal structure of the electronic device shown in FIG. 2 does not constitute a limitation on the electronic device, and may include more or less components than those illustrated, or combine some components, or different components. Arrangement.
下面将结合附图对本申请实施例作进一步地详细描述。The embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
参见图3,为本申请提供的一种双屏电子设备的屏幕切换方法。该方法可应用于具有两个屏幕的电子设备,即应用于双屏电子设备。当双屏电子设备的两个屏幕中的第一屏幕当前处于点亮状态,第二屏幕处于未点亮状态时,采用图3所示的方法可以判断双屏电子设备是否需要进行屏幕切换。该方法包括如下步骤:Referring to FIG. 3, a screen switching method of a dual-screen electronic device provided by the present application is provided. The method can be applied to an electronic device having two screens, that is, applied to a dual screen electronic device. When the first screen of the two screens of the dual-screen electronic device is currently in the lighting state and the second screen is in the unlit state, the method shown in FIG. 3 can be used to determine whether the dual-screen electronic device needs to perform screen switching. The method comprises the following steps:
S301:双屏电子设备检测第一触控面积和第二触控面积。S301: The dual-screen electronic device detects the first touch area and the second touch area.
需要说明的是,本申请中,双屏电子设备的结构示意图可以如图2所示,但不限于图2所示的双屏电子设备。It should be noted that, in the present application, the schematic diagram of the dual-screen electronic device may be as shown in FIG. 2, but is not limited to the dual-screen electronic device shown in FIG. 2.
其中,第一触控面积用于指示用户与双屏电子设备的第一屏幕的接触面积,第二触控面积用于指示用户与双屏电子设备的第二屏幕的接触面积。双屏电子设备可用于进行显示的屏幕有两个,即第一屏幕和第二屏幕。第一屏幕为双屏电子设备当前点亮的屏幕,第二屏幕为双屏电子设备当前未点亮的屏幕。The first touch area is used to indicate the contact area of the user with the first screen of the dual-screen electronic device, and the second touch area is used to indicate the contact area of the user with the second screen of the dual-screen electronic device. There are two screens that the dual-screen electronic device can use for display, namely the first screen and the second screen. The first screen is a screen that is currently lit by the dual-screen electronic device, and the second screen is a screen that the dual-screen electronic device is currently not lit.
本申请中,第一屏幕和第二屏幕可以为具有多点触控功能的触摸屏。当第一屏幕和第二屏幕具有多点触控功能时,双屏电子设备可检测到上述第一触控面积和第二触控面积。In the present application, the first screen and the second screen may be touch screens having multi-touch functions. When the first screen and the second screen have multi-touch functions, the dual-screen electronic device can detect the first touch area and the second touch area.
以第一屏幕具有多点触控功能为例,当用户在第一屏幕上进行多点触控或点击时,多点触控或点击操作会产生多路信号,采用多点触控技术可同时采集多路信号,并对每路信号进行识别,从而第一屏幕可实现识别用户的多点触控和点击。那么,在第一屏幕具有多点触控功能时,可实现双屏电子设备检测到用户与第一屏幕的第一触控面积。
Taking the multi-touch function of the first screen as an example, when the user performs multi-touch or click on the first screen, multi-touch or click operation generates multiple signals, and multi-touch technology can simultaneously Multiple signals are collected and each signal is identified, so that the first screen can realize multi-touch and click of the user. Then, when the first screen has a multi-touch function, the dual-screen electronic device can detect the first touch area of the user and the first screen.
需要说明的是,本申请实施例中对第一屏幕的类型和第二屏幕的类型不做限定。比如,第一屏幕可以为电容屏也可以为电阻屏,第二屏幕可以为电容屏也可以为电阻屏。再比如,第一屏幕可以支持多点触控也可以支持单点触控,第二屏幕可以支持多点触控也可以支持单点触控。本申请中,仅需使得双屏电子设备能够检测到第一屏幕中的多个触控点围成的第一触控面积,以及使得双屏电子设备能够检测到第二屏幕中的多个触控点围成的第二触控面积即可。It should be noted that the type of the first screen and the type of the second screen are not limited in the embodiment of the present application. For example, the first screen may be a capacitive screen or a resistive screen, and the second screen may be a capacitive screen or a resistive screen. For example, the first screen can support multi-touch or single-touch, and the second screen can support multi-touch or single-touch. In the present application, the dual-screen electronic device only needs to enable the dual-screen electronic device to detect the first touch area enclosed by the plurality of touch points in the first screen, and enable the dual-screen electronic device to detect multiple touches in the second screen. The second touch area enclosed by the control points can be.
一种第一屏幕的模型(pattern)图可如图4所示。图4中,竖向平行排列的为多条驱动通道,横向平行排列的为多条感应通道。第一屏幕的工作原理如下:驱动通道和感应通道相互耦合,在每个驱动通道和感应通道的交叉点形成节点电容。当用户的手指(或手掌)触摸到屏幕时,用户手指(或手掌)覆盖区域的节点电容的感应电路会发生变化,通过检测这一变化量即可实现第一屏幕的触摸功能。第二屏幕的工作原理与第一屏幕的工作原理类似,此处不再赘述。A pattern diagram of the first screen can be as shown in FIG. In FIG. 4, a plurality of driving channels are arranged vertically in parallel, and a plurality of sensing channels are arranged in parallel in the lateral direction. The first screen works as follows: the drive channel and the sense channel are coupled to each other to form a node capacitance at the intersection of each of the drive channel and the sense channel. When the user's finger (or palm) touches the screen, the sensing circuit of the node capacitance of the user's finger (or palm) coverage area changes, and the touch function of the first screen can be realized by detecting the amount of change. The working principle of the second screen is similar to that of the first screen, and will not be described here.
基于以上介绍的触摸屏的工作原理,S301中双屏电子设备检测第一触控面积和第二触控面积,具体可通过如下方式实现:双屏电子设备检测第一屏幕上第一节点电容的数量,以及第二屏幕上第二节点电容的数量。其中,第一节点电容为第一屏幕的多个节点电容中感应电流发生变化的节点电容,第二节点电容为第二屏幕的多个节点电容中感应电流发生变化的节点电容;双屏电子设备根据第一节点电容的数量确定第一触控面积,并根据第二节点电容的数量确定第二触控面积。Based on the working principle of the touch screen described above, the dual-screen electronic device in S301 detects the first touch area and the second touch area, which can be implemented by: the dual-screen electronic device detecting the number of the first node capacitors on the first screen. And the number of second node capacitors on the second screen. Wherein, the first node capacitance is a node capacitance of a plurality of node capacitances of the first screen that changes in induced current, and the second node capacitance is a node capacitance of a plurality of node capacitances of the second screen that changes in induced current; the dual-screen electronic device The first touch area is determined according to the number of first node capacitances, and the second touch area is determined according to the number of second node capacitances.
如前所述,当用户的手指(或手掌)触摸到第一屏幕时,第一屏幕上的多个节点电容中,被用户的手指(或手掌)覆盖的节点电容(即第一电容)的感应电流会发生变化,双屏电子设备检测到第一电容的数量后,即可根据第一电容的数量确定第一触控面积。比如,根据第一屏幕的pattern图、屏幕尺寸大小和第一电容的数量,即可估算出第一触控面积。As described above, when the user's finger (or palm) touches the first screen, among the plurality of node capacitances on the first screen, the node capacitance (ie, the first capacitance) covered by the user's finger (or palm) The induced current changes, and after the dual-screen electronic device detects the number of the first capacitors, the first touch area can be determined according to the number of the first capacitors. For example, the first touch area can be estimated according to the pattern of the first screen, the size of the screen, and the number of first capacitors.
同样地,如前所述,当用户的手指(或手掌)触摸到第二屏幕时,第二屏幕上的多个节点电容中,被用户的手指(或手掌)覆盖的节点电容(即第二电容)的感应电流会发生变化,双屏电子设备检测到第二电容的数量后,即可根据第二电容的数量确定第二触控面积。比如,根据第二屏幕的pattern图、屏幕尺寸大小和第二电容的数量,即可估算出第二触控面积。Similarly, as described above, when the user's finger (or palm) touches the second screen, among the plurality of node capacitances on the second screen, the node capacitance (ie, the second) covered by the user's finger (or palm) The induced current of the capacitor changes, and after the dual-screen electronic device detects the second capacitor, the second touch area can be determined according to the number of the second capacitor. For example, the second touch area can be estimated according to the pattern of the second screen, the size of the screen, and the number of second capacitors.
采用如上方案,提供了一种检测第一触控面积和第二触控面积的实现方式。With the above solution, an implementation for detecting the first touch area and the second touch area is provided.
需要说明的是,本申请实施例中,S301中检测第一触控面积和第二触控面积的操作可由某个条件触发执行,比如在双屏电子设备通过其他方式(比如通过重力传感器或陀螺仪判断)初步判断可能需要进行屏幕切换时执行,或者在检测到双屏电子设备发生移动或转动时执行;或者,S301中检测第一触控面积和第二触控面积的操作可时时执行,即双屏电子设备时时检测第一触控面积和第二触控面积。本申请中对S301的执行时机不做限制。It should be noted that, in the embodiment of the present application, the operations of detecting the first touch area and the second touch area in S301 may be triggered by a certain condition, such as in a dual-screen electronic device by other means (such as by a gravity sensor or a gyroscope). The device determines that the preliminary determination may need to be performed when the screen is switched, or when detecting that the dual-screen electronic device moves or rotates; or the operation of detecting the first touch area and the second touch area in S301 may be performed from time to time. That is, the dual-screen electronic device detects the first touch area and the second touch area from time to time. The execution timing of S301 is not limited in the present application.
当双屏电子设备时时检测第一触控面积和第二触控面积时,双屏电子设备可在某个条件的触发下执行比较第一触控面积和第二触控面积操作,从而判断是否进行屏幕切换。比如,双屏电子设备时时检测第一触控面积和第二触控面积,当双屏电子设备通过其他方式(比如通过重力传感器或陀螺仪判断)初步判断可能需要进行屏幕切换时,比较第一触控面积和第二触控面积的大小,并在第一触控面积大于第二触控面积时进行屏幕切换。When the dual-screen electronic device detects the first touch area and the second touch area from time to time, the dual-screen electronic device can perform the operation of comparing the first touch area and the second touch area under the trigger of a certain condition, thereby determining whether Switch the screen. For example, the dual-screen electronic device detects the first touch area and the second touch area from time to time. When the dual-screen electronic device judges that the screen switch may be required by other means (such as by gravity sensor or gyroscope), the first comparison is made. The size of the touch area and the second touch area are performed, and the screen is switched when the first touch area is larger than the second touch area.
S302:双屏电子设备在第一触控面积大于第二触控面积时进行屏幕切换。S302: The dual-screen electronic device performs screen switching when the first touch area is greater than the second touch area.
由于双屏电子设备中当前点亮的屏幕为第一屏幕,因此S302中双屏电子设备进行屏
幕切换的含义是:当双屏电子设备中用于进行显示的屏幕由第一屏幕切换为第二屏幕。此时,第一屏幕处于未点亮状态,第二屏幕处于点亮状态。Since the currently lit screen in the dual-screen electronic device is the first screen, the dual-screen electronic device in S302 performs the screen.
The meaning of the screen switching is that when the screen for display in the dual screen electronic device is switched from the first screen to the second screen. At this time, the first screen is in an unlit state, and the second screen is in a lit state.
此外,若双屏电子设备检测到的第一触控面积小于第二触控面积,则双屏电子设备不进行屏幕切换。In addition, if the first touch area detected by the dual-screen electronic device is smaller than the second touch area, the dual-screen electronic device does not perform screen switching.
通常,用户在操作电子设备时,与电子设备中正在进行显示的屏幕的接触面积较少,而与正在进行显示的屏幕的反面(或者未用于进行显示的屏幕)的接触面积较大。因此,双屏电子设备通过判断用户与双屏电子设备的哪个屏幕的接触面积较小,即可判断用户期望使用哪个屏幕进行显示。Generally, when the user operates the electronic device, the contact area with the screen being displayed in the electronic device is small, and the contact area with the reverse side of the screen being displayed (or the screen not used for display) is large. Therefore, the two-screen electronic device can determine which screen the user desires to display by judging which screen the user has with which screen of the dual-screen electronic device is small.
在图3所示的双屏电子设备的屏幕切换方法中,双屏电子设备检测第一触控面积和第二触控面积,通过比较第一触控面积和第二触控面积,即可判断是否需要进行屏幕切换。由于用户无论在调整姿势、翻转手机还是切换屏幕等各种操作下,用户的手指(或手掌)均不会大面积触控到期望进行显示的屏幕,即用户的手指(或手掌)与期望进行显示的屏幕的触控面积大于与另一个屏幕的触控面积。因此,图3所示的双屏电子设备的屏幕切换方法中,双屏电子设备通过比较第一触控面积和第二触控面积判断是否需要进行屏幕切换的方案,与现有技术中通过重力传感器或陀螺仪来判断是否进行屏幕切换的方案相比,在用户处于各种姿势和各种场景的情况下,均能对是否进行屏幕切换做出准确判断。In the screen switching method of the dual-screen electronic device shown in FIG. 3, the dual-screen electronic device detects the first touch area and the second touch area, and can compare the first touch area and the second touch area to determine Whether you need to switch screens. Since the user does not touch the screen to the desired display screen, that is, the user's finger (or palm) and the desired operation, regardless of the user's various operations such as adjusting the posture, flipping the mobile phone, or switching the screen. The touch area of the displayed screen is larger than the touch area of the other screen. Therefore, in the screen switching method of the dual-screen electronic device shown in FIG. 3, the dual-screen electronic device determines whether a screen switching is required by comparing the first touch area and the second touch area, and the prior art passes gravity. Compared with the scheme in which the sensor or the gyroscope determines whether or not to perform screen switching, it is possible to make an accurate judgment on whether or not to perform screen switching in the case where the user is in various postures and various scenes.
比如,当用户在使用屏幕A时,若用户需要将屏幕A翻转朝下,避免他人看到屏幕上的内容,由于用户做出翻转手机的动作后,由于用户与屏幕A的第一触控面积小于用户与屏幕B的第二触控面积,此时,采用图3所示的方法,不会像现有技术那样将用户翻转手机的动作误判为切换屏幕的动作,而是会准确判断出双屏电子设备不需进行屏幕切换。For example, when the user is using the screen A, if the user needs to flip the screen A downward to prevent others from seeing the content on the screen, the user touches the first touch area of the screen A after the action of flipping the mobile phone. It is smaller than the second touch area of the user and the screen B. At this time, the method shown in FIG. 3 is used, and the action of the user flipping the mobile phone is not mistakenly determined as the action of switching the screen, but is accurately determined. Dual screen electronic devices do not require screen switching.
再比如,当用户在使用屏幕A时,若用户在浏览屏幕A中显示的内容时调整自身的姿势,由于此时用户操作手机的方式并没有改变,即第一触控面积仍小于第二触控面积,那么采用图3所示的方法,不会像现有技术那样,将用户调整自身姿势的动作误判为切换屏幕的动作,而是会准确判断出双屏电子设备不需进行屏幕切换。For another example, when the user is using the screen A, if the user adjusts his or her posture while browsing the content displayed on the screen A, since the manner in which the user operates the mobile phone does not change, the first touch area is still smaller than the second touch. Control the area, then adopt the method shown in FIG. 3, and do not mistake the user's action of adjusting his posture as the action of switching the screen as in the prior art, but accurately determine that the dual-screen electronic device does not need to perform screen switching. .
此外,双屏电子设备检测第一触控面积和第二触控面积的具体实现方式包括但不限于以下两种:In addition, the specific implementation manners for detecting the first touch area and the second touch area by the dual-screen electronic device include but are not limited to the following two types:
第一种The first
当双屏电子设备中的重力传感器指示双屏电子设备相对于水平面的倾斜角度大于第一预设角度时,双屏电子设备检测第一触控面积和第二触控面积。The dual-screen electronic device detects the first touch area and the second touch area when the gravity sensor in the dual-screen electronic device indicates that the tilt angle of the dual-screen electronic device relative to the horizontal plane is greater than the first predetermined angle.
根据前述重力传感器感知双屏电子设备的移动方式的介绍可以知道,当重力传感器指示双屏电子设备相对于水平面的倾斜角度大于第一预设角度时,双屏电子设备可通过重力传感器的指示初步判断需进行屏幕切换。因此,采用第一种实现方式,可在双屏电子设备通过重力传感器的指示初步判断需要进行屏幕切换时,再通过检测第一触控面积和第二触控面积来最终决定是否执行屏幕切换动作。当通过重力传感器的指示判断需进行屏幕切换且第一触控面积大于第二触控面积时,对双屏电子设备进行屏幕切换,可提高该屏幕切换方法的准确性。According to the introduction of the gravity sensor sensing the movement mode of the dual-screen electronic device, when the gravity sensor indicates that the tilt angle of the dual-screen electronic device relative to the horizontal plane is greater than the first preset angle, the dual-screen electronic device can be initially indicated by the gravity sensor. It is judged that a screen switch is required. Therefore, in the first implementation manner, when the dual-screen electronic device initially determines that the screen switching is required by the indication of the gravity sensor, the first touch area and the second touch area are detected to finally determine whether to perform the screen switching action. . When the screen is switched by the indication of the gravity sensor and the first touch area is larger than the second touch area, the screen switching of the dual-screen electronic device can improve the accuracy of the screen switching method.
第二种Second
当双屏电子设备中的陀螺仪指示双屏电子设备的转动角速度大于预设角速度,或者指示双屏电子设备的转动角度大于第二预设角度时,双屏电子设备检测第一触控面积和第二触控面积。
When the gyroscope in the dual-screen electronic device indicates that the rotational angular velocity of the dual-screen electronic device is greater than the preset angular velocity, or indicates that the rotational angle of the dual-screen electronic device is greater than the second predetermined angle, the dual-screen electronic device detects the first touched area and The second touch area.
根据前述陀螺仪感知双屏电子设备的移动方式的介绍可以知道,当双屏电子设备中的陀螺仪指示双屏电子设备的转动角速度大于预设角速度,或者指示双屏电子设备的转动角度大于第二预设角度时,双屏电子设备可通过陀螺仪的指示初步判断需进行屏幕切换。因此采用第二种实现方式,可在双屏电子设备通过陀螺仪的指示初步判断需要进行屏幕切换时,再通过检测第一触控面积和第二触控面积来最终决定是否执行屏幕切换动作。当通过陀螺仪的指示判断需进行屏幕切换且第一触控面积大于第二触控面积时,对双屏电子设备进行屏幕切换,可提高该屏幕切换方法的准确性。According to the introduction of the gyroscope sensing the movement mode of the dual-screen electronic device, when the gyroscope in the dual-screen electronic device indicates that the rotational angular velocity of the dual-screen electronic device is greater than the preset angular velocity, or indicates that the rotation angle of the dual-screen electronic device is greater than the first When the preset angle is two, the dual-screen electronic device can initially judge that the screen needs to be switched through the indication of the gyroscope. Therefore, the second implementation manner can be used to determine whether to perform the screen switching action by detecting the first touch area and the second touch area when the dual-screen electronic device initially determines that the screen needs to be switched through the indication of the gyroscope. When the screen is switched by the indication of the gyroscope and the first touch area is larger than the second touch area, the screen switching of the dual-screen electronic device can improve the accuracy of the screen switching method.
需要说明的是,本申请中的第一预设角度可以和第二预设角度可以相同也可以不同,本申请对第一预设角度和第二预设角度的具体数值不做限定。It should be noted that the first preset angle in the present application may be the same as or different from the second preset angle. The specific values of the first preset angle and the second preset angle are not limited in this application.
综上,采用本申请提供的双屏电子设备的屏幕切换方法,可以提高双屏电子设备进行屏幕切换时的准确性。In summary, the screen switching method of the dual-screen electronic device provided by the present application can improve the accuracy of the screen switching of the dual-screen electronic device.
此外,本申请还提供一种双屏电子设备的屏幕切换方法,该屏幕切换方法可视为图3所示的屏幕切换方法的一个具体示例。如图5所示,该方法包括如下步骤:In addition, the present application also provides a screen switching method of a dual-screen electronic device, which can be regarded as a specific example of the screen switching method shown in FIG. 3. As shown in FIG. 5, the method includes the following steps:
1、双屏电子设备通过重力传感器的指示判断自身相对于水平面的倾斜角度大于第一预设角度。1. The dual-screen electronic device judges that the inclination angle of itself relative to the horizontal plane is greater than the first preset angle by the indication of the gravity sensor.
当重力传感器指示双屏电子设备相对于水平面的倾斜角度大于第一预设角度时,即代表双屏电子设备初步判断需进行屏幕切换。When the gravity sensor indicates that the tilt angle of the dual-screen electronic device relative to the horizontal plane is greater than the first preset angle, it means that the dual-screen electronic device initially determines that screen switching is required.
其中,第一预设角度可预先设置,比如第一预设角度为90°。The first preset angle may be preset, for example, the first preset angle is 90°.
2、双屏电子设备检测第一触控面积和第二触控面积。2. The dual-screen electronic device detects the first touch area and the second touch area.
其中,第一触控面积用于指示用户与双屏电子设备的第一屏幕的接触面积,第二触控面积用于指示用户与双屏电子设备的第二屏幕的接触面积,第一屏幕为双屏电子设备当前点亮的屏幕,第二屏幕为双屏电子设备当前未点亮的屏幕。The first touch area is used to indicate the contact area of the user with the first screen of the dual-screen electronic device, and the second touch area is used to indicate the contact area between the user and the second screen of the dual-screen electronic device. The first screen is The screen on which the dual-screen electronic device is currently lit, and the second screen is the screen on which the dual-screen electronic device is currently not lit.
3、双屏电子设备判断第一触控面积是否大于第二触控面积,若是,则执行步骤4,若否,则执行步骤5。3. The dual-screen electronic device determines whether the first touch area is greater than the second touch area. If yes, step 4 is performed, and if not, step 5 is performed.
4、双屏电子设备进行屏幕切换。4, dual-screen electronic devices for screen switching.
双屏电子设备进行屏幕切换,即关闭第一屏幕并点亮第二屏幕。当第一触控面积大于第二触控面积时,说明用户与第一屏幕的接触面积大于用户与第二屏幕的接触面积,此时根据用户使用电子设备的行为习惯可以判断,用户当前期望进行显示的屏幕为第二屏幕,因而此时需要对双屏电子设备进行屏幕切换。The dual screen electronic device performs screen switching, that is, the first screen is turned off and the second screen is lit. When the first touch area is larger than the second touch area, the contact area of the user with the first screen is greater than the contact area between the user and the second screen. In this case, according to the behavior of the user using the electronic device, the user currently desires to perform. The displayed screen is the second screen, so it is necessary to perform screen switching on the dual-screen electronic device at this time.
5、双屏电子设备保持在第一屏幕不进行切换。5. The dual-screen electronic device remains on the first screen without switching.
当第一触控面积小于第二触控面积时,说明用户与第一屏幕的接触面积小于用户与第二屏幕的接触面积,此时根据用户使用电子设备的行为习惯可以判断,用户当前期望进行显示的屏幕为第一屏幕,因而此时无需对双屏电子设备进行屏幕切换,双屏电子设备保持在第一屏幕不进行切换即可。When the first touch area is smaller than the second touch area, the contact area between the user and the first screen is smaller than the contact area between the user and the second screen. In this case, according to the behavior of the user using the electronic device, the user currently desires to perform. The displayed screen is the first screen, so there is no need to perform screen switching on the dual-screen electronic device at this time, and the dual-screen electronic device remains on the first screen without switching.
需要说明的是,图5所示屏幕切换方法可视为图3所示的屏幕切换方法的一个具体示例。图5所示方法中未详尽描述的实现方式可参考图3所示方法中的相关描述。It should be noted that the screen switching method shown in FIG. 5 can be regarded as a specific example of the screen switching method shown in FIG. 3. For an implementation not described in detail in the method shown in FIG. 5, reference may be made to the related description in the method shown in FIG.
基于以上双屏电子设备的屏幕切换方法,本申请实施例还提供一种双屏电子设备,该双屏电子设备可用于执行图3所示的双屏电子设备的屏幕切换方法。如图6所示,该双屏电子设备600包含第一屏幕601、第二屏幕602以及处理器603。Based on the above screen switching method of the dual-screen electronic device, the embodiment of the present application further provides a dual-screen electronic device, which can be used to perform the screen switching method of the dual-screen electronic device shown in FIG. 3 . As shown in FIG. 6, the dual screen electronic device 600 includes a first screen 601, a second screen 602, and a processor 603.
处理器603,用于检测第一触控面积和第二触控面积;在第一触控面积大于第二触控
面积时进行屏幕切换。The processor 603 is configured to detect the first touch area and the second touch area; and the first touch area is greater than the second touch
Screen switching when the area is in progress.
其中,第一触控面积用于指示用户与第一屏幕601和第二屏幕602中当前点亮的屏幕的接触面积,第二触控面积用于指示用户与第一屏幕601和第二屏幕602中当前未点亮的屏幕的接触面积。The first touch area is used to indicate the contact area of the user with the currently lit screen in the first screen 601 and the second screen 602, and the second touch area is used to indicate the user and the first screen 601 and the second screen 602. The contact area of the currently unlit screen.
需要说明的是,图6仅示出了双屏电子设备中与实现本申请方案所必须具备的组成部分,即双屏电子设备600为实现本申请方案的最简配置。双屏电子设备600的其他组成部分可参照图2中的相关描述。It should be noted that FIG. 6 only shows the components that must be provided in the dual-screen electronic device and the implementation of the solution of the present application, that is, the dual-screen electronic device 600 is the simplest configuration for implementing the solution of the present application. Other components of the dual screen electronic device 600 can be referred to the related description in FIG. 2.
可选地,第一屏幕601和第二屏幕602均为具有多点触控功能的屏幕。Optionally, the first screen 601 and the second screen 602 are both screens with multi-touch functions.
可选地,检测第一触控面积和第二触控面积时,具体包括:检测第一屏幕601和第二屏幕602中当前点亮的屏幕上的第一节点电容的数量,以及第一屏幕601和第二屏幕602中当前未点亮的屏幕上的第二节点电容的数量;根据第一节点电容的数量确定第一触控面积,并根据第二节点电容的数量确定第二触控面积。Optionally, when detecting the first touch area and the second touch area, the method specifically includes: detecting a quantity of the first node capacitance on the currently lit screen in the first screen 601 and the second screen 602, and the first screen 601 and the number of second node capacitances on the screen that are not currently lit in the second screen 602; determining the first touch area according to the number of first node capacitances, and determining the second touch area according to the number of second node capacitances .
其中,第一节点电容为第一屏幕601和第二屏幕602中当前点亮的屏幕的多个节点电容中感应电流发生变化的节点电容,第二节点电容为第一屏幕601和第二屏幕602中当前未点亮的屏幕的多个节点电容中感应电流发生变化的节点电容。The first node capacitance is a node capacitance of a plurality of node capacitances of the currently lit screen in the first screen 601 and the second screen 602, and the second node capacitance is the first screen 601 and the second screen 602. A node capacitance in which a sensed current changes in a plurality of node capacitances of a currently unlit screen.
可选地,双屏电子设备600还包括重力传感器,处理器603还用于:当重力传感器指示双屏电子设备600相对于水平面的倾斜角度大于第一预设角度时,检测第一触控面积和第二触控面积。Optionally, the dual-screen electronic device 600 further includes a gravity sensor, and the processor 603 is further configured to: when the gravity sensor indicates that the tilt angle of the dual-screen electronic device 600 relative to the horizontal plane is greater than the first preset angle, detecting the first touch area And the second touch area.
可选地,双屏电子设备600还包括陀螺仪,处理器603还用于:当陀螺仪指示双屏电子设备600的转动角速度大于预设角速度,或者指示双屏电子设备600的转动角度大于第二预设角度时,检测第一触控面积和第二触控面积。。Optionally, the dual-screen electronic device 600 further includes a gyroscope. The processor 603 is further configured to: when the gyroscope indicates that the rotational angular velocity of the dual-screen electronic device 600 is greater than a preset angular velocity, or indicate that the rotational angle of the dual-screen electronic device 600 is greater than the first When the preset angle is two, the first touch area and the second touch area are detected. .
通常,用户在操作电子设备时,与电子设备中正在进行显示的屏幕的接触面积较少,而与正在进行显示的屏幕的反面(或者未用于进行显示的屏幕)的接触面积较大。因此,处理器603通过判断用户与双屏电子设备的哪个屏幕的接触面积较小,即可判断用户期望使用哪个屏幕进行显示。Generally, when the user operates the electronic device, the contact area with the screen being displayed in the electronic device is small, and the contact area with the reverse side of the screen being displayed (or the screen not used for display) is large. Therefore, the processor 603 can determine which screen the user desires to use for display by determining which screen of the dual screen electronic device the user has a small contact area.
在图6所示的双屏电子设备600中,处理器603检测第一触控面积和第二触控面积,并通过比较第一触控面积和第二触控面积,判断是否需要进行屏幕切换。由于用户无论在调整姿势、翻转手机还是切换屏幕等各种操作下,用户的手指(或手掌)均不会大面积触控到期望进行显示的屏幕,即用户的手指(或手掌)与期望进行显示的屏幕的触控面积大于与另一个屏幕的触控面积。因此,图6所示双屏电子设备600中,处理器603通过比较第一触控面积和第二触控面积判断是否需要进行屏幕切换的方案,与现有技术中通过重力传感器或陀螺仪来判断是否进行屏幕切换的方案相比,在用户处于各种姿势和各种场景的情况下,均能对是否进行屏幕切换做出准确判断。In the dual-screen electronic device 600 shown in FIG. 6, the processor 603 detects the first touch area and the second touch area, and compares the first touch area and the second touch area to determine whether screen switching is required. . Since the user does not touch the screen to the desired display screen, that is, the user's finger (or palm) and the desired operation, regardless of the user's various operations such as adjusting the posture, flipping the mobile phone, or switching the screen. The touch area of the displayed screen is larger than the touch area of the other screen. Therefore, in the dual-screen electronic device 600 shown in FIG. 6, the processor 603 determines whether a screen switching operation is required by comparing the first touch area and the second touch area, and the prior art uses a gravity sensor or a gyroscope. Compared with the scheme of judging whether or not to perform screen switching, it is possible to make an accurate judgment on whether or not to perform screen switching in the case where the user is in various postures and various scenes.
比如,当用户在使用屏幕A时,若用户需要将屏幕A翻转朝下,避免他人看到屏幕上的内容,由于用户做出翻转手机的动作后,由于用户与屏幕A的第一触控面积小于用户与屏幕B的第二触控面积,此时,采用图6所示的双屏电子设备600检测是否需要进行屏幕切换时,不会像现有技术那样将用户翻转手机的动作误判为切换屏幕的动作,而是会准确判断出双屏电子设备600不需进行屏幕切换。For example, when the user is using the screen A, if the user needs to flip the screen A downward to prevent others from seeing the content on the screen, the user touches the first touch area of the screen A after the action of flipping the mobile phone. The second touch area is smaller than the second touch area of the user and the screen B. In this case, when the dual screen electronic device 600 shown in FIG. 6 is used to detect whether screen switching is required, the user's action of flipping the mobile phone is not misjudged as in the prior art. Switching the action of the screen, but accurately determining that the dual-screen electronic device 600 does not need to perform screen switching.
再比如,当用户在使用屏幕A时,若用户在浏览屏幕A中显示的内容时调整自身的姿势,由于此时用户操作手机的方式并没有改变,即第一触控面积仍小于第二触控面积,那
么采用图6所示的双屏电子设备600检测是否需要进行屏幕切换时,不会像现有技术那样,将用户调整自身姿势的动作误判为切换屏幕的动作,而是会准确判断出双屏电子设备600不需进行屏幕切换。For another example, when the user is using the screen A, if the user adjusts his or her posture while browsing the content displayed on the screen A, since the manner in which the user operates the mobile phone does not change, the first touch area is still smaller than the second touch. Control area, that
When the dual-screen electronic device 600 shown in FIG. 6 is used to detect whether screen switching is required, the user's action of adjusting the posture of the user is not mistakenly determined as the action of switching the screen, as in the prior art, but the double is accurately determined. The screen electronic device 600 does not need to perform screen switching.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
显然,本领域的技术人员可以对本申请实施例进行各种改动和变型而不脱离本申请实施例的精神和范围。这样,倘若本申请实施例的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。
It is apparent that those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, it is intended that the present invention cover the modifications and variations of the embodiments of the present invention.
Claims (9)
- 一种双屏电子设备的屏幕切换方法,其特征在于,包括:A screen switching method for a dual-screen electronic device, comprising:双屏电子设备检测第一触控面积和第二触控面积,所述第一触控面积用于指示用户与所述双屏电子设备的第一屏幕的接触面积,所述第二触控面积用于指示用户与所述双屏电子设备的第二屏幕的接触面积,所述第一屏幕为所述双屏电子设备当前点亮的屏幕,所述第二屏幕为所述双屏电子设备当前未点亮的屏幕;The dual-screen electronic device detects a first touch area and a second touch area, where the first touch area is used to indicate a contact area between the user and the first screen of the dual-screen electronic device, and the second touch area a screen for indicating a contact area between the user and the second screen of the dual-screen electronic device, wherein the first screen is a screen that is currently lit by the dual-screen electronic device, and the second screen is current of the dual-screen electronic device Unlit screen;所述双屏电子设备在所述第一触控面积大于所述第二触控面积时进行屏幕切换。The dual-screen electronic device performs screen switching when the first touch area is greater than the second touch area.
- 如权利要求1所述的方法,其特征在于,双屏电子设备检测第一触控面积和第二触控面积,具体包括:The method of claim 1, wherein the dual-screen electronic device detects the first touch area and the second touch area, and specifically includes:所述双屏电子设备检测所述第一屏幕上第一节点电容的数量,以及所述第二屏幕上第二节点电容的数量,所述第一节点电容为所述第一屏幕的多个节点电容中感应电流发生变化的节点电容,所述第二节点电容为所述第二屏幕的多个节点电容中感应电流发生变化的节点电容;The dual-screen electronic device detects the number of first node capacitances on the first screen and the number of second node capacitances on the second screen, the first node capacitance being a plurality of nodes of the first screen a node capacitance in the capacitor that induces a change in current, and the second node capacitance is a node capacitance in which a sense current changes in a plurality of node capacitances of the second screen;所述双屏电子设备根据所述第一节点电容的数量确定所述第一触控面积,并根据所述第二节点电容的数量确定所述第二触控面积。The dual-screen electronic device determines the first touch area according to the number of the first node capacitances, and determines the second touch area according to the number of the second node capacitances.
- 如权利要求1或2所述的方法,其特征在于,所述双屏电子设备检测所述第一触控面积和所述第二触控面积,具体包括:The method of claim 1 or 2, wherein the detecting the first touch area and the second touch area by the dual-screen electronic device comprises:当所述双屏电子设备中的重力传感器指示所述双屏电子设备相对于水平面的倾斜角度大于第一预设角度时,所述双屏电子设备检测所述第一触控面积和所述第二触控面积。When the gravity sensor in the dual-screen electronic device indicates that the tilt angle of the dual-screen electronic device relative to the horizontal plane is greater than the first preset angle, the dual-screen electronic device detects the first touch area and the first Two touch areas.
- 如权利要求1~3任一项所述的方法,其特征在于,所述双屏电子设备检测所述第一触控面积和所述第二触控面积,具体包括:The method according to any one of claims 1 to 3, wherein the detecting the first touch area and the second touch area by the dual-screen electronic device comprises:当所述双屏电子设备中的陀螺仪指示所述双屏电子设备的转动角速度大于预设角速度,或者指示所述双屏电子设备的转动角度大于第二预设角度时,所述双屏电子设备检测所述第一触控面积和所述第二触控面积。When the gyroscope in the dual-screen electronic device indicates that the rotational angular velocity of the dual-screen electronic device is greater than a preset angular velocity, or indicates that the rotational angle of the dual-screen electronic device is greater than a second predetermined angle, the dual-screen electronic device The device detects the first touch area and the second touch area.
- 一种双屏电子设备,其特征在于,包括:第一屏幕、第二屏幕以及处理器;A dual-screen electronic device, comprising: a first screen, a second screen, and a processor;所述处理器,用于检测第一触控面积和第二触控面积,在所述第一触控面积大于所述第二触控面积时进行屏幕切换;The processor is configured to detect a first touch area and a second touch area, and perform screen switching when the first touch area is greater than the second touch area;其中,所述第一触控面积用于指示用户与所述第一屏幕和所述第二屏幕中当前点亮的屏幕的接触面积,所述第二触控面积用于指示用户与所述第一屏幕和所述第二屏幕中当前未点亮的屏幕的接触面积。The first touch area is used to indicate a contact area between the user and the currently lit screen in the first screen and the second screen, and the second touch area is used to indicate the user and the first The contact area of a screen and a screen that is not currently lit in the second screen.
- 如权利要求5所述的双屏电子设备,其特征在于,所述第一屏幕和所述第二屏幕均为具有多点触控功能的屏幕。The dual-screen electronic device of claim 5, wherein the first screen and the second screen are both screens having multi-touch functionality.
- 如权利要求5或6所述的双屏电子设备,其特征在于,所述检测第一触控面积和第二触控面积,具体包括:The dual-screen electronic device of claim 5 or 6, wherein the detecting the first touch area and the second touch area comprises:检测所述第一屏幕和所述第二屏幕中当前点亮的屏幕上的第一节点电容的数量,以及所述第一屏幕和所述第二屏幕中当前未点亮的屏幕的上第二节点电容的数量;Detecting a quantity of a first node capacitance on a currently lit screen in the first screen and the second screen, and an upper second of the first unscreened screen in the first screen and the second screen The number of node capacitances;根据所述第一节点电容的数量确定所述第一触控面积,并根据所述第二节点电容的数量确定所述第二触控面积;Determining the first touch area according to the quantity of the first node capacitance, and determining the second touch area according to the quantity of the second node capacitance;其中,所述第一节点电容为所述第一屏幕和所述第二屏幕中当前点亮的屏幕的多个节 点电容中感应电流发生变化的节点电容,所述第二节点电容为所述第一屏幕和所述第二屏幕中当前未点亮的屏幕的多个节点电容中感应电流发生变化的节点电容。Wherein the first node capacitance is a plurality of sections of the first screen and the currently lit screen in the second screen a node capacitance in which a sense current changes in a point capacitance, and the second node capacitance is a node capacitance in which a sense current changes in a plurality of node capacitances of the first unscreened screen in the first screen and the second screen.
- 如权利要求5~7任一项所述的双屏电子设备,其特征在于,所述双屏电子设备还包括重力传感器,所述处理器还用于:The dual-screen electronic device according to any one of claims 5 to 7, wherein the dual-screen electronic device further comprises a gravity sensor, and the processor is further configured to:当所述重力传感器指示所述双屏电子设备相对于水平面的倾斜角度大于第一预设角度时,检测所述第一触控面积和所述第二触控面积。The first touch area and the second touch area are detected when the gravity sensor indicates that the tilt angle of the dual screen electronic device relative to the horizontal plane is greater than the first preset angle.
- 如权利要求5~8任一项所述的双屏电子设备,其特征在于,所述双屏电子设备还包括陀螺仪,所述处理器还用于:The dual-screen electronic device according to any one of claims 5 to 8, wherein the dual-screen electronic device further comprises a gyroscope, and the processor is further configured to:当所述陀螺仪指示所述双屏电子设备的转动角速度大于预设角速度,或者指示所述双屏电子设备的转动角度大于第二预设角度时,检测所述第一触控面积和所述第二触控面积。 When the gyroscope indicates that the rotational angular velocity of the dual-screen electronic device is greater than a preset angular velocity, or indicates that the rotational angle of the dual-screen electronic device is greater than a second predetermined angle, detecting the first touched area and the The second touch area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201780009102.1A CN108885491A (en) | 2017-01-20 | 2017-03-31 | A kind of screen switching and dual-screen electronic device of dual-screen electronic device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710045481.1 | 2017-01-20 | ||
CN201710045481 | 2017-01-20 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018133211A1 true WO2018133211A1 (en) | 2018-07-26 |
Family
ID=62907539
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/079115 WO2018133211A1 (en) | 2017-01-20 | 2017-03-31 | Screen switching method for dual-screen electronic device, and dual-screen electronic device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108885491A (en) |
WO (1) | WO2018133211A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109710205A (en) * | 2018-12-25 | 2019-05-03 | 华勤通讯技术有限公司 | The screen display method and electronic equipment of a kind of electronic equipment |
CN112136093A (en) * | 2018-11-30 | 2020-12-25 | 华为技术有限公司 | Method for controlling opening and closing of screen, device for controlling opening and closing of screen and electronic equipment |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110069167B (en) * | 2019-05-05 | 2024-01-09 | 努比亚技术有限公司 | Touch point cleaning method, mobile terminal and computer readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102402275A (en) * | 2010-09-13 | 2012-04-04 | 联想(北京)有限公司 | Portable electronic equipment and holding gesture detection method |
CN104462907A (en) * | 2014-12-31 | 2015-03-25 | 北京智谷睿拓技术服务有限公司 | Unblocking control method and device and electronic equipment |
CN106155476A (en) * | 2016-06-21 | 2016-11-23 | 努比亚技术有限公司 | Mobile terminal and screen content changing method |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102957801B (en) * | 2012-11-14 | 2015-08-19 | 深圳市金立通信设备有限公司 | A kind of method of symmetrical dual-screen mobile terminal toggle screen and device |
CN105955610A (en) * | 2016-04-27 | 2016-09-21 | 长沙丰灼通讯科技有限公司 | Method for identifying target screen of dual-screen handheld terminal |
CN106101309A (en) * | 2016-06-29 | 2016-11-09 | 努比亚技术有限公司 | A kind of double-sided screen switching device and method, mobile terminal |
CN106231087B (en) * | 2016-07-27 | 2019-06-28 | 努比亚技术有限公司 | A kind of method and apparatus of front and back sides dual-screen display device false-touch prevention |
CN106293343B (en) * | 2016-08-09 | 2020-01-10 | 深圳市移动力量科技有限公司 | Control method and device for shortcut operation function |
-
2017
- 2017-03-31 CN CN201780009102.1A patent/CN108885491A/en active Pending
- 2017-03-31 WO PCT/CN2017/079115 patent/WO2018133211A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102402275A (en) * | 2010-09-13 | 2012-04-04 | 联想(北京)有限公司 | Portable electronic equipment and holding gesture detection method |
CN104462907A (en) * | 2014-12-31 | 2015-03-25 | 北京智谷睿拓技术服务有限公司 | Unblocking control method and device and electronic equipment |
CN106155476A (en) * | 2016-06-21 | 2016-11-23 | 努比亚技术有限公司 | Mobile terminal and screen content changing method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112136093A (en) * | 2018-11-30 | 2020-12-25 | 华为技术有限公司 | Method for controlling opening and closing of screen, device for controlling opening and closing of screen and electronic equipment |
CN112136093B (en) * | 2018-11-30 | 2023-02-03 | 华为技术有限公司 | Method for controlling opening and closing of screen, device for controlling opening and closing of screen and electronic equipment |
CN109710205A (en) * | 2018-12-25 | 2019-05-03 | 华勤通讯技术有限公司 | The screen display method and electronic equipment of a kind of electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108885491A (en) | 2018-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5858155B2 (en) | Method for automatically switching user interface of portable terminal device, and portable terminal device | |
EP3100133B1 (en) | Buttonless display activation | |
US10306044B2 (en) | Method and apparatus for preventing screen off during automatic response system service in electronic device | |
WO2019015404A1 (en) | Method and apparatus for switching applications in split screen mode, and related device thereof | |
EP3525075B1 (en) | Method for lighting up screen of double-screen terminal, and terminal | |
US20130100044A1 (en) | Method for Detecting Wake Conditions of a Portable Electronic Device | |
CN103389863B (en) | A kind of display control method and device | |
EP3136214A1 (en) | Touch operation method and apparatus for terminal | |
EP3674872B1 (en) | Task switching method and terminal | |
CN106445340B (en) | Method and device for displaying stereoscopic image by double-screen terminal | |
CN109314727B (en) | Method and device for controlling screen of mobile terminal | |
CN110417960B (en) | Folding method of foldable touch screen and electronic equipment | |
US20190306298A1 (en) | Method and apparatus for preventing screen off during automatic response system service in electronic device | |
CN107748648A (en) | Prevent the method and terminal device of fingerprint sensor false triggering | |
CN110531915A (en) | Screen operation method and terminal equipment | |
EP3726419B1 (en) | Fingerprint input method, and terminal | |
WO2017128986A1 (en) | Selection method, device and storage medium for multimedia menu item | |
WO2018133211A1 (en) | Screen switching method for dual-screen electronic device, and dual-screen electronic device | |
US20150002417A1 (en) | Method of processing user input and apparatus using the same | |
WO2014094456A1 (en) | Page switching method and device and terminal | |
EP2998843B1 (en) | Intelligent terminal and method for displaying input operation interface thereof | |
CN108733275A (en) | A kind of object displaying method and terminal | |
CN110119242A (en) | A kind of touch control method, terminal and computer readable storage medium | |
EP3674867B1 (en) | Human-computer interaction method and electronic device | |
CN108196744A (en) | The method of adjustment and mobile terminal of a kind of task interface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17892643 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17892643 Country of ref document: EP Kind code of ref document: A1 |