Operation method of electronic equipment, electronic equipment and computer readable storage medium

By introducing new gesture operation methods in electronic devices, the problem of users returning to the application homepage and switching applications being cumbersome is solved, achieving a more efficient and natural user experience.

CN120704566APending Publication Date: 2025-09-26HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410296342.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-15
Publication Date
2025-09-26

AI Technical Summary

Technical Problem

In the prior art, when users return to the application homepage and switch applications in electronic devices, the operations are cumbersome, the user experience is poor, and the gesture operations are unnatural.

Method used

The operation process has been simplified by introducing new gesture operation methods, including swiping inward from the side of the screen and then swiping down to return to the app homepage, and swiping diagonally up or down to switch apps.

Benefits of technology

It improves the efficiency of users returning to the application homepage and switching applications, simplifies gesture operations, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120704566A_ABST
    Figure CN120704566A_ABST
Patent Text Reader

Abstract

According to the operation method of the electronic equipment, the electronic equipment and the computer readable storage medium provided by the embodiment of the invention, in the operation method of the electronic equipment, after the electronic equipment runs the first application, the electronic equipment displays a page corresponding to the operation in response to the operation of a user for the first application, and then the page is displayed in response to the operation. In response to the first gesture operation of the user on the page, the electronic equipment displays the home page of the first application, so that the user can return to the home page of the first application only through one-time gesture operation, the gesture operation of the user is simplified, the gesture operation efficiency is improved, and the user experience can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of smart terminal technology, and in particular to an operating method of an electronic device, an electronic device, and a computer-readable storage medium. Background Art

[0002] Currently, various mobile applications (APPs) are extremely popular. Users can browse various pages within an APP to obtain the information they need. However, after browsing multiple pages within an APP, users need to perform multiple operations to return to the homepage, resulting in a poor user experience.

[0003] In addition, in the existing system navigation gestures, when quickly switching applications, users need to swipe up from the bottom to enter the multitasking interface, and then swipe horizontally at the bottom of the multitasking interface to switch the application running in the foreground. The gesture operation is not natural enough.

[0004] In addition, when switching the size of desktop cards or modifying the size of folders on the desktop, the current gesture operation also requires multiple steps and takes a long time, resulting in a poor user experience. Summary of the Invention

[0005] Embodiments of the present application provide an operating method of an electronic device, an electronic device, and a computer-readable storage medium to simplify gesture operations applied in the electronic device and improve user experience.

[0006] In a first aspect, an embodiment of the present application provides a method for operating an electronic device, comprising: running a first application; in response to a user's operation on the first application, displaying a page corresponding to the operation; wherein the page corresponding to the operation includes other pages other than the homepage of the first application; in response to a first gesture operation of the user on the page, displaying the homepage of the first application; wherein the first gesture operation includes the user's finger sliding from the side of the screen of the electronic device into the screen and then sliding downward.

[0007] In a second aspect, an embodiment of the present application provides a method for operating an electronic device, including: running a first application in the foreground and displaying a first page of the first application; switching the application running in the foreground from the first application to a second application in response to a second gesture operation of the user on the first page; wherein the second gesture operation includes the user's finger sliding diagonally upward or downward on the first page; the second application includes the previous application running in the foreground before the first application.

[0008] In one possible implementation, before the first application is run in the foreground, the process also includes: running the second application in the foreground and displaying the second page of the second application; and running the first application in the foreground includes: running the first application in the foreground in response to a third gesture operation of the user.

[0009] In one possible implementation, the third gesture operation includes an operation performed by the user on the second page to trigger the running of the first application.

[0010] In one possible implementation, before running the first application in the foreground in response to the user's third gesture operation, it also includes: switching the second application to run in the background in response to the user's fourth gesture operation; the third gesture operation includes the operation of the user's finger on the first application icon.

[0011] In one possible implementation, after switching the application running in the foreground from the first application to the second application, the process further includes: displaying a third page of the second application; and switching the application running in the foreground from the second application to the first application in response to a second gesture operation of the user on the third page.

[0012] In one possible implementation, the method further includes: recording the order of applications running in the foreground of the electronic device; switching the application running in the foreground from the first application to the second application in response to the user's second gesture operation on the first page includes: in response to the user's second gesture operation on the first page, obtaining the application running in the foreground before the first application as the second application from the recorded order; and switching the application running in the foreground from the first application to the second application.

[0013] In one possible implementation, after switching the application running in the foreground from the first application to the second application, the method further includes: displaying a third page of the second application; in response to a second gesture operation of the user on the third page, obtaining the application running in the foreground before the second application as a third application from the recorded sequence; and switching the application running in the foreground from the second application to the third application.

[0014] In a third aspect, an embodiment of the present application provides a method for operating an electronic device, comprising: detecting a user touching a first hotspot area of ​​a card with two fingers; if the current first size of the card is smaller than the maximum size of the card and is greater than or equal to the minimum size of the card, in response to the user's two-finger zoom-in operation in the first hotspot area, enlarging the size of the card to a second size; wherein the second size is larger than the first size and is less than or equal to the maximum size of the card.

[0015] In one possible implementation, after detecting that the user touches the first hotspot area of ​​the card with two fingers, the method further includes: if the current first size of the card is larger than the minimum size of the card and smaller than or equal to the maximum size of the card, in response to the user's two-finger pinch-out operation in the first hotspot area, reducing the size of the card to a third size; wherein the third size is smaller than the first size and larger than or equal to the minimum size of the card.

[0016] In one possible implementation, after detecting that the user touches the first hotspot area of ​​the card with two fingers, the method further includes prompting the user that the card has been selected.

[0017] In a fourth aspect, an embodiment of the present application provides a method for operating an electronic device, comprising: detecting a user touching a second hotspot area of ​​a folder with two fingers; if the current fourth size of the folder is smaller than the maximum size of the folder and is greater than or equal to the minimum size of the folder, in response to the user's two-finger zoom-in operation in the second hotspot area, enlarging the size of the folder to a fifth size; wherein the fifth size is larger than the fourth size and is less than or equal to the maximum size of the folder.

