WO2023006077A1 - 一种双面屏终端的屏幕切换方法及设备 - Google Patents

一种双面屏终端的屏幕切换方法及设备 Download PDF

Info

Publication number
WO2023006077A1
WO2023006077A1 PCT/CN2022/108995 CN2022108995W WO2023006077A1 WO 2023006077 A1 WO2023006077 A1 WO 2023006077A1 CN 2022108995 W CN2022108995 W CN 2022108995W WO 2023006077 A1 WO2023006077 A1 WO 2023006077A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
double
sided
data
terminal
Prior art date
Application number
PCT/CN2022/108995
Other languages
English (en)
French (fr)
Inventor
尹宏玮
周锦
陈***
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023006077A1 publication Critical patent/WO2023006077A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Definitions

  • the embodiments of the present application relate to the field of touch technology, and in particular to a screen switching method and device for a double-sided screen terminal.
  • a double-sided screen terminal includes a front touch screen and a back touch screen; another example, the touch screen of a double-sided screen terminal can be folded into two front and back touch screens, and the front and back touch screens can be unfolded to form a larger touch screen.
  • the double-sided screen terminal detects that the device is turned over, the double-sided screen terminal performs screen switching.
  • the mobile phone includes screen A and screen B as shown in Figure 1, where screen A is the current working screen, that is, screen A is on and screen B is off. Switch from screen A to screen B, that is, screen A is off and screen B is on.
  • the current working screen is switched from A screen to B screen, the content previously displayed on A screen is transferred to B screen for display.
  • the user does not want to switch the current working screen despite the device being turned over.
  • the user is using screen A of the mobile phone shown in Figure 1
  • the user turns the mobile phone over to scan the two-dimensional code.
  • the user does not want the mobile phone to switch the current working screen from screen A to screen B.
  • the screen is switched based on the conventional flipping recognition technology, for the above situation, the A screen of the mobile phone will be off, and the B screen will be on.
  • the present application provides a screen switching method and device for a double-sided screen terminal, which can accurately and timely judge the current working screen during the use of the double-sided screen terminal.
  • a method for switching screens of a double-sided screen terminal comprising: the double-sided screen terminal obtains screen capacity data; the double-sided screen terminal determines the user's holding position according to the screen capacity data; and, the double-sided screen terminal The face-screen terminal determines the working screen according to the user's holding position.
  • the double-sided screen terminal recognizes the user's grip gesture and/or the user's grip position based on the screen capacity data collected by the double-sided screen terminal to determine the screen currently being used, and then accurately, The current working screen is judged in a timely manner, so that the screen display switching can be performed in a timely manner, thereby improving user experience.
  • the above-mentioned double-sided screen terminal includes a first screen and a second screen; the working screen of the double-sided screen terminal is the first screen; If the holding area on the screen is larger than the holding area on the second screen, the double-sided screen terminal determines that the working screen is the second screen.
  • the double-sided screen terminal can identify the user's holding position based on the screen capacity data collected by the double-sided screen terminal, so as to judge the screen currently being used according to the size of the holding area, and then accurately and timely carry out current The working screen is judged, so that the screen display can be switched in time to improve the user experience.
  • the above-mentioned double-sided screen terminal includes a first screen and a second screen; the working screen of the double-sided screen terminal is the first screen; If the gripping area on the screen is greater than the first threshold, and the gripping area of the user on the second screen is smaller than the second threshold, then the double-sided screen terminal determines that the working screen is the second screen.
  • the double-sided screen terminal can identify the user's holding position based on the screen capacity data collected by the double-sided screen terminal, so as to judge the screen currently being used according to the size of the holding area, and then accurately and timely carry out current The working screen is judged, so that the screen display can be switched in time to improve the user experience.
  • the above method further includes: the double-sided screen terminal switches the working screen from the first screen to the second screen.
  • the above-mentioned double-sided screen terminal determines the user's holding position according to the screen capacity data, including: the double-sided screen terminal determines that the position corresponding to the screen capacity data greater than a preset threshold is the user's holding position .
  • the double-sided screen terminal can determine the user's holding position based on the size of the screen capacity, so as to realize accurate identification of the user's holding position.
  • the above method further includes: the double-sided screen terminal determines that the double-sided screen terminal starts to undergo a preset flip according to the acquired motion data.
  • the current working screen can be judged by using the method of flip recognition combined with screen capacity data analysis.
  • the above-mentioned screen capacity data includes first data, and the first data is used to represent the difference between the capacity data detected when the touch screen of the double-sided screen terminal is touched and the preset threshold value. difference.
  • the user's grip position can be determined according to the difference between the capacitance data detected when the touch screen is touched and a preset threshold value, so as to realize accurate identification of the user's grip position.
  • the above method further includes: the double-sided screen terminal determines a preset threshold value according to the capacity data.
  • the preset threshold value for analyzing the user's holding position can be determined according to the capacitance data, so as to improve the accuracy of the analysis result of the user's holding position.
  • the above-mentioned screen capacity data includes second data and third data
  • the second data is used to represent the original capacity data detected when the touch screen of the double-sided screen terminal is touched at the first moment
  • the third data is used to represent the original capacitance data detected when the touch screen of the double-sided screen terminal is touched at the second moment.
  • the user's holding position can be determined according to the original capacity data detected when the touch screen is touched at different times, so as to realize accurate identification of the user's holding position.
  • the acquisition of the screen capacity data by the above-mentioned double-sided screen terminal includes: the double-sided screen terminal collects the second data at the first moment, and the first moment is the moment when the double-sided screen terminal starts to undergo preset flipping ; The double-sided screen terminal collects the third data at the second moment, and the second moment is any moment during the preset flipping process of the double-sided screen terminal.
  • the user's grip position can be determined according to the original capacity data detected when the touch screen is touched at different times (for example, when the preset flip begins and at any time during the preset flip), so as to realize Accurate recognition of the user's grip position.
  • the acquisition of the screen capacity data by the above-mentioned double-sided screen terminal includes: the double-sided screen terminal collects the second data at the first moment, and the first moment is the moment when the double-sided screen terminal starts to undergo preset flipping ; The double-sided screen terminal collects the third data at the second moment, and the second moment is the moment when the double-sided screen terminal ends the preset flipping.
  • the user's grip position can be determined according to the original capacity data detected when the touch screen is touched at different times (for example, when the preset flipping starts and when the preset flipping ends), so as to realize the user's gripping position. accurate identification.
  • a double-sided screen terminal in a second aspect, includes: a data acquisition unit, configured to acquire screen capacity data; a processing unit, configured to determine a user's grip position according to the screen capacity data; and A working screen is determined according to the grip position of the user.
  • the double-sided screen terminal recognizes the user's grip gesture and/or user's grip position based on the screen capacity data collected by the double-sided screen terminal to determine the screen currently being used, and then accurately, The current working screen is judged in a timely manner, so that the screen display switching can be performed in a timely manner, thereby improving user experience.
  • the above-mentioned double-sided screen terminal includes a first screen and a second screen; the working screen of the double-sided screen terminal is the first screen; The gripping area on the first screen is larger than the gripping area on the second screen, thereby determining that the working screen is the second screen.
  • the double-sided screen terminal can identify the user's holding position based on the screen capacity data collected by the double-sided screen terminal, so as to judge the screen currently being used according to the size of the holding area, and then accurately and timely carry out current The working screen is judged, so that the screen display can be switched in time to improve the user experience.
  • the above-mentioned double-sided screen terminal includes a first screen and a second screen; the working screen of the double-sided screen terminal is the first screen; The gripping area on the first screen is larger than the first threshold, and the gripping area of the user on the second screen is smaller than the second threshold, and then it is determined that the working screen is the second screen.
  • the double-sided screen terminal can identify the user's holding position based on the screen capacity data collected by the double-sided screen terminal, so as to judge the screen currently being used according to the size of the holding area, and then accurately and timely carry out current The working screen is judged, so that the screen display can be switched in time to improve the user experience.
  • the above processing unit is further configured to switch the working screen from the first screen to the second screen.
  • the above processing unit is specifically configured to determine that the position corresponding to the screen capacity data greater than a preset threshold is the user's grip position.
  • the double-sided screen terminal can determine the user's holding position based on the size of the screen capacity, so as to realize accurate identification of the user's holding position.
  • the above-mentioned processing unit is further configured to, before the data acquisition unit acquires the screen capacity data, determine according to the acquired motion data that the double-sided screen terminal starts to undergo preset flipping. In order to further improve the accuracy of judging the current working screen, the current working screen can be judged by using the method of flip recognition combined with screen capacity data analysis.
  • the above-mentioned screen capacity data includes first data, and the first data is used to represent the difference between the capacity data detected when the touch screen of the double-sided screen terminal is touched and the preset threshold value. difference.
  • the user's grip position can be determined according to the difference between the capacitance data detected when the touch screen is touched and a preset threshold value, so as to realize accurate identification of the user's grip position.
  • the above processing unit is further configured to determine a preset threshold value according to the capacity data.
  • the preset threshold value for analyzing the user's holding position can be determined according to the capacitance data, so as to improve the accuracy of the analysis result of the user's holding position.
  • the above-mentioned screen capacity data includes second data and third data
  • the second data is used to represent the original capacity data detected when the touch screen of the double-sided screen terminal is touched at the first moment
  • the third data is used to represent the original capacitance data detected when the touch screen of the double-sided screen terminal is touched at the second moment.
  • the user's holding position can be determined according to the original capacity data detected when the touch screen is touched at different times, so as to realize accurate identification of the user's holding position.
  • the above-mentioned data collection unit is specifically configured to collect the second data at the first moment, and collect the third data at the second moment; wherein, the first moment is when the double-sided screen terminal starts to generate preset The moment of flipping, the second moment is any moment during the preset flipping process of the double-sided screen terminal.
  • the user's grip position can be determined according to the original capacity data detected when the touch screen is touched at different times (for example, when the preset flip begins and at any time during the preset flip), so as to realize Accurate recognition of the user's grip position.
  • the above-mentioned data collection unit is specifically configured to collect the second data at the first moment, and collect the third data at the second moment; wherein, the first moment is when the double-sided screen terminal starts to generate preset The moment of flipping, the second moment is the moment when the double-sided screen terminal ends the preset flipping.
  • the user's grip position can be determined according to the original capacity data detected when the touch screen is touched at different times (for example, when the preset flipping starts and when the preset flipping ends), so as to realize the user's gripping position. accurate identification.
  • a double-sided screen terminal includes: a memory for storing computer programs; a data collector (such as a sensor) for collecting screen capacity data; a processor for executing the The computer program enables the double-sided screen terminal to obtain screen capacity data; determine the user's holding position according to the screen capacity data; and determine the working screen according to the user's holding position.
  • the double-sided screen terminal recognizes the user's grip gesture and/or the user's grip position based on the screen capacity data collected by the double-sided screen terminal to determine the screen currently being used, and then accurately, The current working screen is judged in a timely manner, so that the screen display switching can be performed in a timely manner, thereby improving user experience.
  • the above-mentioned double-sided screen terminal includes a first screen and a second screen; the working screen of the double-sided screen terminal is the first screen; The face-screen terminal determines that the user's grip area on the first screen is larger than the grip area on the second screen according to the screen capacity data, and then determines that the working screen is the second screen.
  • the double-sided screen terminal can identify the user's holding position based on the screen capacity data collected by the double-sided screen terminal, so as to judge the screen currently being used according to the size of the holding area, and then accurately and timely carry out current The working screen is judged, so that the screen display can be switched in time to improve the user experience.
  • the above-mentioned double-sided screen terminal includes a first screen and a second screen; the working screen of the double-sided screen terminal is the first screen; The face-screen terminal determines that the user's grip area on the first screen is greater than the first threshold and the user's grip area on the second screen is smaller than the second threshold according to the screen capacity data, and then determines that the working screen is the second screen.
  • the double-sided screen terminal can identify the user's holding position based on the screen capacity data collected by the double-sided screen terminal, so as to judge the screen currently being used according to the size of the holding area, and then accurately and timely carry out current The working screen is judged, so that the screen display can be switched in time to improve the user experience.
  • the above-mentioned processor is specifically configured to execute the computer program, so that the double-sided screen terminal switches the working screen from the first screen to the second screen.
  • the screen display switching can be performed accurately and in time, and the user experience can be improved.
  • the above-mentioned processor is specifically configured to execute the computer program, so that the double-sided screen terminal determines that the position corresponding to the screen capacity data greater than a preset threshold is the user's holding position.
  • the double-sided screen terminal can determine the user's holding position based on the size of the screen capacity, so as to realize accurate identification of the user's holding position.
  • the above-mentioned processor is further configured to execute the computer program, so that the double-sided screen terminal determines according to the acquired motion data that the double-sided screen terminal starts to occur before the data collection unit acquires the screen capacity data. Flip by default. In order to further improve the accuracy of judging the current working screen, the current working screen can be judged by using the method of flip recognition combined with screen capacity data analysis.
  • the above-mentioned screen capacity data includes first data, and the first data is used to represent the difference between the capacity data detected when the touch screen of the double-sided screen terminal is touched and the preset threshold value. difference.
  • the user's grip position can be determined according to the difference between the capacitance data detected when the touch screen is touched and a preset threshold value, so as to realize accurate identification of the user's grip position.
  • the above-mentioned processor is further configured to execute the computer program, so that the double-sided screen terminal determines the preset threshold value according to the capacity data.
  • the preset threshold value for analyzing the user's holding position can be determined according to the capacitance data, so as to improve the accuracy of the analysis result of the user's holding position.
  • the above-mentioned screen capacity data includes second data and third data
  • the second data is used to represent the original capacity data detected when the touch screen of the double-sided screen terminal is touched at the first moment
  • the third data is used to represent the original capacitance data detected when the touch screen of the double-sided screen terminal is touched at the second moment.
  • the user's holding position can be determined according to the original capacity data detected when the touch screen is touched at different times, so as to realize accurate identification of the user's holding position.
  • the above-mentioned data collector is specifically used to collect the second data at the first moment, and collect the third data at the second moment; wherein, the first moment is when the double-sided screen terminal starts to generate preset The moment of flipping, the second moment is any moment during the preset flipping process of the double-sided screen terminal.
  • the user's grip position can be determined according to the original capacity data detected when the touch screen is touched at different times (for example, when the preset flip begins and at any time during the preset flip), so as to realize Accurate recognition of the user's grip position.
  • the above-mentioned data collector is specifically used to collect the second data at the first moment, and collect the third data at the second moment; wherein, the first moment is when the double-sided screen terminal starts to generate preset The moment of flipping, the second moment is the moment when the double-sided screen terminal ends the preset flipping.
  • the user's grip position can be determined according to the original capacity data detected when the touch screen is touched at different times (for example, when the preset flipping starts and when the preset flipping ends), so as to realize the user's gripping position. accurate identification.
  • a computer-readable storage medium on which computer program code is stored, and when the computer program code is executed by a processor, the method in any possible implementation manner of the first aspect is implemented .
  • a chip system includes a processor, a memory, and a computer program code is stored in the memory; when the computer program code is executed by the processor, any possible method in the implementation.
  • the system-on-a-chip may consist of chips, or may include chips and other discrete devices.
  • a computer program product which, when running on a computer, enables the method in any possible implementation manner of the first aspect to be implemented.
  • FIG. 1 is a schematic diagram of the shape of a front and back screen mobile phone provided by an embodiment of the present application
  • Fig. 2 is a schematic diagram of the form of a mobile phone with a flexible folding screen provided by the embodiment of the present application;
  • FIG. 3 is a schematic diagram of the form of a dual-screen folding mobile phone provided by an embodiment of the present application
  • FIG. 4 is a schematic diagram of a hardware structure of a double-sided screen mobile phone provided by an embodiment of the present application.
  • FIG. 5A is an example diagram of screen switching of a double-sided screen terminal provided by an embodiment of the present application.
  • FIG. 5B is a flow chart 1 of a screen switching method for a double-sided screen terminal provided in an embodiment of the present application
  • FIG. 6 is an example diagram of first data detected when a touch screen is not touched according to an embodiment of the present application
  • FIG. 7 is an example diagram of first data detected when a touch screen is held in accordance with an embodiment of the present application.
  • Fig. 8 is an example diagram of the first data detected when another touch screen is held according to the embodiment of the present application.
  • FIG. 9A is the second flow chart of a screen switching method for a double-sided screen terminal provided by an embodiment of the present application.
  • Fig. 9B is an example diagram of the second data detected when the touch screen is held according to the embodiment of the present application.
  • Fig. 10 is an example diagram of third data detected when a touch screen is held according to an embodiment of the present application.
  • FIG. 11 is an example diagram of a change in the gripped position of a touch screen provided in an embodiment of the present application.
  • FIG. 12 is a third flowchart of a method for switching screens of a double-sided screen terminal provided by an embodiment of the present application.
  • Fig. 13 is a flowchart 4 of a method for switching screens of a double-sided screen terminal provided by an embodiment of the present application;
  • FIG. 14 is a flowchart five of a method for switching screens of a double-sided screen terminal provided by an embodiment of the present application.
  • FIG. 15 is a flowchart six of a method for switching screens of a double-sided screen terminal provided by an embodiment of the present application.
  • FIG. 16 is a structural block diagram of a double-sided screen terminal provided by an embodiment of the present application.
  • first and second are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as “first” and “second” may explicitly or implicitly include one or more of these features. In the description of this embodiment, unless otherwise specified, “plurality” means two or more.
  • An embodiment of the present application provides a screen switching method for a double-sided screen terminal, and the method is applied in a process of device flip identification for a double-sided screen terminal.
  • the double-sided screen terminal in this embodiment of the present application may be a terminal with double-sided screens, and the front and back of the double-sided screen terminal may be respectively provided with a touch screen, referred to as a front and back screen terminal for short.
  • the front and back screen terminal includes two touch screens: a first screen and a second screen (screen A and screen B shown in FIG. 1 ) are fixed on the front and back of the terminal body.
  • the sizes of the first screen and the second screen may be different.
  • the area of the first screen may occupy the entire surface A
  • the area of the second screen may occupy a part (for example, half) of the surface B
  • the surface B may also include a rear cover.
  • the terminal with front and back screens can be the mobile phone 100 shown in (a) in FIG.
  • the A screen is the front side of the mobile phone 100
  • the B screen can be the back side of the mobile phone 100
  • the A screen is the back side of the mobile phone 100
  • the B screen can be the front side of the mobile phone 100.
  • (b) among Fig. 1 is the front view of mobile phone 100 shown in (a) among Fig. 1, and it has shown the A screen of mobile phone 100; So, (c) among Fig. 1 is (a among Fig. 1 ) shows the rear view of the mobile phone 100, which shows the B-screen of the mobile phone 100. Users can choose to use one of the two screens of the front and rear terminals for display.
  • the above-mentioned double-sided screen terminal may be a folding screen terminal, such as a flexible folding screen terminal (for example, a flexible folding screen mobile phone) and a dual-screen folding terminal (for example, a dual-screen folding mobile phone).
  • a folding screen terminal such as a flexible folding screen terminal (for example, a flexible folding screen mobile phone) and a dual-screen folding terminal (for example, a dual-screen folding mobile phone).
  • the touch screen of the folding screen terminal can be folded into A screen and B screen along the folding edge, and the A screen and B screen of the folded terminal face outward.
  • the user can choose to use one of the two screens for display.
  • FIG. 2 it is a schematic view of a mobile phone 200 with a flexible folding screen shown in the embodiment of the present application.
  • FIG. 2 is a schematic diagram of the shape of the mobile phone 200 after being folded along the folding edge.
  • the mobile phone 200 can be folded into a screen A (ie, the first screen) and a screen B (ie, the second screen) after being folded along the folding edge.
  • (b) in FIG. 2 is a schematic diagram of the mobile phone 200 unfolded (for example, half unfolded) along the folded edge.
  • screen A and screen B form a single touch screen.
  • the black area shown in (a) in FIG. 2 and (b) in FIG. 2 is the touch screen of the mobile phone 200 .
  • FIG. 3 it is a schematic diagram of a dual-screen folding mobile phone 300 shown in the embodiment of the present application.
  • (a) in FIG. 3 is a schematic diagram of the shape of the mobile phone 300 after being folded along the folding edge.
  • the mobile phone 300 can be folded into a screen A (ie, the first screen) and a screen B (ie, the second screen) after being folded along the folding edge.
  • (b) in FIG. 3 is a schematic diagram of the shape of the mobile phone 300 unfolded (for example, half unfolded) along the folding edge. Referring to (b) in FIG.
  • the A screen and the B screen form a touch screen .
  • the black area shown in (a) in FIG. 3 and (b) in FIG. 3 is the touch screen of the mobile phone 300 .
  • the difference between the front and rear screen terminals and the folding screen terminal is that the touch screen of the folding screen terminal can be folded into A screen and B screen along the folding edge, and the A screen and B screen can also be combined into one touch screen;
  • the positions of the two touch screens of the reverse screen terminal are fixed and cannot be combined into one touch screen.
  • the A-screen and the B-screen of the mobile phone 100 with front and back screens shown in (a) are two touch screens fixed together, and there is a folding line at the position where the A-screen and the B-screen are attached.
  • the method in the embodiment of the present application is applied to the case where the above-mentioned folding screen terminal is in a folded state.
  • the folding state in the embodiment of the present application may be the state of the flexible folding screen mobile phone shown in (a) in FIG. 2 and the state of the dual-screen folding mobile phone shown in (a) in FIG. 3 .
  • the double-sided screen terminal shown in FIG. 1 , FIG. 2 and FIG. 3 provided in the embodiment of the present application is only an example, and the embodiment of the present application does not limit the specific structure and form of the double-sided screen terminal.
  • the folding screen terminal mentioned above in the present application may be a vertical folding terminal, and may also be a horizontal folding terminal.
  • the mobile phone 400 may include a processor 410, an external memory interface 420, an internal memory 421, a universal serial bus (universal serial bus, USB) interface 430, a charging management module 440, a power management module 441, a battery 442, Antenna 1, antenna 2, mobile communication module 450, wireless communication module 460, audio module 470, speaker 470A, receiver 470B, microphone 470C, earphone interface 470D, sensor module 480, button 490, motor 491, indicator 492, camera 493, A display screen 494, and a subscriber identification module (subscriber identification module, SIM) card interface 495, etc.
  • SIM subscriber identification module
  • the sensor module 480 may include a pressure sensor 480A, a gyroscope sensor 480B, an air pressure sensor 480C, a magnetic sensor 480D, an acceleration sensor 480E, a distance sensor 480F, a proximity light sensor 480G, a fingerprint sensor 480H, a temperature sensor 480J, a touch sensor 480K, and ambient light Sensor 480L, bone conduction sensor 480M, etc.
  • the structure shown in the embodiment of the present invention does not constitute a specific limitation on the mobile phone 400 .
  • the mobile phone 400 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • the processor 410 may include one or more processing units, for example: the processor 410 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • graphics processing unit graphics processing unit
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • baseband processor baseband processor
  • neural network processor neural-network processing unit
  • the controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
  • a memory may also be provided in the processor 410 for storing instructions and data.
  • the memory in processor 410 is a cache memory.
  • the memory may hold instructions or data that the processor 410 has just used or recycled. If the processor 410 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 410 is reduced, thus improving the efficiency of the system.
  • processor 410 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input and output
  • subscriber identity module subscriber identity module
  • SIM subscriber identity module
  • USB universal serial bus
  • the interface connection relationship between modules shown in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the mobile phone 400 .
  • the mobile phone 400 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
  • the charging management module 440 is configured to receive charging input from the charger.
  • the power management module 441 is used for connecting the battery 442 , the charging management module 440 and the processor 410 .
  • the wireless communication function of the mobile phone 400 can be realized by the antenna 1, the antenna 2, the mobile communication module 450, the wireless communication module 460, the modem processor and the baseband processor.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in handset 400 can be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 450 can provide wireless communication solutions including 2G/3G/4G/5G applied on the mobile phone 400 .
  • the mobile communication module 450 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the mobile communication module 450 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation.
  • the mobile communication module 450 can also amplify the signal modulated by the modem processor, convert it into electromagnetic wave and radiate it through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 450 may be set in the processor 410 .
  • at least part of the functional modules of the mobile communication module 450 and at least part of the modules of the processor 410 may be set in the same device.
  • a modem processor may include a modulator and a demodulator.
  • the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is passed to the application processor after being processed by the baseband processor.
  • the application processor outputs sound signals through audio equipment (not limited to speaker 470A, receiver 470B, etc.), or displays images or videos through display screen 494 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent of the processor 410, and be set in the same device as the mobile communication module 450 or other functional modules.
  • the wireless communication module 460 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), Bluetooth (bluetooth, BT), global navigation satellite system (GNSS) applied on the mobile phone 400. (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • the wireless communication module 460 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 460 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 410 .
  • the wireless communication module 460 can also receive the signal to be transmitted from the processor 410 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the antenna 1 of the mobile phone 400 is coupled to the mobile communication module 450, and the antenna 2 is coupled to the wireless communication module 460, so that the mobile phone 400 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technology, etc.
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system) , BDS), quasi-zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • Beidou navigation satellite system beidou navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the mobile phone 400 realizes the display function through the GPU, the display screen 494, and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 494 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 410 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 494 is used to display images, videos and the like.
  • Display 494 includes a display panel.
  • Display 494 includes, for example, a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the mobile phone 400 may include 1 or N display screens 494, where N is a positive integer greater than 1.
  • the mobile phone 400 may be the flexible folding screen shown in FIG. 2 .
  • the mobile phone 400 can realize the shooting function through ISP, camera 493 , video codec, GPU, display screen 494 and application processor.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the mobile phone 400 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the handset 400 may support one or more video codecs.
  • the mobile phone 400 can play or record videos in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG moving picture experts group
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • the NPU can perform training and learning on a large number of holding gestures and corresponding screen capacity data to establish a holding gesture model.
  • the external memory interface 420 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 400.
  • the external memory card communicates with the processor 410 through the external memory interface 420 to implement a data storage function. Such as saving music, video and other files in the external memory card.
  • the internal memory 421 may be used to store computer-executable program code, which includes instructions.
  • the internal memory 421 may include an area for storing programs and an area for storing data.
  • the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like.
  • the storage data area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone 400 .
  • the internal memory 421 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
  • the processor 410 executes various functional applications and data processing of the mobile phone 400 by executing instructions stored in the internal memory 421 and/or instructions stored in the memory provided in the processor.
  • the mobile phone 400 can implement audio functions through an audio module 470 , a speaker 470A, a receiver 470B, a microphone 470C, an earphone interface 470D, and an application processor. Such as music playback, recording, etc.
  • the pressure sensor 480A is used to sense the pressure signal and convert the pressure signal into an electrical signal.
  • pressure sensor 480A may be located on display screen 494 .
  • pressure sensors 480A such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors.
  • a capacitive pressure sensor may be comprised of at least two parallel plates with conductive material.
  • the gyroscope sensor 480B can be used to determine the motion posture of the mobile phone 400 .
  • the angular velocity of cell phone 400 about three axes may be determined by gyro sensor 480B.
  • the gyro sensor 480B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 480B detects the shaking angle of the mobile phone 400, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shaking of the mobile phone 400 through reverse motion to achieve anti-shake.
  • the gyroscope sensor 480B can also be used for navigation and somatosensory game scenes. In the embodiment of the present application, the gyroscope sensor 480B may be used to detect the movement of the terminal, so as to identify the preset turning movement and the like.
  • Audio module 470 speaker 470A, receiver 470B, microphone 470C, headphone jack 470D, air pressure sensor 480C, magnetic sensor 480D, acceleration sensor 480E, distance sensor 480F, proximity light sensor 480G, ambient light sensor 480L, fingerprint sensor 480H, temperature sensor 480J, touch sensor 480K, bone conduction sensor 480M, button 490, motor 491, indicator 492 and SIM card interface 495, etc., can refer to the introduction in the conventional technology, and the embodiment of this application will not repeat them.
  • a mobile phone may also include other functional modules.
  • a conventional double-sided screen terminal detects that the device is turned over, it will switch the current working screen.
  • the double-sided screen terminal will switch the current working screen when its own motion sensor detects that the device has been turned over by default.
  • the preset flip may be that the screen facing the user is flipped in a direction facing away from the user, and the screen facing away from the user is flipped in a direction facing the user.
  • triggering screen switching purely based on a motion sensor (such as a gyroscope sensor) is likely to cause inaccurate recognition in actual use, that is, the content displayed on the screen jumps to the side of the screen that is not used by the user.
  • the user hopes to turn the device over to use
  • the payment QR code shown in (a) in Figure 5A is still displayed (as shown in Figure 5A (b)), so that the machine scans the payment QR code displayed on the A screen to complete the payment .
  • a user when a user presents information (such as an electronic ID card, a health certificate, etc.) to others, the user does not want the device to be flipped to trigger a screen switch.
  • information such as an electronic ID card, a health certificate, etc.
  • an embodiment of the present application provides a method for switching screens of a double-sided screen terminal.
  • the method performs user holding gestures and/or user holding gestures based on the screen capacity data collected by the double-sided screen terminal.
  • Support location recognition to judge the screen currently being used, and then accurately judge the current working screen.
  • the double-sided screen terminal can switch the screen display in a timely manner.
  • the screen capacity data may be detected and collected by the touch screen of the double-sided screen terminal.
  • the touch screen of the double-sided screen terminal may be a capacitive touch screen, a resistive touch screen, or an inductive touch screen.
  • the touch screen of the double-sided screen terminal is a capacitive touch screen as an example
  • the touch data collected by the double-sided screen terminal is the screen capacity data as an example.
  • the screen switching method is introduced in detail.
  • the capacitive touch screen includes horizontal and vertical electrode arrays, and the horizontal and vertical electrode arrays constitute several test points evenly distributed on the screen surface.
  • the above electrode array may be made of indium tin oxide (ITO). Since self-capacitance can be generated between adjacent electrodes, the detection of single-point touch can be realized by collecting the change of self-capacitance value of each test point through self-capacitance scanning. In addition, since mutual capacitance can also be generated between adjacent electrodes, the detection of multi-point touch can also be realized by collecting the change of the mutual capacitance value of each test point through mutual capacitance scanning.
  • ITO indium tin oxide
  • the double-sided screen terminal may perform user holding gesture and/or user holding position recognition based on screen capacity Diff data.
  • the double-sided screen terminal can identify the user's holding gesture and/or the change or change of the user's holding position based on multiple pieces of screen original capacity data.
  • a method for switching screens of a double-sided screen terminal provided in the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.
  • the methods in the following embodiments can all be implemented on a mobile phone 400 having the above-mentioned hardware structure (for example, a mobile phone with front and back screens 100, The flexible folding screen mobile phone 200 and the dual-screen folding mobile phone 300) are implemented.
  • the double-sided screen terminal recognizes the user's grip gesture and/or the user's grip position based on the screen capacity Diff data (that is, the first data).
  • a method for switching screens of a double-sided screen terminal may include the following steps S501-S504:
  • the double-sided screen terminal collects first data.
  • the first data is used to represent the difference between the capacitance data detected when the touch screen is touched and the preset threshold value.
  • the preset threshold value can be determined according to the capacitance data detected when the touch screen is not touched.
  • the double-sided screen terminal recognizes the user's grip gesture and/or the user's grip position based on the first data.
  • Embodiment 1 of the present application is based on the first data, and can directly reflect the touch sensing amount under the condition of excluding external disturbances such as temperature and humidity.
  • the user's holding position can be determined according to the touch sensing amount and position, and then the current working screen can be judged accurately and in a timely manner.
  • the position of the touch is used to reflect the position where the touch screen is held by the user (that is, the position held by the user), and the touch sensing value is used to reflect the degree and degree of contact between the user's hand and the touch screen when the touch screen is held by the user. degree of area distribution.
  • FIG. 6 shows an example diagram of first data detected when the touch screen is not touched, taking the flexible folding screen mobile phone 200 shown in FIG. 2 as an example. 6 shows the first data detected when the touch screen (including screen A and screen B) of the flexible folding screen mobile phone 200 is not touched.
  • the ab side shown in Figure 6 is the ab side of the A screen shown in Figure 2
  • the cd side shown in Figure 6 is the cd side of the B screen shown in Figure 2
  • the ef shown in Figure 6 is the folded side ef shown in Figure 2.
  • the touch screen (including screen A and screen B) includes several test points evenly distributed on the screen surface formed by horizontal and vertical electrode arrays.
  • the touch screen is not touched, due to the existence of external interference (such as the influence of factors such as temperature and humidity), the several test points respectively detect the first data shown in FIG. 6 .
  • the capacitance data detected when the touch screen terminal is not touched can be pre-stored in the touch screen terminal, for example, it can be preset in the form of the above-mentioned preset threshold before the touch screen terminal leaves the factory. in a touchscreen terminal.
  • the preset threshold value determined according to the capacitance data detected when the touch screen terminal is not touched may also be updated. For example, it can be updated periodically.
  • the real-time update can be performed according to the current real-time environment, for example, the real-time update can be performed according to the current real-time environment at every opportunity such as starting up each time.
  • the above-mentioned preset threshold value can also be obtained from other devices or systems, and this embodiment of the present application does not limit the specific setting basis, rules and methods of the above-mentioned preset threshold value .
  • FIG. 7 takes the flexible folding screen mobile phone 200 shown in FIG. 2 being held by the user with the holding gesture shown in (b) in FIG. Example plot of the first data detected at time.
  • (a) in FIG. 7 is the first data detected when the touch screen (including screen A and screen B) of the flexible folding screen mobile phone 200 is held.
  • the ab side shown in (a) in Figure 7 is the ab side of the A screen shown in Figure 2 and (b) in Figure 7
  • the cd side shown in Figure 7 (a) is the B screen shown in Figure 2 cd edge
  • ef shown in (a) in Figure 7 is the folded edge ef shown in Figure 2 and (b) in Figure 7.
  • the touch screen (including screen A and screen B) includes several test points uniformly distributed on the screen surface formed by horizontal and vertical electrode arrays. Wherein, the above-mentioned several test points respectively detect the first data shown in (a) in FIG. 7 .
  • the double-sided screen terminal can determine the user's holding position based on the detected first data and in combination with a preset threshold.
  • the double-sided screen terminal can determine whether a touch event occurs by comparing the magnitude relationship between the detected first data and a preset threshold. For example, if the value is greater than (>) (or " ⁇ ") a preset threshold, it is determined that a touch event has occurred; if the value is less than ( ⁇ ) (or " ⁇ ") the preset threshold, it is determined that a touch event has not occurred .
  • the position where the touch event occurs is the user's grip position.
  • the aforementioned preset threshold may be any constant between 200-500.
  • the preset threshold value is 300
  • the touch screen is held by the user with the holding gesture shown in (b) in Figure 7, as shown in (a) in Figure 7, a71, a72, a73 and a74
  • the value detected by the test points in each area is greater than the preset threshold 300
  • the holding gesture shown in (b) in Figure 7 it can be determined that the four areas a71, a72, a73, and a74 where touch events occur correspond to fingers 71, 72, and 73 shown in (b) in Figure 7, respectively. and the contact area of the finger 74 with the touch screen.
  • the test points in other areas except a71, a72, a73 and a74 also detected the first data, but the value is very small, so it can be judged that this area has not occurred Touch events. Comparing the holding gesture shown in (b) in FIG. 7, it can be determined that except for fingers 71, 72, 73 and 74, other areas of the user's palm are not in contact with the touch screen of the double-sided screen terminal.
  • the finger 75 shown in (b) in Figure 7 is in contact with the double-sided screen terminal, it is specifically in contact with the side frame of the double-sided screen terminal, and the side frame is not provided with a pressure detection unit (such as an electrode array. test point), therefore the first data is not detected in the contact area between the finger 75 and the double-sided screen terminal, and thus no touch event is detected.
  • the preset threshold value is 300
  • the touch screen is held by the user with the grip gesture shown in (b) in FIG. 8, as shown in (a) in FIG.
  • the value detected by the test point is greater than the preset threshold 300
  • the test points in other areas except a81 and a82 Due to the existence of external interference (such as the influence of factors such as temperature and humidity), the test points in other areas except a81 and a82 also detect the first data, but the value is very small, so it can be determined that no touch event occurs in this area. Comparing the holding gesture shown in (b) in FIG. 8 , it can be determined that except for the finger 81 and the tiger's mouth 82, other areas of the user's palm are not in contact with the touch screen of the double-sided screen terminal. Among them, although finger 83 and finger 84 shown in (b) in FIG. (For example, the test point formed by the electrode array), therefore, the first data is not detected in the contact area between the finger 83 and the finger 84 and the double-sided screen terminal, and thus no touch event is detected.
  • the double-sided screen terminal may also combine the first data corresponding to the user's grip position to simulate the user's grip gesture.
  • the double-sided screen terminal can use a neural network (such as a convolutional neural network) to train and learn a large number of holding gestures and corresponding first data to establish a holding gesture model.
  • the double-sided screen terminal can analyze information such as the center and center of gravity of the user's grip position according to the first data corresponding to the user's grip position, and further perform the user's grip gesture based on the established grip gesture model. Simulation, to judge the screen currently being used according to the simulated user's holding gesture, and then accurately judge the current working screen.
  • the holding area with the largest first data is the center-of-gravity area held by the user
  • the center-of-gravity area is the area where the user's hands are most closely in contact with the double-sided screen terminal.
  • the double-sided screen terminal can switch screen display in a timely manner. For example, when it is determined that the current working screen changes (for example, from screen A to screen B, or from screen B to screen A), the double-sided screen terminal performs screen display switching.
  • the working screen is the first screen.
  • the double-sided screen terminal determines that the user's grip area on the first screen is larger than the the holding area on the second screen. In this case, the double-sided screen terminal switches the working screen from the first screen to the second screen.
  • the double-sided screen terminal determines that the user's grip area on the first screen is greater than the first threshold according to the first data, and the user is on the second screen. If the holding area on the screen is smaller than the second threshold, the double-sided screen terminal determines that the working screen is the second screen. In this case, the double-sided screen terminal switches the working screen from the first screen to the second screen.
  • the embodiment of the present application only takes the first data collected by the double-sided screen terminal at one moment (for example, the second moment) as an example.
  • Quantity is not limited.
  • the double-sided screen terminal may also identify the user's grip position based on the average value of multiple pieces of first data collected continuously at multiple times.
  • the double-sided screen terminal may also identify the user's holding position based on changes in multiple pieces of first data.
  • the present application does not limit the specific method, algorithm and model of the user's grip gesture simulation.
  • the above-mentioned neural network (such as a convolutional neural network) is only used as an example of a deep learning method and algorithm.
  • the double-sided screen terminal analyzes the user's grip gesture and/or the user's grip position, and determines the screen currently being used (current working screen).
  • the user when the user wants to use the A screen of the double-sided screen terminal shown in (b) in Figure 7, the user usually holds the double-sided screen terminal with the holding gesture shown in (b) in Figure 7 Face-screen terminal. As shown in (b) of FIG. 7 , the user's holding gesture covers most of the screen of screen B, but barely covers screen A. As another example, when the user wants to use screen B of the double-sided screen terminal shown in (b) in FIG. 8 , the user usually holds the double-sided screen terminal with the holding gesture shown in (b) in FIG. 8 . As shown in (b) of FIG. 8 , the user's holding gesture covers most of the screen of screen A, but barely covers screen B.
  • the screen switching method of the double-sided screen terminal provided by the embodiment of the present application can accurately determine the screen currently in use by recognizing the user's grip gesture and/or the user's grip position, so as to switch the screen display when necessary. , accurately and timely switch the screen display.
  • the double-sided screen terminal performs the following step S504:
  • the double-sided screen terminal performs screen display switching.
  • the double-sided screen terminal can identify that the user's gripping position includes a71, a72, a73, and a74 shown in (a) in Figure 7 area. Further, the double-sided screen terminal predicts that the user currently wants to use screen A shown in (b) in FIG. Based on this conclusion, if the current working screen is the B screen, the double-sided screen terminal switches the current working screen from the B screen to the A screen.
  • the double-sided screen terminal can identify that the user's grip position includes four areas a81 and a82 shown in (a) in FIG. 8 . Further, the double-sided screen terminal predicts that the user currently wants to use screen B shown in (b) in FIG. 8 by analyzing the specific corresponding relationship between the two areas a81 and a82 and the touch screen of the double-sided screen terminal. Based on this conclusion, if the current working screen is A screen, the double-sided screen terminal switches the current working screen from A screen to B screen.
  • the screen of the double-sided screen terminal provided by the embodiment of the present application is used Switching method, even if a motion sensor (such as a gyroscope sensor) detects that the device has been turned over by default, the terminal will not switch the display of the working screen. Based on this solution, users can get a good experience in scenarios similar to the above.
  • a motion sensor such as a gyroscope sensor
  • the preset flip can be preset in the double-sided screen terminal in the form of preset spatial posture changes.
  • the preset spatial attitude change can be determined and preset in the double-sided screen terminal based on the training and analysis of the big data of terminal flipping.
  • the first data in the above-mentioned embodiment 1 is used to represent the difference between the capacitance data detected when the touch screen is touched and the preset threshold value.
  • the capacitance data detected when the touch screen is not touched is affected by the external environment such as whether the device is powered on, temperature, humidity and other factors, so the preset threshold value is based on the capacity detected when the touch screen is not touched.
  • the double-sided screen terminal cannot obtain a reasonable and effective preset threshold value, and therefore cannot obtain reasonable and effective first data.
  • the embodiment of the present application provides the following embodiment 2.
  • the double-sided screen terminal recognizes the user's grip gesture and/or the user's grip position change or change based on the screen Raw capacity data corresponding to multiple moments (such as the second data and the third data). .
  • the screen Raw capacitance data (hereinafter referred to as “Raw data”) is used to represent the raw capacitance data detected when the touch screen is touched.
  • the above-mentioned second data is the original capacity data detected by the double-sided screen terminal at the first moment when the touch screen is touched
  • the above-mentioned third data is the original capacity data detected by the double-sided screen terminal at the second moment when the touch screen is touched. Capacitance data.
  • the following embodiment takes the double-sided screen terminal to recognize the user's grip gesture and/or the change or change of the user's grip position based on the difference between the two screen Raw capacity data as an example, and provides a method for the embodiment of the present application.
  • the screen switching method of the double-sided screen terminal is introduced.
  • the second data may be collected; and after a period of time (that is, the second moment), the third data may be collected.
  • the above-mentioned period of time may be a preset duration (for example, 5 seconds), or may be triggered by a certain event after the above-mentioned period of time (for example, detection of preset reversal, etc.), which is not limited in this application.
  • a method for switching screens of a double-sided screen terminal may include the following steps S901-S905:
  • the double-sided screen terminal collects second data.
  • FIG. 9B takes the flexible folding screen mobile phone 200 shown in FIG. 2 being held by the user with the holding gestures shown in (b) and (c) in FIG. An example diagram of the first data detected when the touch screen is held is shown.
  • FIG. 9B shows that the touch screen (including A screen and B screen) of the flexible folding screen mobile phone 200 is held by the user with the holding gestures shown in (b) in FIG. 9B and (c) in FIG. 9B The second data detected at the time.
  • FIG. 9B shows the holding state of the side A of the screen when the user holds the terminal
  • FIG. 9B shows the holding state of the side B of the screen when the user holds the terminal.
  • the ab side shown in (a) in Figure 9B is the ab side of the A screen shown in Figure 2 and (b) in Figure 9B
  • the cd side shown in (a) in Figure 9B is the ( in Figure 2 and Figure 9B c)
  • the cd side of the B screen shown where the cd side shown in (c) in Figure 9B is partly blocked by the user's palm
  • the ef shown in (a) in Figure 9B is the (b) in Figure 2 and Figure 9B
  • the folded edge ef shown in (c) in FIG. 9B is partly covered by the user's palm.
  • several test points evenly distributed on the surface of the touch screen including screen A and screen B respectively detect the original capacitance values shown in (a) in FIG. 9B .
  • the double-sided screen terminal collects third data.
  • FIG. 10 takes the flexible folding screen mobile phone 200 shown in FIG. 2 being held by the user with the holding gestures shown in (b) and (c) in FIG. A third data example diagram detected when the touch screen is held is shown.
  • FIG. 10 shows that the touch screen (including A screen and B screen) of the flexible folding screen mobile phone 200 is held by the user with the holding gestures shown in (b) and (c) in FIG. 10
  • the third data detected at the time (b) in FIG. 10 shows the holding state of the B screen side when the user holds the terminal, and (c) in FIG. 10 shows the holding state of the A screen side when the user holds the terminal.
  • the ab side shown in (a) in Figure 10 is the ab side of the A screen shown in Figure 2 and (c) in Figure 10 (wherein the ab side shown in (c) in Figure 10 is partially blocked by the user's palm), Fig.
  • the cd side shown in (a) in 10 is the cd side of the B screen shown in Figure 2 and (b) in Figure 10
  • the ef shown in (a) in Figure 10 is the (b) in Figure 2 and Figure 10 and the folded edge ef shown in (c) in FIG. 10 (the folded edge ef shown in (c) in FIG. 9B is partly covered by the user's palm).
  • FIG. 10 several test points evenly distributed on the surface of the touch screen (including screen A and screen B) respectively detect the original capacitance values shown in (a) in FIG. 10 .
  • the double-sided screen terminal Based on the difference between the second data and the third data, the double-sided screen terminal recognizes the user's grip gesture and/or the change or change of the user's grip position.
  • the double-sided screen terminal can analyze the difference between the third data shown in (a) in Figure 10 and the second data shown in (a) in Figure 9B , to identify the user's grip gesture and/or the change or change of the user's grip position.
  • the double-sided screen terminal can recognize that when the user holds the terminal with the holding gestures shown in (b) in Figure 9B and (c) in Figure 9B, the holding position includes the position shown in Figure 9B Two regions a91 and a92 are shown in (a). Among them, a91 is in contact with the user's thumb, and a92 is in contact with the user's palm and index finger. As shown in (a) in Figure 10, the double-sided screen terminal can recognize that when the user holds the terminal with the holding gestures shown in Figure 10 (b) and Figure 10 (c), the holding position includes Figure 10 (a) shows two areas a101, a102, a103, a104 and a105. Among them, a101 is in contact with the user's jaw, and a102, a103, a104 and a105 are respectively in contact with the user's index finger, middle finger, ring finger and little finger.
  • the double-sided screen terminal Based on the Raw data 1 shown in (a) in FIG. 9B and the Raw data 2 shown in (a) in FIG. 10 , the double-sided screen terminal obtains the Raw data difference shown in FIG. 11 .
  • the double-sided screen terminal is held by the user from the state shown in (b) in FIG. 9B and (c) in FIG. 9B, and flipped to (b) in FIG. (c) After the holding state shown in (c), the newly added holding position area and the disappearing holding position area.
  • the double-sided screen terminal is turned over to (b) in Figure 10 and (c) in Figure 10 by the user from the state shown in (b) in Figure 9B and (c) in Figure 9B ) after the holding state shown in ), the holding position area changes from focusing on the B screen to focusing on the A screen.
  • the double-sided screen terminal analyzes the user's grip gesture and/or the change or change of the user's grip position, and determines the screen currently being used (current working screen).
  • the double-sided screen terminal can predict that the user currently wants to switch from the A screen display to the B screen display, and the double-sided screen terminal will change the current working screen from the A screen to the B screen display. Switch to B screen.
  • the double-sided screen terminal can also simulate the user's grip gesture in combination with the original capacity data corresponding to the user's grip position, so as to judge according to the simulated user grip gesture. The screen currently being used, and then accurately judge the current working screen. Further, when it is determined to switch the screen display, the double-sided screen terminal can switch the screen display in a timely manner. For example, when it is determined that the current working screen changes (for example, switching from screen A to screen B, or switching from screen B to screen A), the double-sided screen terminal performs the following step S905 to switch the screen display.
  • the double-sided screen terminal performs screen display switching.
  • the double-sided screen terminal determines that the user's grip area on the first screen is larger than the grip area on the second screen according to the original capacity data, the double-sided screen terminal determines the working screen is the second screen. In this case, the double-sided screen terminal switches the working screen from the first screen to the second screen.
  • the double-sided screen terminal determines that the user's grip area on the first screen is greater than the first threshold and the user's grip area on the second screen is smaller than the second threshold according to the original capacity data
  • the double-sided screen terminal Make sure the working screen is the second screen. In this case, the double-sided screen terminal switches the working screen from the first screen to the second screen.
  • the double-sided screen terminal can use a neural network (such as a convolutional neural network) to train and learn a large number of holding gestures and corresponding original capacity data to establish a holding gesture model.
  • a neural network such as a convolutional neural network
  • Figure 7, Figure 8, Figure 9B, and Figure 10 of this application are only examples of several holding positions and holding gestures.
  • Hand gestures are not limited.
  • the holding gesture may also be holding both hands at the same time.
  • the screen switching method of the double-sided screen terminal provided by the embodiment of the present application can also recognize the preset flipping by a motion sensor (such as a gyroscope sensor) based on. For example, the method of identifying the user's grip position and/or the user's grip gesture as described in the above-mentioned Embodiment 1 and Embodiment 2, and then switching the screen provided by the embodiment of the present application can be performed when the motion sensor recognizes the preset flip .
  • a motion sensor such as a gyroscope sensor
  • FIG. 12 shows a flow chart of a method for screen switching of a double-sided screen terminal provided by an embodiment of the present application, taking the recognition of preset flips as an example to perform screen switching in combination with the method provided in Embodiment 1 of the present application.
  • a method for switching screens of a double-sided screen terminal provided in the embodiment of the present application may include the following steps S1201-S1202, and the above-mentioned steps S501-S504:
  • the double-sided screen terminal acquires motion data.
  • the motion data may include but not limited to the motion direction, motion speed and motion angular velocity of the double-sided screen terminal.
  • the double-sided screen terminal can obtain motion data through a motion sensor.
  • the gyroscope sensor can detect the change of the spatial attitude of the double-sided screen terminal, so as to determine that the preset flip of the double-sided screen terminal occurs according to the preset change of the spatial attitude.
  • the gyro sensor can continuously detect the flipping of the double-sided screen terminal in the space by continuously recording the spatial posture values such as the flip angle in the three-dimensional space.
  • the double-sided screen terminal when the double-sided screen terminal is in a static state, for example, when a motion sensor (such as a gyroscope sensor) detects that the flip angle and acceleration in the three-dimensional space are both 0, the motion sensor (such as the gyro sensor) does not detect changes in the spatial attitude of the double-sided screen terminal.
  • the double-sided screen terminal is in the flipped state, for example, when the motion sensor (such as a gyroscope sensor) detects the flip angle and/or acceleration in the three-dimensional space, the motion sensor (such as the gyroscope sensor) continues to record all directions in the three-dimensional space. The flip angle and acceleration until the double-sided screen terminal returns to the static state.
  • the space attitude of the double-sided screen terminal can be determined by the Euler angle (including pitch angle (pitch) ⁇ , yaw angle (yaw) And roll angle (roll) ⁇ ) to represent.
  • Euler angle including pitch angle (pitch) ⁇ , yaw angle (yaw) And roll angle (roll) ⁇
  • the double-sided screen terminal recognizes that it starts to undergo preset flipping.
  • the double-sided screen terminal can perform flip recognition of the terminal device based on changes in corresponding spatial posture values (such as flip angle, etc.) detected by the gyroscope sensor within a period of time. For example, when it is recognized that the flipping direction of the double-sided screen terminal satisfies the preset direction, and the flipping angle meets the preset angle threshold, the double-sided screen terminal may determine that the double-sided screen terminal itself starts to undergo preset flipping.
  • corresponding spatial posture values such as flip angle, etc.
  • the double-sided screen terminal collects first data (such as Diff data).
  • the double-sided screen terminal recognizes the user's grip gesture and/or the user's grip position based on the first data.
  • the double-sided screen terminal analyzes the user's grip gesture and/or the user's grip position, and determines the screen currently being used (current working screen).
  • the double-sided screen terminal performs the following step S504:
  • the double-sided screen terminal performs screen display switching.
  • the double-sided screen terminal can recognize the user's grip gesture and/or the user's grip position based on the first data during the preset flipping process, and then judge the screen currently being used and Switching of screen display.
  • the double-sided screen terminal can also identify the user's grip gesture and/or user's grip position based on the first data during the preset flipping process, and identify the screen currently being used. judge. Further, as shown in FIG. 13 , when it is determined to end the preset flipping, the double-sided screen terminal switches the screen display. Exemplarily, the double-sided screen terminal can identify the end of the preset flip based on the collected motion data.
  • FIG. 14 shows a flow chart of a screen switching method for a double-sided screen terminal provided by an embodiment of the present application, taking the recognition of the preset inversion as an example to perform screen switching in combination with the method provided in Embodiment 2 of the present application.
  • a method for switching screens of a double-sided screen terminal provided in the embodiment of the present application may include the above steps S1201-S1202, and the above steps S901-S905:
  • the double-sided screen terminal collects second data.
  • the double-sided screen terminal collects third data.
  • the double-sided screen terminal Based on the difference between the second data and the third data, the double-sided screen terminal recognizes the user's grip gesture and/or the change or change of the user's grip position.
  • the double-sided screen terminal analyzes the user's grip gesture and/or the change or change of the user's grip position, and determines the screen currently being used.
  • the double-sided screen terminal performs the following steps S905:
  • the double-sided screen terminal performs screen display switching.
  • the double-sided screen terminal can identify the user's grip gesture and/or the user's grip position change or change based on the difference between the second data and the third data during its preset flipping process, Further, the judgment of the screen currently being used and the switching of the screen display are performed.
  • the double-sided screen terminal may also collect second data during the preset flipping process, and collect third data when it is determined to end the preset flipping. Then, based on the difference between the second data and the third data, the double-sided screen terminal recognizes the user's grip gesture and/or the change or change of the user's grip position, and then judges the screen currently being used and switches the screen display .
  • the double-sided screen terminal can identify the end of the preset flip based on the collected motion data.
  • the specific algorithms in the method provided by the embodiment of the present application can be implemented by any layer of software on the double-sided screen terminal. structure to achieve.
  • the specific algorithm in the method provided by the embodiment of the present application can be set in the application program layer, the application program framework (framework, FWK) layer, the kernel layer (kernel) or In the hardware abstract layer (hardware abstract layer, HAL) and other levels, this application does not limit.
  • serial numbers of the above-mentioned processes do not mean the order of execution, and the order of execution of the processes should be determined by their functions and internal logic, and should not be implemented in this application.
  • the implementation of the examples constitutes no limitation.
  • the double-sided screen terminal includes corresponding hardware structures and/or software modules for performing various functions.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software in combination with the units and algorithm steps of each example described in the embodiments disclosed herein. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
  • the function modules of the double-sided screen terminal can be divided.
  • each function module can be divided corresponding to each function, or two or more functions can be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation.
  • the double-sided screen terminal may include a data collection unit 1610 , a processing unit 1620 and a storage unit 1630 .
  • the data collection unit 1610 is used to support the double-sided screen terminal to execute the above steps S501, S901, S902, S1201, and/or other processes related to the embodiment of the present application.
  • the processing unit 1620 is configured to support the double-sided screen terminal to execute the above steps S502, S503, S504, S903, S904, S905, S1202, and/or other processes related to the embodiment of this application.
  • the storage unit 1730 is used to store computer programs and implement processing data and/or processing results in the methods provided by the embodiments of the present application.
  • each module in the double-sided screen terminal may be implemented in the form of software and/or hardware, which is not specifically limited.
  • electronic equipment is presented in the form of functional modules.
  • the "module” here may refer to an application-specific integrated circuit ASIC, a circuit, a processor and memory executing one or more software or firmware programs, an integrated logic circuit, and/or other devices that can provide the above-mentioned functions.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.).
  • the computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes one or more available media integrated.
  • the available medium can be a magnetic medium, (such as a floppy disk, a hard disk, etc. , tape), optical media (such as digital video disk (digital video disk, DVD)), or semiconductor media (such as solid state disk (SSD)), etc.
  • the steps of the methods or algorithms described in conjunction with the embodiments of the present application may be implemented in hardware, or may be implemented in a manner in which a processor executes software instructions.
  • the software instructions can be composed of corresponding software modules, and the software modules can be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, mobile hard disk, CD-ROM or any other form of storage known in the art medium.
  • An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium.
  • the storage medium may also be a component of the processor.
  • the processor and storage medium can be located in the ASIC.
  • the ASIC may be located in a double-sided screen terminal. Certainly, the processor and the storage medium may also exist in the double-sided screen terminal as discrete components.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种双面屏终端的屏幕切换方法及设备,涉及触控显示领域,可以在双面屏终端被使用的过程中,准确、及时地判断用户的握持位置,确定当前工作屏幕。本申请提供的方案中,双面屏终端可以基于双面屏终端采集到的屏幕容值数据进行用户握持手势和/或用户握持位置识别,以判断当前正在被使用的屏幕,从而可以及时地进行屏幕显示切换,提高用户体验。

