WO2021238370A1 - 显示控制方法、电子设备和计算机可读存储介质 - Google Patents

显示控制方法、电子设备和计算机可读存储介质 Download PDF

Info

Publication number
WO2021238370A1
WO2021238370A1 PCT/CN2021/082873 CN2021082873W WO2021238370A1 WO 2021238370 A1 WO2021238370 A1 WO 2021238370A1 CN 2021082873 W CN2021082873 W CN 2021082873W WO 2021238370 A1 WO2021238370 A1 WO 2021238370A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
electronic device
screen
user
touch
Prior art date
Application number
PCT/CN2021/082873
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 华为技术有限公司
Priority to EP21813426.0A priority Critical patent/EP4145809A4/en
Priority to US18/000,083 priority patent/US20230205417A1/en
Publication of WO2021238370A1 publication Critical patent/WO2021238370A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0279Improving the user comfort or ergonomics
    • H04M1/0281Improving the user comfort or ergonomics for providing single handed use or left/right hand conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Definitions

  • This application relates to the field of electronic technology, and in particular to a display control method, electronic equipment, and computer-readable storage medium.
  • the prior art provides a one-handed operation interface under which the screen window of the smart phone is reduced or moved so that it can be moved with one hand. Reached area.
  • this technology has low operation efficiency and high misoperation rate when starting the single-handed operation interface.
  • the present application discloses a display control method, electronic equipment, and computer-readable storage medium, which can start a one-handed operation interface more conveniently and quickly, and can effectively reduce the misoperation rate.
  • an embodiment of the present application provides a display control method applied to an electronic device, and the method includes: if a first touch operation event input by a user on the touch screen of the electronic device is detected, displaying a multitasking interface ; Under the multitasking interface, if the second touch operation event input by the user on the touch screen is detected, a one-handed operation interface is displayed on the electronic device.
  • the embodiment of the present application displays a multitasking interface after detecting the first touch operation event input by the user on the touch screen of the electronic device 100. Under the multitasking interface, if it is detected that the user inputs on the touch screen of the electronic device 100 In the second touch operation event, the one-handed operation interface is displayed on the electronic device, which can start the one-handed operation interface more conveniently and quickly, and effectively reduces the misoperation rate.
  • the first touch operation event is used to start a multitasking interface.
  • the electronic device detects the first touch operation event input by the user on the touch screen, it will display a multitasking interface on the electronic device.
  • the second touch operation event is used to start the one-handed operation interface under the multitasking interface.
  • the multitasking interface if the electronic device detects the second touch operation event input by the user on the touch screen, the one-handed operation interface will be displayed on the electronic device.
  • the first touch operation event and the second touch operation event are different touch operation events, and this difference may be reflected in time or space.
  • a sliding operation detected at a certain point in time is the first touch operation Event
  • the sliding operation detected at another point in time is the second touch operation event.
  • a sliding operation corresponding to one sliding track is a first touch operation event
  • a sliding operation corresponding to another sliding track is a second touch operation event.
  • the second touch operation event in the embodiment of the present application is a touch operation performed after the first touch operation event occurs and the user's finger does not leave the touch screen of the electronic device.
  • the first touch operation event or the second touch operation event may be a sliding operation, including but not limited to sliding to the left, sliding to the right, sliding up and sliding down.
  • sliding to the left means that the end of the sliding operation is located on the left side of the starting point
  • sliding to the right means that the ending point of the sliding operation is located on the right side of the starting point
  • sliding up means that the ending point is located on the right side of the starting point.
  • sliding down means that the end of the sliding is located on the lower side of the starting point of the sliding after the sliding operation is over.
  • the second touch operation event includes a sliding direction; correspondingly, in the multitasking interface, if it is detected that the user is
  • the second touch operation event input on the touch screen displays a one-hand operation interface on the electronic device, including: in the multitasking interface, if the sliding direction input by the user on the touch screen is detected If it is a predetermined direction, a one-handed operation interface is displayed on the electronic device.
  • the one-handed operation interface includes a first screen window interface and a second screen window interface.
  • the first screen window interface may be an interface after the current operation interface is reduced according to a first predetermined ratio
  • the first screen window interface includes all interface elements in the current operation interface.
  • the second screen window is an interface that displays a predetermined part of the interface elements in the current operation interface.
  • the predetermined part of the interface elements can be the interface elements in the upper half of the current operation interface or the interface elements in the lower half of the current operation interface. , It can also be the interface elements of the first row and the second row in the current operation interface.
  • the sliding direction involved in the embodiment of the present application is a predetermined direction, including sliding to the left, sliding to the right, and sliding down.
  • the embodiment of the present application determines whether the displayed one-handed operation interface is the first screen window interface or the second screen window interface according to different sliding directions, so that the one-handed operation interface is displayed in an area that is convenient for the user to operate the screen. Improve user experience.
  • Displaying a one-handed operation interface on the electronic device includes: under the multitasking interface, if it is detected that the sliding direction input by the user on the touch screen is sliding left or sliding right, then A first screen window interface is displayed on the device; in the multitasking interface, if it is detected that the sliding direction input by the user on the touch screen is sliding down, a second screen window interface is displayed on the electronic device .
  • a first screen window is displayed on the electronic device
  • the interface includes: in the multitasking interface, if it is detected that the sliding direction input by the user on the touch screen is sliding to the left, displaying the first screen window interface in the lower left corner of the touch screen; In the multitasking interface, if it is detected that the sliding direction input by the user on the touch screen is sliding to the right, the first screen window interface is displayed in the lower right corner of the screen of the touch screen.
  • displaying a second screen window interface on the electronic device includes: In the multitasking interface, if it is detected that the sliding direction input by the user on the touch screen is a downward sliding, the second screen window interface is displayed on the lower half of the screen of the touch screen.
  • the display of a one-handed operation interface on the electronic device includes: under the multitasking interface, if it is detected that the sliding direction input by the user on the touch screen is a predetermined direction and the sliding to a predetermined area, then A one-handed operation interface is displayed on the electronic device.
  • the predetermined area may be the left screen edge and the right screen edge of the touch screen of the electronic device 100, or may be a designated area within the bottom screen area of the touch screen of the electronic device.
  • the first touch operation event includes a sliding distance.
  • the current operation interface gradually shrinks as the sliding distance increases, where the sliding distance is the vertical distance of the current pressing point in the first touch operation event relative to the bottom of the screen of the touch screen.
  • the operation object corresponding to the first touch operation event is the current operation interface
  • the operation object corresponding to the second touch operation event is the interface after the current operation interface is reduced by a second predetermined ratio.
  • the operation object corresponding to the first touch operation event when the sliding distance gradually increases, gradually reduces the second predetermined ratio; and when the sliding distance increases and then gradually decreases
  • the second predetermined proportion of the operation object corresponding to the first touch operation event is gradually increased, so that during the occurrence of the touch operation event, a visual retention of the intermediate process is formed, so that the user can truly experience the "slide" effect.
  • the current operation interface changes with the sliding distance, that is, with the change of the user's gesture, the window following effect is generated.
  • a single-handed operation is displayed on the electronic device
  • the operation interface includes: if the second touch operation event input by the user on the touch screen is detected, the operation object corresponding to the second touch operation event is moved at a preset acceleration, and the operation object corresponding to the second touch operation event is moved to a predetermined position.
  • the operation object is converted into the one-handed operation interface for display.
  • the embodiment of the present application detects the second input by the user on the touch screen.
  • the operation object corresponding to the second touch operation event is moved at a preset acceleration, and the operation object is converted into a one-hand operation interface for display after moving to a predetermined position, which can effectively improve the user's visual experience.
  • the operation object corresponding to the second touch operation event when moved at the preset acceleration, it includes: comparing the window size of the operation object corresponding to the second touch operation event with the window size of the one-hand operation interface , If the window size of the operation object corresponding to the second touch operation event is smaller or larger than the window size of the one-hand operation interface, then according to the ratio of the window size of the operation object corresponding to the second touch operation event to the window size of the one-hand operation interface, Determine and adjust the ratio of the window size of the operation object corresponding to the second touch operation event, and adjust the window size of the operation object corresponding to the second touch operation event according to the determined ratio, so that the window of the operation object corresponding to the second touch operation event is adjusted
  • the size is the same as the window size of the one-handed operation interface to improve the user's visual experience.
  • the present application provides an electronic device, including: one or more processors, a memory, and a display screen; the memory, the display screen are coupled with the one or more processors, and the memory uses
  • the computer program code includes computer instructions, and when the one or more processors execute the computer instructions, the electronic device is caused to execute the first aspect, the second aspect, the third aspect,
  • the method provided by the fourth aspect any possible implementation manner of the first aspect, any possible implementation manner of the second aspect, any possible implementation manner of the third aspect, or any possible implementation manner of the fourth aspect .
  • the present application provides a computer storage medium, including computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute any of the first aspect, the second aspect, or the first aspect.
  • the embodiments of the present application provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute the method provided in any one of the possible implementation manners of the first aspect, the second aspect, or the first aspect .
  • an embodiment of the present application provides a chip system including a memory and a processor.
  • the electronic device can perform any one of the first aspect, the second aspect, or the first aspect.
  • the chip system may be a single chip or a chip module composed of multiple chips.
  • the electronic device described in the second aspect, the computer storage medium described in the third aspect, or the computer program product described in the fourth aspect are all used to execute any one of the first aspect and the second aspect.
  • the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method, which will not be repeated here.
  • FIG. 1 is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application.
  • FIG. 2 is a block diagram of the software structure of the electronic device 100 provided by an embodiment of the present application.
  • Figure 3 is a schematic diagram of a user interface provided by an embodiment of the present application
  • Figure (A) is a schematic diagram of the main screen interface of the electronic device 100
  • Figure (B) is a schematic diagram of a one-handed operation interface
  • Figure (C) Is a schematic diagram of another one-handed operation interface
  • Figure (D) is a schematic diagram of another one-handed operation interface
  • Figure 4 is a schematic diagram of an application scenario provided by an embodiment of the present application
  • Figure (A) shows the user's finger sliding from the bottom right edge position S of the bottom right corner of the touch screen to the position E in the screen after one-handed operation is displayed
  • Figure (B) is a schematic diagram of the application scenario where the user's finger slides down from any position S in the left half of the screen area at the bottom of the screen to the position E after the one-handed operation interface is displayed
  • Figure (C ) Is when the user's finger slides from any position S on the right edge of the touch screen into the screen to position M, and then slides from position M on the screen to any position E on the right edge of the touch screen to display the one-handed operation interface
  • Figure (D) is a schematic diagram of the application scenario where the user's finger slides down from any position S in the designated area at the bottom of the touch screen to the position E after the one-handed operation interface is displayed;
  • FIG. 5 is a schematic flowchart of a display control method provided by an embodiment of the present application.
  • Fig. 6 is a schematic diagram of a user interface provided by an embodiment of the present application; wherein, Fig. (A) is a schematic diagram of an application interface of a photo album application installed in the electronic device 100, and Fig. (B) is a schematic diagram of a multitasking interface; Figure (C) is a schematic diagram of a one-handed operation interface; Figure (D) is a schematic diagram of another multitasking interface;
  • Figure 7 is a schematic diagram of another application scenario provided by an embodiment of the present application; where Figure (A) is an application scenario where the user's finger slides from the bottom right edge position S of the bottom right corner of the touch screen to the position E in the screen. Schematic diagram; Figure (B) is a schematic diagram of the multitasking interface displayed when the user's finger slides into the designated area 901; Figure (C) is in the multitasking interface shown in Figure (B), the user's finger continues to move from position M to A schematic diagram of the multitasking interface displayed when sliding right to any position between position E and position E ⁇ ; Figure (D) is a schematic diagram of a multitasking interface;
  • Figure 8 is a schematic diagram of another user interface provided by an embodiment of the present application; among them, Figure (A) is a schematic diagram of a multitasking interface, Figures (B) and (C) are the operation objects corresponding to the second touch operation with preset A schematic diagram of the application interface moving downward with acceleration a; Figure (D) is a schematic diagram of a one-handed operation interface displayed after the operation object corresponding to the second touch operation event moves to a predetermined position;
  • Figure 9 is a schematic diagram of another user interface provided by an embodiment of the present application; wherein Figure (A) is a schematic diagram of a multitasking interface, Figure (B) is a schematic diagram of another multitasking interface; Figure (C) 2.
  • Figure (D) is a schematic diagram of the one-handed operating interface displayed after the operating object corresponding to the second touch operation event moves to a predetermined position .
  • FIG. 1 is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2.
  • Mobile communication module 150 wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (subscriber identification module, SIM) card interface 195, etc.
  • SIM Subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light Sensor 180L, bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100.
  • the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait.
  • AP application processor
  • modem processor modem processor
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller may be the nerve center and command center of the electronic device 100.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • the processor 110 may include one or more interfaces.
  • the interface can 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, and a universal asynchronous transmitter (universal asynchronous transmitter) interface.
  • 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/output
  • SIM subscriber identity module
  • USB Universal Serial Bus
  • the I2C interface is a bidirectional synchronous serial bus, which includes a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may include multiple sets of I2C buses.
  • the processor 110 may couple the touch sensor 180K, charger, flash, camera 193, etc., respectively through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to implement the touch function of the electronic device 100.
  • the I2S interface can be used for audio communication.
  • the processor 110 may include multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through an I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
  • the PCM interface can also be used for audio communication to sample, quantize and encode analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • the UART interface is generally used to connect the processor 110 and the wireless communication module 160.
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with the display screen 194, the camera 193 and other peripheral devices.
  • the MIPI interface includes camera serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI), etc.
  • the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the electronic device 100.
  • the processor 110 and the display screen 194 communicate through a DSI interface to realize the display function of the electronic device 100.
  • the GPIO interface can be configured through software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and so on.
  • the GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect earphones and play audio through earphones.
  • the interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely a schematic description, and does not constitute a structural limitation of the electronic device 100.
  • the electronic device 100 may also adopt different interface connection modes in the described embodiments, or a combination of multiple interface connection modes.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100.
  • the mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is processed by the baseband processor and then passed to the application processor.
  • the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 160 may also receive a signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves to radiate through the antenna 2.
  • the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 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), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (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 the global positioning system (GPS), the global navigation satellite system (GLONASS), the Beidou navigation satellite system (BDS), and the quasi-zenith satellite system (quasi). -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, connected to the display 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations and is used for graphics rendering.
  • the processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, and the like.
  • the display screen 194 includes a display panel.
  • the display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the electronic device 100 may include one or N display screens 194, and N is a positive integer greater than one.
  • the display screen 194 in FIG. 1 may be bent.
  • the display screen 194 can be bent means that the display screen can be bent to any angle at any position and can be maintained at that angle.
  • the display screen 194 can be folded in half from the center, or can be folded in half from the center.
  • the display screen that can be bent is referred to as a foldable display screen.
  • the foldable display screen may be one screen, or a display screen formed by patching together multiple screens, which is not limited here.
  • the electronic device 100 can use one or more of a gravity sensor, an acceleration sensor, and a gyroscope to determine whether the foldable display screen is in a folded configuration or an unfolded configuration, and can also determine whether the foldable display screen is in an unfolded configuration. Whether it is in portrait mode or in landscape mode.
  • the electronic device 100 can also detect the bending angle of the foldable display screen through a gravity sensor, an acceleration touch sensor, and a gyroscope. Then, the electronic device 100 can determine the foldable display according to the bending angle. Whether the screen is in a folded form or an expanded form.
  • the electronic device 100 can also use one or more of a gravity sensor, an acceleration sensor, and a gyroscope to determine the orientation of the foldable display screen in the folded configuration, and then determine the display area of the interface content output by the display system. For example, when the first screen area of the foldable display screen faces upward with respect to the ground, the electronic device 100 may display the interface content output by the display system on the first screen area. When the second screen area of the foldable display screen faces upward with respect to the ground, the electronic device 100 can display the interface content output by the display system on the second screen area.
  • a gravity sensor for example, when the first screen area of the foldable display screen faces upward with respect to the ground, the electronic device 100 may display the interface content output by the display system on the first screen area.
  • the electronic device 100 can display the interface content output by the display system on the second screen area.
  • the electronic device 100 may further include an angle sensor (not shown in FIG. 1).
  • the angle sensor may be disposed at a bending position of the foldable display screen.
  • the electronic device 100 can measure the angle formed by the two ends of the middle bending part of the foldable display screen through an angle sensor (not shown in FIG. 1) provided at the bending part of the foldable display screen.
  • the angle is greater than
  • the electronic device 100 can recognize through the angle sensor that the foldable display screen has entered the unfolded state.
  • the included angle is less than or equal to the first angle
  • the electronic device 100 can recognize through the angle sensor that the foldable display screen enters the folded form.
  • the electronic device 100 can also recognize whether the foldable display screen is in a folded configuration through a physical switch provided at the bending part of the foldable display screen. For example, when the electronic device receives a user's folding operation on the foldable display screen, the physical switch provided on the electronic device is triggered to open, and the electronic device 100 can determine that the foldable display screen is in a folded state. When the electronic device 100 receives the user's unfolding operation of the foldable display screen, the physical switch provided on the electronic device is triggered to close, and the electronic device can determine that the foldable display screen is in the unfolded form.
  • the examples are only used to explain the application and should not constitute a limitation.
  • the foldable display can display content in full screen or part of the area (such as the first screen area or the second screen area) Display content, you can also display content in two or more partial areas.
  • the foldable display screen displays the interface content in full screen
  • the interface content can occupy part of the display area of the foldable display screen.
  • the middle part of the screen displays the content of the interface, and when one or both edges of the screen are black, it can also be regarded as the foldable display screen displaying the content of the interface in full screen.
  • the electronic device 100 can realize a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
  • the ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transfers the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
  • ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193.
  • the camera 193 is used to capture still images or videos.
  • the object generates an optical image through the lens and is projected to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device 100 may include one or N cameras 193, and N is a positive integer greater than one.
  • 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 electronic device 100 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 electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
  • MPEG moving picture experts group
  • MPEG2 MPEG2, MPEG3, MPEG4, and so on.
  • NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • the NPU can realize applications such as intelligent cognition of the electronic device 100, such as image recognition, face recognition, voice recognition, text understanding, and so on.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function.
  • the data storage area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 100.
  • the internal memory 121 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, a flash memory device, a universal flash storage (UFS), and the like.
  • UFS universal flash storage
  • the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
  • the speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also called a "handset" is used to convert audio electrical signals into sound signals.
  • the electronic device 100 answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal into the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
  • the earphone interface 170D is used to connect wired earphones.
  • the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A may be provided on the display screen 194.
  • the capacitive pressure sensor may include at least two parallel plates with conductive materials.
  • the electronic device 100 determines the intensity of the pressure according to the change in capacitance.
  • the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations that act on the same touch position but have different touch operation intensities can correspond to different operation instructions. For example: when a touch operation whose intensity is less than the first pressure threshold is applied to the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the movement posture of the electronic device 100.
  • the angular velocity of the electronic device 100 around three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the electronic device 100 through reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip holster.
  • the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and be used in applications such as horizontal and vertical screen switching, pedometers and so on.
  • the electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F to measure the distance to achieve fast focusing.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the electronic device 100 emits infrared light to the outside through the light emitting diode.
  • the electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100.
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be provided on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
  • the bone conduction sensor 180M may also be provided in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor 180M, and realize the voice function.
  • the application processor may analyze the heart rate information based on the blood pressure beating signal obtained by the bone conduction sensor 180M, and realize the heart rate detection function.
  • the button 190 includes a power-on button, a volume button, and so on.
  • the button 190 may be a mechanical button. It can also be a touch button.
  • the electronic device 100 may receive key input, and generate key signal input related to user settings and function control of the electronic device 100.
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback.
  • touch operations that act on different applications can correspond to different vibration feedback effects.
  • Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects.
  • Different application scenarios for example: time reminding, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 is used to connect to the SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100.
  • the electronic device 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
  • the same SIM card interface 195 can insert multiple cards at the same time. The types of the multiple cards can be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 can also be compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication.
  • the electronic device 100 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiment of the present invention takes an Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100 by way of example.
  • FIG. 2 is a block diagram of the software structure of the electronic device 100 according to an embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface.
  • the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
  • the application layer can include a series of application packages.
  • the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, and a notification manager.
  • the window manager is used to manage window programs.
  • the window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, take a screenshot, etc.
  • the content provider is used to store and retrieve data and make these data accessible to applications.
  • the data may include video, image, audio, phone calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls that display text, controls that display pictures, and so on.
  • the view system can be used to build applications.
  • the display interface can be composed of one or more views.
  • a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
  • the phone manager is used to provide the communication function of the electronic device 100. For example, the management of the call status (including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
  • the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can automatically disappear after a short stay without user interaction.
  • the notification manager is used to notify the completion of the download, message reminders, and so on.
  • the notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window.
  • prompt text information in the status bar sound a prompt sound, electronic device vibration, flashing indicator light, etc.
  • Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of Android.
  • the application layer and the application framework layer run in a virtual machine.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), three-dimensional graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
  • the surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
  • the 2D graphics engine is a graphics engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
  • the corresponding hardware interrupt is sent to the kernel layer.
  • the kernel layer processes the touch operation into the original input event (including touch coordinates, time stamp of the touch operation, etc.).
  • the original input events are stored in the kernel layer.
  • the application framework layer obtains the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch click operation, and the control corresponding to the click operation is the control of the camera application icon as an example, the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer.
  • the camera 193 captures still images or videos.
  • the embodiment of the present application provides a display control method, and the display control method may be implemented in the electronic device 100 by using hardware or software.
  • the display control involved in the embodiment of the present application is introduced.
  • the display control can display a multi-tasking interface according to the first touch operation event input by the user on the touch screen of the electronic device 100.
  • the one-handed interface is displayed according to the second touch operation event input by the user on the electronic device 100.
  • Operation interface The displayed one-handed operation interface includes a first screen window interface and a second screen window interface.
  • the first screen window interface may be an interface after the current operation interface is reduced according to a first predetermined ratio (as shown in (B) in FIG. 3), and the first screen window interface includes all of the current operation interfaces Interface elements.
  • the second screen window is an interface that displays a predetermined part of the interface element in the current operation interface (as shown in (C) in Figure 3).
  • the predetermined part of the interface element may be the interface element in the upper half of the current operation interface. It can be the interface element in the lower half of the current operation interface, or it can be the interface element in the first row and the second row in the current operation interface. There is no specific limitation here.
  • FIG. 3 is a schematic diagram of a user interface provided by an embodiment of the application. As shown in (A) in FIG. 3, it is the main screen interface 10 of the electronic device 100 (that is, the current operation interface).
  • the main screen interface 10 includes a calendar indicator 101, a weather indicator 102, an application icon 103, and a status bar 104. in:
  • the calendar indicator 101 can be used to indicate the current time, such as date, day of the week, hour and minute information, and so on.
  • the weather indicator 102 can be used to indicate the type of weather, such as cloudy to clear, light rain, etc., can also be used to indicate information such as temperature, and can also be used to indicate a location.
  • the application icon 103 may include, for example, a QQ icon, a WeChat icon, a browser icon, a Weibo icon, a video icon, a setting icon, a calculator icon, a camera icon, a stock icon, a reading icon, an album icon, and a Taobao icon.
  • the status bar 104 may include the name of the operator (for example, China Mobile), signal strength, WI-FI icon, time, and current remaining power.
  • the one-handed operation interface 20 includes a first screen window interface 201, and the first screen window interface 201 is the main screen interface 10.
  • the interface reduced according to the first predetermined ratio includes all interface elements in the main screen interface 10.
  • the pixels of the interface elements contained in the first screen window interface 201 are smaller than the pixels of the interface elements in the main screen interface 10.
  • the one-handed operation interface 30 includes a second screen window interface 301, and the second screen window interface 301 is a display main screen The interface of the upper half of the interface elements in the interface 10.
  • the second screen window interface 301 moves the current operation interface, that is, the main screen interface 10, as a whole downwards, so that the upper half of the main screen interface 10 is displayed under the original
  • the half position is convenient for users to perform one-handed operation. Only part of the interface elements in the main screen interface 10 are displayed in the first screen window interface 301, and the pixels of the part of the interface elements have not changed, and the original pixels remain unchanged.
  • the one-handed operation interface 40 includes a second screen window interface 401.
  • the user can instruct the electronic device 100 to display other interface elements 402 in the main screen interface 10 that are not displayed in the second screen window interface 401 by sliding down.
  • the electronic device 100 there are generally three ways for the electronic device 100 to implement the system navigation function: 1. Three virtual controls displayed in the form of virtual buttons on the screen of the electronic device 100 are respectively implemented to return to the previous level, return to the desktop, and enter the system such as multitasking interface. Navigation function, for example, the user can return to the previous level through the triangular virtual control, return to the desktop through the circular virtual control, and enter the multitasking interface through the square virtual control. 2.
  • a virtual control displayed in the form of a virtual button floating on the screen of the electronic device 100 realizes navigation functions such as returning to the upper level, returning to the desktop and entering the system of the multitasking interface. The user can touch the virtual control to return to the upper level.
  • the displayed virtual controls need to occupy a part of the screen area of the electronic device 100, which cannot meet people's needs for maximizing the screen ratio, although it can also be hidden.
  • people still need to operate to hide the displayed virtual controls, which increases the user's operation; in the second way to implement the system navigation function, the displayed virtual controls will obscure the touch screen of the electronic device 100 The displayed elements will also reduce the user experience.
  • the third way to realize the system navigation function through pure gestures solves the shortcomings of the two ways and improves the user experience.
  • the current navigation mode of the electronic device 100 is the gesture navigation mode, and in this mode , The user can realize the display control of the electronic device 100 through different gestures.
  • the one-handed operation interface is activated, there are problems of low operation efficiency and high misoperation rate.
  • the electronic device 100 cannot be operated with both hands at the same time, and the user can only hold the electronic device 100 with one hand and operate it with one hand.
  • the prior art provides a one-handed operation interface under which the screen window of the electronic device 100 is reduced or moved to The area that the user can reach with one hand, and the user can flexibly operate the screen of the electronic device 100 in this area.
  • the efficiency of starting the one-hand operation interface is revealed, and the misoperation rate is relatively high.
  • the first touch operation event used to start the multitasking interface.
  • the electronic device 100 detects the first touch operation event input by the user on the touch screen, it will display a multitasking interface on the electronic device 100.
  • the second touch operation event used to start the one-handed operation interface under the multitasking interface. In the multitasking interface, if the electronic device 100 detects a second touch operation event input by the user on the touch screen, a one-handed operation interface will be displayed on the electronic device 100.
  • first touch operation event and the second touch operation event are different touch operation events, and this difference can be reflected in time or space.
  • a sliding operation detected at a certain point in time is the first touch The operation event
  • the sliding operation detected at another time point is the second touch operation event.
  • a sliding operation corresponding to one sliding track is a first touch operation event
  • a sliding operation corresponding to another sliding track is a second touch operation event. That is, the first and second of the first touch operation event and the second touch operation event have no special meaning and are only used to distinguish different touch operation events.
  • the operation object corresponding to the first touch operation event is the current operation interface
  • the operation object corresponding to the second touch operation event is the interface after the current operation interface is reduced by a second predetermined ratio.
  • the first touch operation event or the second touch operation event in the embodiment of the present application may be a sliding operation, including but not limited to sliding to the left, sliding to the right, sliding up and sliding down.
  • sliding to the left means that the end of the sliding operation is located on the left side of the starting point
  • sliding to the right means that the ending point of the sliding operation is located on the right side of the starting point
  • sliding up means that the ending point is located on the right side of the starting point.
  • Sliding down means that the end of the sliding is located on the lower side of the starting point of the sliding after the sliding operation is over.
  • the sliding to the left in the embodiment of the present application can be a parallel sliding to the left, or a sliding to the upper left direction; a sliding to the right can be a parallel sliding to the right, or a sliding to the upper right; a sliding down It can be a vertical downward swipe, a lower left or lower right direction, or a first swipe left or right, and then a swipe down.
  • FIG. 4 is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • the arrow can represent the sliding track
  • the starting point of the arrow can be represented as the sliding start point S
  • the end point of the arrow can be represented as the sliding end point E
  • the midpoint M of the arrow can represent two continuous sliding trajectories with different directions.
  • the transition point of half of the sliding track, that is, M represents the end of a short sliding track
  • the starting point of the other short sliding track connecting two sliding tracks in different directions.
  • the sliding starting point S can be understood as the first pressing point in a sliding track detected by the electronic device 100 on the touch screen
  • the sliding end E can be understood as a sliding movement detected by the electronic device 100 on the touch screen. The last pressing point in the trajectory.
  • the current screen window of the electronic device 100 displays the main screen interface 10 as shown in (A) in FIG. 3, and the user holds the electronic device 100 with the right hand and operates with one hand.
  • the electronic device 100 detects This touch operation event will start a one-handed operation interface, and the current operation interface will be reduced according to a first predetermined ratio to obtain the first screen window interface 201, and the first screen window interface 201 will be displayed in the lower right corner of the touch screen of the electronic device 100.
  • the user holds the electronic device 100 with his right hand and operates it with one hand.
  • the thumb slides from the edge of the screen in the lower right corner of the touch screen into the screen, the thumb needs to bend to a certain degree before touching it. Touching the edge of the lower right corner of the screen, the operation range is large, the user operation is not convenient enough, and the operation efficiency is low.
  • the user’s thumb does not touch the edge of the screen in the lower right corner of the touch screen, but as shown in Figure 4 (A), only in the sector T except for the position of the screen edge in the lower right corner of the touch screen When sliding into the screen of the touch screen, it is easy to misoperation.
  • the electronic device 100 may start the multitasking interface instead of the one-handed operation interface that the user actually wants to start. In this case, the user needs to perform the operation again to start the one-handed operation interface, which greatly reduces the operation efficiency and greatly reduces the operation efficiency. Reduce the user experience.
  • the current screen window of the electronic device 100 displays the main screen interface 10 as shown in (A) in FIG. 3, and the user holds the electronic device 100 with the right hand and operates with one hand.
  • (B) of FIG. 4 when the user's finger, such as a thumb, slides down from any position S in the left half of the screen area at the bottom of the touch screen of the electronic device 100 to the position E outside the screen, the electronic device 100
  • the one-handed operation interface will be launched, and the current operation interface will be reduced according to the first predetermined ratio to obtain the first screen window interface 201, and the first screen window interface will be displayed in the lower right corner of the touch screen of the electronic device 100 201.
  • the user holds the electronic device 100 with his right hand and operates with one hand.
  • the thumb slides down from the touch screen of the electronic device 100 to the bottom edge of the screen, the thumb needs to bend to the bottom of the touch screen.
  • the operation range is large, the user operation is not convenient enough, and the operation efficiency is low.
  • the user's thumb slides down to the outside of the touch screen, due to the inertia of the downward slide, the user may push the electronic device 100 out of the hand, which reduces the user experience.
  • the operation corresponding to the touch operation of sliding down is generally sliding down the page, that is, when the touch operation of sliding down is used to activate the one-handed operation interface, it is easy to trigger the down by mistake. Swipe the page to display other page content.
  • a screen area for activating the one-handed operation interface is set at the bottom of the screen, and the sliding of a certain touch operation event is detected on the electronic device 100
  • the starting point is within the range of the screen area, and the end of the sliding is at a specified position outside the screen area, such as the bottom edge of the screen, or part of the coordinates of the sliding track corresponding to the touch operation event falls within the range of the screen area, and the sliding
  • the electronic device 100 activates the one-handed operation interface.
  • this method of starting a one-handed operation interface still has the problems of low operation efficiency and high misoperation rate, which reduces the user experience.
  • the current screen window of the electronic device 100 displays the main screen interface 10 as shown in (A) in FIG. 3, and the user holds the electronic device 100 with the right hand and operates with one hand.
  • (C) in FIG. 4 when the user's finger, such as a thumb, slides from any position S on the right edge of the screen of the electronic device 100 to the position M, and then moves from the position M in the screen to the touch screen. Sliding anywhere on the edge of the screen on the right side of the electronic device 100, the electronic device 100 detects this touch operation event, will start the one-handed operation interface, and reduce the current operation interface according to the first predetermined ratio to obtain the first screen window interface 201.
  • the first screen window interface 201 is displayed in the lower right corner of the touch screen of the device 100.
  • the position S and the position E may be two overlapping pressing points, or may be two pressing points with different screen edges of the touch screen of the electronic device 100.
  • the user holds the electronic device 100 with his right hand and operates it with one hand. Slide the position switch direction to the left edge of the screen. Although the bending of the thumb is reduced, in the current gesture navigation mode, when moving from the left edge of the touch screen or the right edge of the touch screen to the inside of the screen, the corresponding display is displayed. Level user interface, therefore, through the touch operation event shown in Figure 4 (C) to start the one-handed operation interface, it may require multiple operations by the user to start the one-handed operation interface, there is still operating efficiency, and misoperation rate High question.
  • the current screen window of the electronic device 100 displays the main screen interface 10 as shown in (A) in FIG. 3, and the user holds the electronic device 100 with the right hand and operates with one hand.
  • (D) in FIG. 4 when the user's finger, such as a thumb, slides down from any position S in the designated area at the bottom of the screen of the touch screen of the electronic device 100 to the outside of the screen to the position E, the electronic device 100 detects This touch operation event will start the one-handed operation interface, and move the upper half of the current operation interface to the lower half of the touch screen for display. The upper half of the touch screen does not display any elements of the current operation interface.
  • the second screen window interface 301 is displayed in the lower right corner of the screen of the touch screen of the electronic device 100.
  • an embodiment of the present application provides a display control method.
  • FIG. 5 is a schematic flowchart of a display control method provided by an embodiment of the present application. As shown in Figure 5, the method includes steps S101 to S102.
  • the first touch operation event includes a sliding distance.
  • the current operation interface gradually shrinks as the sliding distance increases, where the sliding distance is the vertical distance of the current pressing point in the touch operation event relative to the bottom of the screen of the touch screen.
  • the electronic device 100 When the electronic device 100 is in the gesture navigation mode, when the user's finger slides upward from the bottom of the touch screen of the electronic device 100, the sliding distance gradually increases. When the sliding distance reaches a preset threshold, the electronic device 100 displays a multitasking interface. After the electronic device 100 displays the multitasking interface, when the user's finger changes the sliding direction to a downward sliding, the sliding distance gradually decreases.
  • the operation object corresponding to the first touch operation event will gradually reduce the second predetermined ratio; and when the sliding distance increases and then gradually decreases, the first The operation object corresponding to the touch operation event gradually increases the second predetermined ratio, so that during the occurrence of the touch operation event, a visual retention of the intermediate process is formed, so that the user can truly experience the "slide" effect.
  • the current The operation interface changes with the sliding distance, that is, with the change of the user's gesture, the window following effect is generated.
  • the multi-task interface when the first touch operation event input by the user on the touch screen of the electronic device 100 is detected, the multi-task interface is displayed.
  • the operation object corresponding to the first touch operation event will be As the sliding distance and sliding direction change, follow the user’s finger to move the operation object corresponding to the first touch operation event, and adjust the window size of the operation object corresponding to the first touch operation event.
  • the sliding distance is inversely proportional. The larger the sliding distance, the smaller the window size; the smaller the sliding distance, the larger the window size.
  • the window size of any operation object in the multitasking interface displayed on the electronic device 100 is the same. The user can touch the touch screen of the electronic device 100 again, and select the operation object displayed in the current screen window of the electronic device 100 by sliding left or right.
  • the one-handed operation interface when the one-handed operation interface is activated in the prior art, the one-handed operation interface only displays the current operation interface in an instant zoomed out to the screen area to which the first screen window interface 201 belongs after the electronic device 100 detects that the touch operation event has been executed. , Or instantaneously move the current operation interface to the screen area to which the second screen window interface 301 belongs, and it does not change with the change of the sliding distance, and no window following effect is produced.
  • the electronic device 100 can produce a window following effect when displaying a one-handed operation interface, thereby improving the user's visual experience .
  • FIG. 6 is a schematic diagram of another user interface provided by an embodiment of the present application.
  • the application interface of the photo album application installed in the electronic device 100.
  • the electronic device 100 is currently in a gesture navigation mode.
  • the current operation interface 501 includes an application interface 502 of an operable photo album application and a status bar 503.
  • the electronic device 100 detects the first touch operation event input on the user's touch screen.
  • the electronic device 100 displays a multitasking interface as shown in (B) in FIG. 6.
  • the multitasking interface includes at least two multitasking objects, and one of the multitasking objects is the operation object corresponding to the first touch operation event.
  • the multitasking interface contains the operation object 601 corresponding to the first touch operation event, another application such as the first interface 602 of the QQ application, and the first interface 602 is the application interface of the QQ application.
  • the interface obtained after the predetermined area is reduced according to the third predetermined ratio, and the operation object 601 corresponding to the first touch operation event is the interface of the application interface 502 of the photo album application reduced according to the second predetermined ratio.
  • the multitasking interface as shown in (B) in FIG. 6 if the second touch operation event input by the user on the touch screen is detected, the photo album as shown in (C) in FIG. 6 is displayed on the electronic device 100
  • the one-handed operation interface 701 is obtained after the application interface 502 of the application is reduced according to the first predetermined ratio.
  • the electronic device 100 is displayed as shown in FIG. 6
  • the multitasking interface includes a second interface 801 and a third interface 802.
  • the second interface 801 is an interface obtained by reducing the application interface of the QQ application according to a third predetermined ratio.
  • the interface 802 is an interface obtained after the predetermined area of the application interface 502 of the photo album application is reduced according to a third predetermined ratio, that is, the window sizes of the second interface 801 and the third interface 803 are the same, and both have the same window size.
  • the second touch operation event includes a sliding direction.
  • the sliding direction input by the user on the touch screen is a predetermined direction
  • a one-handed operation is displayed on the electronic device 100 interface.
  • a one-handed operation interface is displayed on the electronic device 100.
  • the predetermined area may be the left screen edge and the right screen edge of the touch screen of the electronic device 100, or may be a designated area within the bottom screen area of the touch screen of the electronic device 100.
  • the user's finger slides to the left or to the right, so that the edge of the window of the operation object corresponding to the second touch operation event fits the edge of the left screen of the touch screen; or the user The finger slides down to make the operation object corresponding to the second touch operation event slide to the designated area within the bottom screen area of the touch screen, that is, the electronic device 100 detects that the sliding direction input by the user on the touch screen is a predetermined direction, and slides to When the area is predetermined, a one-handed operation interface is displayed on the electronic device 100.
  • the embodiment of the present application when a user holds the electronic device 100 with one hand and operates with one hand, his usual gestures are related to the hand holding the electronic device 100. For example, when the user holds the electronic device 100 with his left hand and operates with one hand, Sliding to the left is more convenient than sliding to the right; and when the user holds the electronic device 100 with the right hand and operates with one hand, sliding to the right is more convenient than sliding to the left, in order to make the one-handed operation interface displayed on the electronic device 100 It is convenient for users to perform operations. According to different sliding directions, the embodiments of the present application display the first screen window interface or the second screen window interface at different positions of the touch screen to improve the user experience.
  • the first screen window interface is displayed on the electronic device 100;
  • the second screen window interface is displayed on the electronic device 100.
  • a first screen window interface is displayed in the lower left corner of the touch screen;
  • the first screen window interface is displayed in the lower right corner of the screen of the touch screen; in the multitasking interface, if the user is detected The sliding direction input on the touch screen is downward sliding, and a second screen window interface is displayed on the lower half of the screen of the touch screen.
  • the user's finger is maintained on the touch screen to perform related operations. If the user's finger leaves after the multitasking interface is displayed The touch screen displays a multitasking interface on the electronic device 100. If the user's finger slides left or right on the touch screen again, when the electronic device 100 detects this touch operation event, it displays the corresponding direction according to the sliding direction.
  • a task object where the multitask object is an application interface of at least one application in the multitask interface. If after displaying the multitasking interface, the user's finger does not leave the touch screen and continues to slide left, right or down on the touch screen, the electronic device 100 displays the first screen window on the electronic device 100 according to the sliding direction Interface or second screen window interface.
  • FIG. 7 is a schematic diagram of another application scenario provided by an embodiment of the present application.
  • the electronic device 100 detects the first input of the user on the touch screen.
  • a touch operation event when the user's finger slides to the designated area 901 as shown in (B) in FIG. 7, a multi-task interface as shown in (B) in FIG. 7 is displayed, where the designated area 901 is multi-task The gesture operation hot zone of the interface.
  • the electronic device 100 will display a multitasking interface on the touch screen.
  • a multitasking interface as shown in (B) in FIG. 7 is displayed on 100.
  • the user continues to slide to the right on the touch screen without letting go, that is, the user’s thumb continues to move from position M to the right
  • the electronic device 100 detects the second touch operation event input by the user on the touch screen of the electronic device 100, and moves the first touch operation event to the right according to the sliding direction of the second touch operation event 2.
  • the operation object 1101 corresponding to the second touch operation event.
  • the electronic device 100 determines that the user is trying to start the one-hand operation interface. After leaving the electronic device 100 with his finger, as shown in (D) in FIG. 7, the first screen window interface 701 is displayed in the lower right corner of the screen of the electronic device 100.
  • the operation object corresponding to the second touch operation event in order to reduce the number of operation objects corresponding to the second touch operation event when the second touch operation event is completed, that is, when the user's finger leaves the touch screen and no longer acts on the operation object corresponding to the second touch operation event, the operation object corresponding to the second touch operation event is instantly reduced or reduced Moving to the first screen window interface 201 or instantaneously moving the second screen window interface 301 causes the user's visual impact problem, and improves the user's visual experience.
  • the embodiment of the present application detects the second touch input by the user on the touch screen During an operation event, the operation object corresponding to the second touch operation event is moved at a preset acceleration, and the operation object is converted into a one-hand operation interface for display after moving to a predetermined position.
  • FIG. 8 is a schematic diagram of another user interface provided by an embodiment of the present application.
  • a second touch operation event input by the user, such as sliding to the left, following the movement in the sliding direction
  • the second touch operation is moved to the left in the multitasking interface.
  • the operation object 1201 corresponding to the event reaches the left edge of the screen of the electronic device 100.
  • the edge of the window of the operation object 1201 corresponding to the second touch operation event is attached to the edge of the left screen of the electronic device 100, and the user releases his hand, for example, when the user's finger leaves the touch screen at position E or position E ⁇ , as shown in FIG.
  • the electronic device 100 moves down the operation object corresponding to the second touch operation event at a preset acceleration a.
  • a preset acceleration a As shown in (B) and (C), the electronic device 100 moves down the operation object corresponding to the second touch operation event at a preset acceleration a.
  • the second touch operation event corresponds to After the operation object of moves to a predetermined position, such as the lower left corner of the screen, the operation object corresponding to the second operation operation event is converted into a one-hand operation interface 1501 for display on the electronic device 100, and at the same time, the preset acceleration a is reset to zero.
  • the window size of the one-handed operation interface is fixed, and after the second operation operation event is completed, that is, when the user's finger leaves the touch screen of the electronic device 100, the window size of the operation object corresponding to the second operation operation event
  • the window size of the one-hand operation interface is not consistent.
  • the window size of the operation object corresponding to the second touch operation event also needs to be adjusted so that its window size is consistent with the one-handed operation interface
  • the window size is the same.
  • the window size of the operation object corresponding to the second touch operation event is compared with the window size of the one-hand operation interface, and if the window size of the operation object corresponding to the second touch operation event is smaller or larger than the window of the one-hand operation interface Size, according to the ratio of the window size of the operation object corresponding to the second touch operation event to the window size of the one-hand operation interface, the ratio of adjusting the window size of the operation object corresponding to the second touch operation event is determined, and the ratio is determined according to the determined ratio.
  • the window size of the operation object corresponding to the second touch operation event is adjusted to make it consistent with the window size of the one-hand operation interface.
  • FIG. 9 is a schematic diagram of another user interface provided by an embodiment of the present application.
  • FIG. 9(A) it is a multitasking interface displayed when the user's finger moves from position S to position M.
  • the electronic device 100 will detect the second touch input by the user on the touch screen The operation event is sliding down.
  • the operation object 1601 corresponding to the second touch operation event will increase as the sliding distance decreases.
  • the electronic device 100 determines that the user is trying to start the one-handed operation interface.
  • the position E can be any position in the designated area that is preset for instructing to start the one-handed operation interface.
  • the electronic device 100 moves the operation object 1601 corresponding to the second touch operation event at a preset acceleration, and the operation corresponding to the second touch operation event
  • the window edge of the object 1601 fits with the bottom edge of the touch screen of the electronic device 100
  • the operation object 1601 corresponding to the second touch operation event is replaced with the one-hand operation interface 1801, and the one-hand operation interface 1801 is moved with the preset acceleration a.
  • the one-handed operation interface 1901 as shown in (D) of FIG. 9 is displayed on the electronic device 100.
  • the bottom edge of the window of the operation object corresponding to the second touch operation event is attached to the bottom edge of the screen of the touch screen of the electronic device 100, and the second touch operation event corresponds to After the operation object is converted to the one-hand operation interface, the display of the elements in the one-hand operation interface is gradually reduced as the moving distance increases.
  • the current screen window of the electronic device 100 displays the main screen interface or a desktop other than the main screen interface.
  • the user displays the main screen interface or desktop in the current screen window of the electronic device 100, Attempt to start the one-handed operation interface and display the one-handed operation interface on the electronic device 100, because the main screen interface or any desktop other than the main screen interface does not belong to the task window in the multitasking interface that can be displayed.
  • the corresponding window following effect cannot be displayed.
  • the current desktop can be set as a virtual task. When the user's finger slides up from the bottom of the touch screen, a multitasking interface containing the zoomed current desktop is displayed.
  • the zoomed element of the current desktop is displayed in the first screen window interface of the small screen.
  • the size of the window corresponding to the current desktop is changed according to the sliding distance of the user's finger, so as to give the user a better visual experience and use experience.
  • the one-handed operation interface can be activated only when the touch direction input by the user on the touch screen is swiping down, and there is no need to slide to the bottom of the touch screen and beyond the bottom of the screen. , The probability of pushing the electronic device 100 out of the hand due to the user's excessive force is reduced, and the operation range of the user's finger is reduced, the operation is smoother, and the efficiency of the user's operation is improved.
  • the electronic device 100 starts the one-handed operation interface by detecting the second touch operation event input by the user on the touch screen, which can start the one-handed operation interface more conveniently and quickly, effectively reducing Misoperation rate.
  • the embodiment of the present application displays the multitasking interface after detecting the first touch operation event input by the user on the touch screen of the electronic device 100.
  • the multitasking interface if the first touch operation event input by the user on the touch screen of the electronic device 100 is detected Two-touch operation event, the one-hand operation interface is displayed on the electronic device, which can start the one-hand operation interface more conveniently and quickly, and effectively reduces the misoperation rate.
  • the embodiments of the present application also provide a computer-readable storage medium that stores instructions in the computer-readable storage medium, and when it runs on a computer or a processor, the computer or the processor executes any of the methods described above. One or more steps.
  • the embodiments of the present application also provide a computer program product containing instructions.
  • the computer program product runs on a computer or a processor, the computer or the processor is caused to execute one or more steps in any of the methods.
  • the embodiment of the present application also provides a chip system including a memory and a processor, and when the chip system is running, the chip system or the processor is caused to execute one or more steps in any one of the methods.
  • the chip system may be a single chip or a chip module composed of multiple chips.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium.
  • the computer instructions can be sent from a website site, computer, server, or data center to another website site, computer, Server or data center for transmission.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
  • the process can be completed by a computer program instructing relevant hardware.
  • the program can be stored in a computer readable storage medium. At this time, it may include the process as described in each method embodiment.
  • the aforementioned storage media include: ROM or random storage RAM, magnetic disks or optical discs and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请提供一种显示控制方法、电子设备和计算机可读存储介质,该方法包括:若检测到用户在所述电子设备的触摸屏上输入的第一触摸操作事件,则显示多任务界面,其中所述第一触摸操作事件用于启动所述多任务界面;在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的第二触摸操作事件,则在所述电子设备上显示单手操作界面。本申请可以更方便、快捷的启动单手操作界面,并有效地降低误操作率。

Description

显示控制方法、电子设备和计算机可读存储介质
本申请要求于2020年05月29日提交国家知识产权局、申请号为202010479287.6、申请名称为“显示控制方法、电子设备和计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及电子技术领域,尤其涉及一种显示控制方法、电子设备和计算机可读存储介质。
背景技术
随着智能手机的快速发展,大屏幕智能手机由于其具备更大的可视角度、更佳的细节显示效果,受到越来越多消费者的追捧。
然而,在很多应用场景下,用户只能单手握持智能手机。当智能手机的屏幕达到一定尺寸时,单手握持智能手机能够灵活操控屏幕的区域非常有限。
现有技术为了解决大屏幕智能手机单手握持时,不方便对屏幕操作的问题,提供了一种单手操作界面,在该界面下,智能手机的屏幕窗口被缩小或移动到单手能够触及到的区域。然而,该技术在启动所述单手操作界面时,操作效率较低,且误操作率较高。
发明内容
本申请公开了一种显示控制方法、电子设备和计算机可读存储介质,可以更方便、快捷的启动单手操作界面,且能有效降低误操作率。
第一方面,本申请实施例提供一种显示控制方法,应用于电子设备中,该方法包括:若检测到用户在所述电子设备的触摸屏上输入的第一触摸操作事件,则显示多任务界面;在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的第二触摸操作事件,则在所述电子设备上显示单手操作界面。
本申请实施例通过在检测到用户在电子设备100的触摸屏上输入的第一触摸操作事件后,显示多任务界面,在所述多任务界面下,如果检测到用户在电子设备100的触摸屏上输入的第二触摸操作事件,则在电子设备上显示单手操作界面,可以更方便、快捷的启动单手操作界面,并有效地降低了误操作率。
所述第一触摸操作事件用于启动多任务界面。电子设备在检测到用户在触摸屏上输入的第一触摸操作事件时,将在电子设备上显示多任务界面。第二触摸操作事件用于在多任务界面下启动单手操作界面。在多任务界面下,若电子设备检测用户在触摸屏上输入的第二触摸操作事件,将在电子设备上显示单手操作界面。
所述第一触摸操作事件和所述第二触摸操作事件为不同的触摸操作事件,这种不同可以体现在时间或空间上的,比如在某一时间点检测到的滑动操作为第一触摸操作事件,在另一时间点检测的滑动操作为第二触摸操作事件。比如一滑动轨迹对应的滑 动操作为第一触摸操作事件,另一滑动轨迹对应的滑动操作为第二触摸操作事件。
需要说明的是,本申请实施例中的第二触摸操作事件,是在第一触摸操作事件发生后,且用户的手指未离开电子设备的触摸屏时所进行的触摸操作。
示例性的,所述第一触摸操作事件或第二触摸操作事件可以为滑动操作,包括但不限于向左滑动、向右滑动、向上滑动和向下滑动。其中向左滑动为滑动操作结束后滑动终点相对位于滑动起点的左侧,向右滑动为滑动操作结束后滑动终点相对位于滑动起点的右侧,向上滑动为滑动操作结束后滑动终点相对位于滑动起点的上侧,向下滑动为滑动操作结束后滑动终点相对位于滑动起点的下侧。
结合第一方面,在第一方面的第一种可能的实现方式中,所述第二触摸操作事件包括滑动方向;相应的,所述在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的第二触摸操作事件,则在所述电子设备上显示单手操作界面,包括:在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的滑动方向为预定方向,则在所述电子设备上显示单手操作界面。
示例性的,所述单手操作界面包括第一屏幕窗口界面和第二屏幕窗口界面。其中,所述第一屏幕窗口界面可以为当前操作界面按第一预定比例缩小后的界面,所述第一屏幕窗口界面中包含当前操作界面中所有的界面元素。所述第二屏幕窗口为显示当前操作界面中预定部分界面元素的界面,比如预定部分界面元素可以为当前操作界面中上半部分的界面元素,也可以为当前操作界面中下半部分的界面元素,也可以为当前操作界面中的第一排、第二排的界面元素。
示例性的,本申请实施例中涉及的滑动方向为预定方向,包括向左滑动、向右滑动和向下滑动。本申请实施例根据不同的滑动方向,确定所显示的单手操作界面是为第一屏幕窗口界面还是为第二屏幕窗口界面,以使得单手操作界面显示在用户便于对屏幕进行操作的区域,提高用户的使用体验。
结合第一方面,在第一方面的第二种可能的实现方式中,所述在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的第二触摸操作事件,则在所述电子设备上显示单手操作界面,包括:在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的滑动方向为向左滑动或向右滑动,则在所述电子设备上显示第一屏幕窗口界面;在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的滑动方向为向下滑动,则在所述电子设备上显示第二屏幕窗口界面。
示例性的,所述在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的滑动方向为向左滑动或向右滑动,则在所述电子设备上显示第一屏幕窗口界面,包括:在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的滑动方向为向左滑动,则在所述触摸屏的屏幕左下角显示所述第一屏幕窗口界面;在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的滑动方向为向右滑动,则在所述触摸屏的屏幕右下角显示所述第一屏幕窗口界面。
示例性的,所述在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的滑动方向为向下滑动,则在所述电子设备上显示第二屏幕窗口界面,包括:在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的滑动方向为向下滑动,则在所述触摸屏的屏幕下半部分显示所述第二屏幕窗口界面。
可以理解的是,用户单手握持电子设备并单手操作时,其惯用手势和握持电子设备的手相关,比如,用户使用左手握持电子设备并单手操作时,向左滑动相对于向右滑动更加便捷;而当用户使用右手握持电子设备并单手操作时,向右滑动相对于向左滑动更加便捷,为了使得在电子设备上显示的单手操作界面方便用户进行操作,本申请实施例实现了根据滑动方向的不同,在触摸屏的不同位置显示第一屏幕窗口界面或第二屏幕窗口界面,以提高用户的使用体验。
结合第一方面,在第一方面的第三种可能的实现方式中,所述在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的滑动方向为预定方向,则在所述电子设备上显示单手操作界面,包括:在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的滑动方向为预定方向,且滑动到预定区域,则在所述电子设备上显示单手操作界面。
所述预定区域可以为电子设备100的触摸屏的左侧屏幕边缘、右侧屏幕边缘,也可以为电子设备的触摸屏的底部屏幕区域范围内的指定区域。
所述第一触摸操作事件包括滑动距离。在显示多任务界面之前,当前操作界面随着滑动距离的增加而逐渐缩小,其中滑动距离为第一触摸操作事件中当前的按压点相对于触摸屏的屏幕底部的垂直距离。
所述第一触摸操作事件对应的操作对象为当前操作界面,所述第二触摸操作事件对应的操作对象为当前操作界面按第二预定比例缩小后的界面。
示例性的,在第一触摸操作事件发生过程中,当滑动距离逐渐增大时,第一触摸操作事件对应的操作对象将第二预定比例逐渐缩小;而当滑动距离在增大后再逐渐减小时,第一触摸操作事件对应的操作对象将第二预定比例逐渐增大,以使得在该触摸操作事件发生过程中,形成中间过程的视觉滞留,使得用户能够真正体验“滑动”效果,换而言之,当前操作界面随着滑动距离的改变,也即随着用户的手势变化而产生窗口跟随效果。
结合第一方面,在第一方面的第四种可能的实现方式中,所述若检测到所述用户在所述触摸屏上输入的第二触摸操作事件,则在所述电子设备上显示单手操作界面,包括:若检测到所述用户在所述触摸屏上输入的第二触摸操作事件,则以预设加速度移动所述第二触摸操作事件对应的操作对象,并在移动到预定位置后将所述操作对象转换成所述单手操作界面进行显示。
需要说明的是,为了减少在第二触摸操作事件完成后,即用户的手指离开触摸屏不再作用于第二触摸操作事件对应的操作对象时,第二触摸操作事件对应的操作对象瞬间缩小或移动到第一屏幕窗口界面中或瞬间移动第二屏幕窗口界面中进行显示给用户造成的视觉冲击问题,提高用户的视觉体验,本申请实施例通过在检测到用户在所述触摸屏上输入的第二触摸操作事件时,以预设加速度移动第二触摸操作事件对应的操作对象,并在移动到预定位置后将所述操作对象转换成单手操作界面进行显示,可以有效地提高用户的视觉体验。
示例性的,在所述以预设加速度移动所述第二触摸操作事件对应的操作对象时,包括:将第二触摸操作事件对应的操作对象的窗口尺寸与单手操作界面的窗口尺寸进行比较,如果第二触摸操作事件对应的操作对象的窗口尺寸小于或大于单手操作界面 的窗口尺寸,则根据第二触摸操作事件对应的操作对象的窗口尺寸与单手操作界面的窗口尺寸的比值,确定调整第二触摸操作事件对应的操作对象的窗口尺寸的比例,根据所确定的比例对第二触摸操作事件对应的操作对象的窗口尺寸进行调整,使得第二触摸操作事件对应的操作对象的窗口尺寸与单手操作界面的窗口尺寸一致,以提高用户的视觉体验。
第二方面,本申请提供了一种电子设备,包括:一个或多个处理器、存储器和显示屏;所述存储器、所述显示屏与所述一个或多个处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备执行如第一方面、第二方面、第三方面、第四方面、第一方面任一种可能的实施方式、第二方面任一种可能的实施方式、第三方面任一种可能的实施方式或者第四方面任一种可能的实施方式提供的方法。
第三方面,本申请提供了一种计算机存储介质,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如第一方面、第二方面或者第一方面任一种可能的实施方式提供的方法。
第四方面,本申请实施例提供一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行如第一方面、第二方面或者第一方面任一种可能的实施方式提供的方法。
第五方面,本申请实施例提供一种芯片***,包括存储器和处理器,当所述芯片***运行时,使得所述电子设备执行如第一方面、第二方面或者第一方面任一种可能的实施方式提供的方法。所述芯片***可以为单个芯片,或者多个芯片组成的芯片模组。
可以理解地,所述提供的第二方面所述的电子设备、第三方面所述的计算机存储介质或者第四方面所述的计算机程序产品均用于执行第一方面、第二方面任一所提供的方法。因此,其所能达到的有益效果可参考对应方法中的有益效果,此处不再赘述。
附图说明
图1是本申请实施例提供的电子设备100的结构示意图;
图2是本申请实施例提供的电子设备100的软件结构框图;
图3是本申请实施例提供的一种用户界面示意图;其中,图(A)为电子设备100的主屏幕界面的示意图,图(B)为一种单手操作界面的示意图;图(C)为另一种单手操作界面的示意图;图(D)为另一种单手操作界面的示意图;
图4是本申请实施例提供的一个应用场景示意图;其中,图(A)为用户的手指从触摸屏的屏幕底部的右下角边缘位置S往屏幕内滑动至屏幕内的位置E后显示单手操作界面的应用场景示意图;图(B)为用户的手指从的屏幕底部的左半屏幕区域的任意位置S向下往屏幕外滑动至位置E后显示单手操作界面的应用场景示意图;图(C)为当用户的手指从触摸屏的右侧屏幕边缘的任意位置S往屏幕内滑动至位置M,再从屏幕内的位置M往触摸屏的右侧屏幕边缘的任意位置E滑动后显示单手操作界面的应用场景示意图;图(D)为用户的手指从触摸屏的屏幕底部的指定区域的任意位置S向下往屏幕外滑动至位置E后显示单手操作界面的应用场景示意图;
图5是本申请实施例提供的一种显示控制方法的流程示意图;
图6是本申请实施例提供的一种用户界面示意图;其中,图(A)为电子设备100中已安装的相册应用的应用界面的示意图,图(B)为一种多任务界面的示意图;图(C)为一种单手操作界面的示意图;图(D)为另一种多任务界面的示意图;
图7是本申请实施例提供的另一种应用场景示意图;其中,图(A)为用户的手指从触摸屏的屏幕底部的右下角边缘位置S往屏幕内滑动至屏幕内的位置E的应用场景示意图;图(B)为用户的手指滑动至指定区域901内时显示的多任务界面的示意图;图(C)在图(B)所示的多任务界面下,用户的手指继续从位置M向右滑动至位置E和位置E`之间的任意位置时显示的多任务界面的示意图;图(D)为一种多任务界面的示意图;
图8是本申请实施例提供的另一种用户界面示意图;其中,图(A)为一种多任务界面示意图,图(B)和(C)为第二触摸操作对应的操作对象以预设加速度a向下移动的应用界面的示意图;图(D)为第二触摸操作事件对应的操作对象移动到预定位置后显示的单手操作界面示意图;
图9是本申请实施例提供的另一种用户界面示意图;其中,图(A)为一种多任务界面的示意图,图(B)为另一种多任务界面的示意图;图(C)第二触摸操作对应的操作对象以预设加速度a向下移动的相册应用的应用界面的示意图;图(D)为第二触摸操作事件对应的操作对象移动到预定位置后显示的单手操作界面示意图。
具体实施方式
下面结合本申请实施例中的附图对本申请实施例进行描述。本申请实施例的实施方式部分使用的术语仅用于对本申请的具体实施例进行解释,而非旨在限定本申请。
首先介绍本申请实施例涉及的电子设备。请参阅图1,图1是本申请实施例提供的电子设备100的结构示意图。
电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网 络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了***的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(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)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等***器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电 子设备100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与***设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用所述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随 后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(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)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯***(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)。
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(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)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。
在一些实施例中,当显示面板采用OLED、AMOLED、FLED等材料时,所述图1中的显示屏194可以被弯折。这里,所述显示屏194可以被弯折是指显示屏可以在任 意部位弯折到任意角度,并可以在该角度保持。例如,显示屏194可以从中部左右对折,也可以从中部上下对折。本申请实施例中,将可以被弯折的显示屏称为可折叠显示屏。其中,该可折叠显示屏可以是一块屏幕,也可以是多块屏幕拼凑在一起组合成的显示屏,在此不作限定。
在一些实施例中,该电子设备100可以通过重力传感器、加速度传感器和陀螺仪中的一个或多个,可以判断该可折叠显示屏处于折叠形态还是处于展开形态,还可以判断该可折叠显示屏处于竖屏显示状态还是处于横屏显示状态。该电子设备100还可以通过重力传感器、加速度触感器和陀螺仪,检测该可折叠显示屏的弯折的夹角,然后,电子设备100可以根据该弯折的夹角,判断出该可折叠显示屏处于折叠形态还是处于展开形态。电子设备100还可与通过重力传感器、加速度传感器和陀螺仪中的一个或多个,判断折叠形态下,该可折叠显示屏的朝向,进而确定出显示***所输出界面内容的显示区域。例如,当该可折叠显示屏的第一屏幕区域相对于地面朝向上方时,电子设备100可以将显示***输出的界面内容,显示在第一屏幕区域上。当该可折叠显示屏的第二屏幕区域相对于地面朝向上方时,电子设备100可以将显示***输出的界面内容,显示在第二屏幕区域上。
在一些实施例中,该电子设备100还可以包括角度传感器(图1中未示出)该角度传感器可以设置在该可折叠显示屏的弯折部位处。电子设备100可以通过设置在该可折叠显示屏的弯折部位的角度传感器(图1中未示出),测量该可折叠显示屏中间弯折部位两端所成夹角,当该夹角大于或等于第一角度时,电子设备100可以通过角度传感器识别出该可折叠显示屏进入展开状态。当该夹角小于或等于第一角度时,电子设备100可以通过角度传感器识别出该可折叠显示屏进入折叠形态。
在其他一些实施例中,电子设备100也可以通过设置在该可折叠显示屏的弯折部位的物理开关,识别出该可折叠显示屏是否处于折叠形态。例如,当电子设备接收到用户对该可折叠显示屏的折叠操作,该设置在该电子设备上的物理开关被触发打开,电子设备100可以确定该可折叠显示屏处于折叠形态。当电子设备100接收到用户对该可折叠显示屏展开操作,该设置在该电子设备上的物理开关被触发关闭,电子设备可以确定该可折叠显示屏处于展开形态。所述示例仅仅用于解释本申请,不应构成限定。
下文以可折叠显示屏为两折叠显示屏为例,当可折叠显示屏处于展开形态时,该可折叠显示屏可全屏显示内容,也可部分区域(例如第一屏幕区域或第二屏幕区域)显示内容,也可两个或两个以上部分区域显示内容。在一种可能的实现方式中,可折叠显示屏全屏显示界面内容时,该界面内容可以占用该可折叠显示屏的部分显示区域,例如显示屏194为异形切割屏(Notch屏)时,异形切割屏的中间部分显示该界面内容,一侧或两侧边缘部分黑屏时,也可以看作该可折叠显示屏全屏显示该界面内容。
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行 算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作***,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。 在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不 同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过***SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时***多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
电子设备100的软件***可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本发明实施例以分层架构的Android***为例,示例性说明电子设备100的软件结构。
图2是本申请实施例的电子设备100的软件结构框图。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android***分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和***库,以及内核层。
应用程序层可以包括一系列应用程序包。
如图2所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图***,电话管理器,资源管理器,通知管理器等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图***包括可视控件,例如显示文字的控件,显示图片的控件等。视图***可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完 成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在***顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
Android Runtime包括核心库和虚拟机。Android runtime负责安卓***的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
***库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子***进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
下面结合捕获拍照场景,示例性说明电子设备100软件以及硬件的工作流程。
当触摸传感器180K接收到触摸操作,相应的硬件中断被发给内核层。内核层将触摸操作加工成原始输入事件(包括触摸坐标,触摸操作的时间戳等信息)。原始输入事件被存储在内核层。应用程序框架层从内核层获取原始输入事件,识别该输入事件所对应的控件。以该触摸操作是触摸单击操作,该单击操作所对应的控件为相机应用图标的控件为例,相机应用调用应用框架层的接口,启动相机应用,进而通过调用内核层启动摄像头驱动,通过摄像头193捕获静态图像或视频。
本申请实施例提供了一种显示控制方法,该显示控制方法可以通过采用硬件或软件的方式实现在电子设备100中。
首先,对本申请实施例涉及的显示控制进行介绍。显示控制可实现根据用户在电子设备100的触摸屏上输入的第一触摸操作事件显示多任务界面,在所述多任务界面下,根据用户在电子设备100上输入的第二触摸操作事件显示单手操作界面。显示的单手操作界面包括第一屏幕窗口界面和第二屏幕窗口界面。其中,所述第一屏幕窗口界面可以为当前操作界面按第一预定比例缩小后的界面(如图3中的(B)所示),所述第一屏幕窗口界面中包含当前操作界面中所有的界面元素。所述第二屏幕窗口为显示当前操作界面中预定部分界面元素的界面(如图3中的(C)所示),比如预定部分界面元素可以为当前操作界面中上半部分的界面元素,也可以为当前操作界面中 下半部分的界面元素,也可以为当前操作界面中的第一排、第二排的界面元素。这里不做具体限定。
请参阅图3,图3为本申请实施例提供的一种用户界面示意图。如图3中的(A)所示,为电子设备100的主屏幕界面10(也即当前操作界面)。主屏幕界面10中包括日历指示符101、天气指示符102、应用程序图标103、状态栏104。其中:
日历指示符101可用于指示当前时间,例如日期、星期几、时分信息等。
天气指示符102可用于指示天气类型,例如多云转晴、小雨等,还可以用于指示气温等信息,还可以用于指示地点。
应用程序图标103可以包含例如QQ图标、微信图标、浏览器图标、微博图标、视频图标、设置图标、计算器图标、相机图标、股票图标、阅读图标、相册图标和淘宝图标等。
状态栏104中可以包括运营商的名称(例如***)、信号强度、WI-FI图标、时间和当前剩余电量。
如图3中的(B)所示,为电子设备100上显示的一单手操作界面20,该单手操作界面20包括第一屏幕窗口界面201,第一屏幕窗口界面201为主屏幕界面10按第一预定比例缩小后的界面,包含有主屏幕界面10中所有的界面元素。第一屏幕窗口界面201中包含有的界面元素的像素小于主屏幕界面10中的界面元素的像素,即第一屏幕窗口界面201中包含有的界面元素为主屏幕界面10中的界面元素按第一预定比例缩小后的界面元素。
如图3中的(C)所示,为电子设备100上显示的另一单手操作界面30,该单手操作界面30包括第二屏幕窗口界面301,第二屏幕窗口界面301为显示主屏幕界面10中的上半部分界面元素的界面,实质上,第二屏幕窗口界面301为将当前操作界面即主屏幕界面10整体向下移动,让主屏幕界面10的上半部分显示在原来的下半部分位置上,便于用户进行单手操作。第一屏幕窗口界面301中仅显示主屏幕界面10中的部分界面元素,且该部分界面元素的像素未发生变化,维持原有像素不变。
如图3中的(D)所示,为电子设备100上显示的另一单手操作界面40,该单手操作界面40包括第二屏幕窗口界面401,当需要在第二屏幕窗口界面401中显示主屏幕界面10中的其他界面元素402时,用户可以通过向下滑动指示电子设备100显示第二屏幕窗口界面401中未显示的主屏幕界面10中的其他界面元素402。
目前,电子设备100实现***导航功能的方式一般有三种:1、通过电子设备100的屏幕内以虚拟按钮形式显示的三个虚拟控件分别实现返回上一级,返回桌面和进入多任务界面等***导航功能,例如,用户可以通过三角形的虚拟控件实现返回上一级,通过圆形的虚拟控件实现返回桌面,通过正方形的虚拟控件实现进入多任务界面。2、通过电子设备100的屏幕内以虚拟按钮形式悬浮显示的一个虚拟控件实现返回上一级,返回桌面和进入多任务界面的***等导航功能,用户可以通过轻触该虚拟控件实现返回上级,通过长按该虚拟控件后松手实现返回桌面,通过长按该虚拟控件后向左或向右滑动实现进入多任务界面。3、通过在电子设备100的触摸屏上输入不同的手势实现返回上一级、返回桌面和进入多任务界面等***导航功能,例如,用户可以通过从电子设备100的触摸屏的屏幕边缘向屏幕内滑动实现返回上一级,可以通过从电子设备 100的触摸屏的屏幕底部快速向上滑动后松手实现返回桌面,通过从电子设备100的触摸屏的屏幕底部向上滑动并稍作停顿实现进入多任务界面。
可以理解的是,第一种实现***导航功能的方式中,所显示的虚拟控件需要占用电子设备100一部分屏幕区域,无法满足人们追求最大化的屏占比的需求,虽然也可以通过隐藏的方式实现最大化的屏占比,但还是需要人们操作隐藏所显示的虚拟控件,增加了用户的操作;第二种实现***导航功能的方式中,所显示的虚拟控件会遮挡电子设备100的触摸屏上显示的元素,也会降低用户的使用体验感。通过纯手势来实现***导航功能的第三种方式解决了所述两种方式的缺陷,提高了用户的使用体验。
当电子设备100启用第三种实现***导航功能的方式来实现返回上一级,返回桌面和进入多任务界面等***导航功能时,电子设备100当前的导航模式为手势导航模式,在该模式下,用户可以通过不同的手势实现对电子设备100的显示控制。然而,现有技术中在启动单手操作界面时,存在操作效率低,且误操作率高的问题。
比如,当用户乘坐公共交通工具时,在一些情况下,并不能两手同时操作电子设备100,用户仅能单手握持电子设备100并单手操作。在电子设备100的尺寸较大时,为了方便用户对电子设备100的屏幕进行操作,现有技术提供了一种单手操作界面,在该界面下,电子设备100的屏幕窗口被缩小或移动到用户单手能够触及的区域,用户可以在该区域下灵活操作电子设备100的屏幕。然而,当用户单手握持电子设备100并单手操作时,因为单手操作的局限性,启动单手操作界面的效率交底,且误操作率较高。
给出第一触摸操作事件和第二触摸操作事件的定义:
第一触摸操作事件:用于启动多任务界面。电子设备100在检测到用户在触摸屏上输入的第一触摸操作事件时,将在电子设备100上显示多任务界面。第二触摸操作事件:用于在多任务界面下启动单手操作界面。在多任务界面下,若电子设备100检测用户在触摸屏上输入的第二触摸操作事件,将在电子设备100上显示单手操作界面。
需要说明的是,第一触摸操作事件和第二触摸操作事件为不同的触摸操作事件,这种不同可以体现在时间或空间上的,比如在某一时间点检测到的滑动操作为第一触摸操作事件,在另一时间点检测的滑动操作为第二触摸操作事件。比如一滑动轨迹对应的滑动操作为第一触摸操作事件,另一滑动轨迹对应的滑动操作为第二触摸操作事件。即第一触摸操作事件和第二触摸操作事件的第一和第二,并无特殊含义,仅用来区分不同的触摸操作事件。
本申请实施例中,第一触摸操作事件对应的操作对象为当前操作界面,第二触摸操作事件对应的操作对象为当前操作界面按第二预定比例缩小后的界面。
示例性的,本申请实施例中的第一触摸操作事件或第二触摸操作事件,可以为滑动操作,包括但不限于向左滑动、向右滑动、向上滑动和向下滑动。其中向左滑动为滑动操作结束后滑动终点相对位于滑动起点的左侧,向右滑动为滑动操作结束后滑动终点相对位于滑动起点的右侧,向上滑动为滑动操作结束后滑动终点相对位于滑动起点的上侧,向下滑动为滑动操作结束后滑动终点相对位于滑动起点的下侧。
需要说明的是,本申请实施例中的向左滑动可以为平行向左滑动,也可以为向左上方向滑动;向右滑动可以为平行向右滑动,也可以为向右上方滑动;向下滑动可以 为垂直向下滑动,也可以为向左下方向或右下方向滑动,还可以为先向左或向右滑动后,再向下滑动。
请参阅图4,图4是本申请实施例提供的一种应用场景示意图。如图4所示,箭头可以表示滑动轨迹,箭头的起点可以表示为滑动起点S,箭头的终点可以表示为滑动终点E,箭头的中点M可以表示一段连续的滑动轨迹中具有不同方向的两半段滑动轨迹的转接点,即M表示一小段滑动轨迹的终点,另一小段滑动轨迹的起点,连接两个不同方向的滑动轨迹。
需要说明的是,滑动起点S可以理解为电子设备100在触摸屏的屏幕上检测到的一段滑动轨迹中的第一按压点,滑动终点E可以理解为电子设备100在触摸屏的屏幕上检测的一段滑动轨迹中的最后一个按压点。
在一个具体的应用场景中,电子设备100当前的屏幕窗口显示如图3中的(A)所示的主屏幕界面10,用户右手握持电子设备100并单手操作。如图4中的(A)所示,当用户的手指比如大拇指从电子设备100的触摸屏的屏幕底部的右下角边缘位置S往屏幕内滑动至屏幕内的位置E时,电子设备100检测到这一触摸操作事件,将启动单手操作界面,将当前操作界面按第一预定比例缩小后得到第一屏幕窗口界面201,在电子设备100的触摸屏的屏幕右下角显示第一屏幕窗口界面201。
可以理解的是,在所述应用场景中,用户右手握持电子设备100并单手操作,大拇指从触摸屏的右下角屏幕边缘往屏幕内滑动时,大拇指需要弯曲到一定的程度才能触摸到触摸屏幕的右下角边缘,操作幅度较大,用户操作不够便捷,操作效率低。尤其是,当用户的大拇指并没有触摸到触摸屏的右下角屏幕边缘时,而是如图4中的(A)所示,仅在扇形区域T中除触摸屏的右下角屏幕边缘位置之外的的任意位置往触摸屏的屏幕内滑动时,容易误操作,比如,当用户在扇形区域T中除触摸屏的右下角屏幕边缘位置之外的的任意位置往触摸屏的屏幕内滑动,且滑动方向为向上滑动时,电子设备100可能会启动多任务界面,而非用户实际想要启动的单手操作界面,这种情况下,用户需要重新进行操作以启动单手操作界面,操作效率大幅度降低,大大降低了用户的使用体验。
在另一个具体的应用场景中,电子设备100当前的屏幕窗口显示如图3中的(A)所示的主屏幕界面10,用户右手握持电子设备100并单手操作。如图4中的(B)所示,当用户的手指比如大拇指从电子设备100的触摸屏的屏幕底部的左半屏幕区域的任意位置S向下往屏幕外滑动至位置E时,电子设备100检测到这一触摸操作事件,将启动单手操作界面,将当前操作界面按第一预定比例缩小后得到第一屏幕窗口界面201,在电子设备100的触摸屏的屏幕右下角显示第一屏幕窗口界面201。
可以理解的是,在所述应用场景中,用户右手握持电子设备100并单手操作,大拇指从电子设备100的触摸屏内向下滑动至屏幕底部边缘时,大拇指需要弯曲到触摸屏的屏幕底部边缘,操作幅度较大,用户操作不够便捷,操作效率低。此外,一方面,用户的大拇指向下滑动至触摸屏的屏幕外时,由于向下滑动的惯性,用户有可能会将电子设备100从手中顶出去,降低了用户的使用体验。另一方面,目前手势导航模式中,向下滑动这一触摸操作对应的操作一般为向下滑动页面,也即使用向下滑动这一触摸操作来启动单手操作界面时,容易误触发向下滑动页面显示其他页面内容。
为了减少向下滑动这一手势的冲突,实现启动单手操作界面的目的,在屏幕底部设定一用于启动单手操作界面的屏幕区域,在电子设备100检测到某一触摸操作事件的滑动起点在该屏幕区域范围之内,而滑动终点在该屏幕区域之外的指定位置比如屏幕底部边缘位置,或者该触摸操作事件对应的滑动轨迹的部分坐标落入该屏幕区域范围之内,且滑动至指定位置比如屏幕底部边缘位置时,电子设备100启动单手操作界面。但这一启动单手操作界面的方法,仍然存在操作效率低,且误操作率高的问题,降低了用户的使用体验。
在另一个具体的应用场景中,电子设备100当前的屏幕窗口显示如图3中的(A)所示的主屏幕界面10,用户右手握持电子设备100并单手操作。如图4中的(C)所示,当用户的手指比如大拇指从电子设备100的触摸屏的右侧屏幕边缘的任意位置S往屏幕内滑动至位置M,再从屏幕内的位置M往触摸屏的右侧屏幕边缘的任意位置E滑动,电子设备100检测到这一触摸操作事件,将启动单手操作界面,将当前操作界面按第一预定比例缩小后得到第一屏幕窗口界面201,在电子设备100的触摸屏的屏幕右下角显示第一屏幕窗口界面201。
需要说明的是,位置S和位置E可以是相重合的两个按压点,也可以是电子设备100的触摸屏的屏幕边缘不同的两个按压点。
可以理解的是,在所述应用场景中,用户右手握持电子设备100并单手操作,大拇指从电子设备100的触摸屏的左侧屏幕边缘往屏幕内滑动到某一位置后,再从该位置切换方向往左侧屏幕边缘滑动,虽然大拇指弯曲的幅度减少了,但在目前的手势导航模式中,从触摸屏的左侧屏幕边缘或右侧屏幕边缘往屏幕内移动时,对应显示上一级用户界面,因此,通过如图4中的(C)所示的触摸操作事件启动单手操作界面,可能需要用户多次操作才能启动单手操作界面,仍然存在着操作效率,且误操作率高的问题。
在另一个具体的应用场景中,电子设备100当前的屏幕窗口显示如图3中的(A)所示的主屏幕界面10,用户右手握持电子设备100并单手操作。如图4中的(D)所示,当用户的手指比如大拇指从电子设备100的触摸屏的屏幕底部的指定区域的任意位置S向下往屏幕外滑动至位置E时,电子设备100检测到这一触摸操作事件,将启动单手操作界面,将当前操作界面的上半部分移动到触摸屏的下半屏幕区域内显示,触摸屏的上半屏幕区域不显示当前操作界面的任何元素。如图4中的(D)所示,在电子设备100的触摸屏的屏幕右下角显示第二屏幕窗口界面301。
为了更方便、快捷的启动单手操作界面,且能有效降低误操作率,本申请实施例提供了一种显示控制方法。
请参阅图5,图5是本申请实施例提供的一种显示控制方法的流程示意图。如图5所示,该方法包含步骤S101~S102。
S101、若检测到用户在电子设备100的触摸屏上输入的第一触摸操作事件,则显示多任务界面。
所述第一触摸操作事件包括滑动距离。在显示多任务界面之前,当前操作界面随着滑动距离的增加而逐渐缩小,其中滑动距离为触摸操作事件中当前的按压点相对于触摸屏的屏幕底部的垂直距离。
在电子设备100处于手势导航模式时,用户的手指从电子设备100的触摸屏的屏幕底部向上滑动过程中,滑动距离逐渐增大,当滑动距离达到预设阈值后,电子设备100显示多任务界面。在电子设备100显示多任务界面后,用户的手指改变滑动方向为向下滑动时,滑动距离逐渐减小。在这一触摸操作事件发生过程中,当滑动距离逐渐增大时,第一触摸操作事件对应的操作对象将第二预定比例逐渐缩小;而当滑动距离在增大后再逐渐减小时,第一触摸操作事件对应的操作对象将第二预定比例逐渐增大,以使得在该触摸操作事件发生过程中,形成中间过程的视觉滞留,使得用户能够真正体验“滑动”效果,换而言之,当前操作界面随着滑动距离的改变,也即随着用户的手势变化而产生窗口跟随效果。
本申请实施例中,在检测到用户在电子设备100的触摸屏上输入的第一触摸操作事件时,显示多任务界面,在显示多任务界面的过程中,第一触摸操作事件对应的操作对象将随着滑动距离和滑动方向的变化而变化,跟随用户的手指移动着第一触摸操作事件对应的操作对象,并调整第一触摸操作事件对应的操作对象的窗口尺寸,该操作对象的窗口尺寸与滑动距离成反比例,滑动距离越大,窗口尺寸越小;滑动距离越小,窗口尺寸越大,在用户松手后,在电子设备100上显示的多任务界面中的任意操作对象的窗口尺寸一致,用户可以再次触摸电子设备100的触摸屏,通过向左滑动或向右滑动选择在电子设备100的当前屏幕窗口显示的操作对象。
目前,现有技术在启动单手操作界面时,单手操作界面仅在电子设备100检测到触摸操作事件执行完毕后,将当前操作界面瞬间缩小显示到第一屏幕窗口界面201所属的屏幕区域中,或者将当前操作界面瞬间移动到第二屏幕窗口界面301所属的屏幕区域中,没有跟随滑动距离的变化而变化,也就没有产生窗口跟随效果。本申请实施例通过在多任务界面下,若检测到用户在触摸屏所述输入的第二触摸操作事件,可以使得电子设备100在显示单手操作界面时,产生窗口跟随效果,提高用户的视觉体验。
S102、在所述多任务界面下,若检测到用户在所述触摸屏上输入的第二触摸操作事件,则在电子设备100上显示单手操作界面。
请参阅图6,图6是本申请实施例提供的另一种用户界面示意图。如图6中的(A)所示,为电子设备100中已安装的相册应用的应用界面。电子设备100当前处于手势导航模式,如图6中的(A)所示,当前操作界面501包含有可操作的相册应用的应用界面502和状态栏503。当用户的手指从电子设备100的触摸屏的屏幕底部往上滑动至屏幕内时,电子设备100检测到用户触摸屏上输入的第一触摸操作事件,当用户的手指在触摸屏幕内往上滑动到一定的距离后,电子设备100显示如图6中的(B)所示的多任务界面,该多任务界面包含至少两个多任务对象,其中一个多任务对象为第一触摸操作事件对应的操作对象。
如图6中的(B)所示,该多任务界面包含第一触摸操作事件对应的操作对象601,另一应用比如QQ应用的第一界面602,第一界面602为QQ应用的应用界面的预定区域按第三预定比例缩小后得到的界面,第一触摸操作事件对应的操作对象601为相册应用的应用界面502按第二预定比例缩小后的界面。在如图6中的(B)所示的多任务界面下,如果检测到用户在触摸屏上输入的第二触摸操作事件,在电子设备100上显示如图6中的(C)所示的相册应用的应用界面502按第一预定比例缩小后得到的 单手操作界面701。
在如图6中的(B)所示的多任务界面下,如果没有检测到用户在触摸屏上输入的第二触摸操作事件,且用户的手指离开触摸屏时,在电子设备100上显示如图6中的(D)所示的多任务界面,如图6中的(D)所示,该多任务界面包含至少两个多任务对象,其中一个多任务对象为第一触摸操作事件对应的操作对象。如图6中的(D)所示,该多任务界面包括第二界面801和第三界面802,其中第二界面801为QQ应用的应用界面按第三预定比例缩小后得到的界面,第二界面802为相册应用的应用界面502的预定区域按第三预定比例缩小后得到的界面,即第二界面801和第三界面803的窗口尺寸一致,两者具有相同的窗口尺寸。
本申请实施例中,第二触摸操作事件包括滑动方向,在所述多任务界面下,若检测到用户在所述触摸屏上输入的滑动方向为预定方向,则在电子设备100上显示单手操作界面。
示例性的,在所述多任务界面下,若检测到用户在所述触摸屏上输入的滑动方向为预定方向,且滑动到预定区域,则在电子设备100上显示单手操作界面。
所述预定区域可以为电子设备100的触摸屏的左侧屏幕边缘、右侧屏幕边缘,也可以为电子设备100的触摸屏的底部屏幕区域范围内的指定区域。
在一个具体的应用场景中,在多任务界面下,用户的手指向左滑动或向右滑动,使得第二触摸操作事件对应的操作对象的窗口边缘与触摸屏的左侧屏幕边缘贴合;或者用户的手指向下滑动,使得第二触摸操作事件对应的操作对象滑动至触摸屏的底部屏幕区域范围内的指定区域,即电子设备100检测到用户在触摸屏上输入的滑动方向为预定方向,且滑动到预定区域时,在电子设备100上显示单手操作界面。
本申请实施例中,用户单手握持电子设备100并单手操作时,其惯用手势和握持电子设备100的手相关,比如,用户使用左手握持电子设备100并单手操作时,向左滑动相对于向右滑动更加便捷;而当用户使用右手握持电子设备100并单手操作时,向右滑动相对于向左滑动更加便捷,为了使得在电子设备100上显示的单手操作界面方便用户进行操作,本申请实施例根据滑动方向的不同,在触摸屏的不同位置显示第一屏幕窗口界面或第二屏幕窗口界面,以提高用户的使用体验。
示例性的,在所述多任务界面下,若检测到用户在所述触摸屏上输入的滑动方向为向左滑动或向右滑动,则在电子设备100上显示第一屏幕窗口界面;在所述多任务界面下,若检测到用户在所述触摸屏上输入的滑动方向为向下滑动,则在电子设备100上显示第二屏幕窗口界面。
示例性的,在所述多任务界面下,若检测到用户在所述触摸屏上输入的滑动方向为向左滑动,则在所述触摸屏的屏幕左下角显示第一屏幕窗口界面;在所述多任务界面下,若检测到用户在所述触摸屏上输入的滑动方向为向右滑动,则在所述触摸屏的屏幕右下角显示第一屏幕窗口界面;在所述多任务界面下,若检测到用户在所述触摸屏上输入的滑动方向为向下滑动,则在所述触摸屏的屏幕下半部分显示第二屏幕窗口界面。
需要说明的是,在一些实施例中,在第一触摸操作事件和第二触摸操作事件发生过程中,用户的手指维持在触摸屏上进行相关操作,如果在显示多任务界面后,用户 的手指离开触摸屏,在电子设备100上显示的是多任务界面,如果用户的手指再次在触摸屏上向左滑动或向右滑动,电子设备100检测到这一触摸操作事件时,根据滑动方向显示对应方向的多任务对象,其中多任务对象为多任务界面中的至少一个应用的应用界面。如果在显示多任务界面后,用户的手指未离开触摸屏,并继续在触摸屏上向左滑动、向右滑动或向下滑动时,电子设备100根据滑动方向,在电子设备100上显示第一屏幕窗口界面或第二屏幕窗口界面。
请参阅图7,图7是本申请实施例提供的另一种应用场景示意图。如图7中的(A)所示,当用户的手指比如大拇指从电子设备100的触摸屏的屏幕底部边缘位置S向上往屏幕内滑动时,电子设备100检测到用户在触摸屏上输入的第一触摸操作事件,在用户的手指滑动至如如图7中的(B)所示的指定区域901内,显示如图7中的(B)所示的多任务界面,其中指定区域901为多任务界面的手势操作热区,当用户的手指滑动到该手势操作热区后,电子设备100将在触摸屏上显示多任务界面,或者,电子设备100检测到用户的手指滑动指定距离后,在电子设备100上显示如图7中的(B)所示的多任务界面。如图7中的(C)所示,在如图7中的(B)所示的多任务界面下,用户不松手继续在触摸屏上向右滑动,即用户的大拇指继续从位置M向右滑动至位置E和位置E`之间的任意位置时,电子设备100检测到用户在电子设备100的触摸屏上输入的第二触摸操作事件,根据的第二触摸操作事件的滑动方向向右移动第二触摸操作事件对应的操作对象1101,在第二触摸操作事件对应的操作对象1101的窗口边缘与触摸屏的左侧屏幕边缘位置贴合时,电子设备100确定用户试图启动单手操作界面,在用户的手指离开电子设备100后,如图7中的(D)所示,在电子设备100的屏幕右下角显示第一屏幕窗口界面701。
本申请实施例中,为了减少在第二触摸操作事件完成后,即用户的手指离开触摸屏不再作用于第二触摸操作事件对应的操作对象时,第二触摸操作事件对应的操作对象瞬间缩小或移动到第一屏幕窗口界面201或瞬间移动第二屏幕窗口界面301中给用户造成的视觉冲击问题,提高用户的视觉体验,本申请实施例在检测到用户在所述触摸屏上输入的第二触摸操作事件时,以预设加速度移动第二触摸操作事件对应的操作对象,并在移动到预定位置后将所述操作对象转换成单手操作界面进行显示。
请参阅图8,图8是本申请实施例提供的另一用户界面示意图。如图8中的(A)所示,为在多任务界面下,电子设备100在检测到用户输入的第二触摸操作事件比如向左滑动时,跟随滑动方向的移动向左移动第二触摸操作事件对应的操作对象1201至电子设备100的左侧屏幕边缘。在第二触摸操作事件对应的操作对象1201的窗口边缘与电子设备100的左侧屏幕边缘贴合,且用户松手后,比如用户的手指在位置E或位置E`离开触摸屏时,如图8中的(B)和(C)所示,电子设备100以预设加速度a向下移动第二触摸操作事件对应的操作对象,如图8中的(D)所示,在第二触摸操作事件对应的操作对象移动到预定位置后,比如屏幕左下角时,将第二操作操作事件对应的操作对象,转换成单手操作界面1501在电子设备100上进行显示,同时,预设加速度a归零。
在一些实施例中,单手操作界面的窗口尺寸是固定的,而在第二操作操作事件完成后即用户的手指离开电子设备100的触摸屏时,第二操作操作事件对应的操作对象 的窗口尺寸与单手操作界面的窗口尺寸并不一致,如果在第二触摸操作事件对应的操作对象移动到预定位置后,再将其转换成单手操作界面进行显示,因为像素的差异,降低了用户的视觉体验,为了提高用户的视觉体验,在以预设加速度移动第二触摸操作事件对应的操作对象时,还需要调整第二触摸操作事件对应的操作对象的窗口尺寸使得其窗口尺寸与单手操作界面的窗口尺寸一致。
示例性的,将第二触摸操作事件对应的操作对象的窗口尺寸与单手操作界面的窗口尺寸进行比较,如果第二触摸操作事件对应的操作对象的窗口尺寸小于或大于单手操作界面的窗口尺寸,则根据第二触摸操作事件对应的操作对象的窗口尺寸与单手操作界面的窗口尺寸的比值,确定调整第二触摸操作事件对应的操作对象的窗口尺寸的比例,根据所确定的比例对第二触摸操作事件对应的操作对象的窗口尺寸进行调整,使得其与单手操作界面的窗口尺寸一致。
请参阅图9,图9是本申请实施例提供的另一用户界面示意图。如图9中的(A)所示,为在用户的手指从位置S移动到位置M时所显示的多任务界面。在如图9中的(A)所示的多任务界面下,当用户的手指不离开触摸屏并继续从位置M滑动到位置E时,电子设备100将检测到用户在触摸屏上输入的第二触摸操作事件即向下滑动,第二触摸操作事件对应的操作对象1601将跟随滑动距离的减小而增大,用户的手指在滑动到位置E后松手,电子设备100确定用户试图启动单手操作界面,其中位置E可以为预先设定的用于指示启动单手操作界面的指定区域内的任意位置。如图9中的(C)所示,电子设备100在确定用户试图启动单手操作界面后,以预设加速度移动第二触摸操作事件对应的操作对象1601,在第二触摸操作事件对应的操作对象1601的窗口边缘与电子设备100的触摸屏的屏幕底部边缘贴合时,将第二触摸操作事件对应的操作对象1601替换成单手操作界面1801,继续以预设加速a移动单手操作界面1801,直至单手操作界面1801的窗口顶部与触摸屏的屏幕中心线重合,在电子设备100上显示如图9中的(D)所示的单手操作界面1901。
如图9中的(C)和(D)所示,在第二触摸操作事件对应的操作对象的窗口底部边缘与电子设备100的触摸屏的屏幕底部边缘贴合,将第二触摸操作事件对应的操作对象转换为单手操作界面后,随着移动距离的增加逐步减少单手操作界面内的元素的显示。
在一些应用场景中,电子设备100当前的屏幕窗口显示的是主屏幕界面或除主屏幕界面之外的其他桌面,当用户在电子设备100当前的屏幕窗口显示的是主屏幕界面或桌面时,试图启动单手操作界面,在电子设备100上显示单手操作界面,因为主屏幕界面或除主屏幕界面之外的任一桌面,并不属于可显示的多任务界面中的任务窗口,也就无法显示对应的窗口跟随效果,为解决这一问题,可以将当前桌面设定为虚拟任务,在用户的手指从触摸屏的屏幕底部向上滑动时,显示包含缩放后的当前桌面的多任务界面,在检测到用户触摸屏上输入的第二触摸操作事件时,在小屏幕第一屏幕窗口界面中显示缩放后的当前桌面的元素。在这一过程中,跟随用户的手指的滑动距离而改变当前桌面对应的窗口的尺寸,以给到用户更好的视觉体验和使用体验。
需要说明的是,第二触摸操作事件中,由于仅是在确定用户在触摸屏上输入的触摸方向为向下滑动即可以启动单手操作界面,不需要滑动到触摸屏的屏幕底部及屏幕 底部之外,降低了因用户用力过度而将电子设备100从手中顶出去的概率,而且用户的手指操作幅度减小了,操作较为顺畅,提高了用户操作的效率。
可以理解的是,在多任务界面下,电子设备100通过检测用户在触摸屏上输入的第二触摸操作事件来启动单手操作界面,可以更方便,更快捷的启动单手操作界面,有效地降低误操作率。
本申请实施例通过在检测到用户在电子设备100的触摸屏上输入的第一触摸操作事件后,显示多任务界面,在多任务界面下,如果检测到用户在电子设备100的触摸屏上输入的第二触摸操作事件,则在电子设备上显示单手操作界面,可以更方便、快捷的启动单手操作界面,并有效地降低了误操作率。
本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机或处理器上运行时,使得计算机或处理器执行所述任一个方法中的一个或多个步骤。
本申请实施例还提供了一种包含指令的计算机程序产品。当该计算机程序产品在计算机或处理器上运行时,使得计算机或处理器执行所述任一个方法中的一个或多个步骤。
本申请实施例还提供了一种芯片***,包括存储器和处理器,当该芯片***运行时,使芯片***或处理器执行所述任一个方法中的一个或多个步骤。所述芯片***可以为单个芯片,或者多个芯片组成的芯片模组。
在所述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者通过所述计算机可读存储介质进行传输。所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如,固态硬盘(solid state disk,SSD))等。
本领域普通技术人员可以理解实现所述实施例方法中的全部或部分流程,该流程可以由计算机程序来指令相关的硬件完成,该程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如所述各方法实施例的流程。而前述的存储介质包括:ROM或随机存储记忆体RAM、磁碟或者光盘等各种可存储程序代码的介质。
以上所述,仅为本申请实施例的具体实施方式,但本申请实施例的保护范围并不局限于此,任何在本申请实施例揭露的技术范围内的变化或替换,都应涵盖在本申请实施例的保护范围之内。因此,本申请实施例的保护范围应以所述权利要求的保护范围为准。

Claims (10)

  1. 一种显示控制方法,应用于电子设备,其特征在于,包括:
    若检测到用户在所述电子设备的触摸屏上输入的第一触摸操作事件,则显示多任务界面,其中所述第一触摸操作事件用于启动所述多任务界面;
    在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的第二触摸操作事件,则在所述电子设备上显示单手操作界面。
  2. 如权利要求1所述的显示控制方法,其特征在于,所述第二触摸操作事件包括滑动方向;
    相应的,所述在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的第二触摸操作事件,则在所述电子设备上显示单手操作界面,包括:
    在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的滑动方向为预定方向,则在所述电子设备上显示单手操作界面。
  3. 如权利要求2所述的显示控制方法,其特征在于,所述单手操作界面包括第一屏幕窗口界面或第二屏幕窗口界面;
    相应的,所述在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的第二触摸操作事件,则在所述电子设备上显示单手操作界面,包括:
    在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的滑动方向为向左滑动或向右滑动,则在所述电子设备上显示第一屏幕窗口界面;
    在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的滑动方向为向下滑动,则在所述电子设备上显示第二屏幕窗口界面。
  4. 如权利要求3所述的显示控制方法,其特征在于,所述在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的滑动方向为向左滑动或向右滑动,则在所述电子设备上显示第一屏幕窗口界面,包括:
    在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的滑动方向为向左滑动,则在所述触摸屏的屏幕左下角显示所述第一屏幕窗口界面;
    在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的滑动方向为向右滑动,则在所述触摸屏的屏幕右下角显示所述第一屏幕窗口界面。
  5. 如权利要求3所述的显示控制方法,其特征在于,所述在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的滑动方向为向下滑动,则在所述电子设备上显示半屏幕窗口界面,包括:
    在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的滑动方向为向下滑动,则在所述触摸屏的屏幕下半部分显示所述第二屏幕窗口界面。
  6. 如权利要求2所述的显示控制方法,其特征在于,所述在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的滑动方向为预定方向,则在所述电子设备上显示单手操作界面,包括:
    在所述多任务界面下,若检测到所述用户在所述触摸屏上输入的滑动方向为预定方向,且滑动到预定区域,则在所述电子设备上显示单手操作界面。
  7. 如权利要求1至6任一项所述的显示控制方法,其特征在于,若检测到所述用户在所述触摸屏上输入的第二触摸操作事件,则在所述电子设备上显示单手操作界面, 包括:
    若检测到所述用户在所述触摸屏上输入的第二触摸操作事件,则以预设加速度移动所述第二触摸操作事件对应的操作对象,并在移动到预定位置后将所述操作对象转换成所述单手操作界面进行显示。
  8. 一种电子设备,其特征在于,包括:一个或多个处理器、存储器和显示屏;
    所述存储器、所述显示屏与所述一个或多个处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令;
    当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备实现如权利要求1-7中任一项所述的显示控制方法。
  9. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被运行时,实现如权利要求1至7任一项所述显示控制方法。
  10. 一种计算机程序产品,其特征在于,所述计算机程序产品在所述电子设备上运行时,使得所述电子设备实现如权利要求1至7任一项所述显示控制方法。
PCT/CN2021/082873 2020-05-29 2021-03-25 显示控制方法、电子设备和计算机可读存储介质 WO2021238370A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21813426.0A EP4145809A4 (en) 2020-05-29 2021-03-25 DISPLAY CONTROL METHOD, ELECTRONIC DEVICE AND COMPUTER READABLE STORAGE MEDIUM
US18/000,083 US20230205417A1 (en) 2020-05-29 2021-03-25 Display Control Method, Electronic Device, and Computer-Readable Storage Medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010479287.6A CN113746961A (zh) 2020-05-29 2020-05-29 显示控制方法、电子设备和计算机可读存储介质
CN202010479287.6 2020-05-29

Publications (1)

Publication Number Publication Date
WO2021238370A1 true WO2021238370A1 (zh) 2021-12-02

Family

ID=78725058

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/082873 WO2021238370A1 (zh) 2020-05-29 2021-03-25 显示控制方法、电子设备和计算机可读存储介质

Country Status (4)

Country Link
US (1) US20230205417A1 (zh)
EP (1) EP4145809A4 (zh)
CN (1) CN113746961A (zh)
WO (1) WO2021238370A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116088716A (zh) * 2022-06-13 2023-05-09 荣耀终端有限公司 窗口管理方法和终端设备

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114721574A (zh) * 2022-04-08 2022-07-08 Oppo广东移动通信有限公司 单手操作模式的控制方法、装置、电子设备以及存储介质
WO2023195681A1 (ko) * 2022-04-08 2023-10-12 삼성전자 주식회사 그립 형태에 따라 한 손 모드 화면의 속성을 제어하는 전자 장치 및 그 제어 방법
CN116088725B (zh) * 2022-06-20 2024-06-04 荣耀终端有限公司 界面显示方法和装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309604A (zh) * 2012-11-16 2013-09-18 中兴通讯股份有限公司 一种终端及终端屏幕显示信息控制方法
CN104298433A (zh) * 2014-09-30 2015-01-21 小米科技有限责任公司 屏幕显示方法、装置及移动终端
WO2015180013A1 (zh) * 2014-05-26 2015-12-03 华为技术有限公司 一种终端的触摸操作方法及装置
WO2016138661A1 (zh) * 2015-03-05 2016-09-09 华为技术有限公司 终端的用户界面的处理方法、用户界面和终端
CN107301010A (zh) * 2017-06-16 2017-10-27 三星电子(中国)研发中心 用于电子终端的显示控制方法和设备

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855073B (zh) * 2011-06-30 2016-03-30 联想(北京)有限公司 电子设备及其信息处理方法
KR101496512B1 (ko) * 2012-03-08 2015-02-26 엘지전자 주식회사 이동 단말기 및 그 제어방법
CN104571918B (zh) * 2015-01-26 2018-11-20 努比亚技术有限公司 终端单手操作界面触发方法和装置
US20220035521A1 (en) * 2016-03-28 2022-02-03 Apple Inc. Multifunction device control of another electronic device
US11054988B2 (en) * 2017-06-30 2021-07-06 Huawei Technologies Co., Ltd. Graphical user interface display method and electronic device
DK180316B1 (en) * 2018-06-03 2020-11-06 Apple Inc Devices and methods for interacting with an application switching user interface
CN109445658A (zh) * 2018-10-19 2019-03-08 北京小米移动软件有限公司 一种切换显示模式的方法、装置、移动终端和存储介质
CN114779987B (zh) * 2019-01-15 2024-05-14 Oppo广东移动通信有限公司 显示内容的方法、装置、终端及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309604A (zh) * 2012-11-16 2013-09-18 中兴通讯股份有限公司 一种终端及终端屏幕显示信息控制方法
WO2015180013A1 (zh) * 2014-05-26 2015-12-03 华为技术有限公司 一种终端的触摸操作方法及装置
CN104298433A (zh) * 2014-09-30 2015-01-21 小米科技有限责任公司 屏幕显示方法、装置及移动终端
WO2016138661A1 (zh) * 2015-03-05 2016-09-09 华为技术有限公司 终端的用户界面的处理方法、用户界面和终端
CN107301010A (zh) * 2017-06-16 2017-10-27 三星电子(中国)研发中心 用于电子终端的显示控制方法和设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116088716A (zh) * 2022-06-13 2023-05-09 荣耀终端有限公司 窗口管理方法和终端设备
CN116088716B (zh) * 2022-06-13 2023-12-08 荣耀终端有限公司 窗口管理方法和终端设备

Also Published As

Publication number Publication date
US20230205417A1 (en) 2023-06-29
EP4145809A4 (en) 2023-11-08
CN113746961A (zh) 2021-12-03
EP4145809A1 (en) 2023-03-08

Similar Documents

Publication Publication Date Title
WO2020259452A1 (zh) 一种移动终端的全屏显示方法及设备
WO2021213164A1 (zh) 应用界面交互方法、电子设备和计算机可读存储介质
WO2021017889A1 (zh) 一种应用于电子设备的视频通话的显示方法及相关装置
WO2020134869A1 (zh) 电子设备的操作方法和电子设备
WO2021000881A1 (zh) 一种分屏方法及电子设备
WO2021169337A1 (zh) 屏下指纹显示方法及电子设备
WO2021036585A1 (zh) 一种柔性屏显示方法和电子设备
WO2021036770A1 (zh) 一种分屏处理方法及终端设备
CN111176506A (zh) 一种屏幕显示方法及电子设备
WO2021057343A1 (zh) 一种对电子设备的操作方法及电子设备
WO2021063237A1 (zh) 电子设备的控制方法及电子设备
KR20210068097A (ko) 시스템 탐색 바 표시 제어 방법, 그래픽 사용자 인터페이스 및 전자 디바이스
WO2021238370A1 (zh) 显示控制方法、电子设备和计算机可读存储介质
WO2020000448A1 (zh) 一种柔性屏幕的显示方法及终端
WO2021078032A1 (zh) 用户界面的显示方法及电子设备
WO2021082564A1 (zh) 一种操作提示的方法和电子设备
WO2021082815A1 (zh) 一种显示要素的显示方法和电子设备
WO2020088633A1 (zh) 支付方法、装置和用户设备
WO2022037726A1 (zh) 分屏显示方法和电子设备
WO2021218429A1 (zh) 应用窗口的管理方法、终端设备及计算机可读存储介质
WO2022143180A1 (zh) 协同显示方法、终端设备及计算机可读存储介质
WO2021037034A1 (zh) 一种应用状态切换方法及终端设备
WO2021042878A1 (zh) 一种拍摄方法及电子设备
CN114173005B (zh) 一种应用布局控制方法、装置、终端设备及计算机可读存储介质
WO2024139257A1 (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: 21813426

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021813426

Country of ref document: EP

Effective date: 20221129

NENP Non-entry into the national phase

Ref country code: DE