[0018] In one possible implementation, after detecting that the user touches the second hotspot area of ​​the folder with two fingers, it also includes: if the current fourth size of the folder is equal to the maximum size of the folder, in response to the user's two-finger zoom-in operation in the second hotspot area, disbanding the folder; and displaying the icons of the applications included in the folder on the desktop of the electronic device.

[0019] In one possible implementation, after detecting that the user touches the second hotspot area of ​​the folder with two fingers, the method further includes: if the current fourth size of the folder is larger than the minimum size of the folder and smaller than or equal to the maximum size of the folder, in response to the user's two-finger pinch-out operation in the second hotspot area, reducing the size of the folder to a sixth size; wherein the sixth size is smaller than the fourth size, and the sixth size is larger than or equal to the minimum size of the folder.

[0020] In one possible implementation, after detecting that the user touches the second hotspot area of ​​the folder with two fingers, the method further includes prompting the user that the folder has been selected.

[0021] In a fifth aspect, an embodiment of the present application provides an electronic device comprising: one or more processors; a memory; multiple applications; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the electronic device, enable the electronic device to execute the method provided in the first aspect, the second aspect, the third aspect or the fourth aspect.

[0022] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the method provided in the first aspect, the second aspect, the third aspect or the fourth aspect.

[0023] In a seventh aspect, an embodiment of the present application provides a computer program, which, when executed by a computer, is used to execute the method provided in the first aspect, the second aspect, the third aspect or the fourth aspect.

[0024] In one possible design, the program in the seventh aspect may be stored in whole or in part on a storage medium packaged with the processor, or may be stored in whole or in part on a memory not packaged with the processor. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application;

[0026] Figure 2(a) to Figure 2(d) A schematic diagram of the various levels of pages for a music player application;

[0027] Figure 3 A flowchart of a method for operating an electronic device according to an embodiment of the present application;

[0028] Figure 4 A schematic diagram of a first gesture operation provided in one embodiment of the present application;

[0029] Figure 5 A schematic diagram of entering a multi-tasking interface in the prior art;

[0030] Figure 6 A schematic diagram of switching a currently running application in the prior art;

[0031] Figure 7 A flowchart of a method for operating an electronic device provided in another embodiment of the present application;

[0032] Figure 8 A schematic diagram of triggering the execution of a first application according to an embodiment of the present application;

[0033] Figure 9 A schematic diagram of a second gesture operation provided in one embodiment of the present application;

[0034] Figure 10 A schematic diagram of a second gesture operation provided in another embodiment of the present application;

[0035] Figure 11 A schematic diagram of triggering the execution of a first application according to another embodiment of the present application;

[0036] Figure 12 A flowchart of a method for operating an electronic device provided in yet another embodiment of the present application;

[0037] Figure 13 A schematic diagram of switching an application running in the foreground of an electronic device 100 according to one embodiment of the present application;

[0038] Figure 14 A schematic diagram of changing the card size in the prior art;

[0039] Figure 15 A flowchart of a method for operating an electronic device provided in yet another embodiment of the present application;

[0040] Figure 16 A schematic diagram of an enlarged card size provided in accordance with an embodiment of the present application;

[0041] Figure 17 A schematic diagram of reducing the size of a card provided in one embodiment of the present application;

[0042] Figure 18 A schematic diagram of gradually enlarging the card size according to an embodiment of the present application;

[0043] Figure 19 A schematic diagram of changing the size of a folder in the prior art;

[0044] Figure 20 A flowchart of a method for operating an electronic device provided in yet another embodiment of the present application;

[0045] Figure 21 A schematic diagram of an enlarged folder size provided in accordance with an embodiment of the present application;

[0046] Figure 22 A schematic diagram of an enlarged file folder size provided for another embodiment of the present application;

[0047] Figure 23 A schematic diagram of reducing the size of a folder provided in one embodiment of the present application;

[0048] Figure 24 A schematic diagram of gradually enlarging the size of a folder provided by one embodiment of the present application;

[0049] Figure 25 A schematic structural diagram of an electronic device provided in another embodiment of the present application. DETAILED DESCRIPTION

[0050] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.

[0051] In the existing related technologies, when users use APPs installed in electronic devices, there are problems such as many operations required to return to the application homepage, inconvenience in switching currently running applications, and cumbersome operations to modify the desktop card size or folder size. Based on the above problems, the embodiments of the present application provide an operating method for an electronic device, which can simplify the gesture operations of applications in electronic devices and improve the user experience.

[0052] The operating method of an electronic device provided in the embodiments of the present application can be applied to electronic devices, wherein the above-mentioned electronic devices can be smart phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPCs), netbooks or personal digital assistants (PDAs), etc.; the embodiments of the present application do not impose any restrictions on the specific type of electronic devices.

[0053] For example, Figure 1 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application is shown in FIG. Figure 1As shown, 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, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. 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, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0054] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0055] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.

[0056] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0057] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0058] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.

[0059] The USB interface 130 is an interface that complies with USB standards and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, or to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices, such as augmented reality devices.

[0060] It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.

[0061] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device 100 via the power management module 141.

[0062] 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 provides power to the processor 110, the internal memory 121, the display 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 count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0063] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0064] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in 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. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.

[0065] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G 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), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0066] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is 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. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0067] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can 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 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0068] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to 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), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-CDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0069] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0070] Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.

[0071] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.

[0072] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.

[0073] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0074] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it 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 frequency point energy.

[0075] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. This allows electronic device 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.

[0076] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU can enable intelligent cognitive applications in electronic device 100, such as image recognition, face recognition, speech recognition, and text comprehension.

[0077] The external memory interface 120 can 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 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0078] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, 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 disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.

[0079] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0080] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.

[0081] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or listen to hands-free calls through the speaker 170A.

[0082] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, the user can place the receiver 170B close to the ear to hear the voice.

[0083] Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, realize directional recording function, etc.

[0084] The headphone jack 170D is used to connect a wired headphone and can be the USB interface 130 or a 3.5mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0085] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be located on display screen 194. There are many types of pressure sensors 180A, such as resistive, inductive, and capacitive. A capacitive pressure sensor can include at least two parallel plates made of conductive material. When force acts on pressure sensor 180A, the capacitance between the electrodes changes. Electronic device 100 determines the intensity of the pressure based on this change in capacitance. When a touch operation is applied to display screen 194, electronic device 100 detects the touch intensity based on pressure sensor 180A. Electronic device 100 can also calculate the touch location based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch location but with different touch intensities can correspond to different operation instructions. For example, when a touch operation with an intensity less than a first pressure threshold is applied to a short message application icon, a command to view short messages is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to a short message application icon, a command to create a new short message is executed.

[0086] The touch sensor 180K is also called a "touch-sensitive device." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, at a location different from that of the display screen 194.

[0087] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.

[0088] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0089] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.

[0090] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 100 by inserting it into or removing it from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 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 calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0091] For ease of understanding, the following examples of this application will be described with Figure 1 Taking the electronic device with the structure shown as an example, the operating method of the electronic device provided by the embodiment of the present application is specifically explained in combination with the accompanying drawings and application scenarios.

[0092] In existing technologies, users can navigate between page levels using gesture navigation while browsing an app. Specifically, to return to the previous page, users can use a swipe gesture from the side of the screen. However, when a user navigates multiple levels of pages within an app and wants to return to the app's homepage, they must perform multiple actions, resulting in a poor user experience. Figure 2(a) to Figure 2(d) This is a schematic diagram of the various levels of pages of a music player application. Specifically, see Figure 2(a). After the user clicks the icon 21 of a music player application installed in the electronic device 100, the electronic device 100 displays the homepage of the music player application, as shown in Figure 2(b).

[0093] Next, assuming that the user clicks the "My" icon 22 shown in Figure 2(b), the electronic device 100 displays the page shown in Figure 2(c). In the interface shown in Figure 2(c), assuming that the user clicks the "I Like" icon 23, the electronic device 100 displays the page shown in Figure 2(d).

[0094] When the electronic device 100 currently displays the page shown in Figure 2(d), if the user wants to return to the homepage of the music player application, the user needs to perform a swipe gesture operation from the side of the screen to the inside of the screen on the page shown in Figure 2(d), as shown in 24 in Figure 2(d). In response to gesture operation 24, the electronic device 100 displays the page one level above the page shown in Figure 2(d), that is, the page shown in Figure 2(c); on the page shown in Figure 2(c), the user continues to perform the swipe gesture operation from the side of the screen to the inside of the screen, and the electronic device 100 displays the page one level above the page shown in Figure 2(c), that is, the homepage of the music player application, that is, the page shown in Figure 2(b). In this example, after the user browses to the second-level page of the music player application, the user needs to perform the swipe gesture operation from the side of the screen to the inside of the screen twice before returning to the homepage of the music player application.

[0095] As can be seen from the above, in the existing related technologies, if a user browses to the Nth level page of an app while using the app, the user needs to perform N swipe gestures from the side of the screen to return to the homepage of the app. This operation is cumbersome, inefficient, and poor in user experience. Where N is a positive integer, N ≥ 1.

[0096] In order to solve the above problems, the present invention provides an operating method of an electronic device. Figure 3 A flowchart of an operating method of an electronic device provided in one embodiment of the present application is shown as follows: Figure 3 As shown, the operating method of the electronic device may include:

[0097] Step 301: The electronic device 100 runs a first application.

[0098] In some examples, the first application may be the music player application in FIG. 2( a ). After the user clicks the icon 21 of the music player application in the page shown in FIG. 2( a ), the electronic device 100 runs the first application.

[0099] Step 302: In response to the user's operation on the first application, the electronic device 100 displays a page corresponding to the operation.

[0100] The pages corresponding to the above operations include other pages except the homepage of the first application.

[0101] In some examples, the user's operation on the first application may be the user's operation on the homepage of the first application, for example, the user clicks the "My" icon 22 on the page shown in Figure 2(b); or, the user's operation on the first application may be the user's operation on a page of the first application other than the homepage, for example, the user clicks the "I Like" icon 23 on the page shown in Figure 2(c); of course, this embodiment is not limited to this, and this embodiment does not limit the user's operation on the first application.

[0102] Step 303: In response to the user's first gesture operation on the above page, the electronic device 100 displays the homepage of the first application.

[0103] The first gesture operation includes sliding the user's finger from the side of the screen of the electronic device 100 toward the inside of the screen and then sliding downward.

[0104] by Figure 2(b) to Figure 2(d) Taking the music player application shown in FIG2 as an example, the first application can be the music player application, and the homepage of the first application can be the page shown in FIG2(b). The user's operation on the first application can be the user clicking the "I like" icon 23 on the page shown in FIG2(c). In response to this operation, the electronic device 100 displays the page shown in FIG2(d).

[0105] After the user has browsed the page shown in FIG2(d), when he wants to return to the homepage of the first application, the user can perform the first gesture operation on the page shown in FIG2(d), such as Figure 4 As shown in 41 and 42, the first gesture operation can be the user's finger sliding from the left side of the screen of the electronic device 100 to the above-mentioned screen and then sliding downward, or the user's finger sliding from the right side of the screen of the electronic device 100 to the above-mentioned screen and then sliding downward, which is not limited in this embodiment. Figure 4 A schematic diagram of a first gesture operation provided in accordance with an embodiment of the present application.

[0106] See also Figure 4 In response to the user's first gesture operation, the electronic device 100 displays the homepage of the first application. That is to say, on the page shown in FIG2(d), the user only needs to perform the first gesture operation once to return to the homepage of the first application. Compared with the existing related art, when the user browses to the page shown in FIG2(d), it is necessary to perform two gesture operations of sliding from the side of the screen to the inside of the screen to return to the homepage of the first application. In the method provided in this embodiment, when the user browses to the page shown in FIG2(d), it is only necessary to perform the first gesture operation once to return to the homepage of the first application, thereby simplifying the user's gesture operation, improving the efficiency of gesture operation, and improving the user experience.