Description

一种双面屏终端的屏幕切换方法及设备
本申请要求于2021年7月30日提交国家知识产权局、申请号为202110875382.2、申请名称为“一种双面屏终端的屏幕切换方法及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及触控技术领域,尤其涉及一种双面屏终端的屏幕切换方法及设备。
背景技术
随着当前终端触摸屏技术的突飞猛进,以及智能终端的普及和扩展,出现了双面屏终端。例如,双面屏终端包括正面触摸屏和背面触摸屏;又如,双面屏终端的触摸屏可以折叠成正反两个触摸屏,正反两个触摸屏展开后则形成一个较大的触摸屏。
通常,在用户使用双面屏终端的过程中,若双面屏终端检测到设备翻转,则双面屏终端进行屏幕切换。例如,假设手机包括图1所示A屏和B屏,其中A屏为当前工作屏幕,即A屏亮屏,B屏灭屏,当检测到设备翻转时,手机进行屏幕切换,将当前工作屏幕由A屏切换为B屏,即A屏灭屏,B屏亮屏。其中,在将当前工作屏幕由A屏切换为B屏之后,之前显示在A屏上的内容转移至B屏显示。
但是,在一些情况下,尽管设备翻转,但用户并不想切换当前工作屏幕。例如,假设用户正在使用图1所示手机的A屏,用户在打开二维码之后,将手机翻转以扫描二维码。在这种情况下,用户并不希望手机将当前工作屏幕由A屏切换为B屏。但是,若基于常规的翻转识别技术进行屏幕切换,对于上述情况,手机的A屏会灭屏,B屏会亮屏。
发明内容
本申请提供一种双面屏终端的屏幕切换方法及设备,可以在双面屏终端被使用的过程中,准确、及时地进行当前工作屏幕判断。
为达到上述目的,本申请实施例采用如下技术方案:
第一方面,提供一种双面屏终端的屏幕切换方法,该方法包括:双面屏终端获取屏幕容值数据;双面屏终端根据所述屏幕容值数据确定用户握持位置;以及,双面屏终端根据所述用户握持位置,确定工作屏幕。
上述第一方面提供的方案,双面屏终端基于双面屏终端采集到的屏幕容值数据进行用户握持手势和/或用户握持位置识别,以判断当前正在被使用的屏幕,进而准确、及时地进行当前工作屏幕判断,从而可以及时地进行屏幕显示切换,提高用户体验。
在一种可能的实现方式中,上述双面屏终端包括第一屏和第二屏;双面屏终端的工作屏幕是第一屏;双面屏终端根据屏幕容值数据确定用户在第一屏上的握持区域大于在第二屏上的握持区域,则双面屏终端确定工作屏幕是第二屏。本申请中,双面屏终端可以基于双面屏终端采集到的屏幕容值数据进行用户握持位置识别,以根据握持区域的大小判断当前正在被使用的屏幕,进而准确、及时地进行当前工作屏幕判断, 从而可以及时地进行屏幕显示切换,提高用户体验。
在一种可能的实现方式中,上述双面屏终端包括第一屏和第二屏;双面屏终端的工作屏幕是第一屏;双面屏终端根据屏幕容值数据确定用户在第一屏上的握持区域大于第一阈值,且用户在第二屏上的握持区域小于第二阈值,则双面屏终端确定工作屏幕是第二屏。本申请中,双面屏终端可以基于双面屏终端采集到的屏幕容值数据进行用户握持位置识别,以根据握持区域的大小判断当前正在被使用的屏幕,进而准确、及时地进行当前工作屏幕判断,从而可以及时地进行屏幕显示切换,提高用户体验。
在一种可能的实现方式中,上述方法还包括:双面屏终端将工作屏幕由第一屏切换为第二屏。通过本申请提供的方法进行当前工作屏幕判断,可以准确、及时地进行屏幕显示切换,提高用户体验。
在一种可能的实现方式中,上述双面屏终端根据屏幕容值数据确定用户握持位置,包括:双面屏终端确定大于预先设置的阈值的屏幕容值数据对应的位置为用户握持位置。作为一种实现方式,双面屏终端可以基于屏幕容值的大小进行用户握持位置判定,以实现用户握持位置的准确识别。
在一种可能的实现方式中,在双面屏终端获取屏幕容值数据之前,上述方法还包括:双面屏终端根据获取的运动数据确定双面屏终端开始发生预设翻转。为进一步提高当前工作屏幕判断的准确性,可以采用翻转识别结合屏幕容值数据分析的方法进行当前工作屏幕判断。
在一种可能的实现方式中,上述屏幕容值数据包括第一数据,该第一数据用于表征双面屏终端的触摸屏接受触摸时检测到的容值数据与预设门限值之间的差值。作为一种实现方式,可以根据触摸屏接受触摸时检测到的容值数据与预设门限值之间的差值进行用户握持位置判定,以实现用户握持位置的准确识别。
在一种可能的实现方式中,上述方法还包括:双面屏终端根据容值数据确定预设门限值。为了克服外界环境的影响,可以根据容值数据确定用于分析用户握持位置的预设门限值,提高用户握持位置分析结果的准确性。
在一种可能的实现方式中,上述屏幕容值数据包括第二数据和第三数据,第二数据用于表征双面屏终端的触摸屏在第一时刻接受触摸时检测到的原始容值数据,第三数据用于表征双面屏终端的触摸屏在第二时刻接受触摸时检测到的原始容值数据。作为一种实现方式,可以根据触摸屏在不同时刻接受触摸时检测到的原始容值数据进行用户握持位置判定,以实现用户握持位置的准确识别。
在一种可能的实现方式中,上述双面屏终端获取屏幕容值数据,包括:双面屏终端在第一时刻采集第二数据,第一时刻是双面屏终端开始发生预设翻转的时刻;双面屏终端在第二时刻采集第三数据,第二时刻是双面屏终端进行预设翻转的过程中的任意时刻。本申请中,可以根据触摸屏在不同时刻(例如开始发生预设翻转的时刻和进行预设翻转的过程中的任意时刻)接受触摸时检测到的原始容值数据进行用户握持位置判定,以实现用户握持位置的准确识别。
在一种可能的实现方式中,上述双面屏终端获取屏幕容值数据,包括:双面屏终端在第一时刻采集第二数据,第一时刻是双面屏终端开始发生预设翻转的时刻;双面屏终端在第二时刻采集第三数据,第二时刻是双面屏终端结束预设翻转的时刻。本申 请中,可以根据触摸屏在不同时刻(例如开始发生预设翻转的时刻和结束预设翻转的时刻)接受触摸时检测到的原始容值数据进行用户握持位置判定,以实现用户握持位置的准确识别。
第二方面,提供一种双面屏终端,该双面屏终端包括:数据采集单元,用于获取屏幕容值数据;处理单元,用于根据所述屏幕容值数据确定用户握持位置;以及根据所述用户握持位置,确定工作屏幕。
上述第二方面提供的方案,双面屏终端基于双面屏终端采集到的屏幕容值数据进行用户握持手势和/或用户握持位置识别,以判断当前正在被使用的屏幕,进而准确、及时地进行当前工作屏幕判断,从而可以及时地进行屏幕显示切换,提高用户体验。
在一种可能的实现方式中,上述双面屏终端包括第一屏和第二屏;双面屏终端的工作屏幕是第一屏;上述处理单元具体用于,根据屏幕容值数据确定用户在第一屏上的握持区域大于在第二屏上的握持区域,进而确定工作屏幕是第二屏。本申请中,双面屏终端可以基于双面屏终端采集到的屏幕容值数据进行用户握持位置识别,以根据握持区域的大小判断当前正在被使用的屏幕,进而准确、及时地进行当前工作屏幕判断,从而可以及时地进行屏幕显示切换,提高用户体验。
在一种可能的实现方式中,上述双面屏终端包括第一屏和第二屏;双面屏终端的工作屏幕是第一屏;上述处理单元具体用于,根据屏幕容值数据确定用户在第一屏上的握持区域大于第一阈值,且用户在第二屏上的握持区域小于第二阈值,进而确定工作屏幕是第二屏。本申请中,双面屏终端可以基于双面屏终端采集到的屏幕容值数据进行用户握持位置识别,以根据握持区域的大小判断当前正在被使用的屏幕,进而准确、及时地进行当前工作屏幕判断,从而可以及时地进行屏幕显示切换,提高用户体验。
在一种可能的实现方式中,上述处理单元还用于,将工作屏幕由第一屏切换为第二屏。通过本申请提供的方法进行当前工作屏幕判断,可以准确、及时地进行屏幕显示切换,提高用户体验。
在一种可能的实现方式中,上述处理单元具体用于,确定大于预先设置的阈值的屏幕容值数据对应的位置为用户握持位置。作为一种实现方式,双面屏终端可以基于屏幕容值的大小进行用户握持位置判定,以实现用户握持位置的准确识别。
在一种可能的实现方式中,上述处理单元还用于,在数据采集单元获取屏幕容值数据之前,根据获取的运动数据确定双面屏终端开始发生预设翻转。为进一步提高当前工作屏幕判断的准确性,可以采用翻转识别结合屏幕容值数据分析的方法进行当前工作屏幕判断。
在一种可能的实现方式中,上述屏幕容值数据包括第一数据,该第一数据用于表征双面屏终端的触摸屏接受触摸时检测到的容值数据与预设门限值之间的差值。作为一种实现方式,可以根据触摸屏接受触摸时检测到的容值数据与预设门限值之间的差值进行用户握持位置判定,以实现用户握持位置的准确识别。
在一种可能的实现方式中,上述处理单元还用于,根据容值数据确定预设门限值。为了克服外界环境的影响,可以根据容值数据确定用于分析用户握持位置的预设门限值,提高用户握持位置分析结果的准确性。
在一种可能的实现方式中,上述屏幕容值数据包括第二数据和第三数据,第二数据用于表征双面屏终端的触摸屏在第一时刻接受触摸时检测到的原始容值数据,第三数据用于表征双面屏终端的触摸屏在第二时刻接受触摸时检测到的原始容值数据。作为一种实现方式,可以根据触摸屏在不同时刻接受触摸时检测到的原始容值数据进行用户握持位置判定,以实现用户握持位置的准确识别。
在一种可能的实现方式中,上述数据采集单元具体用于,在第一时刻采集第二数据,以及在第二时刻采集第三数据;其中,第一时刻是双面屏终端开始发生预设翻转的时刻,第二时刻是双面屏终端进行预设翻转的过程中的任意时刻。本申请中,可以根据触摸屏在不同时刻(例如开始发生预设翻转的时刻和进行预设翻转的过程中的任意时刻)接受触摸时检测到的原始容值数据进行用户握持位置判定,以实现用户握持位置的准确识别。
在一种可能的实现方式中,上述数据采集单元具体用于,在第一时刻采集第二数据,以及在第二时刻采集第三数据;其中,第一时刻是双面屏终端开始发生预设翻转的时刻,第二时刻是双面屏终端结束预设翻转的时刻。本申请中,可以根据触摸屏在不同时刻(例如开始发生预设翻转的时刻和结束预设翻转的时刻)接受触摸时检测到的原始容值数据进行用户握持位置判定,以实现用户握持位置的准确识别。
第三方面,提供一种双面屏终端,该双面屏终端包括:存储器,用于存储计算机程序;数据采集器(如传感器),用于采集屏幕容值数据;处理器,用于执行所述计算机程序,使得双面屏终端获取屏幕容值数据;根据所述屏幕容值数据确定用户握持位置;以及根据所述用户握持位置,确定工作屏幕。
上述第三方面提供的方案,双面屏终端基于双面屏终端采集到的屏幕容值数据进行用户握持手势和/或用户握持位置识别,以判断当前正在被使用的屏幕,进而准确、及时地进行当前工作屏幕判断,从而可以及时地进行屏幕显示切换,提高用户体验。
在一种可能的实现方式中,上述双面屏终端包括第一屏和第二屏;双面屏终端的工作屏幕是第一屏;上述处理器具体用于,执行所述计算机程序,使得双面屏终端根据屏幕容值数据确定用户在第一屏上的握持区域大于在第二屏上的握持区域,进而确定工作屏幕是第二屏。本申请中,双面屏终端可以基于双面屏终端采集到的屏幕容值数据进行用户握持位置识别,以根据握持区域的大小判断当前正在被使用的屏幕,进而准确、及时地进行当前工作屏幕判断,从而可以及时地进行屏幕显示切换,提高用户体验。
在一种可能的实现方式中,上述双面屏终端包括第一屏和第二屏;双面屏终端的工作屏幕是第一屏;上述处理器具体用于,执行所述计算机程序,使得双面屏终端根据屏幕容值数据确定用户在第一屏上的握持区域大于第一阈值,且用户在第二屏上的握持区域小于第二阈值,进而确定工作屏幕是第二屏。本申请中,双面屏终端可以基于双面屏终端采集到的屏幕容值数据进行用户握持位置识别,以根据握持区域的大小判断当前正在被使用的屏幕,进而准确、及时地进行当前工作屏幕判断,从而可以及时地进行屏幕显示切换,提高用户体验。
在一种可能的实现方式中,上述处理器具体用于,执行所述计算机程序,使得双面屏终端将工作屏幕由第一屏切换为第二屏。通过本申请提供的方法进行当前工作 屏幕判断,可以准确、及时地进行屏幕显示切换,提高用户体验。
在一种可能的实现方式中,上述处理器具体用于,执行所述计算机程序,使得双面屏终端确定大于预先设置的阈值的屏幕容值数据对应的位置为用户握持位置。作为一种实现方式,双面屏终端可以基于屏幕容值的大小进行用户握持位置判定,以实现用户握持位置的准确识别。
在一种可能的实现方式中,上述处理器还用于,执行所述计算机程序,使得双面屏终端在数据采集单元获取屏幕容值数据之前,根据获取的运动数据确定双面屏终端开始发生预设翻转。为进一步提高当前工作屏幕判断的准确性,可以采用翻转识别结合屏幕容值数据分析的方法进行当前工作屏幕判断。
在一种可能的实现方式中,上述屏幕容值数据包括第一数据,该第一数据用于表征双面屏终端的触摸屏接受触摸时检测到的容值数据与预设门限值之间的差值。作为一种实现方式,可以根据触摸屏接受触摸时检测到的容值数据与预设门限值之间的差值进行用户握持位置判定,以实现用户握持位置的准确识别。
在一种可能的实现方式中,上述处理器还用于,执行所述计算机程序,使得双面屏终端根据容值数据确定预设门限值。为了克服外界环境的影响,可以根据容值数据确定用于分析用户握持位置的预设门限值,提高用户握持位置分析结果的准确性。
在一种可能的实现方式中,上述屏幕容值数据包括第二数据和第三数据,第二数据用于表征双面屏终端的触摸屏在第一时刻接受触摸时检测到的原始容值数据,第三数据用于表征双面屏终端的触摸屏在第二时刻接受触摸时检测到的原始容值数据。作为一种实现方式,可以根据触摸屏在不同时刻接受触摸时检测到的原始容值数据进行用户握持位置判定,以实现用户握持位置的准确识别。
在一种可能的实现方式中,上述数据采集器具体用于,在第一时刻采集第二数据,以及在第二时刻采集第三数据;其中,第一时刻是双面屏终端开始发生预设翻转的时刻,第二时刻是双面屏终端进行预设翻转的过程中的任意时刻。本申请中,可以根据触摸屏在不同时刻(例如开始发生预设翻转的时刻和进行预设翻转的过程中的任意时刻)接受触摸时检测到的原始容值数据进行用户握持位置判定,以实现用户握持位置的准确识别。
在一种可能的实现方式中,上述数据采集器具体用于,在第一时刻采集第二数据,以及在第二时刻采集第三数据;其中,第一时刻是双面屏终端开始发生预设翻转的时刻,第二时刻是双面屏终端结束预设翻转的时刻。本申请中,可以根据触摸屏在不同时刻(例如开始发生预设翻转的时刻和结束预设翻转的时刻)接受触摸时检测到的原始容值数据进行用户握持位置判定,以实现用户握持位置的准确识别。
第四方面,提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序代码,该计算机程序代码被处理器执行时实现如第一方面任一种可能的实现方式中的方法。
第五方面,提供一种芯片***,该芯片***包括处理器、存储器,存储器中存储有计算机程序代码;所述计算机程序代码被所述处理器执行时,实现如第一方面任一种可能的实现方式中的方法。该芯片***可以由芯片构成,也可以包含芯片和其他分立器件。
第六方面,提供一种计算机程序产品,当其在计算机上运行时,使得实现如第一方面任一种可能的实现方式中的方法。
附图说明
图1为本申请实施例提供的一种正反屏手机的形态示意图;
图2为本申请实施例提供的一种柔性折叠屏手机的形态示意图;
图3为本申请实施例提供的一种双屏折叠手机的形态示意图;
图4为本申请实施例提供的一种双面屏手机的硬件结构示意图;
图5A为本申请实施例提供的一种双面屏终端的屏幕切换示例图;
图5B为本申请实施例提供的一种双面屏终端的屏幕切换方法流程图一;
图6为本申请实施例提供的一种触摸屏未接受触摸时检测到的第一数据示例图;
图7为本申请实施例提供的一种触摸屏被握持时检测到的第一数据示例图;
图8为本申请实施例提供的另一种触摸屏被握持时检测到的第一数据示例图;
图9A为本申请实施例提供的一种双面屏终端的屏幕切换方法流程图二;
图9B为本申请实施例提供的一种触摸屏被握持时检测到的第二数据示例图;
图10为本申请实施例提供的一种触摸屏被握持时检测到的第三数据示例图;
图11为本申请实施例提供的一种触摸屏被握持位置的变化示例图;
图12为本申请实施例提供的一种双面屏终端的屏幕切换方法流程图三;
图13为本申请实施例提供的一种双面屏终端的屏幕切换方法流程图四;
图14为本申请实施例提供的一种双面屏终端的屏幕切换方法流程图五;
图15为本申请实施例提供的一种双面屏终端的屏幕切换方法流程图六;
图16为本申请实施例提供的一种双面屏终端的结构框图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请实施例的描述中,“多个”是指两个或多于两个。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
本申请实施例提供一种双面屏终端的屏幕切换方法,该方法应用于双面屏终端的设备翻转识别过程中。
示例性的,本申请实施例中的双面屏终端可以是具有双面屏幕的终端,所述双面屏终端的正反面可以分别设置有一个触摸屏,简称正反屏终端。其中,该正反屏终端包括两个触摸屏:第一屏和第二屏(如图1所示A屏和B屏)固定在终端机身的正反面。应理解,第一屏和第二屏的尺寸可以不同。例如,第一屏的面积可以占据整个A面,第二屏的面积占据B面的一部分(例如,占据一半),B面同时还可以包括后盖。在一些实施例中,该正反屏终端可以是图1中的(a)所示手机 100,手机100包括A屏和B屏,A屏和B屏固定在手机100机身的正反面。其中,A屏是手机100的正面,B屏可以是手机100的反面;或者,A屏是手机100的反面,B屏可以是手机100的正面。假设图1中的(b)为图1中的(a)所示手机100的主视图,其示出了手机100的A屏;那么,图1中的(c)为图1中的(a)所示手机100的后视图,其示出了手机100的B屏。用户可以选择使用正反屏终端的两个屏幕之一进行显示。
或者,上述双面屏终端可以是折叠屏终端,如柔性折叠屏终端(例如,柔性折叠屏手机)和双屏折叠终端(例如,双屏折叠手机)。其中,折叠屏终端的触摸屏沿折叠边可以折叠成A屏和B屏,折叠后的终端的A屏和B屏朝外。折叠屏终端在折叠状态下,用户可以选择使用两个屏幕之一进行显示。
例如,如图2所示,为本申请实施例示出的一种柔性折叠屏手机200的形态示意图。其中,图2中的(a)是手机200沿折叠边折叠后的形态示意图。如图2中的(a)所示,手机200沿折叠边折叠后可以折叠成A屏(即第一屏)和B屏(即第二屏)。图2中的(b)是手机200沿折叠边展开(例如,半展开)的形态示意图。参考图2中的(b),手机200沿折叠边展开后,A屏和B屏组成一个的触摸屏。其中,图2中的(a)和图2中的(b)所示黑色区域为手机200的触摸屏。
例如,如图3所示,为本申请实施例示出的一种双屏折叠手机300的形态示意图。其中,图3中的(a)是手机300沿折叠边折叠后的形态示意图。如图3中的(a)所示,手机300沿折叠边折叠后可以折叠成A屏(即第一屏)和B屏(即第二屏)。图3中的(b)是手机300沿折叠边展开(例如,半展开)的形态示意图,参考图3中的(b),手机300沿折叠边展开后,A屏和B屏组成一个的触摸屏。其中,图3中的(a)和图3中的(b)所示黑色区域为手机300的触摸屏。
需要说明的是,上述正反屏终端与折叠屏终端的不同点在于:折叠屏终端的触摸屏可以沿折叠边折叠成A屏和B屏,A屏和B屏还可以合并成一个触摸屏;而正反屏终端的两个触摸屏的位置固定,不能合并成一个触摸屏。例如,如图2中的(a)所示折叠屏手机200或者图3中的(a)所示折叠屏手机300的A屏与B屏贴合的位置处存在折叠线;而图1中的(a)所示正反屏手机100的A屏与B屏是固定在一起的两个触摸屏,A屏与B屏贴合的位置处存在折叠线。
需要注意的是,当上述双面屏终端是折叠屏终端(如柔性折叠屏终端和双屏折叠终端)时,本申请实施例的方法应用于上述折叠屏终端处于折叠状态的情况。其中,本申请实施例中的折叠状态可以为图2中的(a)所示柔性折叠屏手机所处的状态,以及图3中的(a)所示双屏折叠手机所处的状态。
需要说明的是,本申请实施例提供的图1、图2和图3所示双面屏终端仅作为示例,本申请实施例并不限定双面屏终端的具体结构和形态。例如,本申请上述折叠屏终端可以是纵向折叠终端,还可以是横向折叠终端。
如图4所示,以手机400作为上述双面屏终端举例,介绍双面屏终端的硬件结构。如图4所示,手机400可以包括处理器410,外部存储器接口420,内部存储器421,通用串行总线(universal serial bus,USB)接口430,充电管理模块440,电源管理模块441,电池442,天线1,天线2,移动通信模块450,无线通信模块460, 音频模块470,扬声器470A,受话器470B,麦克风470C,耳机接口470D,传感器模块480,按键490,马达491,指示器492,摄像头493,显示屏494,以及用户标识模块(subscriber identification module,SIM)卡接口495等。其中传感器模块480可以包括压力传感器480A,陀螺仪传感器480B,气压传感器480C,磁传感器480D,加速度传感器480E,距离传感器480F,接近光传感器480G,指纹传感器480H,温度传感器480J,触摸传感器480K,环境光传感器480L,骨传导传感器480M等。
可以理解的是,本发明实施例示意的结构并不构成对手机400的具体限定。在本申请另一些实施例中,手机400可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器410可以包括一个或多个处理单元,例如:处理器410可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器410中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器410中的存储器为高速缓冲存储器。该存储器可以保存处理器410刚用过或循环使用的指令或数据。如果处理器410需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器410的等待时间,因而提高了***的效率。
在一些实施例中,处理器410可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对手机400的结构限定。在本申请另一些实施例中,手机400也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块440用于从充电器接收充电输入。电源管理模块441用于连接电池442,充电管理模块440与处理器410。
手机400的无线通信功能可以通过天线1,天线2,移动通信模块450,无线通信模块460,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。手机400中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结 合使用。
移动通信模块450可以提供应用在手机400上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块450可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块450可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块450还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块450的至少部分功能模块可以被设置于处理器410中。在一些实施例中,移动通信模块450的至少部分功能模块可以与处理器410的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器470A,受话器470B等)输出声音信号,或通过显示屏494显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器410,与移动通信模块450或其他功能模块设置在同一个器件中。
无线通信模块460可以提供应用在手机400上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星***(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块460可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块460经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器410。无线通信模块460还可以从处理器410接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,手机400的天线1和移动通信模块450耦合,天线2和无线通信模块460耦合,使得手机400可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯***(global system for mobile communications,GSM),通用分组无线服务((general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位***(global positioning system,GPS),全球导航卫星***(global navigation satellite system,GLONASS),北斗卫星导航***(beidou navigation satellite system,BDS),准天顶卫星***(quasi-zenith satellite system,QZSS)和/或星基增强***(satellite based augmentation systems,SBAS)。
手机400通过GPU,显示屏494,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏494和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器410可包括一个或多个GPU,其执行程序指令以生成或改变显示 信息。
显示屏494用于显示图像,视频等。显示屏494包括显示面板。例如,显示屏494包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,手机400可以包括1个或N个显示屏494,N为大于1的正整数。在手机400包括1个显示屏494时,手机400可以为图2中的柔性折叠屏。
手机400可以通过ISP,摄像头493,视频编解码器,GPU,显示屏494以及应用处理器等实现拍摄功能。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当手机400在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。手机400可以支持一种或多种视频编解码器。这样,手机400可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现手机400的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。在本申请实施例中,NPU可以对大量握持手势和对应屏幕容值数据进行训练学习,以建立握持手势模型。
外部存储器接口420可以用于连接外部存储卡,例如Micro SD卡,实现扩展手机400的存储能力。外部存储卡通过外部存储器接口420与处理器410通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器421可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器421可以包括存储程序区和存储数据区。其中,存储程序区可存储操作***,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储手机400使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器421可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器410通过运行存储在内部存储器421的指令,和/或存储在设置于处理器中的存储器的指令,执行手机400的各种功能应用以及数据处理。
手机400可以通过音频模块470,扬声器470A,受话器470B,麦克风470C,耳机接口470D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
压力传感器480A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器480A可以设置于显示屏494。压力传感器480A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器480A,电极之间 的电容改变。手机400根据电容的变化确定压力的强度。当有触摸操作作用于显示屏494,手机400根据压力传感器480A检测所述触摸操作强度。手机400也可以根据压力传感器480A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。
陀螺仪传感器480B可以用于确定手机400的运动姿态。在一些实施例中,可以通过陀螺仪传感器480B确定手机400围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器480B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器480B检测手机400抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消手机400的抖动,实现防抖。陀螺仪传感器480B还可以用于导航,体感游戏场景。在本申请实施例中,陀螺仪传感器480B可以用于检测终端的运动,以识别预设翻转运动等。
关于音频模块470,扬声器470A,受话器470B,麦克风470C,耳机接口470D,气压传感器480C,磁传感器480D,加速度传感器480E,距离传感器480F,接近光传感器480G,环境光传感器480L,指纹传感器480H,温度传感器480J,触摸传感器480K,骨传导传感器480M,按键490,马达491,指示器492和SIM卡接口495等的具体工作原理和作用,可以参考常规技术中的介绍,本申请实施例不做赘述。
需要说明的是,图4所示手机包括的硬件模块只是示例性地描述,并不对手机的具体结构做出限定。例如,手机还可以包括其他功能模块。
可以理解,常规的双面屏终端在检测到设备翻转时,便会进行当前工作屏幕切换。示例性的,双面屏终端在其自身的运动传感器检测到设备发生预设翻转时,便会进行当前工作屏幕切换。例如预设翻转可以是面向用户的屏幕向背向用户的方向翻转,背向用户的屏幕向面向用户的方向翻转。但是,单纯基于运动传感器(如陀螺仪传感器)触发屏幕切换在实际使用中容易产生识别不准确的情况,即屏幕显示内容跳转至用户未使用的一侧屏幕。
例如,在扫码付款场景中,在手机的A屏面向用户显示图5A中的(a)所示付款二维码,B屏背向用户为灭屏状态时,用户希望在将设备翻转,使A屏在背向用户时仍然显示图5A中的(a)所示付款二维码(如图5A中的(b)所示),以使机器扫描A屏上显示的付款二维码完成付款。但是,若单纯基于运动传感器检测设备的翻转来触发屏幕切换,则在将图5A中的(a)所示A屏翻转至背向用户时,此时B屏面向用户,A屏灭屏,付款二维码切换至B屏显示,则无法使机器成功扫描到付款二维码。
又如,在用户向其他人展示信息(如电子身份证,健康证明等)时,用户并不希望设备翻转触发屏幕切换。
为解决上述识别不准确的情况,本申请实施例提供一种双面屏终端的屏幕切换方法,该方法通过基于双面屏终端采集到的屏幕容值数据进行用户握持手势和/或用户握持位置识别,以判断当前正在被使用的屏幕,进而准确地进行当前工作屏幕判断。进一步的,在确定进行屏幕显示切换时,双面屏终端可以及时地进行屏幕显示切换。
示例性的,在本申请实施例中,屏幕容值数据可以由双面屏终端的触摸屏检测并采集。例如,双面屏终端的触摸屏可以是电容式触摸屏、电阻式触摸屏或者电感式触摸屏等。本申请以下实施例以双面屏终端的触摸屏是电容式触摸屏为例,以双面屏终 端采集到的触摸数据是屏幕容值数据为例,对本申请实施例提供的一种双面屏终端的屏幕切换方法进行具体介绍。
其中,电容式触摸屏包括横向和纵向的电极阵列,该横向和纵向的电极阵列构成在屏幕表面均匀分布的若干个测试点。例如,上述电极阵列可以由氧化铟锡(indium tin oxide,ITO)制成。由于相邻电极之间可以产生自电容,所以通过自电容扫描方式采集各个测试点的自电容值的变化,可以实现对单点触摸的检测。另外,由于相邻电极之间也可以产生互电容,所以通过互电容扫描方式采集各个测试点的互电容值的变化,也可以实现对多点触摸的检测。
示例性的,在一些实施例中,双面屏终端可以基于屏幕容值Diff数据进行用户握持手势和/或用户握持位置识别。在另一些实施例中,双面屏终端可以基于多份屏幕原始容值数据进行用户握持手势和/或用户握持位置更改或变化的识别。
以下将结合附图,对本申请实施例提供的一种双面屏终端的屏幕切换方法进行具体介绍,以下实施例中的方法均可以在具有上述硬件结构的手机400(例如正反屏手机100、柔性折叠屏手机200、双屏折叠手机300)中实现。
实施例1:
在本申请实施例1中,双面屏终端基于屏幕容值Diff数据(即第一数据)进行用户握持手势和/或用户握持位置识别。
如图5B所示,本申请实施例提供的一种双面屏终端的屏幕切换方法可以包括以下步骤S501-S504:
S501、双面屏终端采集第一数据。
其中,第一数据用于表征触摸屏接受触摸时检测到的容值数据与预设门限值之间的差值。
可选的,预设门限值可以根据触摸屏未接受触摸时检测到的容值数据确定。
S502、双面屏终端基于第一数据进行用户握持手势和/或用户握持位置识别。
可以理解,在触摸屏未接受触摸时,由于外界干扰(例如温度、湿度等因素的影响)的存在,该若干个测试点仍然会检测到电容值。因此,本申请实施例1基于第一数据,在排除温度、湿度等外界干扰的情况下,可以直接反应触控感应量。以根据触控感应量和位置对用户握持位置进行确定,进而准确、及时地进行当前工作屏幕判断。
其中,触控的位置用于反映触摸屏被用户握持的位置(即用户握持位置),触控感应量用于反映触摸屏被用户握持时,用户手部与触摸屏的接触紧密程度和接触紧密程度的面积分布。
示例性的,图6以图2所示柔性折叠屏手机200为例,示出了一种触摸屏未接受触摸时检测到的第一数据示例图。其中,图6为柔性折叠屏手机200的触摸屏(包括A屏和B屏)未接受触摸时检测到的第一数据。图6所示ab边即图2所示A屏的ab边,图6所示cd边即图2所示B屏的cd边,图6所示ef即图2所示折叠边ef。
如图6所示,触摸屏(包括A屏和B屏)包括横向和纵向的电极阵列构成的屏幕表面均匀分布的若干个测试点。在触摸屏未接受触摸时,由于外界干扰(例如温度、湿度等因素的影响)的存在,该若干个测试点分别检测到图6所示第一数据。
可选的,在本申请实施例中,触摸屏终端未接受触摸时检测到的容值数据可以预 先储存在触摸屏终端中,例如可以以上述预设门限值的形式在触摸屏终端出厂前预先设置在触摸屏终端中。
可选的,在本申请实施例中,在触摸屏终端被使用的过程中,根据触摸屏终端未接受触摸时检测到的容值数据确定的上述预设门限值还可以更新。例如可以周期性更新。又如可以根据当前实时环境进行实时更新,如在每次开机时等时机根据当前实时环境进行实时更新。
可选的,在本申请实施例中,上述预设门限值还可以从其他装置或***处获取,本申请实施例对于上述预设门限值的具体设置依据、规则和方式等不做限定。
示例性的,图7中的(a)以图2所示柔性折叠屏手机200被用户以图7中的(b)所示握持手势握持为例,示出了一种触摸屏被握持时检测到的第一数据示例图。图7中的(a)为柔性折叠屏手机200的触摸屏(包括A屏和B屏)被握持时检测到的第一数据。其中,图7中的(a)所示ab边即图2和图7中的(b)所示A屏的ab边,图7中的(a)所示cd边即图2所示B屏的cd边,图7中的(a)所示ef即图2和图7中的(b)所示折叠边ef。如图7中的(a)所示,触摸屏(包括A屏和B屏)包括横向和纵向的电极阵列构成的屏幕表面均匀分布的若干个测试点。其中,上述若干个测试点分别检测到图7中的(a)所示第一数据。
其中,在图6所示示例图和图7中的(a)所示示例图中,数值越大,则代表对应位置的接触越紧密;数值越小,则代表对应位置的接触越轻。
在一些实施例中,双面屏终端可以基于检测到的第一数据,结合预先设置的阈值进行用户握持位置确定。
示例性的,双面屏终端可以通过比较检测到的第一数据与预先设置的阈值之间的大小关系,来判定是否发生触控事件。例如,若数值大于(>)(或者“≥”)预先设置的阈值,则判定发生触控事件;若数值小于(<)(或者“≤”)预先设置的阈值,则判定未发生触控事件。其中,发生触控事件的位置即用户握持位置。
示例性的,上述预先设置的阈值可以为200-500中任一常数。
例如,假设预先设置的阈值为300,在触摸屏被用户以图7中的(b)所示握持手势握持时,如图7中的(a)所示,a71、a72、a73和a74四个区域的测试点检测到的数值大于预先设置的阈值300,则可以判定a71、a72、a73和a74四个区域发生触控事件。对比图7中的(b)所示握持手势,可以确定发生触控事件的a71、a72、a73和a74四个区域分别对应图7中的(b)所示手指71、手指72、手指73和手指74与触摸屏的接触区域。
由于外界干扰(例如温度、湿度等因素的影响)的存在,除a71、a72、a73和a74以外的其他区域的测试点也检测到第一数据,但是数值很小,因此可以判定该区域未发生触控事件。对比图7中的(b)所示握持手势,可以确定除手指71、手指72、手指73和手指74以外,用户手掌的其他区域未与双面屏终端的触摸屏发生接触。图7中的(b)所示手指75虽然与双面屏终端接触,但是由于其具体是与双面屏终端的侧边框接触的,而侧边框上未设置有压力检测单元(例如电极阵列构成的测试点),因此手指75与双面屏终端的接触区域未检测到第一数据,因而也未检测到触控事件。
又如,假设预先设置的阈值为300,在触摸屏被用户以图8中的(b)所示握持手 势握持时,如图8中的(a)所示,a81和a82两个区域的测试点检测到的数值大于预先设置的阈值300,则可以判定a81和a82两个区域发生触控事件。对比图8中的(b)所示握持手势,可以确定发生触控事件的a81和a82两个区域分别对应图8中的(b)所示手指81和虎口82与触摸屏的接触区域。
由于外界干扰(例如温度、湿度等因素的影响)的存在,除a81和a82以外的其他区域的测试点也检测到第一数据,但是数值很小,因此可以判定该区域未发生触控事件。对比图8中的(b)所示握持手势,可以确定除手指81和虎口82以外,用户手掌的其他区域未与双面屏终端的触摸屏发生接触。其中,图8中的(b)所示手指83和手指84虽然与双面屏终端接触,但是由于其具体是与双面屏终端的侧边框接触的,而侧边框上未设置有压力检测单元(例如电极阵列构成的测试点),因此手指83和手指84与双面屏终端的接触区域未检测到第一数据,因而也未检测到触控事件。
需要说明的是,图7中的(b)和图8中的(b)所示双面屏终端的侧边框中未设置有压力检测单元(例如电极阵列构成的测试点),因此在图7中的(b)所示手指75接触双面屏终端的区域,图8中的(b)所示手指83和手指84接触双面屏终端的区域,双面屏终端未检测到第一数据。但是,由于双面屏终端的触摸屏上设置有压力检测单元,因此尽管触摸屏折叠形成图7中的(b)和图8中的(b)所示折叠边,该折叠边位置仍然可以检测到第一数据。
进一步的,在一些实施例中,在确定用户握持位置之后,双面屏终端还可以结合用户握持位置对应的第一数据进行用户握持手势模拟。
例如,双面屏终端可以通过神经网络(例如卷积神经网络)对大量的握持手势和对应第一数据进行训练学习,建立握持手势模型。在本申请实施例中,双面屏终端可以根据用户握持位置对应的第一数据对用户握持位置的中心、重心等信息进行分析,并进一步基于建立的握持手势模型进行用户握持手势模拟,以根据模拟的用户握持手势判断当前正在被使用的屏幕,进而准确地进行当前工作屏幕判断。示例性的,第一数据最大的握持区域为用户握持重心区域,则该重心区域为用户手部与双面屏终端接触最紧密的区域。
进一步的,在确定需要进行屏幕显示切换时,双面屏终端可以及时地进行屏幕显示切换。例如,在确定当前的工作屏幕发生变化(例如,由A屏变为B屏,或者由B屏变为A屏),则双面屏终端进行屏幕显示切换。
例如,在本申请一些实施例中,在第一时刻,工作屏幕为第一屏,在第二时刻,若双面屏终端根据第一数据确定用户在第一屏上的握持区域大于在第二屏上的握持区域,则双面屏终端确定工作屏幕是第二屏。对于这种情况,双面屏终端将工作屏幕由第一屏切换为第二屏。
又如,在第一时刻,工作屏幕为第一屏,在第二时刻,在双面屏终端根据第一数据确定用户在第一屏上的握持区域大于第一阈值,且用户在第二屏上的握持区域小于第二阈值,则双面屏终端确定工作屏幕是第二屏。对于这种情况,双面屏终端将工作屏幕由第一屏切换为第二屏。
需要说明的是,本申请实施例仅以双面屏终端在一个时刻(例如,第二时刻)采集第一数据作为示例,本申请实施例对用于确定用户握持位置所基于的第一数据数量 不做限定。例如,双面屏终端还可以基于在多个时刻连续采集的多份第一数据的平均值进行用户握持位置识别。又如,双面屏终端还可以基于多份第一数据的变化进行用户握持位置识别。
另外,本申请对于用户握持手势模拟的具体方法、算法以及模型等不做限定。上述神经网络(例如卷积神经网络)仅作为一种深度学习方法及算法示例。
S503、双面屏终端分析用户握持手势和/或用户握持位置,判断当前正在被使用的屏幕(当前工作屏幕)。
可以理解,根据用户的使用习惯,在双面屏终端的某一侧屏幕被使用时,用户的握持手势倾向于不遮挡该侧屏幕大面积显示内容,以便阅读或使用。
例如,根据用户的使用习惯,当用户想要使用图7中的(b)所示双面屏终端的A屏时,用户通常会以图7中的(b)所示握持手势握持双面屏终端。如图7中的(b)所示,用户的握持手势遮挡了B屏的大部分屏幕,但是几乎未遮挡A屏。又如,当用户想要使用图8中的(b)所示双面屏终端的B屏时,用户通常会以图8中的(b)所示握持手势握持双面屏终端。如图8中的(b)所示,用户的握持手势遮挡了A屏的大部分屏幕,但是几乎未遮挡B屏。
根据这个规律,本申请实施例提供的双面屏终端的屏幕切换方法通过对用户握持手势和/或用户握持位置的识别,可以准确判断当前正在使用的屏幕,以在需要进行屏幕显示切换时,准确、及时的进行屏幕显示切换。其中,若当前正在被使用的屏幕发生变化,则双面屏终端执行以下步骤S504:
S504、双面屏终端进行屏幕显示切换。
例如,双面屏终端通过对检测到的图7中的(a)所示第一数据进行分析,可以识别用户握持位置包括图7中的(a)所示a71、a72、a73和a74四个区域。进一步的,双面屏终端通过分析a71、a72、a73和a74四个区域与双面屏终端触摸屏的具体对应关系,预测用户当前想要使用图7中的(b)所示A屏。基于该结论,若当前工作屏幕是B屏,则双面屏终端将当前工作屏幕由B屏切换为A屏。
又如,双面屏终端通过对检测到的图8中的(a)所示第一数据进行分析,可以识别用户握持位置包括图8中的(a)所示a81和a82四个区域。进一步的,双面屏终端通过分析a81和a82两个区域与双面屏终端触摸屏的具体对应关系,预测用户当前想要使用图8中的(b)所示B屏。基于该结论,若当前工作屏幕是A屏,则双面屏终端将当前工作屏幕由A屏切换为B屏。
又如,在例如图5A所示扫码付款场景或者用户翻转手机以向其他人展示信息(如电子身份证,健康证明等)等场景下,采用本申请实施例提供的双面屏终端的屏幕切换方法,即使运动传感器(如陀螺仪传感器)检测到设备发生预设翻转,终端也不会进行工作屏幕显示切换。基于该方案,用户可以在类似上述场景中得到很好的使用体验。
其中,在本申请实施例中,预设翻转可以以预设空间姿态变化的形式预先设置在双面屏终端中。示例性的,预设空间姿态变化可以基于对终端翻转大数据的训练和分析,确定并预先设置在双面屏终端中。
可以理解,上述实施例1中的第一数据用于表征触摸屏接受触摸时检测到的容值 数据与预设门限值之间的差值。我们知道,在触摸屏未接受触摸时检测到的容值数据是受外界环境如设备是否上电、温度、湿度等因素影响的,因此对于预设门限值根据触摸屏未接受触摸时检测到的容值数据确定的情况,双面屏终端无法获得一个合理有效的预设门限值,因此也无法获得合理有效的第一数据。
为解决上述由于设备是否上电、温度、湿度等外界环境的影响造成的第一数据缺乏合理性和有效性的问题,本申请实施例提供了以下实施例2。
实施例2:
在本申请实施例2中,双面屏终端基于多个时刻对应的屏幕Raw容值数据(如第二数据和第三数据)进行用户握持手势和/或用户握持位置更改或变化的识别。
其中,屏幕Raw容值数据(以下简称“Raw数据”)用于表征触摸屏接受触摸时检测到的原始容值数据。上述第二数据是双面屏终端在第一时刻采集的触摸屏接受触摸时检测到的原始容值数据,上述第三数据是双面屏终端在第二时刻采集的触摸屏接受触摸时检测到的原始容值数据。
示例性的,以下实施例以双面屏终端基于两份屏幕Raw容值数据的差值识别用户握持手势和/或用户握持位置的更改或变化为例,对本申请实施例提供的一种双面屏终端的屏幕切换方法进行介绍。
例如,当本申请实施例提供的方法算法启动时(即第一时刻),可以采集第二数据;以及,在一段时间之后(即第二时刻),采集第三数据。其中,上述一段时间可以是预设时长(例如5秒),或者上述一段时间之后可以由某一事件触发(例如检测到预设翻转等),本申请不限定。
如图9A所示,本申请实施例提供的一种双面屏终端的屏幕切换方法可以包括以下步骤S901-S905:
S901、双面屏终端采集第二数据。
示例性的,图9B中的(a)以图2所示柔性折叠屏手机200被用户以图9B中的(b)和图9B中的(c)所示握持手势握持为例,示出了一种触摸屏被握持时检测到的第一数据示例图。
其中,图9B中的(a)为柔性折叠屏手机200的触摸屏(包括A屏和B屏)被用户以图9B中的(b)和图9B中的(c)所示握持手势握持时检测到的第二数据。其中,图9B中的(b)示出了用户握持终端时A屏一面的握持状态,图9B中的(c)示出了用户握持终端时B屏一面的握持状态。
图9B中的(a)所示ab边即图2和图9B中的(b)所示A屏的ab边,图9B中的(a)所示cd边即图2和图9B中的(c)所示B屏的cd边(其中图9B中的(c)所示cd边部分被用户手掌遮挡),图9B中的(a)所示ef即图2、图9B中的(b)和图9B中的(c)所示折叠边ef(其中图9B中的(c)所示折叠边ef部分被用户手掌遮挡)。如图9B中的(a)所示,触摸屏(包括A屏和B屏)表面均匀分布的若干个测试点分别检测到图9B中的(a)所示原始容值。
S902、伴随双面屏终端的翻转,双面屏终端采集第三数据。
示例性的,图10中的(a)以图2所示柔性折叠屏手机200被用户以图10中的(b)和图10中的(c)所示握持手势握持为例,示出了一种触摸屏被握持时检测到的第三 数据示例图。
其中,图10中的(a)为柔性折叠屏手机200的触摸屏(包括A屏和B屏)被用户以图10中的(b)和图10中的(c)所示握持手势握持时检测到的第三数据。其中,图10中的(b)示出了用户握持终端时B屏一面的握持状态,图10中的(c)示出了用户握持终端时A屏一面的握持状态。
图10中的(a)所示ab边即图2和图10中的(c)所示A屏的ab边(其中图10中的(c)所示ab边部分被用户手掌遮挡),图10中的(a)所示cd边即图2和图10中的(b)所示B屏的cd边,图10中的(a)所示ef即图2、图10中的(b)和图10中的(c)所示折叠边ef(其中图9B中的(c)所示折叠边ef部分被用户手掌遮挡)。如图10中的(a)所示,触摸屏(包括A屏和B屏)表面均匀分布的若干个测试点分别检测到图10中的(a)所示原始容值。
S903、双面屏终端基于第二数据和第三数据的差值进行用户握持手势和/或用户握持位置更改或变化的识别。
示例性的,假设用户握持双面屏终端由图9B中的(b)和图9B中的(c)所示握持状态,翻转至图10中的(b)和图10中的(c)所示握持状态,则在本申请实施例中,双面屏终端可以通过分析图10中的(a)所示第三数据和图9B中的(a)所示第二数据的差值,进行用户握持手势和/或用户握持位置更改或变化的识别。
如图9B中的(a)所示,双面屏终端可以识别用户以图9B中的(b)和图9B中的(c)所示握持手势握持终端时,握持位置包括图9B中的(a)所示a91和a92两个区域。其中,a91与用户的大拇指接触,a92与用户的手掌和食指接触。如图10中的(a)所示,双面屏终端可以识别用户以图10中的(b)和图10中的(c)所示握持手势握持终端时,握持位置包括图10中的(a)所示a101、a102、a103、a104和a105两个区域。其中,a101与用户的虎口接触,a102、a103、a104和a105分别与用户的食指、中指、无名指和小拇指接触。
基于图9B中的(a)所示Raw数据1和图10中的(a)所示Raw数据2,双面屏终端得到图11所示Raw数据差值。其中,从图11可以看出双面屏终端被用户由图9B中的(b)和图9B中的(c)所示握持状态,翻转至图10中的(b)和图10中的(c)所示握持状态之后,新增的握持位置区域和消失的握持位置区域。
如图11所示,双面屏终端被用户由图9B中的(b)和图9B中的(c)所示握持状态,翻转至图10中的(b)和图10中的(c)所示握持状态之后,握持位置区域由之前的集中在B屏变化为集中A屏。
S904、双面屏终端分析用户握持手势和/或用户握持位置的更改或变化,判断当前正在被使用的屏幕(当前工作屏幕)。
可以理解,根据用户的使用习惯,在双面屏终端的某一侧屏幕被使用时,用户的握持手势倾向于不遮挡该侧屏幕大面积显示内容,以便阅读或使用。因此,根据这个规律,对于图11所示原始容值数据的变化,双面屏终端可以预测用户当前想要从A屏显示切换为B屏显示,则双面屏终端将当前工作屏幕由A屏切换为B屏。
进一步的,在一些实施例中,在确定用户握持位置之后,双面屏终端还可以结合用户握持位置对应的原始容值数据进行用户握持手势模拟,以根据模拟的用户握持手 势判断当前正在被使用的屏幕,进而准确地进行当前工作屏幕判断。进一步的,在确定进行屏幕显示切换时,双面屏终端可以及时地进行屏幕显示切换。例如,在确定当前工作屏幕发生变化(例如,由A屏切换为B屏,或者由B屏切换为A屏),则双面屏终端执行以下步骤S905,进行屏幕显示切换。
S905、双面屏终端进行屏幕显示切换。
例如,在本申请一些实施例中,若双面屏终端根据原始容值数据确定用户在第一屏上的握持区域大于在第二屏上的握持区域,则双面屏终端确定工作屏幕是第二屏。对于这种情况,双面屏终端将工作屏幕由第一屏切换为第二屏。
又如,在双面屏终端根据原始容值数据确定用户在第一屏上的握持区域大于第一阈值,且用户在第二屏上的握持区域小于第二阈值,则双面屏终端确定工作屏幕是第二屏。对于这种情况,双面屏终端将工作屏幕由第一屏切换为第二屏。
示例性的,双面屏终端可以通过神经网络(例如卷积神经网络)对大量的握持手势和对应原始容值数据进行训练学习,建立握持手势模型。关于这部分内容,可以参考实施例1中的介绍,这里不做赘述。
需要说明的是,本申请图7、图8、图9B和图10仅作为几种握持位置和握持手势示例,本申请实施例对用户握持双面屏终端的具体握持位置和握持手势不做限定。例如,握持手势还可以是双手同时握持等。
在一些实施例中,为了更加可靠地进行当前正在被使用的屏幕的判断,本申请实施例提供的双面屏终端的屏幕切换方法还可以在运动传感器(如陀螺仪传感器)识别预设翻转的基础上进行。例如,本申请实施例提供的例如上述实施例1和实施例2所介绍的识别用户握持位置和/或用户握持手势,进而进行屏幕切换的方法可以在运动传感器识别到预设翻转时进行。
请参考图12,图12以识别预设翻转后结合本申请实施例1提供的方法进行屏幕切换为例,示出了本申请实施例提供的一种双面屏终端的屏幕切换方法流程图。如图12所示,本申请实施例提供的一种双面屏终端的屏幕切换方法可以包括以下步骤S1201-S1202,以及上述步骤S501-S504:
S1201、双面屏终端获取运动数据。
其中,运动数据可以包括但不限于双面屏终端的运动方向、运动速度和运动角速度等。示例性的,双面屏终端可以通过运动传感器获取运动数据。
以运动传感器是陀螺仪传感器为例,示例性的,陀螺仪传感器可以通过对双面屏终端空间姿态的变化进行检测,以根据空间姿态的预设变化确定双面屏终端发生预设翻转。
例如,陀螺仪传感器可以通过持续记录三维空间内的翻转角度等空间姿态数值,用以持续检测双面屏终端在空间内的翻转。
作为一种示例,在本申请实施例中,当双面屏终端处于静止状态时,例如运动传感器(如陀螺仪传感器)检测到在三维空间内的翻转角度与加速度均为0时,运动传感器(如陀螺仪传感器)不对双面屏终端空间姿态的变化进行检测。当双面屏终端处于翻转状态时,例如运动传感器(如陀螺仪传感器)检测到在三维空间内的翻转角度和/或加速度时,运动传感器(如陀螺仪传感器)持续记录在三维空间内各方向的翻转 角度与加速度,直至双面屏终端重新恢复到静止状态。例如,双面屏终端的空间姿态可以用双面屏终端相对于地面坐标系的欧拉角(包括俯仰角(pitch)θ、偏航角(yaw)
Figure PCTCN2022108995-appb-000001
和横滚角(roll)φ)来表示。关于俯仰角、偏航角和横滚角的具体介绍,可以参考常规技术中的解释和说明,本申请实施例不做赘述。
S1202、双面屏终端根据运动数据识别其自身开始发生预设翻转。
以运动传感器是陀螺仪传感器为例,示例性的,双面屏终端可以基于陀螺仪传感器检测到的一段时间内,相应空间姿态数值(如翻转角度等)的变化,进行终端设备的翻转识别。例如,在识别到双面屏终端的翻转方向满足预设方向,翻转角度符合预设角度阈值时,双面屏终端可以确定其自身开始发生预设翻转。
S501、双面屏终端采集第一数据(如Diff数据)。
S502、双面屏终端基于第一数据进行用户握持手势和/或用户握持位置识别。
S503、双面屏终端分析用户握持手势和/或用户握持位置,判断当前正在被使用的屏幕(当前工作屏幕)。
若当前正在被使用的屏幕发生变化,则双面屏终端执行以下步骤S504:
S504、双面屏终端进行屏幕显示切换。
在一些实施例中,双面屏终端可以在其进行预设翻转的过程中,基于第一数据进行用户握持手势和/或用户握持位置识别,进而进行当前正在被使用的屏幕的判断以及屏幕显示的切换。
在另一些实施例中,双面屏终端还可以在其进行预设翻转的过程中,基于第一数据进行用户握持手势和/或用户握持位置识别,以及进行当前正在被使用的屏幕的判断。进一步的,如图13所示,在确定结束预设翻转时,双面屏终端进行屏幕显示的切换。示例性的,双面屏终端可以基于采集到的运动数据识别预设翻转结束。
关于图12和图13所示第一数据的采集、基于第一数据进行用户握持手势和/或用户握持位置识别、用户握持手势和/或用户握持位置分析、当前正在被使用的屏幕的判断等过程,可以参考上述实施例1中的介绍,这里不做赘述。
请参考图14,图14以识别预设翻转后结合本申请实施例2提供的方法进行屏幕切换为例,示出了本申请实施例提供的一种双面屏终端的屏幕切换方法流程图。如图14所示,本申请实施例提供的一种双面屏终端的屏幕切换方法可以包括上述步骤S1201-S1202,以及上述步骤S901-S905:
S901、双面屏终端采集第二数据。
S902、伴随双面屏终端的翻转,双面屏终端采集第三数据。
S903、双面屏终端基于第二数据和第三数据的差值进行用户握持手势和/或用户握持位置更改或变化的识别。
S904、双面屏终端分析用户握持手势和/或用户握持位置的更改或变化,判断当前正在被使用的屏幕。
若当前正在被使用的屏幕发生变化,则双面屏终端执行以下步骤S905:
S905、双面屏终端进行屏幕显示切换。
在一些实施例中,双面屏终端可以在其进行预设翻转的过程中,基于第二数据和第三数据的差值进行用户握持手势和/或用户握持位置更改或变化的识别,进而进行当 前正在被使用的屏幕的判断以及屏幕显示的切换。
在另一些实施例中,如图15所示,双面屏终端还可以在其进行预设翻转的过程中采集第二数据,以及在确定结束预设翻转时采集第三数据。然后,双面屏终端基于第二数据和第三数据的差值进行用户握持手势和/或用户握持位置更改或变化的识别,进而进行当前正在被使用的屏幕的判断以及屏幕显示的切换。示例性的,双面屏终端可以基于采集到的运动数据识别预设翻转结束。
关于图14和图15所示原始容值数据的采集、基于第二数据和第三数据的差值进行用户握持手势和/或用户握持位置更改或变化的识别、用户握持手势和/或用户握持位置的更改或变化的分析、当前正在被使用的屏幕的判断等过程,可以参考上述实施例2中的介绍,这里不做赘述。
需要说明的是,本申请实施例提供的方法中的具体算法,例如Raw数据或Diff数据分析算法、用户握持手势和/或用户握持位置分析算法可以由双面屏终端的任意一层软件结构来实现。以包括分层架构的Android***的双面屏终端为例,本申请实施例提供的方法中的具体算法可以设置在应用程序层,应用程序框架(framework,FWK)层,内核层(kernel)或硬件抽象层(hardware abstract layer,HAL)等层级中,本申请不限定。
关于操作***以及各个层(如Android***的应用程序层,FWK层,kernel或HAL等)的具体介绍,可以参考常规技术中的解释和说明,本申请实施例不做赘述。
应理解,本申请实施例的各个方案可以进行合理的组合使用,并且实施例中出现的各个术语的解释或说明可以在各个实施例中互相参考或解释,对此不作限定。
还应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
可以理解的是,双面屏终端为了实现上述任一个实施例的功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以对双面屏终端进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
比如,以采用集成的方式划分各个功能模块的情况下,如图16所示,为本申请实施例提供的一种双面屏终端的结构框图。如图16所示,该双面屏终端可以包括数据采集单元1610、处理单元1620和存储单元1630。
其中,数据采集单元1610用于支持双面屏终端执行上述步骤S501、S901、S902、S1201,和/或与本申请实施例相关的其他过程。处理单元1620用于支持双面屏终端执 行上述步骤S502、S503、S504、S903、S904、S905、S1202,和/或与本申请实施例相关的其他过程。存储单元1730用于存储计算机程序和实现本申请实施例提供的方法中的处理数据和/或处理结果等。
应理解,双面屏终端中的各个模块可以通过软件和/或硬件形式实现,对此不作具体限定。换言之,电子设备是以功能模块的形式来呈现。这里的“模块”可以指特定应用集成电路ASIC、电路、执行一个或多个软件或固件程序的处理器和存储器、集成逻辑电路,和/或其他可以提供上述功能的器件。
在一种可选的方式中,当使用软件实现数据传输时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地实现本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线((digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如软盘、硬盘、磁带)、光介质(例如数字化视频光盘(digital video disk,DVD))、或者半导体介质(例如固态硬盘solid state disk(SSD))等。
结合本申请实施例所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于双面屏终端中。当然,处理器和存储介质也可以作为分立组件存在于双面屏终端中。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。

Claims (26)

  1. 一种双面屏终端的屏幕切换方法,其特征在于,所述方法包括:
    双面屏终端获取屏幕容值数据;
    所述双面屏终端根据所述屏幕容值数据确定用户握持位置;
    所述双面屏终端根据所述用户握持位置,确定工作屏幕。
  2. 根据权利要求1所述的方法,其特征在于,所述双面屏终端包括第一屏和第二屏;所述双面屏终端的工作屏幕是所述第一屏;所述双面屏终端根据所述屏幕容值数据确定用户在所述第一屏上的握持区域大于在所述第二屏上的握持区域,则所述双面屏终端确定所述工作屏幕是所述第二屏。
  3. 根据权利要求1所述的方法,其特征在于,所述双面屏终端包括第一屏和第二屏;所述双面屏终端的工作屏幕是所述第一屏;所述双面屏终端根据所述屏幕容值数据确定用户在所述第一屏上的握持区域大于第一阈值,且用户在所述第二屏上的握持区域小于第二阈值,则所述双面屏终端确定所述工作屏幕是所述第二屏。
  4. 根据权利要求2或3所述的方法,其特征在于,在所述双面屏终端确定所述工作屏幕是所述第二屏之后,所述方法还包括:
    所述双面屏终端将所述工作屏幕由所述第一屏切换为所述第二屏。
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,所述双面屏终端根据所述屏幕容值数据确定用户握持位置,包括:
    所述双面屏终端确定大于预先设置的阈值的屏幕容值数据对应的位置为用户握持位置。
  6. 根据权利要求1-5中任一项所述的方法,其特征在于,在所述双面屏终端获取所述屏幕容值数据之前,所述方法还包括:
    所述双面屏终端根据获取的运动数据确定所述双面屏终端开始发生预设翻转。
  7. 根据权利要求1-6中任一项所述的方法,其特征在于,所述屏幕容值数据包括第一数据,所述第一数据用于表征所述双面屏终端的触摸屏接受触摸时检测到的容值数据与预设门限值之间的差值。
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:
    所述双面屏终端根据所述容值数据确定所述预设门限值。
  9. 根据权利要求1-6中任一项所述的方法,其特征在于,所述屏幕容值数据包括第二数据和第三数据,所述第二数据用于表征所述双面屏终端的触摸屏在第一时刻接受触摸时检测到的原始容值数据,所述第三数据用于表征所述双面屏终端的触摸屏在第二时刻接受触摸时检测到的原始容值数据。
  10. 根据权利要求9所述的方法,其特征在于,所述双面屏终端获取屏幕容值数据,包括:
    所述双面屏终端在所述第一时刻采集所述第二数据,所述第一时刻是所述双面屏终端开始发生预设翻转的时刻;
    所述双面屏终端在所述第二时刻采集所述第三数据,所述第二时刻是所述双面屏终端进行所述预设翻转的过程中的任意时刻。
  11. 根据权利要求9所述的方法,其特征在于,所述双面屏终端获取屏幕容值 数据,包括:
    所述双面屏终端在所述第一时刻采集所述第二数据,所述第一时刻是所述双面屏终端开始发生预设翻转的时刻;
    所述双面屏终端在所述第二时刻采集所述第三数据,所述第二时刻是所述双面屏终端结束所述预设翻转的时刻。
  12. 一种双面屏终端,其特征在于,所述双面屏终端包括:
    数据采集单元,用于获取屏幕容值数据;
    处理单元,用于根据所述屏幕容值数据确定用户握持位置;以及根据所述用户握持位置,确定工作屏幕。
  13. 根据权利要求12所述的双面屏终端,其特征在于,所述双面屏终端还包括第一屏和第二屏;所述双面屏终端的工作屏幕是所述第一屏;所述处理单元具体用于,
    根据所述屏幕容值数据确定用户在所述第一屏上的握持区域大于在所述第二屏上的握持区域,进而确定所述工作屏幕是所述第二屏。
  14. 根据权利要求12所述的双面屏终端,其特征在于,所述双面屏终端包括第一屏和第二屏;所述双面屏终端的工作屏幕是所述第一屏;所述处理单元具体用于,
    根据所述屏幕容值数据确定用户在所述第一屏上的握持区域大于第一阈值,且用户在所述第二屏上的握持区域小于第二阈值,进而确定所述双面屏终端确定所述工作屏幕是所述第二屏。
  15. 根据权利要求13或14所述的双面屏终端,其特征在于,所述处理单元还用于,将所述工作屏幕由所述第一屏切换为所述第二屏。
  16. 根据权利要求12-15中任一项所述的双面屏终端,其特征在于,所述处理单元具体用于,确定大于预先设置的阈值的屏幕容值数据对应的位置为用户握持位置。
  17. 根据权利要求12-16中任一项所述的双面屏终端,其特征在于,所述处理单元还用于,在所述数据采集单元获取所述屏幕容值数据之前,根据获取的运动数据确定所述双面屏终端开始发生预设翻转。
  18. 根据权利要求12-17中任一项所述的双面屏终端,其特征在于,
    所述屏幕容值数据包括第一数据,所述第一数据用于表征所述双面屏终端的触摸屏接受触摸时检测到的容值数据与预设门限值之间的差值。
  19. 根据权利要求18所述的双面屏终端,其特征在于,所述处理单元还用于,根据所述容值数据确定所述预设门限值。
  20. 根据权利要求12-17中任一项所述的双面屏终端,其特征在于,所述屏幕容值数据包括第二数据和第三数据,所述第二数据用于表征所述双面屏终端的触摸屏在第一时刻接受触摸时检测到的原始容值数据,所述第三数据用于表征所述双面屏终端的触摸屏在第二时刻接受触摸时检测到的原始容值数据。
  21. 根据权利要求20所述的双面屏终端,其特征在于,所述数据采集单元具体用于,
    在所述第一时刻采集所述第二数据,以及在所述第二时刻采集所述第三数据;
    其中,所述第一时刻是所述双面屏终端开始发生预设翻转的时刻,所述第二时刻是所述双面屏终端进行所述预设翻转的过程中的任意时刻。
  22. 根据权利要求20所述的双面屏终端,其特征在于,所述数据采集单元具体用于,
    在所述第一时刻采集所述第二数据,以及在所述第二时刻采集所述第三数据;
    其中,所述第一时刻是所述双面屏终端开始发生预设翻转的时刻,所述第二时刻是所述双面屏终端结束所述预设翻转的时刻。
  23. 一种双面屏终端,其特征在于,所述双面屏终端包括:
    存储器,用于存储计算机程序;
    处理器,用于执行所述计算机程序,使得所述双面屏终端实现如权利要求1-11中任一项所述的方法。
  24. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序代码,所述计算机程序代码被处理电路执行时实现如权利要求1-11中任一项所述的方法。
  25. 一种芯片***,其特征在于,所述芯片***包括处理电路、存储介质,所述存储介质中存储有计算机程序代码;所述计算机程序代码被所述处理电路执行时实现如权利要求1-11中任一项所述的方法。
  26. 一种计算机程序产品,其特征在于,所述计算机程序产品用于在计算机上运行,以实现如权利要求1-11中任一项所述的方法。
PCT/CN2022/108995 2021-07-30 2022-07-29 一种双面屏终端的屏幕切换方法及设备 WO2023006077A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110875382.2 2021-07-30
CN202110875382.2A CN115695625A (zh) 2021-07-30 2021-07-30 一种双面屏终端的屏幕切换方法及设备

Publications (1)

Publication Number Publication Date
WO2023006077A1 true WO2023006077A1 (zh) 2023-02-02

Family

ID=85059936

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/108995 WO2023006077A1 (zh) 2021-07-30 2022-07-29 一种双面屏终端的屏幕切换方法及设备

Country Status (2)

Country Link
CN (1) CN115695625A (zh)
WO (1) WO2023006077A1 (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102957801A (zh) * 2012-11-14 2013-03-06 深圳市金立通信设备有限公司 一种对称双屏移动终端切换屏幕的方法及装置
CN106168879A (zh) * 2016-06-30 2016-11-30 努比亚技术有限公司 一种双面屏交互的方法及终端
US20160371046A1 (en) * 2015-06-19 2016-12-22 Lenovo (Singapore) Pte. Ltd. Portable computing device, screen switching method therefor, and computer-executable program therefor
US20170018258A1 (en) * 2014-08-15 2017-01-19 Wai Hong Yeung Double-face Double-screen Smart Mobile Terminal
CN107102733A (zh) * 2017-04-14 2017-08-29 宇龙计算机通信科技(深圳)有限公司 一种电子设备触摸屏控制方法及装置
CN109542317A (zh) * 2018-11-26 2019-03-29 努比亚技术有限公司 一种双面屏移动终端的显示控制方法、设备和存储介质
CN111381762A (zh) * 2018-12-29 2020-07-07 努比亚技术有限公司 一种双屏切换方法、设备及计算机可读存储介质

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111596781A (zh) * 2019-02-20 2020-08-28 华为技术有限公司 一种防误触方法及一种终端
CN109981892A (zh) * 2019-02-27 2019-07-05 努比亚技术有限公司 一种屏幕显示方法、移动终端及计算机可读存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102957801A (zh) * 2012-11-14 2013-03-06 深圳市金立通信设备有限公司 一种对称双屏移动终端切换屏幕的方法及装置
US20170018258A1 (en) * 2014-08-15 2017-01-19 Wai Hong Yeung Double-face Double-screen Smart Mobile Terminal
US20160371046A1 (en) * 2015-06-19 2016-12-22 Lenovo (Singapore) Pte. Ltd. Portable computing device, screen switching method therefor, and computer-executable program therefor
CN106168879A (zh) * 2016-06-30 2016-11-30 努比亚技术有限公司 一种双面屏交互的方法及终端
CN107102733A (zh) * 2017-04-14 2017-08-29 宇龙计算机通信科技(深圳)有限公司 一种电子设备触摸屏控制方法及装置
CN109542317A (zh) * 2018-11-26 2019-03-29 努比亚技术有限公司 一种双面屏移动终端的显示控制方法、设备和存储介质
CN111381762A (zh) * 2018-12-29 2020-07-07 努比亚技术有限公司 一种双屏切换方法、设备及计算机可读存储介质

Also Published As

Publication number Publication date
CN115695625A (zh) 2023-02-03

Similar Documents

Publication Publication Date Title
WO2020156269A1 (zh) 一种具有柔性屏幕的电子设备的显示方法及电子设备
WO2020216276A1 (zh) 一种启动应用的方法及一种电子设备
CN110456938B (zh) 一种曲面屏的防误触方法及电子设备
US10963660B2 (en) Method for fingerprint collection and related products
EP4109218B1 (en) Mobile phone comprising a touch screen with an in-display fingerprint sensor
CN109213732B (zh) 一种改善相册分类的方法、移动终端及计算机可读存储介质
CN112671976B (zh) 电子设备的控制方法、装置及电子设备、存储介质
US11907526B2 (en) Touch region adjustment method and apparatus for determining a grasping gesture of a user on an electronic device
EP3620951A1 (en) Optical fingerprint acquisition method, and related product
CN110490179B (zh) 车牌识别方法、装置及存储介质
WO2023051411A1 (zh) 一种识别触摸操作的方法及电子设备
CN109840584B (zh) 基于卷积神经网络模型的图像数据分类方法及设备
WO2019100298A1 (zh) 一种拍照方法及终端
CN111596781A (zh) 一种防误触方法及一种终端
CN110705614A (zh) 模型训练方法、装置、电子设备及存储介质
CN117130469A (zh) 一种隔空手势识别方法、电子设备及芯片***
WO2021052015A1 (zh) 一种触控屏控制方法和电子设备
CN111625175B (zh) 触控事件处理方法、触控事件处理装置、介质与电子设备
WO2023006077A1 (zh) 一种双面屏终端的屏幕切换方法及设备
CN110163192B (zh) 字符识别方法、装置及可读介质
CN113343709B (zh) 意图识别模型的训练方法、意图识别方法、装置及设备
CN115546248A (zh) 事件数据处理方法、装置和***
CN111723615B (zh) 对检测物图像进行检测物匹配判定的方法和装置
CN110728275B (zh) 车牌识别方法、装置及存储介质
CN113031802A (zh) 一种触控区域调整方法及装置

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: 22848681

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE