WO2021169399A1 - Procédé de mise en cache d'une interface d'application, et appareil électronique - Google Patents

Procédé de mise en cache d'une interface d'application, et appareil électronique Download PDF

Info

Publication number
WO2021169399A1
WO2021169399A1 PCT/CN2020/127543 CN2020127543W WO2021169399A1 WO 2021169399 A1 WO2021169399 A1 WO 2021169399A1 CN 2020127543 W CN2020127543 W CN 2020127543W WO 2021169399 A1 WO2021169399 A1 WO 2021169399A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
electronic device
application
user
window
Prior art date
Application number
PCT/CN2020/127543
Other languages
English (en)
Chinese (zh)
Inventor
张子曰
范振华
丁宁
贺真
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021169399A1 publication Critical patent/WO2021169399A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • This application relates to the technical field of electronic equipment, and in particular to a method and electronic equipment for temporarily storing application interfaces.
  • This application provides a method and electronic device for temporarily storing an application interface, which can temporarily store the application interface so that the temporarily stored interface can be quickly viewed later, which is convenient for the user to efficiently switch between multiple interfaces, and improves the user and electronic equipment. The efficiency of interaction between devices.
  • an interface storage method including: an electronic device displays a first interface of a first application; the electronic device detects that the user performs a sliding operation on the touch screen, and the user's finger stays on the touch screen, the electronic device gradually shrinks The first interface; if the first interface is reduced to a preset ratio, or it is detected that the user’s finger stays on the touch screen for a preset time, or it is detected that the user’s finger stays on the touch screen and then leaves the touch screen, the electronic device displays the first Window, and move the reduced first interface into the first window; wherein the first window is used to display the identifier of the stored interface; the electronic device stores the first interface; the first window includes the identifier of the first interface.
  • the first interface of the first application can be temporarily stored by operation, so that the first interface of the first application can be quickly opened through the identification of the first interface in the first window.
  • One interface In this way, it is convenient for the user to efficiently switch between multiple interfaces, and the interaction efficiency between the user and the electronic device is improved.
  • the operation of temporarily storing the first interface of the first application is a continuous and smooth operation, which is an operation of the user leaving the touch screen after sliding on the touch screen and staying on the touch screen for a period of time.
  • the electronic device performs this operation, it automatically stores the first interface of the first application.
  • it is concise and convenient.
  • it is distinguished from the original operation of returning to the previous interface of the electronic device, etc., to avoid user operation conflicts.
  • the first interface of the temporarily stored first application gradually shrinks first, and then moves into the first window, which vividly informs the user to store the first interface of the first application.
  • the visual effect has been improved.
  • an interface storage method which can be applied to an electronic device with a touch screen.
  • the method includes: the electronic device displays a first interface of a first application; the electronic device detects that the user performs a sliding operation on the touch screen, and The user’s finger stays on the touch screen, and the electronic device moves the first interface to one side of the touch screen; if the distance of the first interface movement reaches the preset distance, or it is detected that the user’s finger stays on the touch screen for the preset length of time, Or it is detected that the user’s finger stays on the touch screen and then leaves the touch screen, the electronic device displays a first window, where the first window is used to display the identifier of the stored interface; the electronic device stores the first interface; the first window includes the first interface Of the logo.
  • the first interface of the first application can be temporarily stored by operation, so that the first interface of the first application can be quickly opened through the identification of the first interface in the first window.
  • One interface In this way, it is convenient for the user to efficiently switch between multiple interfaces, and the interaction efficiency between the user and the electronic device is improved.
  • the operation of temporarily storing the first interface of the first application is a continuous and smooth operation, which is an operation of the user leaving the touch screen after sliding on the touch screen and staying on the touch screen for a period of time.
  • the electronic device performs this operation, it automatically stores the first interface of the first application.
  • it is concise and convenient.
  • it is distinguished from the original operation of returning to the previous interface of the electronic device, etc., to avoid user operation conflicts.
  • the first interface of the temporarily stored first application moves to one side of the touch screen until it disappears, which not only vividly informs the user to store the first interface of the first application, but also improves Visual effect.
  • an interface storage method which can be applied to an electronic device with a touch screen.
  • the method includes: the electronic device displays a first interface of a first application; the electronic device detects that the user performs a sliding operation on the touch screen, and When the user’s finger stays on the touch screen, the electronic device reduces the first interface to the first icon located under the finger; if it is detected that the user has not left the touch screen and drags the first icon, the electronic device displays the first window; A window is used to display the identifier of the stored interface; if it is detected that the user drags the first icon to the first window, the electronic device stores the first interface, and the first window includes the identifier of the first interface.
  • the first interface of the first application can be temporarily stored by operation, so that the first interface of the first application can be quickly opened through the identification of the first interface in the first window.
  • One interface In this way, it is convenient for the user to efficiently switch between multiple interfaces, and the interaction efficiency between the user and the electronic device is improved.
  • the operation of temporarily storing the first interface of the first application is a continuous and smooth operation. After the user slides on the touch screen and stays on the touch screen for a period of time, drag the first icon Operation to the first window.
  • the electronic device performs this operation, it automatically stores the first interface of the first application. For users, it is concise and convenient. In addition, it is distinguished from the original operation of returning to the previous interface of the electronic device, etc., to avoid user operation conflicts.
  • the first interface of the temporarily stored first application is reduced to the first icon, and follows the user's drag operation to move to the first window, which informs the user that the first interface will be the first icon.
  • the first interface of the application is stored, and the visual effect is improved.
  • the method further includes: during the process of shrinking the first interface of the electronic device, or during the process of moving the first interface to the touch screen side of the electronic device, the electronic device displays below the first interface The first interface of the first application; or the upper-level interface of the first interface of the first application is displayed; or the main interface of the first application is displayed.
  • the electronic device may still display the first interface of the first application, may also display the upper-level interface of the first interface, or display the main interface of the first application, which can satisfy Different needs of users.
  • the method further includes: when the electronic device displays the second interface of the first application, it also displays a first window; the electronic device detects that the user selects the identification of the first interface, and the electronic device displays the One interface.
  • the first window can always be displayed on the touch screen, so that it is convenient for the user to directly open the temporarily stored application interface by directly operating the first window.
  • the method further includes: the electronic device does not display the first window when displaying the second interface of the first application; the electronic device detects the user's operation to open the first window, and the electronic device displays the first window ; The electronic device detects the user's operation to select the logo of the first interface, and the electronic device displays the first interface.
  • the first window can be hidden.
  • the user can manually call up the first window, which can prevent the first window from blocking the content displayed on the touch screen.
  • the method further includes: the electronic device detects the user's operation to exit the first interface, the electronic device The second interface of the first application is displayed.
  • the electronic device displays the second interface of the first application
  • the electronic device can continue to display the second interface of the first application .
  • the application interface opened through the first window will not affect the application interface displayed by the original application.
  • the method further includes: the electronic device detects the user's operation to open the recent task bar, the electronic device Open the recent task bar, the recent task bar includes the control corresponding to the first application; the electronic device detects the user's operation of the control corresponding to the first application, and the electronic device displays the second interface of the first application.
  • the electronic device storing the first interface includes: the electronic device generates a mirroring process of the first application according to the process of the first application, and the mirroring process of the first application stores the current state of the first application. In this way, a specific implementation scheme of the temporary storage application interface is provided.
  • the electronic device detects the user's operation of selecting the logo of the first interface, and the electronic device displays the first interface, including: the electronic device detects the user's operation of selecting the logo of the first interface, and the electronic device starts the first interface.
  • the mirroring process of the application, and the first interface is displayed.
  • the method further includes: the electronic device detects that the user deletes the stored first interface, and the electronic device deletes the mirroring process of the first application.
  • the above-mentioned first window may be displayed in the form of labels, floating windows, drawers, buttons, cards, icons, menus, lists, etc.
  • the electronic device can display the first window at any position on the screen.
  • the first window may be displayed at a fixed position at the edge of the screen.
  • the first window may be displayed on the curved sides of the curved screen. In this way, it is possible to avoid disturbing the user's attention to the interface at the center of the screen.
  • the electronic device may choose to display the first window in a blank position on the screen according to the layout of the current application interface, and the first window may be suspended on the current interface.
  • the user can manually move the position of the first window.
  • the screen of the electronic device is a folding screen or other large screen, the electronic device may also display the first window in a fixed position on the screen.
  • the electronic device may always display the first window, or automatically close the first window after a default period of time, or manually close the first window by the user, or automatically close the first window in a specific scenario. For example, if it is detected that the user is playing a game or watching a video, the electronic device can hide the first window to avoid causing interference to the user.
  • the screen of the electronic device may display multiple application windows at the same time, that is, the first interface includes multiple application windows, and each application window displays an interface of an application.
  • the electronic device can automatically determine the application window that needs to be temporarily stored based on specific rules, or determine the temporary application window according to the user's choice, to meet the user's requirements in different scenarios. Different needs.
  • the temporary storage operation may be an operation of folding the screen.
  • the screen of the electronic device is in an expanded state, multiple application windows may be displayed on the expanded screen (that is, a large screen), and each application window displays an interface of an application, such as interface A and interface B. If the user's operation to fold the display screen is detected, the electronic device folds the screen. In addition, a part of the interface (such as interface A) is displayed on the folded screen (ie, the small screen), and other interfaces (such as interface B) are temporarily stored.
  • the interface for selecting the temporary storage of the electronic device in the embodiment of the present application is not specifically limited.
  • the temporary storage operation may be an operation of shrinking the screen.
  • the temporary storage operation can also be cancelled.
  • the subsequent operations in the temporary storage operation can be immediately stopped. If the user finishes performing the temporary storage operation, the user can continue to perform other operations to cancel the first operation when the finger does not leave the screen.
  • the temporary storage operation is sliding inward from the edge of the screen and staying there. If in the process of sliding the user's finger inward from the edge of the screen, when the user wants to cancel the temporary first interface, he can also immediately remove the finger from the screen, that is, no longer perform the dwell operation. Or, without leaving the screen, slide your finger to the outside (or to the top or bottom of the screen) to cancel the temporary storage operation. If the user's finger slides inward from the edge of the screen and stays there for a period of time, when the user wants to cancel the temporary first interface, he can also move his finger to the outside (or to the screen without leaving the screen). Up or down) swipe to undo the temporary storage operation.
  • an electronic device including: a processor, a memory, and a touch screen.
  • the memory and the touch screen are coupled to the processor.
  • the memory is used to store computer program code.
  • the computer program code includes computer instructions.
  • the interface moves into the first window; the first window is used to display the identifier of the stored interface; the first interface is stored; the first window includes the identifier of the first interface.
  • an electronic device including: a processor, a memory, and a touch screen.
  • the memory and the touch screen are coupled to the processor.
  • the memory is used to store computer program code.
  • the computer program code includes computer instructions.
  • an electronic device including: a processor, a memory, and a touch screen.
  • the memory and the touch screen are coupled to the processor.
  • the memory is used to store computer program codes.
  • the computer program codes include computer instructions.
  • the processor when the processor reads computer instructions from the memory, it also causes the electronic device to perform the following operations: in the process of shrinking the first interface, or in the process of moving the first interface to the side of the touch screen, Below the first interface, the first interface of the first application is displayed; or the upper-level interface of the first interface of the first application is displayed; or the main interface of the first application is displayed.
  • the processor when the processor reads the computer instructions from the memory, it also causes the electronic device to perform the following operations: when the second interface of the first application is displayed, the first window is also displayed; it is detected that the user selects the first window.
  • the operation of the logo of the interface displays the first interface.
  • the processor when the processor reads the computer instructions from the memory, it also causes the electronic device to perform the following operations: when displaying the second interface of the first application, the first window is not displayed; it is detected that the user starts the first window. The operation of the window displays the first window; the operation of the user selecting the identifier of the first interface is detected, and the first interface is displayed.
  • the processor when the processor reads the computer instructions from the memory, it also causes the electronic device to perform the following operations: after detecting that the user selects the logo of the first interface, and after displaying the first interface, it is detected that the user exits The operation of the first interface displays the second interface of the first application.
  • the electronic device when the processor reads the computer instructions from the memory, the electronic device also causes the electronic device to perform the following operations: after detecting the user's selection of the logo of the first interface, after displaying the first interface, it is detected that the user opens Operation of the recent task bar, open the recent task bar, the recent task bar includes the control corresponding to the first application; the user's operation on the control corresponding to the first application is detected, and the second interface of the first application is displayed.
  • storing the first interface includes: generating a mirroring process of the first application according to a process of the first application, and the mirroring process of the first application saves the current state of the first application.
  • detecting the user's operation to select the logo of the first interface and displaying the first interface on the electronic device includes: detecting the user's selection of the logo of the first interface, starting the mirroring process of the first application, and The first interface is displayed.
  • the electronic device when the processor reads the computer instructions from the memory, the electronic device is also caused to perform the following operations: detecting the user's operation of deleting the stored first interface, and deleting the mirroring process of the first application.
  • a device in a seventh aspect, is provided, the device is included in an electronic device, and the device has the function of realizing the behavior of the electronic device in any of the foregoing aspects and possible implementation manners.
  • This function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes at least one module or unit corresponding to the above-mentioned functions. For example, detecting module or unit, display module or unit, starting module or unit, and deleting module or unit, etc.
  • a computer-readable storage medium including computer instructions, which, when the computer instructions run on an electronic device, cause the electronic device to execute the method described in the above aspect and any one of its possible implementation manners.
  • a computer program product which when the computer program product runs on a computer, causes the computer to execute the method described in the foregoing aspects and any one of the possible implementation manners.
  • a chip system including a processor, and when the processor executes an instruction, the processor executes the method described in the foregoing aspects and any one of the possible implementation manners.
  • a graphical user interface on an electronic device has a touch screen, a camera, a memory, and one or more processors, and the one or more processors are configured to execute
  • the graphical user interface includes a graphical user interface displayed when the electronic device executes the method described in the above aspect and any one of its possible implementation manners.
  • FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of this application.
  • FIG. 2 is a schematic structural diagram of another electronic device provided by an embodiment of the application.
  • 3A is a schematic structural diagram of yet another electronic device provided by an embodiment of this application.
  • FIG. 3B is a schematic diagram of a process of an interface storage method provided by an embodiment of this application.
  • FIG. 4 is a schematic diagram of a user interface of some electronic devices provided by an embodiment of the application.
  • FIG. 5 is a schematic diagram of user interfaces of other electronic devices provided by embodiments of this application.
  • FIG. 6 is a schematic diagram of user interfaces of still other electronic devices provided by embodiments of this application.
  • FIG. 7 is a schematic diagram of user interfaces of still other electronic devices provided by embodiments of this application.
  • FIG. 8 is a schematic diagram of user interfaces of still other electronic devices provided by embodiments of this application.
  • FIG. 9 is a schematic diagram of user interfaces of still other electronic devices provided by embodiments of this application.
  • FIG. 10 is a schematic diagram of user interfaces of still other electronic devices provided by embodiments of this application.
  • FIG. 11 is a schematic structural diagram of a chip system provided by an embodiment of the application.
  • words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • first and second are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined with “first” and “second” may explicitly or implicitly include one or more of these features. In the description of the embodiments of the present application, unless otherwise specified, “plurality” means two or more.
  • an embodiment of the present application provides an interface storage method.
  • the user browses the interface, one or some interfaces can be temporarily stored according to the user's instruction. . Later, you can quickly view the temporary interface through the shortcut, and you can quickly switch from the temporary interface back to the previous interface, which improves the interaction efficiency between the user and the electronic device.
  • the electronic device in this application may be a mobile phone, a tablet computer, a personal computer (PC), a personal digital assistant (PDA), a smart watch, a netbook, a wearable electronic device, and augmented reality technology (Augmented reality, AR) equipment, virtual reality (VR) equipment, in-vehicle equipment, smart cars, smart audio, robots, etc.
  • augmented reality technology Augmented reality, AR
  • VR virtual reality
  • in-vehicle equipment smart cars
  • smart audio, robots etc.
  • FIG. 1 shows a schematic diagram of the structure of an electronic device 100.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2.
  • Mobile communication module 150 wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (subscriber identification module, SIM) card interface 195, etc.
  • SIM Subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light Sensor 180L, bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100.
  • the electronic device 100 may include more or fewer components than those shown in the figure, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc.
  • AP application processor
  • modem processor modem processor
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • the processor 110 may include one or more interfaces.
  • the interface can include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter (universal asynchronous) interface.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB Universal Serial Bus
  • the I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may include multiple sets of I2C buses.
  • the processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to implement the touch function of the electronic device 100.
  • the I2S interface can be used for audio communication.
  • the processor 110 may include multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through an I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
  • the PCM interface can also be used for audio communication to sample, quantize and encode analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • the UART interface is generally used to connect the processor 110 and the wireless communication module 160.
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with the display screen 194, the camera 193 and other peripheral devices.
  • the MIPI interface includes a camera serial interface (camera serial interface, CSI), a display serial interface (display serial interface, DSI), and so on.
  • the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the electronic device 100.
  • the processor 110 and the display screen 194 communicate through a DSI interface to realize the display function of the electronic device 100.
  • the GPIO interface can be configured through software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and so on.
  • the GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect earphones and play audio through earphones. This interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely a schematic illustration, and does not constitute a structural limitation of the electronic device 100.
  • the electronic device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100.
  • the mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites. System (global navigation satellite system, GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 160 may also receive a signal to be sent from the processor 110, perform frequency modulation, amplify, and convert it into electromagnetic waves to radiate through the antenna 2.
  • the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is an image processing microprocessor, which is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations and is used for graphics rendering.
  • the processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, and the like.
  • the display screen 194 includes a display panel.
  • the display panel can use liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the electronic device 100 may include one or N display screens 194, and N is a positive integer greater than one.
  • the display screen 194 can be designed as a full screen, a curved screen, or a special-shaped screen (for example, a notch screen, a pearl screen, a hole-drilling screen, etc.), or a full screen and a curved screen. This is not limited in the embodiment of the present application, or it is designed as a combination of a curved screen and a special-shaped screen, etc.
  • the touch sensor 180K in the sensor module 180 may be provided on the display screen 194, and 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 acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the display screen 194 can provide visual output related to the touch operation.
  • the full screen refers to a screen design in which the touch screen occupies a screen-to-body ratio of the front panel of the electronic device 100 greater than a preset threshold.
  • the electronic device 100 is designed as a full screen, more interface content can be displayed in the electronic device 100, and the user's visual experience can be improved.
  • the curved screen refers to a screen design in which the touch screen is not on a plane.
  • the electronic device 100 has at least one screen with a curved side.
  • (A) in FIG. 2 shows a perspective view of the curved screen mobile phone 100.
  • (B) in FIG. 2 shows a front view of the curved screen mobile phone 100.
  • the touch screen of the curved screen mobile phone 100 is a curved screen with a curvature on the left side 10 and the right side 20.
  • screens with arcs on both sides of the curved screen can be used to display content and receive user touch operations.
  • the special-shaped screen refers to a touch screen with an irregular shape in appearance.
  • the irregular shape is not a rectangle or a rounded rectangle.
  • the special-shaped screen refers to a screen design in which protrusions, gaps and/or holes are provided on a rectangular or rounded rectangular touch screen.
  • the special-shaped screen may specifically be a notch screen, a pearl screen, a digging screen, and the like.
  • the display screen 194 may also be designed as a folding screen.
  • the folding screen can be folded to form at least two screens.
  • the folding screen can be folded along a folding edge or a folding axis to form a first screen and a second screen. That is, the at least two screens include the first screen and the second screen.
  • the folding screens in the embodiments of the present application can be divided into two types. One type is the folding screen that is turned outwards (referred to as the outer folding screen), and the other is the folding screen that is turned inwards (referred to as the inner folding screen).
  • the folding screen can be folded to form the first screen and the second screen as an example. After the outward-folding folding screen is folded, the first screen and the second screen face away from each other. After the inward-folding folding screen is folded, the first screen and the second screen face each other.
  • the display screen 194 may also be designed as a scroll screen.
  • the scroll screen can be expanded and collapsed under the control of the control structure. When the scroll screen is in the expanded state, the screen size that can be used to display content is larger than the screen size that can be used to display content when the scroll screen is in the collapsed state.
  • the scroll screen can be gradually expanded or gradually retracted under the control of the control structure. In the process of gradual expansion or gradual collapse, the screen size that can be used to display content gradually becomes larger or smaller.
  • 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.
  • the ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
  • ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193.
  • the camera 193 is used to capture still images or videos.
  • the object generates an optical image through the lens and is projected to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device 100 may include one or N cameras 193, and N is a positive integer greater than one.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects the frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
  • MPEG moving picture experts group
  • MPEG2 MPEG2, MPEG3, MPEG4, and so on.
  • NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • applications such as intelligent cognition of the electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, and so on.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required by at least one function, and the like.
  • the data storage area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 100.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
  • 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.
  • the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
  • the speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A may be provided on the display screen 194.
  • the capacitive pressure sensor may include at least two parallel plates with conductive materials.
  • the electronic device 100 determines the intensity of the pressure according to the change in capacitance.
  • the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations that act on the same touch position but have different touch operation strengths may correspond to different operation instructions. For example: when a touch operation whose intensity of the touch operation is less than the first pressure threshold is applied to the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the movement posture of the electronic device 100.
  • the angular velocity of the electronic device 100 around three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the electronic device 100 through reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 may use the magnetic sensor 180D to detect the opening and closing of the flip holster.
  • the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D.
  • features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and apply to applications such as horizontal and vertical screen switching, pedometers, and so on.
  • the electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F to measure the distance to achieve fast focusing.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the electronic device 100 emits infrared light to the outside through the light emitting diode.
  • the electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100.
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can obtain the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
  • the bone conduction sensor 180M may also be provided in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor 180M, and realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beating signal obtained by the bone conduction sensor 180M, and realize the heart rate detection function.
  • the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal into the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
  • the earphone interface 170D is used to connect wired earphones.
  • the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, and a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA, CTIA
  • the button 190 includes a power-on button, a volume button, and so on.
  • the button 190 may be a mechanical button. It can also be a touch button.
  • the electronic device 100 may receive key input, and generate key signal input related to user settings and function control of the electronic device 100.
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback.
  • touch operations applied to different applications can correspond to different vibration feedback effects.
  • Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects.
  • Different application scenarios for example: time reminding, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 is used to connect to the SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100.
  • the electronic device 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
  • the same SIM card interface 195 can insert multiple cards at the same time. The types of the multiple cards can be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 may also be compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to realize functions such as call and data communication.
  • the electronic device 100 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiment of the present invention takes an Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface.
  • the Android system is divided into three layers, from top to bottom, respectively, an application layer (may be referred to as an application layer), an application framework layer (which may be referred to as a framework layer), and a kernel layer.
  • the Android system may also include other layers, such as Android runtime and system libraries.
  • the application layer may include a series of application packages, such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.
  • application packages such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.
  • the application layer when the electronic device 100 runs a first application, the application layer includes a first application process, where the first application process includes a first application client and a framework layer client.
  • the first application client is used to receive user input, and call the framework layer service in the native system through the framework layer client.
  • the framework layer client may include: a package manager (PackageManager, PM), an activity manager (ActivityManager, AM), a window manager (WindowsManager, WM), etc., which are respectively used to call related framework layer services in the native system.
  • the application layer further includes a sandbox process for implementing the function of the temporary storage interface.
  • the sandbox process includes application client mirroring (for example, the first application client mirroring), framework layer client mirroring, and state synchronization modules.
  • application client mirroring for example, the first application client mirroring
  • framework layer client mirroring for example, the first application client mirroring
  • state synchronization modules for example, the application is in any state, for example, when the electronic device 100 displays the first interface of the first application, and detects the user's temporary storage instruction, the electronic device 100 invokes the fork operation of the sandbox process to create the first interface in the sandbox process.
  • Application mirroring such as the first application client mirroring.
  • the current state of the first application is obtained and saved from the framework layer service of the native system, including the ActivityManager state, the WindowsManager state, and so on.
  • the electronic device 100 when temporarily storing the first interface of the first application, the electronic device 100 saves the mirror image of the first application and the related state of the first interface.
  • the first application includes multiple interfaces, and the states of the activities corresponding to different interfaces are different. Therefore, it is necessary to store the status of each Activity (for example, stop, pause, running, etc.) when the electronic device 100 displays the first interface. In this way, when the temporarily stored first interface needs to be opened subsequently, the state of the corresponding activity is set according to the state of each activity stored at this time, so that the electronic device 100 can display the content of the first interface normally.
  • the user can also quickly start the temporary mirroring of the first application through the shortcut to display the first application’s image The first interface. That is, the electronic device 100 can quickly switch from other interfaces to the first interface of the first application.
  • the electronic device 100 temporarily stores multiple interfaces (including different interfaces of different applications or different interfaces of the same application), the electronic device 100 can also quickly switch between these multiple interfaces.
  • the user can also perform operations on the temporarily stored first interface. For example, entering the next level interface of the first interface, etc., returning to the previous level interface of the first interface, etc.
  • the first application client image can send a call request to the framework layer service in the native system through the framework layer client image of the application layer, the sandbox framework layer service of the framework layer, and call related services.
  • the user operates on the temporarily stored first interface to cause information changes (such as login information, etc.) on the first interface, which can also be transmitted to the framework layer service of the native system through state synchronization information.
  • information changes such as login information, etc.
  • the electronic device 100 subsequently runs the first application, or switches the first application from the background to the foreground, the relevant information of the first application is also updated synchronously.
  • the user performs operations on the temporarily stored first interface, and when opening other interfaces, the electronic device 100 may also be instructed to temporarily store these interfaces.
  • the electronic device 100 invokes the fork operation of the sandbox process, creates another first application client mirror in the sandbox process, and uses the framework layer client mirroring and state synchronization The module obtains and saves the current state of the first application from the framework layer service of the native system.
  • the electronic device 100 temporarily stores the first interface of the first application by creating a mirror image of the first application in the sandbox process, and the sandbox process is relatively independent of the process of the first application in the native system. Subsequently, when receiving an instruction from the user to open the temporarily stored first interface, the electronic device 100 opens the mirroring of the corresponding application in the sandbox process to realize the function of displaying the temporarily stored first interface, and responds to the user in the temporary stored first interface. Other operations performed on an interface, execute corresponding instructions, etc. These operations will not affect the process of the first application in the native system.
  • the electronic device 100 can delete the client image corresponding to the temporary storage interface in the sandbox process.
  • the framework layer provides application programming interfaces (application programming interface, API) and programming frameworks for applications in the application layer.
  • the application framework layer includes some predefined functions. For example: including PM service (Package Manager Service, PMS), AM service (Activity Manager Service, AMS), WM service (Windows Manager Service, WMS), etc.
  • the framework layer may also include sandbox framework layer services.
  • the sandbox framework layer services include PMS, AMS, WMS and hook modules. Among them, PMS, AMS, WMS and corresponding modules in the native system have similar functions.
  • the hook module can be used to provide the API interface corresponding to the framework layer service of the native system, and convert the call request from the sandbox framework layer service, so that the sandbox process can be called through Inter-Process Communication (IPC)
  • IPC Inter-Process Communication
  • the framework layer service of the native system For example, the framework layer of the native system only supports a process ID to call the framework layer services. If the electronic device 100 runs the first application in the background, the user opens the first interface of the temporarily stored first application again.
  • the first application itself has a process ID, such as ID1.
  • the sandbox process has another process ID, such as ID2. Then, when the sandbox process needs to call the framework layer service in the native system, the process ID in the call request needs to be converted from ID2 to ID1.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display driver, input driver, camera driver, audio driver, sensor driver, etc. Among them, part of the drive is not shown.
  • the embodiments of this application can temporarily store different interfaces of the same application, and can further temporarily store the interface on the suspended interface, and are provided by the embodiments of this application.
  • the temporary storage method of the temporary storage page is relatively independent of the original application. A specific example is given below.
  • the electronic device when the electronic device displays the first interface of the first application, when receiving the first operation of the user's temporary storage interface, the electronic device creates a mirror image of the first application in the sandbox process (remember Mirror 1) for the first application, used to temporarily store the first interface of the first application. At this time, the first interface of the first application has been temporarily stored.
  • Remember Mirror 1 a mirror image of the first application in the sandbox process
  • the electronic device displays the second interface of the first application. If the electronic device detects that the user performs the second operation on the second interface of the first application, the electronic device displays one or more temporarily stored interface identifiers.
  • the electronic device In response to receiving the operation of the identification of the first interface of the first application, the electronic device starts the first application mirroring in the sandbox process to display the first interface of the first application. Subsequently, when the electronic device receives the user's related operation on the first interface of the temporarily stored first application, the first application image in the sandbox process undergoes related changes. However, the process of the first application in the native system does not change according to the user's operation at this time. In other words, the process of the first application in the native system still retains the information of the second interface. Therefore, when the electronic device exits the first interface of the temporarily stored first application and returns to the first application, the electronic device starts the process of the first application in the native system and continues to display the second interface of the first application.
  • the user continues to operate on the second interface of the first application, and the electronic device displays the third interface of the first application.
  • the user can temporarily store the third interface of the first application in the same way as temporarily storing the first interface of the first application. That is, the electronic device creates another image of the first application in the sandbox process (denoted as the first application image 2), which is used to implement the third interface for temporarily storing the first application.
  • the image 2 of the first application is relatively independent of the image 1 of the first application and the process of the first application in the native system.
  • the third interface of the first application opened through the mirror 2 of the first application and related operations performed on the third interface will not affect the first interface of the first application opened through the mirror 1 of the first application , It will not affect any interface of the first application opened through the first application process of the native system.
  • the electronic device displays the fourth interface of the first application. If it is detected that the user is performing a temporary storage operation in the fourth interface of the first application, the electronic device can create another image (image 3 of the first application) for the image 1 of the first application to implement temporary storage of the first application The fourth interface.
  • the mirror 3 of the first application is relatively independent of other mirrors of the first application and the process of the first application in the native system.
  • the electronic device displays the first interface of the first application. It is detected that the user performs the first operation on the first interface, and the electronic device temporarily stores the first interface.
  • the first application can be any application on the electronic device.
  • the first application can be a shopping application (for example, “Taobao” application, “Jingdong” application, “Xiaohongshu” application, etc.), ticket booking application (for example, : “Ctrip Travel” application, "Fliggy Travel” application, etc.), instant messaging applications (for example: "WeChat” application), browser applications, etc.
  • the first interface can be any interface of the first application on the electronic device.
  • the first operation can be sliding inward at the edge of the screen, sliding inward at the edge of the screen and staying (referred to as sliding + stay), pressing hard, folding operation, sliding operation of preset patterns, preset air gestures, input Voice commands or other predefined operations.
  • the embodiment of the present application does not specifically limit the first operation.
  • the interface 401 is an example of the first interface. If the user is interested in the interface 401, or is expected to browse the interface again later, the first operation can be performed on the interface 401 to instruct the electronic device to temporarily store the interface 401 (or called storage, cache, mark, etc.).
  • the storage interface 401 includes storing the content displayed on the current interface 401 and the current status of the interface 401, such as login status, browsing progress, and so on.
  • the input state of the first interface (for example, the text entered in the text box, the selected state of options, etc.) can also be temporarily stored.
  • the electronic device in response to detecting that the user performs the first operation, temporarily stores the current interface 401, and displays the upper-level interface of the interface 401, or displays the homepage of the application where the interface 401 is located, or displays The main screen interface of the desktop, or keep it on the interface 401, etc.
  • the electronic device may display an interface 404 as shown in (4) in FIG.
  • the electronic device before the electronic device displays the interface 404 as shown in (4) in FIG. 4, the electronic device may also display other interfaces.
  • the electronic device may display the interface 402 as shown in (2) of FIG. 4.
  • the window 403 may include the identifier 1 of the previously temporarily stored interface and the identifier 2 of the interface 401.
  • the identifier of the interface in the window 403 may be a thumbnail of the corresponding interface, or a corresponding application icon, or an abbreviation of the title of the corresponding interface, etc.
  • the embodiments of the present application do not specifically limit the specific form of the identification.
  • the electronic device may also automatically close the window 403 after displaying the window 403 for a period of time (for example, 5 seconds), so as not to block the content of the interface currently displayed by the electronic device. That is, after a period of time, the electronic device displays an interface 404 as shown in (4) in FIG. 4.
  • the electronic device displays the window 403, it may also first display the identifier of the previously temporarily stored interface of the electronic device, and then newly display the identifier of the temporarily stored interface 401 this time.
  • logo 1 may be displayed in window 403 first, and then logo 1 and logo 2 can be displayed. In this way, it is convenient for the user to view the identifier change in the window 403 after the temporary storage interface 401 is newly added this time, and it is convenient for the user to distinguish the identifier of the newly added temporary storage interface 401.
  • the electronic device may also display the above-mentioned window 403 in other ways, for example, in the form of labels, floating windows, drawers, buttons, cards, icons, menus, lists, and the like.
  • the electronic device can display the window 403 at any position on the screen.
  • the window 403 may be displayed at a fixed position at the edge of the screen.
  • the window 403 may be displayed on the curved sides on both sides of the curved screen. In this way, it is possible to avoid disturbing the user's attention to the interface at the center of the screen.
  • the electronic device may choose to display a window 403 in a blank position on the screen according to the layout of the current application interface, and the window 403 may be suspended on the current interface.
  • the user can manually move the position of the window 403.
  • the electronic device may also display the window 403 in a fixed position on the screen.
  • the electronic device may always display the window 403, or automatically close the window 403 after a default time period, or manually close the window 403 by the user, or automatically close the window 403 in a specific scenario. For example, if it is detected that the user is playing a game or watching a video, the electronic device can hide the window 403 to avoid causing interference to the user.
  • a preset number (for example, 3, 5) of logos can be displayed in the window 403 at most. If a preset number of logos have been displayed in the window 403, when the user temporarily saves a new interface again, the logo of the first temporarily saved interface in the window 403 can be replaced with the logo of the newly temporarily saved interface in the window 403. Or replace the logo of an interface selected by the user.
  • the user can view more identifiers of other interfaces by operating the window 403, for example. For example, long press the window 403 and slide it up and down, so that the window 403 changes the identity of the currently displayed interface.
  • the window 403 can display the logos of three temporarily stored interfaces by default.
  • the electronic device temporarily stores interface A, interface B, and interface C in turn.
  • the logo of interface A is displayed at position 1 of window 403
  • the logo of interface B is displayed at position 2 of window 403
  • the logo of interface C is displayed at position 3 of window 403.
  • the electronic device detects that the user has instructed the first operation to temporarily store the interface D
  • the electronic device can temporarily store the interface D, and display the identifier of the interface D in the window 403.
  • the logo of interface A can be replaced in position 1 of window 403.
  • the logo of interface B is displayed at position 1 of window 403, the logo of interface C is displayed at position 2 of window 403, and the logo of interface D is displayed at position 3 of window 403.
  • the electronic device can delete the replaced interface A, that is, the interface A is no longer temporarily stored. It is also possible to continue to temporarily store interface A, but the logo of interface A is not displayed in the current window 403.
  • the user can operate window 403 (for example, click, or long-press, or double-click, or vigorously press window 403) to expand the identifiers of multiple temporarily stored interfaces contained in window 403, including the identifier of interface A .
  • the identifier of the interface displayed in the window 403 is changed to view the identifier of the interface A. For example, long press the window 403 and slide it up and down.
  • the window 403 can also display an icon by default to identify an interface that has been temporarily stored, or an icon to identify an interface (for example, the identification of the most recently temporarily stored interface, or the default of the electronic device). Or the identification of the application interface specified by the user). If the user needs to view all or more of the temporarily stored interfaces, or needs to quickly enter an interface through the window 403, he can use the operation window 403 (for example, click, or long press, or double-click, or press the window 403 strongly) , Expand the identifiers of multiple temporarily stored interfaces contained in the window 403.
  • the embodiment of the present application does not specifically limit the display mode, display position, and display timing of the window 403.
  • the electronic device may also use other methods to prompt the user that the electronic device has temporarily stored the interface 401.
  • the electronic device may display the interface 405 as shown in (3) of FIG. 4.
  • Prompt information 406 is displayed in the interface 405 for prompting the user that the interface 401 has been temporarily stored in the electronic device.
  • the user can manually close the prompt information 406, or the electronic device can also automatically close the prompt information 406, that is, the interface 404 shown in (4) of FIG. 4 is displayed.
  • the electronic device may also prompt the user in other ways such as voice prompts, which is not limited in the embodiment of the present application.
  • the window 403 displaying the temporarily stored interface identifier is not always displayed on the interface of the electronic device.
  • the window 403 may always be displayed on the interface of the electronic device. That is, in the interface 501 shown in (1) in FIG. 5, a window 403 may also be displayed.
  • the electronic device After receiving the user's instruction to temporarily store the interface 501, the electronic device temporarily stores the interface 501, and adds an identifier of the interface 501 in the window 403. Then, subsequently, the user can quickly open the temporarily stored interface directly through the window 403.
  • the electronic device may also add different animation effects according to the operation mode of the first operation and/or the characteristics of the screen of the electronic device to enhance the user's visual experience.
  • the first operation is the operation of sliding + staying as an example for description.
  • the operation of sliding + staying may specifically be that the user slides to the inner side of the screen and stays at a certain position on the left or right edge of the screen.
  • staying means that the finger stops sliding at a certain position on the screen, and the time that the finger has not left the screen is longer than a certain time.
  • the sliding distance on the screen needs to be greater than a preset value (for example, 3 cm, or a distance of 50 pixels).
  • the length of stay at a certain location needs to be greater than a preset period of time (for example, greater than 3 seconds).
  • the electronic device displays an interface 501.
  • the electronic device can dynamically display a pattern 502 at the bottom right of the electronic device to prompt the user to The user's swipe operation is detected.
  • the electronic device may gradually shrink the interface 501 when detecting that the user's finger stays or when it is detected that the user's finger stays for a period of time greater than a preset period of time.
  • interface 503 while shrinking interface 501, the upper-level interface of interface 501, or the homepage of the application where interface 501 is located, or desktop, or interface 501 can be displayed below interface 501 while shrinking interface 501.
  • FIG. 5 shows the upper-level interface of interface 501.
  • the interface 505 when the interface 501 is reduced to a certain ratio, or when it is detected that the user's finger is lifted, or it is detected that the time period of the user's finger is greater than the preset time period, the interface 505 as shown in (3) of FIG. 5,
  • the electronic device can also display a window 504.
  • the window 504 displays a previously temporarily stored interface (for example, the logo 1).
  • the interface 501 to be reduced can be moved to the window 504.
  • the interface 506 as shown in (4) in Figure 5, when moving to the window 504, the new interface 501 logo (identification 2) in the window 504 can be used to remind the user that the interface 501 has been temporarily stored, and can also be used later
  • the logo quickly opens the interface 501.
  • the temporarily stored interface 501 gradually shrinks, then moves to the window 504, and is finally displayed on the window 504 with a specific identifier.
  • the user is given an animation effect that the interface 501 gradually becomes smaller and is sucked into the window 504, prompting the user that the interface 501 has been temporarily stored.
  • the interface 501 can be quickly opened through the window 504 to improve the visual effect.
  • the window 504 may display the identifier of the temporarily stored interface, or a specific identifier may prompt the user that there is a temporarily stored interface. If the electronic device does not temporarily store other interfaces before temporarily storing the interface 501, the window 504 may not display content, or display another specific identifier to prompt the user that there is no temporarily stored interface.
  • the first operation is simple and quick, and is distinguished from the original operation of the electronic device to return to the previous interface, etc., to avoid user operation conflicts.
  • the screen of the electronic device is a curved screen
  • the logo of the temporarily stored interface is displayed on the curved left or right edge of the curved screen as an example.
  • an example of an interface is displayed for an electronic device.
  • An interface 601 is displayed in this interface.
  • the interface identifier 602 of the temporarily stored interface is also displayed on the interface.
  • 10 is the left edge area of the curved screen with curvature
  • 20 is the right edge area of the curved screen with curvature.
  • the logo of the interface after temporary storage is displayed in the right edge area.
  • Fig. 6 (1b) it is the right view when the electronic device displays the interface 601, and it can be seen that the logo 602 of the previously stored interface (for example, logo 1) is displayed in the right edge area.
  • the electronic device detects that the user performs a first operation on the interface 601, for example, the first operation is an operation of sliding to the right from the left edge of the screen and staying, as shown in (2a) in Figure 6, the interface 601 can be moved to the right of the screen Move until it disappears.
  • the identifier of the temporarily stored interface at the right edge does not change.
  • the interface 601 can move to the right side of the screen, the upper-level interface of the interface 601, or the homepage of the application where the interface 601 is located, or the desktop, etc. are displayed below the interface 601. From a visual point of view, the interface 601 has the visual effect of the drawer shrinking.
  • the electronic device may display an interface as shown in (3a) of FIG. 6.
  • the interface includes an interface 604 and an identification 602 and an identification 605.
  • the identifier 605 is the identifier of the newly added interface 601.
  • the logo 605 for example, logo 2 of the interface 601 is newly added on the right edge.
  • the side area of the curved screen does not interfere with the main display area in the middle, after displaying the temporarily stored interface logo in the side area, it will not interfere with the content of the main display area. User experience.
  • the first operation is the operation of sliding + staying + dragging as an example for description.
  • the electronic device may gradually shrink the interface 701, and finally shrink to an icon 703 under the finger, as shown in (2) in FIG. 7
  • Electronic equipment interface 702. The user can drag the icon 703 without letting go.
  • the electronic device interface 702 may also display a window 704 for displaying the identifier of the interface that the electronic device has temporarily stored. For example, ID 1.
  • ID 1 As shown in the interface 705 shown in (3) in FIG. 7, it is detected that the user drags the application icon 703 to the window 704 without letting go, and the electronic device can display the interface 706 shown in (4) in FIG.
  • the logo (for example, logo) of the interface 701 is added to the window 704.
  • the electronic device when it is detected that the user drags the application icon 703 to any position on the window 704, the electronic device will determine the identity of the display interface 701 in the window 704 according to a predetermined rule. For example, the electronic device may display the identification of the interface 701 in the first unoccupied position in the order from top to bottom. If all the positions in the window 704 are occupied, the identifier of the oldest temporarily stored interface can be replaced by default. In other examples, when it is detected that the user drags the application icon 703 to a specific position on the window 704, the identification of the interface 701 will be displayed on the specific position. For example, there are three positions in the window 704 by default.
  • the electronic device displays the identification of the interface 701 in the second position. If the identifier of another interface is already displayed in the second position, the electronic device may display the identifier of the interface 701 in another unoccupied position, or the electronic device may replace the identifier of the interface 701 with the identifier already displayed in the second position.
  • the embodiment of the application does not limit this.
  • the user can select the display position of the logo of the interface by dragging, which improves the user experience.
  • the screen of the electronic device can display multiple application windows at the same time, that is, the first interface includes multiple application windows, and each application window displays an interface of an application.
  • the electronic device can automatically determine the application window that needs to be temporarily stored based on specific rules, or determine the temporarily stored application window according to the user's choice, to meet the user's requirements in different scenarios Different needs.
  • the electronic device may temporarily store the multiple application windows included in the first interface.
  • the first interface includes application window A and application window B. After detecting the first operation of the user, both application window A and application window B can be temporarily stored.
  • the electronic device temporarily stores preset application windows (for example, inactive application windows, one or more application windows that are opened first, one or more application windows that have not been operated in a recent period of time, etc.) by default.
  • the electronic device may also prompt the user to make a selection, and temporarily store one or more application windows selected by the user.
  • the electronic device may also determine the suspended application window based on the position or direction of the execution of the first operation. For example, temporarily store the application window at the position where the first operation is performed, or temporarily store the application window closest to the position where the first operation is performed. For example, the electronic device displays two application windows on the left and right, the left window displays interface A, and the right window displays interface B. If an operation of the user sliding and staying to the right from the left edge of the screen is detected (that is, a first operation), the electronic device may temporarily store interface A, but not interface B. In an example, the left window displays the upper level interface of interface A, or the home page of the application corresponding to interface A, or the desktop.
  • the electronic device can temporarily store interface B, but not interface A.
  • the upper-level interface of interface B is displayed in the left window, or the homepage of the application corresponding to interface B, or the desktop, etc.
  • the electronic device is a folding screen
  • the first operation is an operation of folding the screen as an example for description.
  • each application window displays an interface of an application, such as interface A and interface B. If the user's operation to fold the display screen is detected, the electronic device folds the screen. In addition, a part of the interface (such as interface A) is displayed on the folded screen (ie, the small screen), and other interfaces (such as interface B) are temporarily stored.
  • the interface for selecting the temporary storage of the electronic device in the embodiment of the present application is not specifically limited.
  • the electronic device can display the active interface on the large screen on the folded small screen, and temporarily store other inactive interfaces.
  • the user can view the logo of the temporary storage interface by performing the first operation on the small screen, and can quickly open the selected interface through the logo.
  • the electronic device can also temporarily store part of the folded screen of the interface.
  • the screen of an electronic device includes a first screen and a second screen.
  • interface A is displayed on the first screen
  • interface B is displayed on the second screen.
  • the electronic device continues to display interface B on the second screen, and temporarily stores interface A on the first screen.
  • the user can view the logo of interface A by performing the first operation on the second screen, and can quickly open interface A through the logo.
  • the screen of the electronic device when the screen of the electronic device can be folded into three or more screens, the screen of the electronic device can be in a fully expanded state, a partially expanded state (or a partially folded state), and Fully folded state.
  • the screen of the electronic device can be folded into a first screen, a second screen, and a third screen.
  • the first screen, the second screen, and the third screen of the electronic device can all be used to display content.
  • the electronic device is in a partially unfolded state, one of the first screen, the second screen, and the third screen of the electronic device is folded and cannot be used to display content.
  • the electronic device is in a fully folded state, only one of the first screen, the second screen, and the third screen of the electronic device can be used to display content.
  • the electronic device is used as a scrolling screen
  • the first operation is an operation of shrinking the screen as an example for description.
  • the electronic device When multiple application interfaces are displayed on the screen of the electronic device, for example, interface A and interface B. If the user's operation to collapse the screen is detected, the electronic device collapses the screen. When the screen for displaying content is reduced to a preset value, the electronic device displays a part of the interface (for example, interface A), and temporarily stores other interfaces (for example, interface B).
  • the interface for selecting the temporary storage of the electronic device in the embodiment of the present application is not specifically limited. For example, you can temporarily store an inactive interface, or temporarily store an interface that is partially displayed when the screen is collapsed. For the rest of the content, please refer to the relevant description when the electronic device is a folding screen.
  • the first operation can also be cancelled.
  • the user can immediately stop performing subsequent operations in the first operation. If the user finishes performing the first operation, the user can continue to perform other operations to cancel the first operation without leaving the screen.
  • the first operation is to slide inward from the edge of the screen and stay. If in the process of sliding the user's finger inward from the edge of the screen, when the user wants to cancel the temporary first interface, he can also immediately remove the finger from the screen, that is, no longer perform the dwell operation. Or, without leaving the screen, slide the finger to the outside (or to the top or bottom of the screen) to cancel the first operation. If the user's finger slides inward from the edge of the screen and stays there for a period of time, when the user wants to cancel the temporary first interface, he can also move his finger to the outside (or to the screen without leaving the screen). Up or down) slide to cancel the first operation.
  • the electronic device may be provided with two windows. Among them, one window is used to display the interface of the application currently opened by the electronic device, and may also be referred to as an application window. For example, interface 401, interface 402, interface 404, and interface 405 in FIG. 4, interface 501, interface 503, interface 505, and interface 506 in FIG. 5, etc. may be displayed.
  • the other window is used to display the identifier corresponding to the temporarily stored interface, which is called a portal window here, such as window 402 in FIG. 4, such as window 504 in FIG. 5, window 602 and window 605 in FIG. , The window 704 in FIG. 7.
  • the portal window displays the identifier of the temporarily stored interface, or the portal window displays a specific identifier, which is used to remind the user that there is a temporary interface. If the electronic device does not have a temporarily saved interface, the portal window does not display the logo of the interface, or displays another specific logo to remind the user that there is no temporarily saved interface.
  • the application window may be located in the main display area of the screen of the electronic device, for example, the central area of the screen.
  • the portal window can be used for the secondary display area of the electronic device screen, for example, the edge area of the screen. In some examples, the portal window can be hidden.
  • the application window may be located in the main display area on the front of the screen of the electronic device, and the portal window may be used in the side area of the middle screen with a curvature.
  • the window where the interface 601 as shown in (1a) in FIG. 6 is located is an application window
  • the window where the identifier 602 as shown in (1b) in FIG. 6 is located is a portal window.
  • the application window can cover the entire screen of the electronic device, that is, the electronic device displays the application window in full screen, while the portal window can be suspended on the application window, located at the edge or blank position of the application window, and the size of the portal window is smaller than that of the application The size of the window.
  • the window where the interface 402 as shown in (2) in FIG. 4 is located is an application window.
  • Window 403 is a portal window.
  • the electronic device can generate corresponding display content (context) for the portal window according to the screen information of the electronic device (Screen Info), etc.
  • the portal window can also dynamically display the corresponding content according to the aspect ratio of its own window, how much content is displayed, and so on.
  • the display of the portal window is not specifically limited.
  • the interface displayed by the electronic device always displays a window with the identifier of the temporarily stored interface, and the user can quickly open a temporary storage interface by directly operating the window.
  • the second interface also displays one or more temporarily stored interface identifiers. The user can choose to open the corresponding temporary storage interface by operating these signs.
  • the user when there is no window displaying the identifier of the temporarily stored interface in the interface displayed by the electronic device, the user is required to manually call up the window displaying the identifier of the temporarily stored interface.
  • the following is an example for the user to manually call up the window displaying the stored interface identification.
  • the electronic device displays the second interface, detects that the user performs the second operation on the second interface, and the electronic device displays one or more temporarily stored interface identifiers. The user can choose to open the corresponding interface by operating these marks.
  • the second operation can be sliding inward at the edge of the screen, sliding inward at the edge of the screen and staying (referred to as sliding + stay), pressing hard, folding operation, sliding operation of preset patterns, preset air gestures , Input voice commands or other predefined operations.
  • the second operation may be a different operation from the first operation.
  • the first operation is an operation of sliding and staying from the right edge of the screen
  • the second operation may be an operation of sliding and staying from the left edge of the screen.
  • the first operation is an operation of sliding and staying inward from both sides of the screen.
  • the second operation may be an operation of sliding inward from both sides of the screen and staying, and the staying time of the second operation is greater than or less than the staying time of the first operation.
  • the first operation is an operation of sliding and staying inward from both sides of the screen.
  • the second operation may be an operation of pressing strongly at a specific position on the screen.
  • the first operation is to slide inward from the upper left edge of the screen and stay for a while.
  • the second operation is to slide inward from the bottom right edge of the screen and stay for a while.
  • the embodiment of the present application does not specifically limit the second operation.
  • the interface 801 is an example of the second interface.
  • the electronic device may display a window 802 as shown in (2) in FIG. 8.
  • the window 802 displays the identifiers of one or more interfaces that have been temporarily stored, such as identifier 1 and identifier 2.
  • the electronic device In response to detecting that the user selects the identifier 1, the electronic device displays an interface corresponding to the identifier 1, such as an interface 803 as shown in (3) in FIG. 8.
  • the interface 803 is an interface temporarily stored in the electronic device.
  • the user can view the content of the interface 803, and can also perform operations on the interface 803.
  • operations performed on the interface 803 opened through the window 802 cause some information changes in the interface 803 (for example, the login status of the application account, the order status, the payment status, and the new message status, etc.) to be synchronized to the original application.
  • the changes in the interface 803 opened through the window 802 will be transferred to the application corresponding to the interface 803.
  • operations performed on the interface 803 opened through the window 802 cause other information changes (such as the browsing progress of the interface, the state of jumping to other interfaces, etc.) on the interface 803 will not be synchronized to the original application.
  • the user can also continue to perform the second operation, open the window 802, and select other temporarily stored interfaces through the window 802. It can be seen that the user can quickly switch to other temporarily stored interfaces in the currently browsed application interface, or quickly switch between the temporarily stored interfaces.
  • the user can also quickly switch back to the application interface before browsing the temporary storage interface, such as interface 801, from browsing the temporary storage interface through the recent task bar.
  • the electronic device starts a certain application and displays the interface A of the application. If the user wants to view the previously stored interface B at this time, the user can open the window 802 by performing a second operation on the interface A. And select the logo of interface B on window 802, and the electronic device displays interface B. If the user wants to view the previously stored interface C, he can still open the window 802 by performing a second operation on the interface B. And select the logo of the interface C on the window 802, and the electronic device displays the interface C. If the user wants to return to interface A, he can execute the operation of opening the recent task bar on interface C, select the option corresponding to interface A from the recent task bar, and the electronic device displays interface A. Alternatively, the user can also perform an operation of exiting the interface C on the interface C, and the electronic device can display the main interface. When the user chooses to start the application from the main interface, the electronic device displays the interface A of the application.
  • the staging interface supports the return operation. That is, in response to the user performing a return operation on the temporary storage interface, the electronic device displays the upper level interface of the temporary storage interface. If the temporary storage interface does not have an upper-level interface, the mobile phone can display the main interface or display the application interface before browsing the temporary storage interface, such as interface 801.
  • the electronic device starts a certain application and displays the interface A of the application.
  • the user can open window 802 by performing a second operation on interface A. And select the logo of interface B on window 802, and the electronic device displays interface B.
  • the electronic device continues to display the interface A or the main interface. If the electronic device displays the main interface, when the user selects to start the application from the main interface, the electronic device displays the interface A of the application.
  • the embodiments of the present application can realize rapid switching between multiple interfaces, and improve the interaction efficiency between the user and the electronic device.
  • the electronic device may manage an interface that has been temporarily stored in an application or a type of application as a unit.
  • the identifiers of the temporarily stored interfaces displayed in the windows 802 corresponding to different applications or different types of applications are different.
  • the window 802 displayed by the electronic device only contains the identifier of the application or the interface temporarily stored in this type of application.
  • the electronic device temporarily stores interface A and interface B in application 1, and temporarily stores interface C and interface D in application 2.
  • the window 802 displayed by the electronic device includes the logo of the interface A and the logo of the interface B, but does not include the logo of the interface C and the logo of the interface D. If it is detected that the user performs the second operation when the application 2 is started, the window 802 displayed by the electronic device includes the logo of the interface C and the logo of the interface D, but does not include the logo of the interface A and the logo of the interface. As a result, the function of quickly switching between different interfaces within the application is realized.
  • information comparison for example, comparison of cargo details, price comparison
  • information comparison in the same application or different interfaces of the same type of application can be implemented to facilitate users to select commodities, restaurants, hotels, air tickets, etc. It is also convenient for users to check and write information between different interfaces in the same application or the same type of application, and enhance the user experience.
  • the electronic device can also perform unified management of all temporarily stored interfaces in all applications. That is, if the second operation is performed on the interface of a different application or a different type of application, the contents of the temporarily stored interface in the window 802 displayed by the electronic device are all the same. For example, the electronic device temporarily stores interface A and interface B in application 1, and temporarily stores interface C and interface D in application 2. Then, when the application 1 is started, if it is detected that the user performs the second operation, the window 802 displayed by the electronic device includes the identifiers of the interface A, the interface B, the interface C, and the interface D.
  • the window 802 displayed by the electronic device includes the identifiers of the interface A, the interface B, the interface C, and the interface D.
  • rapid switching of cross-application interfaces can be realized, which facilitates information comparison, information verification, and transcription in different interfaces across applications, and improves the user experience.
  • the electronic device can automatically delete the temporarily stored interface after a preset time period 1 (for example, three months, six months, etc.). Alternatively, the electronic device can also count the number of times the user has opened the temporarily stored interface, and automatically delete the interface with the least number of times after the preset time period 2 (for example: one month, three months). Or, the user can manually delete the selected interface.
  • a preset time period 1 for example, three months, six months, etc.
  • the electronic device can also count the number of times the user has opened the temporarily stored interface, and automatically delete the interface with the least number of times after the preset time period 2 (for example: one month, three months). Or, the user can manually delete the selected interface.
  • the electronic device deletes the temporarily stored interface, including the electronic device no longer displaying the identifier of the interface in the window 802. Moreover, the electronic device no longer temporarily stores the content of the interface.
  • the electronic device when it is detected that the user performs the second operation on the second interface, displays one or more identities of the temporarily stored interface, and may also display a delete control corresponding to each identity. The user can select to delete the corresponding interface and the logo of the interface through the delete control.
  • an interface 901 (the interface 901 may be a desktop, for example) is an example of the second interface.
  • the electronic device displays a window 902 as shown in (2) in FIG. 9.
  • multiple interface identifiers such as identifier 1 and identifier 2 are displayed.
  • the electronic device deletes the interface corresponding to the identifier, and the identifier is no longer displayed in the window 902, such as (4) in FIG.
  • the electronic device may also display prompt information to prompt the user to confirm and avoid misoperation. For example, as shown in Figure 9 (2), in response to detecting that the user has operated on the delete control corresponding to the identifier 1 in the window 902, the electronic device may display the prompt message 903 as shown in Figure 9 (3), prompting The user confirms.
  • the electronic device when it is detected that the user performs the second operation on the second interface, displays one or more identities of the temporarily stored interface, and does not display the delete controls corresponding to the respective identities.
  • the user can operate on the identifiers of the one or more temporarily stored interfaces, so that the electronic device displays the delete controls corresponding to the identifiers of each temporarily stored interface.
  • the electronic device displays an interface 1001 as shown in (1) in FIG. 10.
  • a window 902 is displayed in the interface 1001, and the window 902 includes one or more temporarily stored interface identifiers, but does not include the delete control corresponding to each identifier.
  • the electronic device displays an interface 1002 as shown in (2) in FIG. 10.
  • the window 902 in the interface 1002 displays the delete control corresponding to each identifier. The user can delete the corresponding logo and the interface corresponding to the logo through the delete control.
  • the electronic device in response to detecting that the user operates the window 902 on the interface 1003, such as long press, double tap, strong press, etc., the electronic device may display as shown in (4) in FIG. ⁇ interface 1004.
  • the interface includes a delete control 1005. The user can drag the selected logo to the delete control 1005 to delete the selected logo and the interface corresponding to the logo.
  • the operation of the user to open the temporarily stored interface is distinguished from the operation of the user to delete the temporarily stored interface.
  • the electronic device displays one or more identities of the temporarily stored interface, and does not display the delete controls corresponding to the respective identities.
  • the user can choose to open the corresponding interface by operating the logo of the temporarily stored interface.
  • the electronic device may display one or more temporarily stored interface identifiers and the delete control corresponding to each identifier.
  • the user can delete the corresponding interface by operating the delete control corresponding to each identifier.
  • the second operation is different from the third operation.
  • the second operation operation may be sliding and staying to the right from the left edge of the screen.
  • the third operation can be to quickly slide out from the left edge of the screen to the right.
  • the temporarily stored interface can also be deleted in other interfaces.
  • a management interface of a temporary interface is set in the settings application, and the temporary interface can be deleted in the management interface.
  • you can also set the logo of the temporarily stored application and you can perform corresponding operations on the logo to quickly open the interface corresponding to the logo, or you can perform other operations on the logo to delete the logo. Identify the corresponding interface, etc.
  • the embodiment of the present application does not limit the interactive interface for opening and deleting the temporarily stored interface.
  • the embodiment of the present application also provides a chip system.
  • the chip system includes at least one processor 1101 and at least one interface circuit 1102.
  • the processor 1101 and the interface circuit 1102 may be interconnected by wires.
  • the interface circuit 1102 can be used to receive signals from other devices (for example, the register of the electronic device 100).
  • the interface circuit 1102 may be used to send signals to other devices (such as the processor 1101).
  • the interface circuit 1102 may read an instruction temporarily stored in the temporary memory, and send the instruction to the processor 1101.
  • the electronic device can be made to execute the steps performed by the electronic device 100 (for example, a mobile phone) in the above-mentioned embodiment.
  • the chip system may also include other discrete devices, which are not specifically limited in the embodiment of the present application.
  • An embodiment of the present application also provides a device included in an electronic device, and the device has a function of realizing the behavior of the electronic device in any of the methods in the foregoing embodiments.
  • This function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes at least one module or unit corresponding to the above-mentioned functions. For example, a detection module or unit, a display module or unit, a determination module or unit, and a generation module or unit, etc.
  • the embodiments of the present application also provide a computer-readable storage medium, including computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute the method described in the above-mentioned embodiment.
  • the embodiments of the present application also provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute the method described in the above-mentioned embodiments.
  • the embodiment of the present application also provides a graphical user interface on an electronic device.
  • the electronic device has a display screen, a camera, a memory, and one or more processors, and the one or more processors are configured to execute One or more computer programs in the memory, and the graphical user interface includes a graphical user interface displayed when the electronic device executes the method described in the foregoing embodiment.
  • the above-mentioned electronic devices and the like include hardware structures and/or software modules corresponding to the respective functions.
  • the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of the embodiments of the present invention.
  • the embodiments of the present application may divide the above-mentioned electronic devices and the like into functional modules according to the above-mentioned method examples.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiment of the present invention is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • the functional units in the various embodiments of the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be temporarily stored in a computer-readable temporary storage medium.
  • the storage medium includes a number of instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned temporary storage media include: flash temporary storage, mobile hard disk, read-only temporary storage, random access temporary storage, magnetic disk or optical disk and other media that can temporarily store program code.