[0107] In the operating method of the above-mentioned electronic device, after the electronic device 100 runs the first application, in response to the user's operation on the first application, the electronic device 100 displays the page corresponding to the above-mentioned operation, and then, in response to the user's first gesture operation on the above-mentioned page, the electronic device 100 displays the homepage of the first application, so that the user only needs one gesture operation to return to the homepage of the first application, which simplifies the user's gesture operation, improves the efficiency of the gesture operation, and thus improves the user experience.

[0108] In the prior art, when a user wants to switch the currently running application while using the electronic device 100, the user can slide up from the bottom of the current display interface of the electronic device 100 to enter the multitasking interface, such as Figure 5 As shown, Figure 5 The left side of the figure shows the interface of the music player application currently running on the electronic device 100. The user slides his finger upwards from the bottom of the interface of the music player application, and the electronic device 100 displays the multitasking interface, such as Figure 5 As shown in the figure on the right. Figure 5 Schematic diagram of entering a multi-tasking interface in the existing related technology.

[0109] After entering the multitasking interface, Figure 6 As shown in the left figure, the user can first perform a horizontal sliding operation 61 at the bottom of the multitasking interface, and then click on the view of the application 2 to be switched (as shown in 62), so that the application currently running on the electronic device 100 can be switched from the music player application to the application 2. Figure 6 As shown in the figure on the right, Figure 6 The image on the right shows the interface of Application 2. Figure 6 A schematic diagram of switching a currently running application in the prior art.

[0110] Thus, in the existing related technologies, when switching the currently running application, the user needs to perform at least three steps to achieve the switch. The existing gesture operation is inefficient and unnatural.

[0111] In order to solve the above problems, the present invention provides an operating method of an electronic device. Figure 7 A flowchart of an operating method of an electronic device provided in another embodiment of the present application is shown in FIG. Figure 7 As shown, the operating method of the electronic device may include:

[0112] Step 701: The electronic device 100 runs a first application in the foreground and displays a first page of the first application.

[0113] Step 702: In response to the user's second gesture operation on the first page, the electronic device 100 switches the application running in the foreground from the first application to the second application.

[0114] The second gesture operation includes sliding the user's finger diagonally upward or diagonally downward on the first page.

[0115] In this embodiment, the second application may include a previous application that was running in the foreground before the first application.

[0116] In one implementation, before the electronic device 100 runs the first application in the foreground, it runs the second application in the foreground and displays the second page of the second application; then, in response to a third gesture operation by the user, it runs the first application in the foreground. The third gesture operation can be an operation performed by the user on the second page to trigger the running of the first application. For example, see Figure 8 In the left figure, the second application can be an instant messaging application. Friend A sends a video link to the user. The user clicks on video link A in the message viewing interface of friend A. Here, the message viewing interface of friend A is the second page mentioned above. The operation of the user clicking on video link A is the third gesture operation mentioned above. In response to the operation of the user clicking on video link A, the electronic device 100 runs the video playback application in the foreground and plays the video content corresponding to video link A, such as Figure 8 As shown in the figure on the right, the video playback application is the first application. Figure 8 The page shown on the right is the first page. Figure 8 A schematic diagram of triggering the execution of a first application provided in accordance with an embodiment of the present application.

[0117] Next, in response to the user's second gesture operation on the first page, the electronic device 100 switches the application running in the foreground from the video playback application to the instant messaging application, such as Figure 9 As shown, Figure 9 In the left figure, 91 is the second gesture operation of the user on the first page. In this example, the second gesture operation is an oblique downward slide. In response to the second gesture operation, the electronic device 100 switches the application running in the foreground from the video playback application to the instant messaging application, and displays the third page of the instant messaging application, such as Figure 9 As shown in the figure on the right, the third page can be the same as the second page or different from the second page. Figure 9 The third page shown in the right picture is the message list page of the instant messaging application, which is different from the second page. Figure 9 A schematic diagram of a second gesture operation provided in accordance with an embodiment of the present application.

[0118] At this time, the application running in the foreground of the electronic device 100 is an instant messaging application, so next, see Figure 10 In response to the user's second gesture operation 1001 on the third page, the electronic device 100 can switch the application running in the foreground from the instant messaging application to the video playback application. Figure 10A schematic diagram of a second gesture operation provided in another embodiment of the present application.

[0119] In another implementation, before the electronic device 100 runs the first application in the foreground, it runs the second application in the foreground and displays the second page of the second application; then, in response to the fourth gesture operation of the user, the electronic device 100 switches the second application to run in the background; for example, see Figure 11 In the left figure, the second application can be an instant messaging application, the second page can be a message viewing interface of friend A, and the fourth gesture operation can be a user quickly sliding up from the bottom of the second page. In response to the user's fourth gesture operation 1101, the electronic device 100 switches the instant messaging application to background operation and displays the main interface of the electronic device 100, such as Figure 11 Then, in response to the user's third gesture operation, the electronic device 100 runs the video playback application in the foreground, wherein the third gesture operation can be a click operation of the user on the "Huawei Video" icon 1102 on the main interface of the electronic device 100. In response to the third gesture operation, the electronic device 100 runs the video playback application in the foreground and displays the first page of the video playback application, as shown in FIG. Figure 11 As shown in the figure on the right. Figure 11 A schematic diagram of triggering the execution of a first application provided in accordance with another embodiment of the present application.

[0120] It should be noted that Figure 11 The fourth gesture operation shown is only an example, and this embodiment is not limited to this. The above-mentioned fourth gesture operation may include any operation that can switch the second application to background running, for example: continuously sliding inward from the side of the screen. This embodiment does not limit the specific form of the above-mentioned fourth gesture operation.

[0121] Next, in response to the user's second gesture operation on the first page, the electronic device 100 switches the application running in the foreground from the video playback application to the instant messaging application, such as Figure 9 As shown, Figure 9 In the left figure, 91 is the second gesture operation of the user on the first page. In this example, the second gesture operation is an oblique downward slide. In response to the second gesture operation, the electronic device 100 switches the application running in the foreground from the video playback application to the instant messaging application, and displays the third page of the instant messaging application, such as Figure 9 As shown in the figure on the right, the third page can be the same as the second page or different from the second page. Figure 9 The third page shown in the right picture is the message list page of the instant messaging application, which is different from the second page.

[0122] At this time, the application running in the foreground of the electronic device 100 is an instant messaging application, so next, see Figure 10In response to the user's second gesture operation 1001 on the third page, the electronic device 100 can switch the application running in the foreground from the instant messaging application to the video playback application.

[0123] In the operating method of the above-mentioned electronic device, the electronic device 100 runs a first application in the foreground and displays the first page of the first application. Then, in response to the user's second gesture operation on the above-mentioned first page, the electronic device 100 switches the application running in the foreground from the first application to the second application, wherein the second application is the previous application running in the foreground before the first application. The second gesture operation can be the user's finger sliding diagonally upward or downward on the first page, so that the application running in the foreground of the electronic device 100 can be switched through one gesture operation, thereby improving the efficiency of gesture operation and improving user experience.

[0124] Figure 12 A flowchart of an operating method of an electronic device provided in another embodiment of the present application is shown in FIG. Figure 12 As shown, the operating method of the electronic device may further include:

[0125] In step 1201 , the electronic device 100 records the order of applications running in the foreground of the electronic device 100 .

[0126] Thus, step 702 may be:

[0127] Step 1202 : In response to the user's second gesture operation on the first page, the electronic device 100 obtains the application running in the foreground before the first application from the recorded sequence as the second application.

[0128] In step 1203 , the electronic device 100 switches the application running in the foreground from the first application to the second application.

[0129] Furthermore, after step 1203, the following steps may also be included:

[0130] Step 1204 : The electronic device 100 displays the third page of the second application.

[0131] Step 1205 , in response to the user's second gesture operation on the third page, the electronic device 100 obtains the application running in the foreground before the second application from the recorded sequence as the third application.

[0132] In step 1206 , the electronic device 100 switches the application running in the foreground from the second application to the third application.

[0133] In this embodiment, the applications running in the foreground of the electronic device 100 are, in chronological order from front to back, the third application, the second application, and the first application. That is, the application currently running in the foreground of the electronic device 100 is the first application, the application running in the foreground before the first application is the second application, and the application running in the foreground before the second application is the third application.

[0134] For example, the first application is a video player application, the second application is an instant messaging application, and the third application is a music player application. Figure 13 In the left figure, in response to the user's second gesture operation 1301 on the first page, the electronic device 100 obtains from the recorded sequence that the application running in the foreground before the video playback application is the instant messaging application, switches the application running in the foreground from the video playback application to the instant messaging application, and displays the third page of the instant messaging application, as shown in FIG. Figure 13 As shown in the middle figure, in response to the user's second gesture operation 1302 on the third page, the electronic device 100 obtains from the recorded sequence that the application running in the foreground before the instant messaging application is the music playing application, and switches the application running in the foreground from the instant messaging application to the music playing application, as shown in FIG. Figure 13 As shown in the figure on the right. Figure 13 A schematic diagram of switching applications running in the foreground of an electronic device 100 provided in one embodiment of the present application.

[0135] In this embodiment, the electronic device 100 records the order of applications running in the foreground. In response to the user's second gesture operation, the electronic device 100 can switch the application running in the foreground from the first application to the second application, and then in response to the user's second gesture operation, switch the application running in the foreground from the second application to the third application. In this way, it is possible to switch the applications running in the foreground of the electronic device 100 through one gesture operation, thereby improving the efficiency of gesture operations and improving user experience.

[0136] In the existing related technology, see Figure 14 In the left figure, for a card 1401 displayed on the desktop of the electronic device 100, if the user wants to change the size of the card 1401, the user needs to long press the card 1401. In response to the long press operation of the user, the electronic device 100 can display an interface 1402. Then, the user clicks the option "Show as large card" in the interface 1402. In response to the user's click operation, the electronic device 100 changes the card 1401 to a larger size. Figure 14 As shown in the figure on the right, 1403. It can be understood that changing a card from a larger size to a smaller size is also the same operation. That is to say, in the existing related technology, the user needs to perform at least two operations before changing the size of the card. The operation is relatively complicated and the user experience is poor. Figure 14A schematic diagram of changing the card size in the prior art.

[0137] In order to solve the above problems, the present invention provides an operating method of an electronic device. Figure 15 A flowchart of an operating method of an electronic device provided in another embodiment of the present application is shown in FIG. Figure 15 As shown, the operating method of the electronic device may include:

[0138] In step 1501, the electronic device 100 detects that a user touches a first hotspot area of ​​a card with two fingers, and then executes step 1502 or step 1503.

[0139] The two fingers of the user may be any two fingers of the ten fingers of the user. This embodiment does not limit the two fingers of the user. For example, the two fingers of the user may be the thumb and index finger of the user.

[0140] The first hotspot area may be an inner area of ​​the card. In one example, the first hotspot area may be a diagonal area of ​​the card, such as Figure 16 As shown in the middle left figure, when the user touches the diagonal area of ​​the card 1601 with two fingers, the electronic device 100 can detect that the user touches the first hot spot area of ​​the card 1601 with two fingers.

[0141] In this embodiment, after detecting that the user has touched the first hotspot area of ​​a card with two fingers, the electronic device 100 can prompt the user that the card has been selected. In specific implementations, the electronic device 100 can use vibration and / or card shaking to prompt the user that the card has been selected. Of course, this embodiment is not limited to this, and the electronic device 100 can also use other methods to prompt the user. This embodiment does not limit the prompt method used by the electronic device 100. The electronic device 100 prompts the user that the card has been selected, so that the user knows that their two-finger touch operation is effective, which facilitates the user to perform subsequent operations.

[0142] Step 1502: If the current first size of the card is smaller than the maximum size of the card and is greater than or equal to the minimum size of the card, in response to the user's two-finger zoom operation in the first hotspot area, the electronic device 100 enlarges the size of the card to the second size.

[0143] The second size is larger than the first size and smaller than or equal to the maximum size of the card.