Landscapes

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

Abstract

L'invention concerne un procédé de mise en cache d'interface d'application et d'appareil électronique, se rapportant au domaine technique des appareils électroniques, qui permettent de mettre en cache une interface d'application pour une visualisation rapide ultérieure d'une interface d'application mise en cache et facilite une commutation efficace entre de multiples interfaces pour les utilisateurs. Le procédé comprend les étapes suivantes : un appareil électronique affiche une première interface d'une première application ; l'appareil électronique détecte une opération de balayage exécutée par un utilisateur sur un écran tactile et le fait qu'un doigt de l'utilisateur reste sur l'écran tactile, puis réduit progressivement l'échelle de la première interface ; lorsque la première interface est mise à l'échelle selon un rapport prédéfini, qu'il est détecté qu'une durée pendant laquelle le doigt de l'utilisateur reste sur l'écran tactile a atteint une durée prédéfinie, ou qu'il est détecté que le doigt de l'utilisateur reste sur l'écran tactile puis le quitte, le premier appareil électronique affiche une première fenêtre, puis déplace la première interface à échelle réduite dans la première fenêtre, la première fenêtre étant utilisée pour afficher un identifiant d'une interface enregistrée ; et le premier appareil électronique enregistre la première interface, la première fenêtre comprenant un identifiant de la première interface.
PCT/CN2020/127543 2020-02-25 2020-11-09 Procédé de mise en cache d'une interface d'application, et appareil électronique WO2021169399A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010116567.0A CN111443836B (zh) 2020-02-25 2020-02-25 一种暂存应用界面的方法及电子设备
CN202010116567.0 2020-02-25

Publications (1)

Publication Number Publication Date
WO2021169399A1 true WO2021169399A1 (fr) 2021-09-02

Family

ID=71627144

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/127543 WO2021169399A1 (fr) 2020-02-25 2020-11-09 Procédé de mise en cache d'une interface d'application, et appareil électronique

Country Status (2)

Country Link
CN (1) CN111443836B (fr)
WO (1) WO2021169399A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116193243A (zh) * 2021-11-25 2023-05-30 荣耀终端有限公司 拍摄方法和电子设备

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111443836B (zh) * 2020-02-25 2021-08-20 华为技术有限公司 一种暂存应用界面的方法及电子设备
CN111897459B (zh) * 2020-08-19 2023-04-07 RealMe重庆移动通信有限公司 盲孔屏的盲孔位置信号处理方法、存储介质、装置和设备
CN112527165A (zh) * 2020-12-16 2021-03-19 Oppo广东移动通信有限公司 界面显示状态的调整方法及装置、设备、存储介质
CN115277929B (zh) * 2021-04-30 2023-08-08 荣耀终端有限公司 多窗口显示的终端设备和方法
CN113282213A (zh) * 2021-05-17 2021-08-20 维沃移动通信有限公司 界面显示方法及装置
CN114510310A (zh) * 2022-02-16 2022-05-17 深圳传音控股股份有限公司 显示方法、智能终端及存储介质
CN116781808A (zh) * 2022-03-11 2023-09-19 华为技术有限公司 一种显示方法及电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850296A (zh) * 2014-02-14 2015-08-19 腾讯科技(深圳)有限公司 显示页面内容的方法及装置
US20160034116A1 (en) * 2014-07-29 2016-02-04 Insyde Software Corporation Hand-held electronic apparatus having function of activating application program of electronic apparatus, and method thereof
US20170286047A1 (en) * 2016-04-01 2017-10-05 Lg Electronics Inc. Image display apparatus
CN109683754A (zh) * 2017-10-19 2019-04-26 阿里巴巴集团控股有限公司 一种移动终端页面切换方法及装置
CN109976627A (zh) * 2019-02-22 2019-07-05 上海闻泰信息技术有限公司 界面收藏与提取方法、装置、终端及存储介质
CN110673772A (zh) * 2019-10-10 2020-01-10 北京无限光场科技有限公司 页面返回方法、装置、电子设备及计算机可读介质
CN111443836A (zh) * 2020-02-25 2020-07-24 华为技术有限公司 一种暂存应用界面的方法及电子设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850296A (zh) * 2014-02-14 2015-08-19 腾讯科技(深圳)有限公司 显示页面内容的方法及装置
US20160034116A1 (en) * 2014-07-29 2016-02-04 Insyde Software Corporation Hand-held electronic apparatus having function of activating application program of electronic apparatus, and method thereof
US20170286047A1 (en) * 2016-04-01 2017-10-05 Lg Electronics Inc. Image display apparatus
CN109683754A (zh) * 2017-10-19 2019-04-26 阿里巴巴集团控股有限公司 一种移动终端页面切换方法及装置
CN109976627A (zh) * 2019-02-22 2019-07-05 上海闻泰信息技术有限公司 界面收藏与提取方法、装置、终端及存储介质
CN110673772A (zh) * 2019-10-10 2020-01-10 北京无限光场科技有限公司 页面返回方法、装置、电子设备及计算机可读介质
CN111443836A (zh) * 2020-02-25 2020-07-24 华为技术有限公司 一种暂存应用界面的方法及电子设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116193243A (zh) * 2021-11-25 2023-05-30 荣耀终端有限公司 拍摄方法和电子设备
CN116193243B (zh) * 2021-11-25 2024-03-22 荣耀终端有限公司 拍摄方法和电子设备