[0144] See also Figure 16 In the left figure, the current first size of card 1601 is smaller than the maximum size of the card and is greater than or equal to the minimum size of the above card. In response to the user's two-finger zoom operation in the first hotspot area, the electronic device 100 enlarges the size of card 1601 to the second size, as shown in FIG. Figure 16As shown in the right figure, the enlarged card is shown as 1602. Figure 16 A schematic diagram of an enlarged card size provided for one embodiment of the present application.

[0145] Step 1503, if the current first size of the above-mentioned card is larger than the minimum size of the above-mentioned card and smaller than or equal to the maximum size of the above-mentioned card, in response to the user's two-finger zoom-out operation in the first hotspot area, the electronic device 100 reduces the size of the above-mentioned card to a third size.

[0146] The third size is smaller than the first size and is greater than or equal to the minimum size of the card.

[0147] like Figure 17 As shown in the left figure, when the user touches the diagonal area of ​​the card with two fingers, the electronic device 100 can detect that the user touches the first hotspot area of ​​the card with two fingers. At this time, if the current first size of the card 1701 is larger than the minimum size of the card and smaller than or equal to the maximum size of the card, then in response to the user's two-finger zooming operation in the first hotspot area, the electronic device 100 will reduce the size of the card 1701 to the third size, as shown in the figure below. Figure 17 As shown in the right figure, the reduced card is shown as 1702. Figure 17 A schematic diagram of reducing the card size provided in one embodiment of the present application.

[0148] Figure 16 and Figure 17 In the embodiment, a card having two sizes is used as an example for explanation, but the present embodiment is not limited thereto. A card may further include at least one intermediate size between a maximum size and a minimum size. Then, after the user touches the first hotspot area of ​​the card with two fingers, in response to the user's two-finger zoom operation in the first hotspot area, the electronic device 100 may gradually display the size of the enlarged card. When the user sees that the size of the card is enlarged to the size they want, they may remove their fingers from the screen. In this way, the final size of the card is the size when the user's fingers are removed from the screen. Figure 18 As shown, Figure 18 A schematic diagram of gradually enlarging the size of a card provided in one embodiment of the present application. Similarly, after a user touches the first hotspot area of ​​a card with two fingers, in response to the user's two-finger pinch-out operation on the first hotspot area, the electronic device 100 can gradually display the reduced size of the card. When the user sees that the size of the card has been reduced to the desired size, they can remove their fingers from the screen. In this way, the final size of the card is the size at the time when the user removed their fingers from the screen.

[0149] In the operating method of the above-mentioned electronic device, after the electronic device 100 detects that the user touches the first hotspot area of ​​the card with two fingers, if the current first size of the card is smaller than the maximum size of the card and is greater than or equal to the minimum size of the card, in response to the user's two-finger zoom-in operation in the first hotspot area, the electronic device 100 enlarges the size of the card to the second size; and if the current first size of the card is larger than the minimum size of the card and is smaller than or equal to the maximum size of the card, in response to the user's two-finger zoom-out operation in the first hotspot area, the electronic device 100 reduces the size of the card to the third size, so that the user only needs to perform one gesture operation to modify the size of the card, thereby improving the efficiency of gesture operation and improving user experience.

[0150] In the existing related technology, see Figure 19 In the left figure, for a folder 1901 displayed on the desktop of the electronic device 100, if the user wants to change the size of the folder 1901, the user needs to long press the folder 1901. In response to the long press operation of the user, the electronic device 100 can display an interface 1902. Then, the user clicks the "Display as Large Folder" option in the interface 1902. In response to the user's click operation, the electronic device 100 changes the folder 1901 to a larger size. Figure 19 As shown in the figure on the right, 1903. It can be understood that changing a folder from a larger size to a smaller size is also the same operation. That is to say, in the existing related technology, the user needs to perform at least two operations to change the size of the folder, which is more complicated and has a poor user experience. Figure 19 A schematic diagram of changing the size of a folder in the prior art.

[0151] In order to solve the above problems, the present invention provides an operating method of an electronic device. Figure 20 A flowchart of an operating method of an electronic device provided in another embodiment of the present application is shown in FIG. Figure 20 As shown, the operating method of the electronic device may include:

[0152] In step 2001, the electronic device 100 detects that a user touches a second hotspot area of ​​a folder with two fingers, and then executes step 2002, step 2003 or step 2005.

[0153] The two fingers of the user may be any two fingers of the ten fingers of the user. This embodiment does not limit the two fingers of the user. For example, the two fingers of the user may be the thumb and index finger of the user.

[0154] The second hotspot area can be the inner area of ​​the folder, such as Figure 21As shown in the middle left figure, when the user touches the inner area of ​​the folder 2101 with two fingers, the electronic device 100 can detect that the user touches the second hot spot area of ​​the folder 2101 with two fingers.

[0155] In this embodiment, after detecting that the user has touched the second hotspot area of ​​the folder with two fingers, the electronic device 100 can prompt the user that the folder has been selected. In specific implementations, the electronic device 100 can use vibration and / or shaking of the folder to prompt the user that the folder has been selected. Of course, this embodiment is not limited to this, and the electronic device 100 can also use other methods to prompt the user. This embodiment does not limit the prompt method used by the electronic device 100. The electronic device 100 prompts the user that the folder has been selected, so that the user knows that their two-finger touch operation is effective, which facilitates the user to perform subsequent operations.

[0156] Step 2002: If the current fourth size of the folder is smaller than the maximum size of the folder and greater than or equal to the minimum size of the folder, in response to the user's two-finger zoom operation in the second hotspot area, the electronic device 100 enlarges the size of the folder to the fifth size.

[0157] The fifth size is larger than the fourth size and smaller than or equal to the maximum size of the folder.

[0158] See also Figure 21 In the left figure, the current fourth size of the folder 2101 is smaller than the maximum size of the folder and is greater than or equal to the minimum size of the above-mentioned folder. In response to the user's two-finger zoom operation in the second hotspot area, the electronic device 100 enlarges the size of the folder 2101 to the fifth size, as shown in FIG. Figure 21 As shown in the right picture, the enlarged folder is shown as 2102. Figure 21 A schematic diagram of an enlarged folder size provided in one embodiment of the present application.

[0159] Step 2003: If the current fourth size of the folder is equal to the maximum size of the folder, in response to the user's two-finger zoom-in operation in the second hotspot area, the electronic device 100 closes the folder.

[0160] Step 2004 : The electronic device 100 displays the icons of the applications included in the folder on the desktop of the electronic device 100 .

[0161] See also Figure 22 In the left figure, the current fourth size of the folder 2201 is equal to the maximum size of the folder. In response to the user's two-finger zoom operation in the second hotspot area, the electronic device 100 disbands the folder and displays the icons of the applications included in the folder on the desktop of the electronic device 100, as shown in FIG. Figure 22 As shown in the picture on the right. Figure 22 A schematic diagram of an enlarged file folder size provided in accordance with another embodiment of the present application.

[0162] Step 2005: If the current fourth size of the folder is greater than the minimum size of the folder and less than or equal to the maximum size of the folder, in response to the user's two-finger zoom-out operation in the second hotspot area, the electronic device 100 reduces the size of the folder to the sixth size.

[0163] The sixth size is smaller than the fourth size, and the sixth size is greater than or equal to the minimum size of the folder.

[0164] like Figure 23 As shown in the left figure, when the user touches the inner area of ​​the folder with two fingers, the electronic device 100 can detect that the user touches the second hotspot area of ​​the folder with two fingers. At this time, if the current fourth size of the folder 2301 is greater than the minimum size of the folder and less than or equal to the maximum size of the folder, then in response to the user's two-finger reduction operation in the second hotspot area, the electronic device 100 reduces the size of the folder 2301 to the sixth size, as shown in FIG. Figure 23 As shown in the right figure, the reduced card is shown as 2302. Figure 23 A schematic diagram of reducing the size of a folder provided by one embodiment of the present application.

[0165] Figure 21 and Figure 23 In the embodiment, a folder having two sizes is used as an example for explanation, but the present embodiment is not limited thereto. A folder may further include at least one intermediate size between a maximum size and a minimum size. Then, after the user touches the second hotspot area of ​​the folder with two fingers, in response to the user's two-finger zoom operation in the second hotspot area, the electronic device 100 may gradually display the size of the enlarged folder. When the user sees that the size of the folder is enlarged to the size they want, they may remove their fingers from the screen. In this way, the final size of the folder is the size when the user's fingers are removed from the screen. Figure 24 As shown, Figure 24 A schematic diagram of gradually enlarging the size of a folder, provided in one embodiment of the present application. Similarly, after a user touches the second hotspot area of ​​a folder with two fingers, in response to the user's two-finger pinch-out operation on the second hotspot area, the electronic device 100 can gradually display the reduced size of the folder. When the user sees the folder size shrink to the desired size, they can remove their fingers from the screen, and the final size of the folder will be the size at the time the user removed their fingers from the screen.

[0166] In the operating method of the above-mentioned electronic device, after the electronic device 100 detects that the user touches the second hotspot area of ​​the folder with two fingers, if the current fourth size of the folder is smaller than the maximum size of the folder and is greater than or equal to the minimum size of the folder, in response to the user's two-finger zoom-in operation in the second hotspot area, the electronic device 100 enlarges the size of the folder to the fifth size. If the current fourth size of the folder is equal to the maximum size of the folder, in response to the user's two-finger zoom-in operation in the second hotspot area, the electronic device 100 disbands the folder and displays the icons of the applications included in the folder on the desktop of the electronic device 100. If the current fourth size of the folder is greater than the minimum size of the folder and is less than or equal to the maximum size of the folder, in response to the user's two-finger zoom-out operation in the second hotspot area, the electronic device 100 reduces the size of the folder to the sixth size, so that the user only needs to perform one gesture operation to modify the size of the folder, thereby improving the efficiency of gesture operation and improving user experience.

[0167] It is understood that some or all of the steps or operations in the above embodiments are merely examples, and the present application embodiments may also perform other operations or variations of various operations. In addition, the various steps may be performed in a different order than those presented in the above embodiments, and it is possible that not all of the operations in the above embodiments need to be performed.

[0168] It is understandable that, in order to realize the above functions, the electronic device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed in this application, this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of this application.

[0169] This embodiment can divide the electronic device into functional modules based on the above-mentioned method embodiment. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is illustrative and is only a logical functional division. In actual implementation, other division methods may be used.

[0170] Figure 25 This is a structural diagram of an electronic device provided by another embodiment of the present application, in which each functional module is divided according to each function. Figure 25A possible schematic diagram of the composition of the electronic device 2500 involved in the above embodiment is shown. Figure 25 As shown, the electronic device 2500 may include: a receiving unit 2501, a processing unit 2502 and a sending unit 2503;

[0171] Among them, the processing unit 2502 can be used to support the electronic device 2500 to execute steps 301 to 303, steps 701 to 702, steps 1201 to 1206, steps 1501 to 1503, and steps 2001 to 2005, and / or other processes of the technical solutions described in the embodiments of the present application.

[0172] It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.

[0173] The electronic device 2500 provided in this embodiment is used to execute the operating method of the electronic device described above, and thus can achieve the same effect as the above method.

[0174] It should be understood that the electronic device 2500 may correspond to Figure 1 The electronic device 100 shown in FIG. The functions of the receiving unit 2501 and the sending unit 2503 can be Figure 1 The processor 110, antenna 1 and mobile communication module 150 in the electronic device 100 shown, and / or, are implemented by the processor 110, antenna 2 and wireless communication module 160; the functions of the processing unit 2502 can be implemented by Figure 1 The processor 110, touch sensor 180K and display screen 194 in the electronic device 100 shown are implemented.

[0175] In the case of adopting an integrated unit, the electronic device 2500 may include a processing module, a storage module, and a communication module.

[0176] The processing module can be used to control and manage the operations of the electronic device 2500. For example, it can be used to support the electronic device 2500 in executing the steps performed by the receiving unit 2501, the processing unit 2502, and the sending unit 2503. The storage module can be used to support the electronic device 2500 in storing program code and data. The communication module can be used to support communication between the electronic device 2500 and other devices.