Also Published As

Publication number Publication date
CN111443836A (zh) 2020-07-24
CN111443836B (zh) 2021-08-20

Similar Documents

Publication Publication Date Title
WO2021013158A1 (fr) Procédé d'affichage et appareil associé
WO2021027747A1 (fr) Procédé et dispositif d'affichage d'interface
WO2021169399A1 (fr) Procédé de mise en cache d'une interface d'application, et appareil électronique
CN109889630B (zh) 显示方法及相关装置
WO2021103981A1 (fr) Procédé et appareil de traitement d'affichage à écran divisé, et dispositif électronique
WO2020259452A1 (fr) Procédé d'affichage plein écran pour terminal mobile et appareil
WO2021000881A1 (fr) Procédé de division d'écran et dispositif électronique
WO2021213164A1 (fr) Procédé d'interaction entre des interfaces d'application, dispositif électronique et support de stockage lisible par ordinateur
WO2021036571A1 (fr) Procédé d'édition de bureau et dispositif électronique
JP7081048B2 (ja) システムナビゲーションバー表示方法、システムナビゲーションバー制御方法、グラフィカルユーザインターフェース、および電子機器
WO2021052279A1 (fr) Procédé d'affichage sur écran pliable, et dispositif électronique
WO2021036585A1 (fr) Procédé d'affichage sur écran souple, et dispositif électronique
CN111176506A (zh) 一种屏幕显示方法及电子设备
WO2020221063A1 (fr) Procédé de commutation entre une page parent et une sous-page, et dispositif associé
WO2021082835A1 (fr) Procédé d'activation de fonction et dispositif électronique
WO2021063237A1 (fr) Procédé de commande de dispositif électronique et dispositif électronique
WO2021036770A1 (fr) Procédé de traitement d'écran partagé et dispositif terminal
WO2022068819A1 (fr) Procédé d'affichage d'interface et appareil associé
WO2020221060A1 (fr) Procédé et appareil de traitement associé à une carte
WO2021078032A1 (fr) Procédé d'affichage d'interface utilisateur et dispositif électronique
WO2021238370A1 (fr) Procédé de commande d'affichage, dispositif électronique, et support de stockage lisible par ordinateur
WO2021190524A1 (fr) Procédé de traitement de capture d'écran, interface utilisateur graphique et terminal
WO2022143180A1 (fr) Procédé d'affichage collaboratif, dispositif terminal et support de stockage lisible par ordinateur
WO2022012418A1 (fr) Procédé de photographie et dispositif électronique
WO2021042878A1 (fr) Procédé photographique et dispositif électronique

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20921213

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20921213

Country of ref document: EP

Kind code of ref document: A1