[0177] Among them, the processing module can be a processor or a controller, which can implement or execute the various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and so on. The storage module can be a memory. The communication module can specifically be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip and / or a Wi-Fi chip.

[0178] In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device 2500 involved in this embodiment can be a Figure 1 Device with the structure shown.

[0179] The embodiment of the present application also provides a computer-readable storage medium, which stores a computer program, which, when executed on a computer, enables the computer to execute the present application. Figures 3 to 24 The method provided by the illustrated embodiment.

[0180] The present invention also provides a computer program product, which includes a computer program that, when executed on a computer, enables the computer to execute the present invention. Figures 3 to 24 The method provided by the illustrated embodiment.

[0181] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can represent: a, b, c, a and b, a and c, b and c or a and b and c, where a, b, c can be single or multiple.

[0182] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented using a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0183] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0184] In the several embodiments provided in this application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of this application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0185] The above description is merely a specific embodiment of the present application. Any person skilled in the art may easily conceive of variations or substitutions within the technical scope disclosed in this application, and such variations or substitutions shall be within the scope of protection of this application. The scope of protection of this application shall be subject to the scope of protection of the claims.

Claims

1. A method for operating an electronic device, characterized in that: include: Run the first application; In response to a user operation on the first application, displaying a page corresponding to the operation; wherein the page corresponding to the operation includes other pages except the homepage of the first application; In response to the user's first gesture operation on the page, the homepage of the first application is displayed; wherein the first gesture operation includes the user's finger sliding from the side of the screen of the electronic device into the screen and then sliding downward.

2. A method for operating an electronic device, characterized in that: include: Running a first application in the foreground and displaying a first page of the first application; In response to a second gesture operation of the user on the first page, the application running in the foreground is switched from the first application to a second application; wherein the second gesture operation includes the user's finger sliding diagonally upward or diagonally downward on the first page; and the second application includes the previous application running in the foreground before the first application.

3. The method according to claim 2, characterized in that Before the foreground runs the first application, the method further includes: Running a second application in the foreground and displaying a second page of the second application; The foreground running of the first application includes: In response to the user's third gesture operation, the first application is run in the foreground.

4. The method according to claim 3, characterized in that The third gesture operation includes an operation performed by the user on the second page to trigger the running of the first application.

5. The method according to claim 3, characterized in that Before running the first application in the foreground in response to the third gesture operation of the user, the method further includes: In response to a fourth gesture operation by the user, switching the second application to background operation; The third gesture operation includes an operation of the user's finger on the first application icon.

6. The method according to claim 2, characterized in that After switching the application running in the foreground from the first application to the second application, the method further includes: displaying a third page of the second application; In response to a second gesture operation of the user on the third page, the application running in the foreground is switched from the second application to the first application.

7. The method according to claim 2, characterized in that Also includes: Recording the order of applications running in the foreground of the electronic device; The switching of the foreground application from the first application to the second application in response to the second gesture operation of the user on the first page includes: In response to a second gesture operation of the user on the first page, obtaining, from the recorded sequence, an application that was running in the foreground before the first application as a second application; Switch the application running in the foreground from the first application to the second application.

8. The method according to claim 7, characterized in that After switching the application running in the foreground from the first application to the second application, the method further includes: displaying a third page of the second application; In response to a second gesture operation of the user on the third page, obtaining, from the recorded sequence, an application running in the foreground before the second application as a third application; The application running in the foreground is switched from the second application to the third application.

9. A method for operating an electronic device, characterized in that: include: Detecting that the user touches the first hotspot area of ​​the card with two fingers; If the current first size of the card is smaller than the maximum size of the card and greater than or equal to the minimum size of the card, in response to the user's two-finger zoom operation in the first hotspot area, the size of the card is enlarged to a second size; wherein the second size is larger than the first size and less than or equal to the maximum size of the card.

10. The method according to claim 9, characterized in that After detecting that the user touches the first hotspot area of ​​the card with two fingers, the method further includes: If the current first size of the card is larger than the minimum size of the card and smaller than or equal to the maximum size of the card, in response to the user's two-finger pinch-out operation in the first hotspot area, the size of the card is reduced to a third size; wherein the third size is smaller than the first size and larger than or equal to the minimum size of the card.

11. The method according to any one of claims 9 to 10, characterized in that: After detecting that the user touches the first hotspot area of ​​the card with two fingers, the method further includes: The user is prompted that the card has been selected.

12. A method for operating an electronic device, characterized in that: include: Detecting that the user touches the second hotspot area of ​​the folder with two fingers; If the current fourth size of the folder is smaller than the maximum size of the folder and greater than or equal to the minimum size of the folder, in response to the user's two-finger zoom operation in the second hotspot area, the size of the folder is enlarged to a fifth size; wherein the fifth size is larger than the fourth size and less than or equal to the maximum size of the folder.

13. The method according to claim 12, characterized in that After detecting that the user touches the second hotspot area of ​​the folder with two fingers, the method further includes: If the current fourth size of the folder is equal to the maximum size of the folder, in response to the user performing a pinch-to-zoom operation on the second hotspot area, dismissing the folder; Displaying icons of applications included in the folder on the desktop of the electronic device.

14. The method according to claim 12, characterized in that After detecting that the user touches the second hotspot area of ​​the folder with two fingers, the method further includes: If the current fourth size of the folder is greater than the minimum size of the folder and less than or equal to the maximum size of the folder, in response to the user's two-finger pinch-out operation in the second hotspot area, the size of the folder is reduced to a sixth size; wherein the sixth size is smaller than the fourth size and greater than or equal to the minimum size of the folder.

15. The method according to any one of claims 12 to 14, characterized in that: After detecting that the user touches the second hotspot area of ​​the folder with two fingers, the method further includes: The user is prompted that the folder has been selected.

16. An electronic device, characterized in that: include: one or more processors; Memory; Multiple applications; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the electronic device, cause the electronic device to perform the method according to any one of claims 1 to 15.

17. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the method according to any one of claims 1 to 15.