CN111443836B - Method for temporarily storing application interface and electronic equipment - Google Patents

Method for temporarily storing application interface and electronic equipment Download PDF

Info

Publication number
CN111443836B
CN111443836B CN202010116567.0A CN202010116567A CN111443836B CN 111443836 B CN111443836 B CN 111443836B CN 202010116567 A CN202010116567 A CN 202010116567A CN 111443836 B CN111443836 B CN 111443836B
Authority
CN
China
Prior art keywords
interface
user
application
electronic device
window
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202010116567.0A
Other languages
Chinese (zh)
Other versions
CN111443836A (en
Inventor
张子曰
范振华
丁宁
贺真
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010116567.0A priority Critical patent/CN111443836B/en
Publication of CN111443836A publication Critical patent/CN111443836A/en
Priority to PCT/CN2020/127543 priority patent/WO2021169399A1/en
Application granted granted Critical
Publication of CN111443836B publication Critical patent/CN111443836B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

A method for temporarily storing an application interface and electronic equipment relate to the technical field of electronic equipment, the application interface is temporarily stored for the convenience of quickly checking the temporarily stored interface in the following, and a user can efficiently switch among a plurality of interfaces, and the method comprises the following steps: the electronic equipment displays a first interface of a first application; the electronic equipment detects that a user executes sliding operation on the touch screen, the finger of the user stays on the touch screen, and the electronic equipment gradually shrinks the first interface; if the first interface is reduced to a preset proportion, or the time length of the finger of the user staying on the touch screen is detected to reach a preset time length, or the finger of the user leaves the touch screen after staying on the touch screen is detected, the electronic equipment displays a first window, and the reduced first interface is moved into the first window; the first window is used for displaying the stored identifier of the interface; the electronic equipment stores a first interface; the first window includes an identification of the first interface.

Description

Method for temporarily storing application interface and electronic equipment
Technical Field
The present application relates to the field of electronic devices, and in particular, to a method for temporarily storing an application interface and an electronic device.
Background
Users often experience the annoyance of using applications on electronic devices: when accessing the current interface, it may be necessary to return to the previous interface to view the relevant information. At this time, the user can return to the previous interface to view only by performing the return operation a plurality of times. The example of repeatedly viewing a travel for comparison between multiple pages of a booking application is described. For example, the user sequentially checks the air ticket information of Beijing flying to Shanghai, the high-speed rail information of Beijing flying to Shanghai, the air ticket information of Beijing flying to tin, and the high-speed rail information of Shanghai flying to tin on a certain day. At this time, if the user wants to return to check the air ticket information of beijing in shanghai, the user needs to perform a plurality of return operations or re-input the departure point, the destination, and the like to return to the interface of the air ticket information of beijing in shanghai on a certain day. And then, if the user wants to check the Beijing tin-free air ticket information again, the user needs to return for multiple times or input the departure place, the destination and the like again to enter an interface of the Beijing tin-free air ticket information. Therefore, the switching operation among the interfaces is quite complicated, and inconvenience is brought to users.
Disclosure of Invention
According to the method for temporarily storing the application interface and the electronic equipment, the application interface can be temporarily stored, so that the temporarily stored interface can be rapidly checked later, a user can efficiently switch among a plurality of interfaces, and the interaction efficiency between the user and the electronic equipment is improved.
In order to achieve the above object, the embodiments of the present application provide the following technical solutions:
in a first aspect, a method for storing an interface is provided, including: the electronic equipment displays a first interface of a first application; the electronic equipment detects that a user executes sliding operation on the touch screen, the finger of the user stays on the touch screen, and the electronic equipment gradually shrinks the first interface; if the first interface is reduced to a preset proportion, or the time length of the finger of the user staying on the touch screen is detected to reach a preset time length, or the finger of the user leaves the touch screen after staying on the touch screen is detected, the electronic equipment displays a first window, and the reduced first interface is moved into the first window; the first window is used for displaying the stored identifier of the interface; the electronic equipment stores a first interface; the first window includes an identification of the first interface.
Therefore, when a user browses the first interface of the first application, the first interface of the first application can be temporarily stored through operation, and the first interface of the first application can be conveniently and quickly opened through the identification of the first interface in the first window. Therefore, the user can switch among the plurality of interfaces efficiently, and the interaction efficiency between the user and the electronic equipment is improved.
In addition, in the scheme provided by the embodiment of the application, the operation of temporarily storing the first interface of the first application is a continuous and smooth operation, and is an operation that a user slides on the touch screen and leaves the touch screen after staying on the touch screen for a period of time. And when the electronic equipment reaches the operation, automatically storing the first interface of the first application. And the method is simple and convenient for users. And moreover, the method is distinguished from the original operation of returning to the previous interface of the electronic equipment, and the like, so that the operation conflict of the user is avoided.
Moreover, after the user executes the temporary storage operation, the first interface of the first application is gradually reduced and then moved into the first window, so that the user is visually informed of storing the first interface of the first application, and the visual effect is improved.
In a second aspect, a method for storing an interface is provided, which is applicable to an electronic device with a touch screen, and the method includes: the electronic equipment displays a first interface of a first application; the electronic equipment detects that a user executes sliding operation on the touch screen, the finger of the user stays on the touch screen, and the electronic equipment moves the first interface to one side of the touch screen; if the moving distance of the first interface reaches a preset distance, or the time that the fingers of the user stay on the touch screen is detected to reach a preset duration, or the fingers of the user leave the touch screen after staying on the touch screen is detected, the electronic equipment displays a first window, wherein the first window is used for displaying the stored identifier of the interface; the electronic equipment stores a first interface; the first window includes an identification of the first interface.
Therefore, when a user browses the first interface of the first application, the first interface of the first application can be temporarily stored through operation, and the first interface of the first application can be conveniently and quickly opened through the identification of the first interface in the first window. Therefore, the user can switch among the plurality of interfaces efficiently, and the interaction efficiency between the user and the electronic equipment is improved.
In addition, in the scheme provided by the embodiment of the application, the operation of temporarily storing the first interface of the first application is a continuous and smooth operation, and is an operation that a user slides on the touch screen and leaves the touch screen after staying on the touch screen for a period of time. And when the electronic equipment reaches the operation, automatically storing the first interface of the first application. And the method is simple and convenient for users. And moreover, the method is distinguished from the original operation of returning to the previous interface of the electronic equipment, and the like, so that the operation conflict of the user is avoided.
Moreover, after the user executes the temporary storage operation, the temporary stored first interface of the first application moves to one side of the touch screen until the temporary stored first interface disappears, so that the user is visually informed to store the first interface of the first application, and the visual effect is improved.
In a third aspect, a method for storing an interface is provided, where the method is applicable to an electronic device with a touch screen, and the method includes: the electronic equipment displays a first interface of a first application; the electronic equipment detects that a user executes sliding operation on the touch screen, the finger of the user stays on the touch screen, and the electronic equipment reduces the first interface into a first icon positioned below the finger; if the fact that the user does not leave the touch screen and drag the first icon is detected, the electronic equipment displays a first window; the first window is used for displaying the stored identifier of the interface; and if the fact that the user drags the first icon to the first window is detected, the electronic equipment stores the first interface, and the first window comprises the identifier of the first interface.
Therefore, when a user browses the first interface of the first application, the first interface of the first application can be temporarily stored through operation, and the first interface of the first application can be conveniently and quickly opened through the identification of the first interface in the first window. Therefore, the user can switch among the plurality of interfaces efficiently, and the interaction efficiency between the user and the electronic equipment is improved.
In addition, in the scheme provided by the embodiment of the application, the operation of temporarily storing the first interface of the first application is a continuous and smooth operation, and the operation is performed by dragging the first icon to the first window after the user slides on the touch screen and stays on the touch screen for a period of time. And when the electronic equipment reaches the operation, automatically storing the first interface of the first application. And the method is simple and convenient for users. And moreover, the method is distinguished from the original operation of returning to the previous interface of the electronic equipment, and the like, so that the operation conflict of the user is avoided.
Moreover, after the user executes the temporary storage operation, the first interface of the first application is reduced to the first icon, and the first icon is moved to the first window along with the dragging operation of the user, so that the user is visually informed of storing the first interface of the first application, and the visual effect is improved.
In a possible implementation, the method further includes: in the process that the electronic equipment shrinks the first interface or moves the first interface to one side of the touch screen, the electronic equipment displays the first interface of the first application below the first interface; or displaying a previous interface of a first interface of the first application; or displaying the primary interface of the first application.
Therefore, after the first interface of the first application is temporarily stored, the electronic device may still display the first interface of the first application, may also display a previous interface of the first interface, or display a main interface of the first application, which may meet different requirements of a user.
In a possible implementation, the method further includes: when the electronic equipment displays the second interface of the first application, the electronic equipment also displays a first window; the electronic equipment detects the operation of selecting the identifier of the first interface by the user, and the electronic equipment displays the first interface.
That is to say, the first window may be displayed on the touch screen all the time, which is convenient for the user to open the temporarily stored application interface quickly by directly operating the first window.
In a possible implementation, the method further includes: when the electronic equipment displays the second interface of the first application, the first window is not displayed; the electronic equipment detects the operation of opening the first window by the user, and the electronic equipment displays the first window; the electronic equipment detects the operation of selecting the identifier of the first interface by the user, and the electronic equipment displays the first interface.
That is to say, the first window can be hidden, and when the application interface which is temporarily stored needs to be opened, the user can manually call the first window, so that the first window can be prevented from blocking the content displayed on the touch screen.
In a possible implementation manner, after the electronic device detects an operation of selecting an identifier of the first interface by a user and the electronic device displays the first interface, the method further includes: the electronic equipment detects that the user exits the operation of the first interface, and the electronic equipment displays a second interface of the first application.
That is to say, when the electronic device displays the second interface of the first application, after the user opens the temporarily stored first interface of the first application through the first window and exits, the electronic device may continue to display the second interface of the first application. In other words, the application interface opened through the first window does not affect the application interface displayed by the original application program.
In a possible implementation manner, after the electronic device detects an operation of selecting an identifier of the first interface by a user and the electronic device displays the first interface, the method further includes: the electronic equipment detects the operation of opening the latest taskbar by a user, the electronic equipment opens the latest taskbar, and the latest taskbar comprises a control corresponding to a first application; the electronic equipment detects the operation of the user on the control corresponding to the first application, and the electronic equipment displays a second interface of the first application.
That is, the cached application interface displayed in the first window can be quickly switched back to the application interface displayed in the original application program through the latest taskbar.
In one possible implementation, an electronic device stores a first interface, including: the electronic equipment generates a mirror image process of the first application according to the process of the first application, and the mirror image process of the first application stores the current state of the first application. Therefore, a specific implementation scheme of the temporary storage application interface is provided.
In one possible implementation manner, an electronic device detects an operation of selecting an identifier of a first interface by a user, and the electronic device displays the first interface, including: the electronic equipment detects the operation of selecting the identifier of the first interface by the user, starts the mirror process of the first application and displays the first interface. Therefore, a specific implementation scheme for starting the temporary storage application interface is provided.
In a possible implementation, the method further includes: the electronic equipment detects the operation of deleting the stored first interface by the user, and the electronic equipment deletes the mirror image process of the first application. Therefore, a specific implementation scheme for deleting the temporary storage application interface is provided.
In a possible implementation manner, the first window may be displayed in a manner of a label, a floating window, a drawer, a button, a card, an icon (icon), a menu, a list, or the like. The electronic device may display the first window at any location on the screen. For example, the first window may be displayed at a fixed position at the edge of the screen. For example, when the screen of the electronic device is a curved screen, the first window may be displayed on the side edges with the arcs on the two sides of the curved screen. In this way, the user can be prevented from being disturbed to pay attention to the interface at the center position of the screen. For another example, the electronic device may select to display a first window at a blank position in the screen according to the layout of the current application interface, and the first window may be suspended on the current interface. Alternatively, the user may manually move the position of the first window. For another example, when the screen of the electronic device is a foldable screen or other large screen, the electronic device may display the first window at a fixed position in the screen.
In other examples, the electronic device may always display the first window, may automatically close the first window after a default time period or may manually close the first window by a user, or may automatically close the first window in a specific scene. For example, if it is detected that the user is playing a game, watching a video, or the like, the electronic device may hide the first window to avoid interfering with the user.
In one possible implementation manner, the electronic device screen may display a plurality of application windows simultaneously, that is, the first interface includes a plurality of application windows, where each application window displays an interface of one application. When the user is detected to execute the temporary storage operation on the first interface, the electronic device can automatically determine the application window needing temporary storage based on a specific rule, or determine the temporary storage application window according to the selection of the user, so that different requirements of the user in different scenes are met.
For example, if the touch screen of the electronic device is a folding screen, the temporary storage operation may be an operation of folding the screen. When the screen of the electronic device is in an expanded state, a plurality of application windows can be displayed on the expanded screen (i.e., a large screen), and each application window displays one interface of one application, such as interface a and interface B. And if the operation of folding the display screen by the user is detected, the electronic equipment folds the screen. And, a part of the interface (for example, interface a) is displayed on the folded screen (i.e., the small screen), and the other interface (for example, interface B) is temporarily stored. The interface for selecting the temporary storage of the electronic equipment is not specifically limited.
For another example, if the touch screen of the electronic device is a scroll screen, the temporary storage operation may be a screen folding operation.
In a possible implementation manner, if the user does not want to temporarily store the first interface any more during the temporary storage operation, the temporary storage operation may be cancelled. For example, if the user does not complete the scratch operation, the user may immediately stop performing the subsequent operations in the scratch operation. If the user finishes executing the temporary storage operation, the user can continue to execute other operations to cancel the first operation when the finger does not leave the screen.
For example: the temporary storage operation is to slide inward from the edge position of the screen and stop. If the user wants to cancel the temporary storage of the first interface in the process of sliding the finger inwards from the edge position of the screen, the finger can be immediately separated from the screen, namely, the stopping operation is not performed any more. Or, under the condition that the finger does not leave the screen, the finger slides outwards (or upwards or downwards the screen) to cancel the temporary storage operation. If the user's finger slides inward from the edge of the screen and stays for a period of time, and the user wants to cancel the temporary storage of the first interface, the user may slide the finger outward (or upward or downward) without the finger leaving the screen, so as to cancel the temporary storage operation.
In a fourth aspect, an electronic device is provided, including: a processor, a memory, and a touchscreen, the memory and the touchscreen coupled to the processor, the memory for storing computer program code, the computer program code comprising computer instructions that, when read by the processor from the memory, cause the electronic device to perform operations comprising: displaying a first interface of a first application; detecting that a user executes sliding operation on the touch screen, and the fingers of the user stay on the touch screen to gradually reduce the first interface; if the first interface is reduced to a preset proportion, or the time length of the finger of the user staying on the touch screen is detected to reach a preset time length, or the finger of the user leaves the touch screen after staying on the touch screen is detected, the electronic equipment displays a first window, and the reduced first interface is moved into the first window; the first window is used for displaying the stored identifier of the interface; storing the first interface; the first window includes an identification of the first interface.
In a fifth aspect, an electronic device is provided, including: a processor, a memory, and a touchscreen, the memory and the touchscreen coupled to the processor, the memory for storing computer program code, the computer program code comprising computer instructions that, when read by the processor from the memory, cause the electronic device to perform operations comprising: displaying a first interface of a first application; detecting that a user executes sliding operation on the touch screen, and moving a first interface to one side of the touch screen when a finger of the user stays on the touch screen; if the moving distance of the first interface reaches a preset distance, or the time that the fingers of the user stay on the touch screen is detected to reach a preset duration, or the fingers of the user leave the touch screen after staying on the touch screen is detected, and a first window is displayed, wherein the first window is used for displaying the stored identifier of the interface; storing the first interface; the first window includes an identification of the first interface.
In a sixth aspect, an electronic device is provided, including: a processor, a memory, and a touchscreen, the memory and the touchscreen coupled to the processor, the memory for storing computer program code, the computer program code comprising computer instructions that, when read by the processor from the memory, cause the electronic device to perform operations comprising: displaying a first interface of a first application; detecting that a user executes sliding operation on the touch screen, stopping a finger of the user on the touch screen, and reducing a first interface into a first icon positioned below the finger; if the fact that the user does not leave the touch screen and drag the first icon is detected, displaying a first window; the first window is used for displaying the stored identifier of the interface; and if the fact that the user drags the first icon to the first window is detected, storing the first interface, wherein the first window comprises the identifier of the first interface.
In one possible implementation, when the processor reads the computer instructions from the memory, the electronic device is further caused to perform the following operations: displaying a first interface of a first application below the first interface in the process of zooming out the first interface or moving the first interface to one side of the touch screen; or displaying a previous interface of a first interface of the first application; or displaying the primary interface of the first application.
In one possible implementation, when the processor reads the computer instructions from the memory, the electronic device is further caused to perform the following operations: when the second interface of the first application is displayed, a first window is also displayed; and detecting the operation of selecting the identifier of the first interface by the user, and displaying the first interface.
In one possible implementation, when the processor reads the computer instructions from the memory, the electronic device is further caused to perform the following operations: displaying the second interface of the first application, and displaying the first window; detecting the operation of opening a first window by a user, and displaying the first window; and detecting the operation of selecting the identifier of the first interface by the user, and displaying the first interface.
In one possible implementation, when the processor reads the computer instructions from the memory, the electronic device is further caused to perform the following operations: after the operation that the user selects the identifier of the first interface is detected and the first interface is displayed, the operation that the user exits the first interface is detected and the second interface of the first application is displayed.
In one possible implementation, when the processor reads the computer instructions from the memory, the electronic device is further caused to perform the following operations: after the operation that a user selects the identifier of the first interface is detected and the first interface is displayed, the operation that the user opens the nearest taskbar is detected, and the nearest taskbar is opened, wherein the nearest taskbar comprises a control corresponding to the first application; and detecting the operation of the user on the control corresponding to the first application, and displaying a second interface of the first application.
In one possible implementation, storing the first interface includes: and generating a mirror process of the first application according to the process of the first application, wherein the mirror process of the first application stores the current state of the first application.
In a possible implementation manner, detecting an operation of a user selecting an identifier of a first interface, where an electronic device displays the first interface, includes: and detecting the operation of selecting the identifier of the first interface by the user, starting the mirror process of the first application, and displaying the first interface.
In one possible implementation, when the processor reads the computer instructions from the memory, the electronic device is further caused to perform the following operations: and detecting the operation of deleting the stored first interface by the user, and deleting the mirror process of the first application.
In a seventh aspect, an apparatus is provided, where the apparatus is included in an electronic device, and the apparatus has a function of implementing the behavior of the electronic device in any method of the foregoing aspects and possible implementations. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes at least one module or unit corresponding to the above functions. For example, a detection module or unit, a display module or unit, a start module or unit, a deletion module or unit, and the like.
An eighth aspect provides a computer-readable storage medium comprising computer instructions which, when executed on an electronic device, cause the electronic device to perform the method as described in the above aspect and any one of its possible implementations.
A ninth aspect provides a computer program product for causing a computer to perform the method as described in the above aspects and any one of the possible implementations when the computer program product runs on the computer.
A tenth aspect provides a chip system comprising a processor, which when executing instructions performs the method as described in the above aspects and any one of the possible implementations thereof.
An eleventh aspect provides a graphical user interface on an electronic device with a touch screen, a camera, a memory, and one or more processors to execute one or more computer programs stored in the memory, the graphical user interface comprising graphical user interfaces displayed when the electronic device performs the methods of the above aspects and any one of their possible implementations.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of another electronic device provided in an embodiment of the present application;
fig. 3A is a schematic structural diagram of another electronic device provided in the embodiment of the present application;
fig. 3B is a schematic process diagram of an interface storage method according to an embodiment of the present disclosure;
FIG. 4 is a schematic view of a user interface of some of the electronic devices provided by embodiments of the present application;
FIG. 5 is a schematic view of a user interface of another electronic device provided in an embodiment of the present application;
FIG. 6 is a schematic view of a user interface of further electronic devices according to an embodiment of the present application;
FIG. 7 is a schematic view of a user interface of further electronic devices according to an embodiment of the present application;
FIG. 8 is a schematic view of a user interface of further electronic devices according to an embodiment of the present application;
FIG. 9 is a schematic view of a user interface of further electronic devices according to an embodiment of the present application;
FIG. 10 is a schematic view of a user interface of further electronic devices according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a chip system according to an embodiment of the present disclosure.
Detailed Description
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the embodiments of the present application, "a plurality" means two or more unless otherwise specified.
In order to solve the inconvenience of mutual switching among a plurality of interfaces in the prior art, the embodiment of the application provides an interface storage method, and when a user browses an interface, a certain interface or certain interfaces can be temporarily stored according to the instruction of the user. The temporary stored interface can be quickly checked through a shortcut mode subsequently, and the temporary stored interface can be quickly switched back to the previous interface, so that the interaction efficiency between the user and the electronic equipment is improved.
For example, the electronic device in the present 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, an Augmented Reality (AR) device, a Virtual Reality (VR) device, an in-vehicle device, a smart car, a smart audio, a robot, and the like, and the specific form of the electronic device is not particularly limited in the present application.
Fig. 1 shows a schematic structural diagram 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, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C bus interface to implement the touch functionality of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative, and is not limited to the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
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 charge management module 140, and supplies power to the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication 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 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. 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, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
In some embodiments of the present application, the display screen 194 may be designed as any one of a full-screen, a curved-screen, or a special-shaped screen (e.g., a bang screen, a pearl screen, a hole-digging screen, etc.), or as a combination of a full-screen and a curved-screen, or as a combination of a curved-screen and a special-shaped screen, etc., which is not limited in this embodiment of the present application.
It should be noted that the touch sensor 180K in the sensor module 180, also referred to as a "touch panel", may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 constitute a touch screen, also referred to as a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194.
The full screen refers to a screen design in which the touch screen occupies a screen area of the front panel of the electronic device 100, and the screen area is greater than a preset threshold. When the electronic device 100 is designed as a full-screen, more interface contents can be displayed in the electronic device 100, and the visual experience of the user is improved.
The curved screen refers to a screen design in which the touch screen is not located on a plane. For example, the electronic device 100 has at least one side being a screen with an arc. For another example, the electronic device 100 is a mobile phone with a curved screen as shown in fig. 2. Fig. 2 (a) shows a perspective view of the curved-screen mobile phone 100. Fig. 2 (b) shows a front view of the curved screen handset 100. As shown in fig. 2 (a) and 2 (b), the touch screen of the curved-screen mobile phone 100 is a curved screen with a curved left side 10 and a curved right side 20. In some examples, a screen with arcs on both sides of a curved screen may be used to display content and receive user touch operations.
The special-shaped screen is a touch screen with an irregular appearance shape. The irregular shape is not a rectangle or a rounded rectangle. Optionally, the special-shaped screen refers to a screen design in which a protrusion, a notch and/or a hole are/is arranged on a rectangular or rounded rectangular touch screen. For example, the special-shaped screen can be a Liuhai screen, a pearl screen, a hole digging screen and the like.
In other embodiments of the present application, the display screen 194 may also be designed as a folding screen. The folded screen is foldable to form at least two screens. For example, the folded screen may be folded along a folding edge or folding axis to form the first screen and the second screen. I.e. the at least two screens comprise a first screen and a second screen. The folding screens in the embodiments of the present application can be classified into two types. The first type is folding screens folded outwards (called as outwards folded screens for short), and the second type is folding screens folded inwards (called as inwards folded screens for short). In this case, the foldable screen may be folded to form the first screen and the second screen. The first screen and the second screen are opposite to each other after the folding screen is folded. The first screen and the second screen are opposite after the inward folding screen is folded.
In further embodiments of the present application, the display screen 194 may also be designed as a scroll screen. The scroll screen can be unfolded and folded under the control of the control structure. When the scroll screen is in the expanded state, the screen size available for displaying content is larger than the screen size available for displaying content when the scroll screen is in the collapsed state. In some examples, the roller screen may be progressively deployed or progressively stowed under the control of the control structure. In the process of gradually expanding or gradually contracting, the screen size available for displaying the content gradually becomes larger or smaller.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
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 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic apparatus 100 receives a call or voice information, it can receive voice by placing the receiver 170B close to the ear of the person.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for fast focus.
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 detects infrared reflected light from nearby objects using a photodiode. 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 may determine that there are no objects near the electronic device 100. The electronic device 100 can utilize the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near 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 to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may 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 implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
As shown in fig. 3A, the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present invention uses an Android system with a layered architecture as an example to exemplarily illustrate a software structure of the electronic device 100.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into three layers, which are an application layer (may be simply referred to as an application layer), an application framework layer (may be simply referred to as a framework layer), and a kernel layer from top to bottom. Optionally, the Android system may further include other layers, such as an Android runtime (Android runtime) and a system library.
The application layer may include a series of application packages, which may include, for example, applications such as camera, gallery, calendar, call, map, navigation, WLAN, bluetooth, music, video, short message, and the like.
For example, as shown in fig. 3A, for example, when the electronic device 100 runs a first application, the application layer includes a first application process, wherein the first application process includes a first application client and a framework layer client. The first application client is used for receiving input of a user and calling framework layer services in the native system through the framework layer client. Wherein, the framework layer client may include: a Package Manager (PM), an Activity Manager (AM), a Window Manager (WM), and the like, which are respectively used to call related framework layer services in the native system.
In some embodiments of the present application, the application layer further includes a sandbox process for implementing the function of the staging interface. The sandboxed process includes, among other things, an application client image (e.g., a first application client image), a framework layer client image, and a state synchronization module. Specifically, when the application is in any state, for example, when the electronic device 100 displays the first interface of the first application, the electronic device 100 detects a temporary storage indication of the user, invokes a fork operation of the sandbox process, and creates an image of the first application in the sandbox process, such as the first application client image. And acquiring and storing the current state of the first application, including an ActivityManager state, a Windows manager state and the like, from the framework layer service of the native system through the framework layer client mirror image and the state synchronization module. In other words, while staging the first interface of the first application, the electronic device 100 saves the image of the first application and the associated state of the first interface. For example, the first application includes a plurality of interfaces, and the Activity states of different interfaces are different. Therefore, it is desirable to store the status (e.g., stopped, paused, running, etc.) of each Activity while the electronic device 100 displays the first interface. In this way, when the temporarily stored first interface needs to be opened subsequently, the corresponding Activity state is set according to the stored Activity states at this time, so that the electronic device 100 can normally display the content of the first interface.
Subsequently, when the first application displays other interfaces, or the first application is in a background running state, or the first application is in a closed state, the user can quickly start the temporarily stored mirror image of the first application through a shortcut to display the first interface of the first application. That is, the electronic device 100 may quickly switch from the other interface to the first interface of the first application. Of course, if 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 perform fast switching between the multiple interfaces.
In some examples, the user may also operate on the staged first interface. For example, enter the next level interface of the first interface, etc., return to the previous level interface of the first interface, etc. When the method is implemented, the first application client mirror image can send a calling request to the framework layer service in the native system through the framework layer client mirror image of the application layer and the sandbox framework layer service of the framework layer, and call the related service.
In other examples, the user may cause a change in information (e.g., login information, etc.) on the first interface by operating on the first interface that is staged, and may also pass the state synchronization information to the framework layer service of the native system. That is, when the subsequent electronic device 100 runs the first application, or switches the first application from the background to the foreground, the related information of the first application is also updated synchronously.
In still other examples, the user may instruct the electronic device 100 to temporarily store the interfaces when starting other interfaces by performing an operation on the temporarily stored first interface. Similarly, in response to detecting that the user indicates to register an interface, the electronic device 100 invokes a fork operation of the sandbox process, creates another first application client image in the sandbox process, and obtains and saves the current state of the first application from the framework layer service of the native system through the framework layer client image and the state synchronization module.
It may be noted that the electronic device 100 is implemented to spool the first application first interface by creating an image of the first application in a sandbox process, which is relatively independent of the processing of the first application in the native system. Subsequently, when receiving an instruction of the user to open the first interface, the electronic device 100 opens a mirror image of a corresponding application in the sandbox process to implement a function of displaying the first interface, and executes a corresponding instruction in response to other operations performed by the user on the first interface. These operations result in processes that do not affect the first application in the native system.
It should be further noted that, when the user selects to delete a certain temporary storage interface, the electronic device 100 may delete the client image corresponding to the temporary storage interface in the sandbox process.
The framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions. For example: including a PM Service (PMs), an AM Service (AMs), a WM Service (WMs), and the like.
In some embodiments of the present application, the framework layer may also include sandbox framework layer services. The sandbox framework layer services include PMS, AMS, WMS, and hook modules. The PMS, AMS and WMS have similar functions with corresponding modules in the native system. The hook module can be used for providing an API interface corresponding to the framework layer service of the native system, and converting a call request from the sandbox framework layer service, so that the sandbox Process can call the framework layer service of the native system through Inter-Process Communication (IPC). For example, the framework layer of the native system supports only one process ID call to the framework layer service. If the electronic device 100 runs the first application in the background, the user opens the first interface of the first application that is temporarily stored again. The first application itself has a process ID, for example ID 1. And the sandboxed process has another process ID, such as ID 2. Then, when the sandboxed process needs to invoke framework layer services in the native system, the process ID in the invocation request needs to be translated from ID2 to ID 1.
The kernel layer is a layer between hardware and software. The kernel layer at least comprises a display driver, an input driver, a camera driver, an audio driver, a sensor driver and the like. Wherein the partial drive is not shown.
As can be seen from the above description of the temporary storage scheme provided in the embodiment of the present application, the embodiment of the present application can temporarily store different interfaces of the same application, and can further temporarily store an interface on a temporarily-suspended interface, and a page temporarily stored by using the temporary storage method provided in the embodiment of the present application is relatively independent from an original application. A specific example is given below.
For example, referring to fig. 3B, when the electronic device displays the first interface of the first application and receives a first operation of the temporary storage interface of the user, the electronic device creates a mirror image of the first application (denoted as a first application mirror image 1) in the sandbox process, so as to implement temporary storage of the first interface of the first application. At this time, the first interface of the first application is temporarily stored.
Subsequently, when the user continues to perform operations on the first interface of the first application, for example, opening a second interface of the first application, the electronic device displays the second interface of the first application. And if the electronic equipment detects that the user executes a second operation on a second interface of the first application, the electronic equipment displays one or more temporary stored interface identifiers.
In response to receiving an operation on the identification of the first interface of the first application, the electronic device starts a first application image in the sandbox process to display the first interface of the first application. Subsequently, when the electronic device receives the relevant operation of the user on the first interface of the first application which is temporarily stored, the first application image in the sandbox process is changed in a relevant mode. However, the process of the first application in the native system does not change according to the operation of the user at this time. That is, the process of the first application in the native system still retains the information of the second interface. Therefore, when the electronic device returns to the first application after exiting the first interface of the first application stored in the memory, 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.
Then, the user continues to operate on the second interface of the first application, and the electronic device displays a third interface of the first application. The user may use the same method as the first interface of the first application is staged, and the third interface of the first application is staged. Namely, the electronic device creates another image (denoted as a first application image 2) of the first application in the sandbox process, so as to implement the third interface for temporarily storing the first application.
It is noted that 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. In other words, the third interface of the first application opened by the mirror image 2 of the first application and the associated operations performed on the third interface do not affect the first interface of the first application opened by the mirror image 1 of the first application nor any interface of the first application opened by the first application process of the native system.
In other embodiments, the electronic device displays a fourth interface of the first application, for example, after performing the associated operation on the first interface of the first application by opening mirror 1 of the first application. If it is detected that the user performs the temporary storage operation in the fourth interface of the first application, the electronic device may create another mirror image (mirror image 3 of the first application) for the mirror image 1 of the first application, so as to implement temporary storage of the fourth interface of the first application. Similarly, the image 3 of the first application is relatively independent of other images of the first application and processes of the first application in the native system.
Therefore, the user can realize quick switching in different interfaces of the same application, the user can conveniently carry out information comparison, copying and other use requirements in different interfaces of the same application, and the interaction efficiency between the user and the electronic equipment is improved.
The technical solutions in the following embodiments can be implemented in the electronic device 100 having the above hardware architecture and software architecture.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
1. Temporarily storing the selected interface
The electronic device displays a first interface of a first application. And detecting that the user executes a first operation on the first interface, and temporarily storing the first interface by the electronic equipment. The first application may be any application on the electronic device, for example, the first application may be a shopping application (e.g., "Taobao" application, "Jingdong" application, "Small Red book" application, etc.), a booking application (e.g., "take journey" application, "pig journey" application, etc.), an instant messaging application (e.g., "WeChat" application), a browser application, etc. The first interface may be any interface of a first application on the electronic device. The first operation may be sliding inward at a screen edge position, sliding inward and stopping at a screen edge position (sliding + stopping for short), pressing with a large force, a folding operation, a sliding operation of a preset pattern, a preset air-separating gesture, inputting a voice command, or other predefined operations. The first operation is not particularly limited in the embodiment of the present application.
As shown in (1) in fig. 4, the interface 401 is one example of a first interface. If the user is interested in the interface 401 or is expected to browse the interface again later, a first operation may be performed on the interface 401 to instruct the electronic device to temporarily store (or called store, cache, mark, etc.) the interface 401. Storing the interface 401 includes storing the content displayed by the current interface 401, and the current state of the interface 401, such as the login state, the browsing progress, and the like. Optionally, the input state of the first interface (for example, the selected state of the text and the selected word entered in the text box) may be temporarily stored.
In some embodiments of the present application, in response to detecting that the user performs the first operation, the electronic device temporarily stores the current interface 401, and displays an interface at a previous level of the interface 401, or displays a home page of an application where the interface 401 is located, or displays a home screen interface of a desktop, or remains on the interface 401, and so on. For example, the electronic device may display an interface 404 as shown in (4) in fig. 4, where the interface 404 is a previous level interface of the interface 401.
In other embodiments of the present application, the electronic device may also display other interfaces before the electronic device displays the interface 404 as shown in (4) of fig. 4.
For example, in response to detecting that the user performs the first operation on the interface 401, the electronic device may display an interface 402 as shown in (2) in fig. 4. A window 403 and an application interface at the top of the interface 401 are displayed in the interface 402. Wherein, the window 403 may include an identifier 1 of the previous temporary storage interface and an 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 a shorthand of the corresponding interface title, etc. The embodiment of the present application does not specifically limit the specific form of the identifier. Optionally, the electronic device may also automatically close the window 403 after the window 403 is displayed for a period of time (e.g., 5 seconds), so as not to obscure 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. Optionally, when the electronic device displays the window 403, the identifier of the interface that has been temporarily stored before the electronic device may be displayed first, and then the identifier of the interface 401 that has been temporarily stored at this time is newly added and displayed. That is, the window 403 may display the logo 1 first, and then display the logo 1 and the logo 2. Therefore, the user can conveniently check the identifier change in the window 403 after the new temporary storage interface 401, and the user can conveniently distinguish the identifier of the new temporary storage interface 401.
The electronic device may display the window 403 in another manner, for example, in the form of a label, a floating window, a drawer, a button, a card, an icon (icon), a menu, a list, or the like. The electronic device may display the window 403 at any location on the screen. For example, window 403 may be displayed at a fixed location at the edge of the screen. For example, when the screen of the electronic device is a curved screen, the window 403 may be displayed on the side edges with arcs on both sides of the curved screen. In this way, the user can be prevented from being disturbed to pay attention to the interface at the center position of the screen. For another example, the electronic device may select to display the window 403 in a blank position in the screen according to the layout of the current application interface, and the window 403 may be suspended on the current interface. Alternatively, the user may manually move the position of the window 403. For another example, when the screen of the electronic device is a foldable screen or other large screen, the electronic device may display the window 403 at a fixed position in the screen.
In the embodiment of the application, the electronic device may always display the window 403, may automatically close the window 403 after a default time period or be manually closed by a user, and may automatically close the window 403 in a specific scene. For example, if it is detected that the user is playing a game, watching a video, or the like, the electronic device may hide the window 403 to avoid interfering with the user.
In some examples, a preset number (e.g., 3, 5) of identifiers may be displayed in the window 403 at most. If the window 403 displays a predetermined number of identifiers, and when the user temporarily stores a new interface again, the identifier of the interface temporarily stored first in the window 403 may be replaced by the identifier of the interface temporarily stored new in the window 403, or may replace the identifier of an interface selected by the user. Alternatively, the user may view the identity of more other interfaces, for example, by operating window 403. For example, long-pressing window 403 and sliding up and down causes window 403 to change the identity of the currently displayed interface.
For example, the window 403 may display 3 temporary identifiers of interfaces by default. Suppose that, in time sequence, the electronic device temporarily stores interface a, interface B, and interface C in sequence. The mark of interface a is displayed at position 1 of window 403, the mark of interface B is displayed at position 2 of window 403, and the mark of interface C is displayed at position 3 of window 403. If the electronic device detects a first operation of the user indicating to temporarily store the interface D, the electronic device may temporarily store the interface D and display an identifier of the interface D in the window 403. For example, the identification of interface A may be replaced at position 1 of window 403. Alternatively, the mark of interface B is displayed at position 1 of window 403, the mark of interface C is displayed at position 2 of window 403, and the mark of interface D is displayed at position 3 of window 403.
It should be noted that the electronic device may delete the replaced interface a, that is, the interface a is not temporarily stored. Interface a may also continue to be temporarily stored, except that the identifier of interface a is not displayed in the current window 403. In some examples, the user may expand the identifications of the plurality of interfaces included in window 403 that have been staged, including the identification of interface a, by manipulating window 403 (e.g., clicking, or long-pressing, or double-clicking, or strongly pressing window 403). Alternatively, by operating the window 403, the identity of the interface displayed in the window 403 is changed to look at the identity of the interface a. For example, press window 403 long and slide up and down.
In other examples, the window 403 may also display an identifier by default, which identifies an existing interface to be staged, or an identifier identifying one of the interfaces (e.g., an identifier of the interface to be staged last time, or an identifier of the application interface default or designated by the user of the electronic device). If the user needs to view all or more interfaces for temporary storage, or needs to select to quickly enter a certain interface through the window 403, the identifiers of the multiple interfaces already stored in the window 403 may be expanded by operating the window 403 (e.g., clicking, long-pressing, double-pressing, or strongly pressing the window 403).
In short, the embodiment of the present application does not specifically limit the display manner, the display position, the display timing, and the like of the window 403.
Of course, the electronic device may also use other manners to prompt the user that the electronic device has temporarily stored the interface 401. For example, in response to detecting that the user performs a first operation on the application interface 401, the electronic device may display an interface 405 as shown in (3) in fig. 4. A prompt 406 is displayed in the interface 405 to prompt the user that the electronic device has temporarily stored the interface 401. The user may then turn off the reminder 406 manually, or the electronic device may turn off the reminder 406 automatically, i.e., display the interface 404 as shown in (4) of fig. 4. Of course, the electronic device may also prompt the user in other manners such as voice prompt, which is not limited in this embodiment of the application.
It should be noted that, in the above embodiment, the window 403 for displaying the temporarily stored interface identifier is not always displayed on the interface of the electronic device. In other embodiments, the window 403 may be displayed on the interface of the electronic device at all times. That is, in the interface 501 shown in (1) in fig. 5, the window 403 may be displayed. After receiving the instruction of the user to temporarily store the interface 501, the electronic device temporarily stores the interface 501 and adds the 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.
In further embodiments of the application, 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, so as to improve the visual experience of the user.
For example, the first operation is a slide + stop operation.
Specifically, the operation of sliding + stopping may be that the user slides to the inside of the screen at the left edge or the right edge of the screen and stops at a certain position. The stopping means that the finger stops sliding at a certain position on the screen, and the time that the finger does not leave the screen is longer than a certain time. In some examples, the sliding distance on the screen needs to be larger than a preset value (e.g., 3 cm, or 50 pixels apart). In other examples, the length of the dwell at a location may be greater than a predetermined time period (e.g., greater than 3 seconds).
As shown in fig. 5 (1), the electronic device displays an interface 501. In response to a user's operation of sliding left at the right edge of the screen or in response to a user's distance of sliding left at the right edge of the screen being greater than a preset value, a pattern 502 may be dynamically displayed below the right side of the electronic device for prompting the user that a sliding operation by the user has been detected.
When the user's finger is detected to stay or the time period for which the user's finger is detected to stay is greater than the preset time period, the electronic device may gradually shrink the interface 501. As shown in (2) of fig. 5, while zooming out the interface 501, a previous interface of the interface 501, or a top page of an application where the interface 501 is located, or a desktop, or the interface 501, etc. may be displayed below the interface 501. For example, the upper level interface of the interface 501 is shown in (2) of fig. 5.
Further, when the interface 501 is scaled down to a certain ratio, or when it is detected that the user's finger is lifted, or after it is detected that the time period for which the user's finger stays is greater than a preset time period, as shown in (3) of fig. 5, the electronic device may further display a window 504. The window 504 displays a previously staged interface (e.g., logo 1). Also, the interface 501 to be reduced may be moved to the window 504. As shown in (4) of fig. 5, when moving to the window 504, the identifier (identifier 2) of the interface 501 is newly added to the window 504, which may be used to prompt the user that the interface 501 has been temporarily stored, and then the interface 501 may be quickly opened through the identifier.
In general, when the user performs the first operation, the buffered interface 501 gradually shrinks, then moves toward the window 504, and finally is displayed on the window 504 with a specific identifier. In general, the user is given an animation effect in which the interface 501 gradually becomes smaller and is sucked into the window 504, prompting the user to temporarily store the interface 501. The interface 501 can be quickly opened through the window 504 subsequently, and the visual effect is improved. It should be noted that, if the electronic device has temporarily stored another interface before the temporary storage interface 501, an identifier of the temporarily stored interface may be displayed in the window 504, or a specific identifier may prompt the user of the already temporarily stored interface. If the electronic device does not temporarily store other interfaces before the temporary storage interface 501, no content or another specific identifier may be displayed in the window 504 to prompt the user that there is no temporary stored interface.
Moreover, the first operation is simple and quick, and is distinguished from the original operation of returning to the previous interface of the electronic equipment, and the like, so that the operation conflict of a user is avoided.
Further exemplarily, the screen of the electronic device is taken as a curved screen, and the mark of the interface that is temporarily stored is displayed at the left edge or the right edge of the curved screen having the radian.
As shown in (1a) of fig. 6, an example of an interface is displayed for an electronic device. An interface 601 is displayed in the interface. In some examples, the interface also displays an identifier 602 of the interface that has been staged. Wherein, 10 is the left side edge area of the curved screen with radian, and 20 is the right side edge area of the curved screen with radian. Here, the description will be given by taking an example in which the right edge region displays the identifier of the interface after temporary storage. As shown in (1b) in fig. 6, which is a right side view of the electronic device when displaying the interface 601, it can be seen that the right edge area displays the identifier 602 (e.g., identifier 1) of the interface temporarily stored before.
If 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 and stopping from the left edge of the screen to the right, as shown in (2a) in fig. 6, the interface 601 may move to the right side of the screen until disappearing. As shown in the right view of fig. 6 (2b), the identification of the interface that has been temporarily stored at the right edge is not changed during the movement of the interface 601 to the right side of the screen. In addition, in the process that the interface 601 can move to the right side of the screen, an interface at the upper level of the interface 601, or a home page of an application where the interface 601 is located, or a desktop, etc. is displayed below the interface 601. Visually, the interface 601 has the visual effect of drawer collapse.
After detecting that the time that the user's finger stays on the screen reaches a preset time period, or after detecting that the user's finger looses after staying, the electronic device may display an interface as shown in (3a) in fig. 6. The interface includes an interface 604, and an identifier 602 and an identifier 605. Wherein, the identifier 605 is an identifier of the new added interface 601. In the right view shown in fig. 6 (3b), the identifier 605 (e.g., identifier 2) of the right edge adding interface 601 can be seen.
It should be noted that, because the side area of the curved screen has the characteristic of not interfering with the middle main display area, after the side area displays the temporarily stored interface identifier, the content of the main display area is not interfered, and the user experience is improved.
Further exemplarily, the first operation is a slide + stay + drag operation as an example.
As shown in (1) in fig. 7, an interface 701 is displayed for the electronic device. In response to detecting the user's operation of sliding and hovering inward on the interface 701 from the edge of the screen, the electronic device may gradually zoom out of the interface 701, and finally zoom out to one icon 703 under the finger, such as the electronic device interface 702 shown in fig. 7 (2). The user can drag the icon 703 without loosing his hand. In some examples, the electronic device interface 702 may also display a window 704 for displaying an identification of an interface that the electronic device has staged. For example, label 1. As shown in the interface 705 in (3) of fig. 7, detecting that the user drags the application icon 703 to the window 704 without loosing hands, the electronic device may display the interface 706 shown in (4) of fig. 7, that is, an identifier (e.g., a logo) of the newly added interface 701 in the window 704. In some examples, upon detecting 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 identity of interface 701 in a first unoccupied location in a top-down order. If the location in the window 704 is fully occupied, the identity of the oldest cached interface may be replaced by default. In other examples, upon detecting that the user drags application icon 703 to a particular location on window 704, the identity of interface 701 will be displayed at the particular location. For example, there are three positions in the window 704 by default, and if the user drags the application icon 703 to the second position, the electronic device displays the identifier of the interface 701 at the second position. If the second location has the identifier of another interface, the electronic device may display the identifier of the interface 701 at another unoccupied location, or replace the identifier of the interface 701 with the identifier displayed at the second location. The embodiments of the present application do not limit this.
Therefore, in the example, the user can select the display position of the identifier of the interface in a dragging mode, and the use experience of the user is improved.
It is further noted that the electronic device screen may display a plurality of application windows simultaneously, i.e. the first interface comprises a plurality of application windows, each of which displays an interface of an application. When it is detected that the user executes the first operation on the first interface, the electronic device may automatically determine the application window to be temporarily stored based on a specific rule, or determine the temporarily stored application window according to the selection of the user, so as to meet different requirements of the user in different scenes.
For example, when the first interface includes a plurality of application windows, if the electronic device detects that the user performs a first operation on the first interface, the electronic device may temporarily store all of the plurality of application windows included in the first interface. For example, the first interface includes an application window a and an application window B, and after the first operation of the user is detected, both the application window a and the application window B may be temporarily stored.
Alternatively, the electronic device may default to temporarily store a predetermined application window (e.g., an inactive application window, one or more application windows that were first opened, one or more application windows that were not operated for the last period of time, etc.). Or, the electronic device may prompt the user to make a selection, and temporarily store one or more application windows selected by the user.
Still alternatively, the electronic device may also determine the paused application window based on the location or direction of the first operation execution. For example, the application window where the first operation execution location is located is temporarily stored, or the application window closest to the first operation execution location is temporarily stored. For example, the electronic device displays two application windows, a left window displays interface a and a right window displays interface B. If an operation (i.e., a first operation) that the user slides and stops from the left edge of the screen to the right is detected, the electronic device may temporarily store the interface a and not temporarily store the interface B. In one example, the left window displays the upper level interface of interface a, or the top page of the application corresponding to interface a, or the desktop, etc.
If an operation (i.e., another first operation) that the user slides leftward from the right edge of the screen and stops is detected, the electronic device may temporarily store the interface B, but not temporarily store the interface a. In one example, the left window displays the upper level interface of interface B, or the top page of the application corresponding to interface B, or the desktop.
Further exemplarily, the electronic device is taken as a folding screen, and the first operation is an operation of folding the screen.
When the screen of the electronic device is in an expanded state, a plurality of application windows can be displayed on the expanded screen (i.e., a large screen), and each application window displays one interface of one application, such as interface a and interface B. And if the operation of folding the display screen by the user is detected, the electronic equipment folds the screen. And, a part of the interface (for example, interface a) is displayed on the folded screen (i.e., the small screen), and the other interface (for example, interface B) is temporarily stored. The interface for selecting the temporary storage of the electronic equipment is not specifically limited.
For example, the electronic device may display an active interface on a large screen on a folded small screen while temporarily storing other inactive interfaces. The user can check the identifier of the temporary storage interface by executing the first operation on the small screen, and can quickly open the selected interface through the identifier.
For another example, the electronic device may temporarily store a portion of the interface with the folded screen. For example, a screen of an electronic device includes a first screen and a second screen. When the electronic equipment is in the unfolding state, an interface A is displayed on the first screen, and an interface B is displayed on the second screen. When the operation that the user folds the first screen is detected, the electronic equipment continues to display the interface B on the second screen, and temporarily stores the interface A of the first screen. The user can check the identifier of the interface A by executing the first operation on the second screen, and can quickly open the interface A through the identifier.
It should be noted that in other examples, when the screen of the electronic device may be folded into three or more screens, the screen of the electronic device may be in a fully unfolded state, a partially unfolded state (or a partially folded state), and a fully folded state. For example, a screen of an electronic device may be folded into a first screen, a second screen, and a third screen. When the electronic device is in the fully unfolded state, the first screen, the second screen, and the third screen of the electronic device may all be used to display content. When 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 for displaying content. When the electronic device is in a fully folded state, only one of the first, second, and third screens of the electronic device may be used to display content.
When the screen of the electronic device is in the fully-unfolded state or the partially-unfolded state, the folding operation of the user is detected, and some interfaces in the multiple interfaces displayed currently can be temporarily stored. The remainder of the description is with reference to the above related description.
Further exemplarily, the electronic device is a scroll screen, and the first operation is an operation of folding the screen.
When a screen of the electronic device displays multiple application interfaces, such as interface a and interface B. And if the operation that the user folds the screen is detected, the electronic equipment folds the screen. When the screen for displaying the content is reduced to a preset value, the electronic device displays a part of the interface (for example, interface a) and temporarily stores the other interfaces (for example, interface B). The interface for selecting the temporary storage of the electronic equipment is not specifically limited. For example, an inactive interface may be staged, or a partially displayed interface may be staged with the screen being collapsed. The rest of the contents can refer to the relevant description when the electronic device is a folding screen.
It should be noted that, if the user does not want to temporarily store the first interface any more during the first operation, the first operation may be cancelled. For example, if the user does not complete the first operation, the execution of the subsequent operations in the first operation may be immediately stopped. If the user finishes executing the first operation, the user can continue to execute other operations to cancel the first operation when the finger does not leave the screen.
For example: the first operation is to slide and stop inward from an edge position of the screen. If the user wants to cancel the temporary storage of the first interface in the process of sliding the finger inwards from the edge position of the screen, the finger can be immediately separated from the screen, namely, the stopping operation is not performed any more. Alternatively, the finger is slid outward (or upward or downward of the screen) without being separated from the screen to cancel the first operation. If the user wants to cancel the temporary storage first interface after the user's finger slides inward from the edge of the screen and stays for a while, the user may slide the finger outward (or upward or downward) without the finger leaving the screen to cancel the first operation.
Here, taking the example that the electronic device displays an application interface, a specific implementation method for displaying a window including a mark of a temporarily stored interface while the electronic device displays the application interface is exemplarily described.
For example, the electronic device may be provided with two windows. One of the windows is used to display an interface of an application currently opened by the electronic device, and may also be referred to as an application window. For example, an interface 401, an interface 402, an interface 404, and an interface 405 in fig. 4, an interface 501, an interface 503, an interface 505, and an interface 506 in fig. 5, and the like may be displayed. Another window is used to display the corresponding identifier of the interface that has been staged, and is referred to herein as a transport door (portal) window, such as window 402 in fig. 4, e.g., window 504 in fig. 5, window 602 and window 605 in fig. 6, and window 704 in fig. 7. If the electronic equipment has a temporarily stored interface, the identifier of the temporarily stored interface is displayed on the door or window of the transmission door or window, or the specific identifier is displayed on the door or window of the transmission door or window and used for prompting a user that the temporarily stored interface exists. If the electronic equipment does not have a temporary stored interface, the transmission door or window does not display the identifier of the interface or displays another specific identifier for prompting a user that the interface is not temporarily stored.
The application window may be located in a main display area of the screen of the electronic device, such as a center area of the screen. The transmission door opening and closing opening can be used for a secondary display area of a screen of the electronic equipment, such as the edge area of the screen. In some examples, the door opening and the window opening may be hidden.
For example, when the screen of the electronic device is a curved screen, the application window may be located in a main display area on the front surface of the screen of the electronic device, and the door opening of the transmission window may be used in a side area of the screen with a radian. For example, the window where the interface 601 shown in (1a) in fig. 6 is located is an application window, and the window where the identifier 602 shown in (1b) in fig. 6 is located is a transmission door window.
For another example, the application window may cover the whole screen of the electronic device, that is, the electronic device displays the application window in a full screen, while the door window may be suspended on the application window and located at an edge position or a blank position of the application window, and the size of the door window is smaller than that of the application window. For example, the window where the interface 402 is located as shown in (2) in fig. 4 is an application window. The window 403 is a door opening.
The method for displaying the relevant interface in the application window by the electronic device may refer to the relevant technology in the prior art, and is not described herein again.
The electronic device may generate corresponding display content (context) for the door transfer window according to the information (Screen Info) of the Screen of the electronic device, and the like. The transmission door window can also dynamically display corresponding contents according to the aspect ratio of the window per se, the quantity of the displayed contents and the like. The display of the door opening and the window opening of the transmission door is not particularly limited in the embodiment of the application.
2. And opening the temporarily stored interface.
In some embodiments of the application, a window identified by a temporary storage interface is always displayed in an interface displayed by the electronic device, and a user can quickly open a certain temporary storage interface by directly operating the window. That is, when the electronic device displays the second interface, the identifiers of the one or more temporarily stored interfaces are also displayed on the second interface. The user can select to open the corresponding temporary storage interface through the operation on the marks. In other embodiments of the application, when there is no window displaying the identifier of the interface that has been temporarily stored in the interface displayed by the electronic device, the user needs to manually call up the window displaying the identifier of the interface that has been temporarily stored.
The following description will take an example in which the user manually calls up a window displaying the stored interface identifier.
For example, the electronic device displays a second interface, detects that the user performs a second operation on the second interface, and displays the identifier of one or more of the staged interfaces. The user can select to open the corresponding interface through the operation of the identifiers.
The second operation may be inward sliding at the edge position of the screen, inward sliding and stopping (sliding + stopping for short) at the edge position of the screen, pressing with a large force, folding operation, sliding operation of a preset pattern, a preset air-separating gesture, inputting a voice command, or other predefined operations.
In some examples, the second operation may be a different operation than the first operation. For example, the first operation is an operation of sliding and staying leftward from the right edge of the screen, and the second operation may be an operation of sliding and staying leftward from the left edge of the screen. For another example, the first operation is an operation of sliding and stopping inward from both side edges of the screen. The second operation may be an operation of sliding and staying inward from both side edges of the screen, and the second operation stays for a longer period than or less than the first operation stays. For another example, the first operation is an operation of sliding and stopping inward from both side edges of the screen. The second operation may be an operation of strongly pressing at a specific position on the screen. As another example, the first operation is to slide inward from the upper left edge of the screen and stay for a certain period of time. The second operation is to slide inward from the lower right edge of the screen and dwell for a period of time. The second operation is not particularly limited in the embodiment of the present application.
For example, as shown in (1) in fig. 8, an interface 801 is one example of the second interface. In response to detecting that the user performs the second operation on the interface 801, the electronic device may display a window 802 as shown in (2) in fig. 8. In the window 802, identifiers of one or more interfaces that have been temporarily stored, such as identifier 1 and identifier 2, are displayed.
In response to detecting that the user selects identifier 1, the electronic device displays an interface corresponding to identifier 1, such as interface 803 shown in (3) of fig. 8. Obviously, the interface 803 is an interface that the electronic device has temporarily stored before. Thus, the user can view the contents of the interface 803 and can also perform operations on the interface 803. In some examples, some information changes (e.g., login status of application account, order status, payment status, and new message status, etc.) that cause interface 803 to occur are synchronized to the original application at the operation of interface 803 opened through window 802. That is, a change of the interface 803 opened through the window 802 is transmitted to the application corresponding to the interface 803. It should be noted that, in the operation performed on the interface 803 opened through the window 802, other information changes (for example, browsing progress of the interface, jumping to a state of another interface, etc.) occurring on the interface 803 may not be synchronized to the original application.
After opening the interface 803, the user may also continue to perform a second operation, opening the window 802, and selecting another interface that has been staged through the window 802. Therefore, the user can quickly switch to other temporarily stored interfaces in the currently browsed application interface or can quickly switch to the temporarily stored interfaces.
In addition, the user can quickly switch back to the application interface before the temporary storage interface, such as the interface 801, from browsing the temporary storage interface through the latest task bar.
For example, the electronic device starts an application and displays an interface a of the application. If the user wants to view the previously saved interface B, the user may open the window 802 by performing the second operation on the interface a. And the identifier of interface B is selected on window 802, and interface B is displayed by the electronic device. If the user wants to view the previously saved interface C, the window 802 may still be opened by performing the second operation on the interface B. And the identifier of interface C is selected on window 802, and interface C is displayed by the electronic device. If the user wants to return to the interface A, the user can open the latest taskbar on the interface C, select an option corresponding to the interface A from the latest taskbar, and the electronic device displays the interface A. Or, the user may also perform an operation of exiting the interface C on the interface C, and the electronic device may display the main interface. When the user selects to start the application from the main interface, the electronic equipment displays an interface A of the application.
In another example, the staging interface supports return operations. That is, in response to the user performing a return operation on the temporary storage interface, the electronic device displays a previous interface of the temporary storage interface. If the temporary storage interface has no upper interface, the mobile phone may display the main interface or display an application interface before browsing the temporary storage interface, such as interface 801.
For example, the electronic device starts an application and displays an interface a of the application. The user may open window 802 by performing a second operation on interface a. And the identifier of interface B is selected on window 802, and interface B is displayed by the electronic device. And when the return operation executed on the interface B by the user is detected and the interface B does not have an upper-level interface, the electronic equipment continues to display the interface A or the main interface. If the electronic equipment displays the main interface, when the user selects to start the application from the main interface, the electronic equipment displays an interface A of the application.
Therefore, the method and the device for switching the interfaces can realize quick switching among the interfaces, and improve interaction efficiency between the user and the electronic equipment.
It should be further noted that, in some embodiments, the electronic device may manage the temporarily stored interface in units of one application or one type of application. That is, the identifiers of the cached interfaces displayed in the windows 802 for different applications or different types of applications are different. Then, when a certain application or a certain type of application is opened, after it is detected that the user performs the second operation, the window 802 displayed by the electronic device only includes the identifier of the application or the interface temporarily stored in the application. The example is given by taking the electronic device needle as an example to manage in units of a single application. For example, the electronic device temporarily stores the interface a and the interface B in the application 1, and temporarily stores the interface C and the interface D in the application 2. Then, when the application 1 is opened, if it is detected that the user performs the second operation, the window 802 displayed by the electronic device includes the identifier of the interface a and the identifier of the interface B, but does not include the identifier of the interface C and the identifier of the interface D. If it is detected that the user performs the second operation when the application 2 is opened, the window 802 displayed by the electronic device includes the identifier of the interface C and the identifier of the interface D, but does not include the identifier of the interface a and the identifier of the interface. Therefore, the function of rapidly switching different interfaces in the application is realized. For example, information comparison (for example, comparison of details of goods and price comparison) in different interfaces of the same application or the same type of application can be realized, and a user can conveniently select commodities, restaurants, hotels, air tickets and the like. The method is convenient for information checking, copying and the like between different interfaces in the same application or the same type of application, and improves the use experience of the user.
In other embodiments, the electronic device may also perform unified management on interfaces that have been temporarily stored in all the applications. That is, when the second operation is performed on the interfaces of different applications or different types of applications, the content of the interface that has been temporarily stored in the window 802 displayed by the electronic device is the same. For example, the electronic device temporarily stores the interface a and the interface B in the application 1, and temporarily stores the interface C and the interface D in the application 2. Then, when the application 1 is opened, 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. If it is detected that the user performs the second operation when the application 2 is opened, 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. In other words, the quick switching of the cross-application interfaces can be realized, the information comparison, the information verification, the transcription and the like in different interfaces of the user can be conveniently carried out in a cross-application mode, and the use experience of the user is improved.
3. Deleting temporarily stored interface
The electronic device may automatically delete the buffered interface after a preset time period of 1 (e.g., three months, six months, etc.). Or, the electronic device may also count the number of times that the user opens the temporarily stored interface, and automatically delete the interface with the least number of times of opening after a preset time period 2 (e.g., one month, three months). Alternatively, the user may manually delete the selected interface.
The electronic device deletes the interface that has been temporarily stored, including the identifier that the electronic device does not display the interface in the window 802. And the electronic equipment does not temporarily store the content of the interface.
In some embodiments, when it is detected that the user performs the second operation on the second interface, the electronic device may display, in addition to the identifiers of the one or more temporarily stored interfaces, a deletion control corresponding to each identifier. The user can select to delete the corresponding interface and the identifier of the interface through the deletion control.
For example, as shown in (1) in fig. 9, an interface 901 (the interface 901 may be a desktop, for example) is one example of the second interface. In response to detecting that the user performs the second operation, the electronic device displays a window 902 as shown in (2) in fig. 9. In the window 902, a plurality of interface identifiers, such as identifier 1 and identifier 2, are displayed. In one example, there is one delete control for each identification. In response to a user operating a control corresponding to a certain identifier, for example, clicking a delete control corresponding to identifier 1, the electronic device deletes the interface corresponding to the identifier, and the identifier is no longer displayed in the window 902, for example, as shown in (4) in fig. 9, and the identifier 1 is no longer displayed in the window 902. In other examples, when the operation of the user on the control corresponding to the certain identifier is detected, the electronic device may also display prompt information for prompting the user to confirm, so as to avoid a misoperation. For example, as shown in (2) in fig. 9, in response to detecting a user operation on the delete control corresponding to the identifier 1 in the window icon 902, the electronic device may display a prompt message 903 as shown in (3) in fig. 9, prompting the user to confirm.
In other embodiments, when it is detected that the user performs the second operation on the second interface, the electronic device displays one or more identifiers of the temporarily stored interfaces, and does not display the deletion control corresponding to each identifier. And the user can operate the one or more temporarily stored identifiers of the interfaces, so that the electronic equipment displays the deletion control corresponding to each temporarily stored identifier of the interface.
For example, in response to detecting that the user performs the second operation on the interface 901 shown in (1) in fig. 9, the electronic device displays the 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 identifiers of the interface, but does not include deletion controls corresponding to the identifiers. In response to detecting a user manipulation of the window 902, such as a long press, a double tap, a large force press, etc., the electronic device displays an interface 1002 as shown in (2) of fig. 10. A deletion control corresponding to each identifier is displayed in the window 902 in the interface 1002. The user can delete the corresponding identifier and the interface corresponding to the identifier through the deletion control.
For another example, as shown in (3) in fig. 10, in response to detecting an operation of the window 902 by the user on the interface 1003, such as a long press, a double click, a large-force press, or the like, the electronic apparatus may display an interface 1004 as shown in (4) in fig. 10. A delete control 1005 is included in the interface. The user may delete the selected identifier and the interface corresponding to the identifier by dragging the selected identifier to the delete control 1005.
In still other embodiments, the operation of opening the interface which is temporarily stored by the user is distinguished from the operation of deleting the interface which is temporarily stored by the user. In other words, when it is detected that the user performs the second operation on the second interface, the electronic device displays the identifiers of one or more temporarily stored interfaces, and does not display the deletion control corresponding to each identifier. The user can select to open the corresponding interface by operating the identifier of the interface which is temporarily stored. When detecting that the user executes the third operation on the second interface, the electronic device may display one or more temporarily stored identifiers of the interfaces and a deletion control corresponding to each identifier. And the user can delete the corresponding interface by operating the deletion control corresponding to each identifier. Wherein the second operation and the third operation are different. For example, the second operation may be sliding and stopping rightward from the left edge of the screen. The third operation may be a quick slide-out from the left edge of the screen to the right.
In still other embodiments, the buffered interfaces may be deleted on other interfaces. For example, a management interface of a temporary interface is set in the setting application, and the temporary interface can be deleted in the management interface. For another example, in the latest taskbar, an identifier of a temporarily stored application may also be set, and corresponding operations may be performed on the identifier to quickly open an interface corresponding to the identifier, or other operations may be performed on the identifier to delete the interface corresponding to the identifier, and the like. The embodiment of the application does not limit the interactive interface for starting and deleting the temporarily stored interface.
Embodiments of the present application further provide a chip system, as shown in fig. 11, where 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. For example, the interface circuit 1102 may be used to receive signals from other devices (e.g., registers of the electronic apparatus 100). As another example, the interface circuit 1102 may be used to send signals to other devices (e.g., the processor 1101). For example, the interface circuit 1102 may read the instruction temporarily stored in the temporary memory and send the instruction to the processor 1101. The instructions, when executed by the processor 1101, may cause the electronic device to perform the various steps performed by the electronic device 100 (e.g., a cell phone) in the embodiments described above. Of course, the chip system may further include other discrete devices, which is not specifically limited in this embodiment of the present application.
The embodiment of the present application further provides an apparatus, where the apparatus is included in an electronic device, and the apparatus has a function of implementing the behavior of the electronic device in any one of the above-mentioned embodiments. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes at least one module or unit corresponding to the above 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.
Embodiments of the present application further provide a computer-readable storage medium, which includes computer instructions, when the computer instructions are executed on an electronic device, cause the electronic device to perform the method described in the foregoing embodiments.
Embodiments of the present application also provide a computer program product, which when run on a computer causes the computer to execute the method as described in the above embodiments.
Embodiments of the present application further provide a graphical user interface on an electronic device, the electronic device having a display screen, a camera, a memory, and one or more processors, the one or more processors being configured to execute one or more computer programs stored in the memory, the graphical user interface comprising a graphical user interface displayed when the electronic device executes the method according to the above embodiments.
It is to be understood that the electronic devices and the like described above include hardware structures and/or software modules for performing the respective functions in order to realize the functions described above. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present embodiments.
In the embodiment of the present application, the electronic device and the like may be divided into functional modules according to the method example, for example, each functional module may be divided according to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, the division of the modules in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
Each functional unit in 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 are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a separate product, may be temporarily stored in a computer-readable temporary storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is temporarily stored in a temporary storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application. The temporary storage medium includes: various media capable of storing program codes, such as flash memory, removable hard disk, read-only memory, random access memory, magnetic disk, or optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (24)

1. A method for storing an interface, which is applicable to an electronic device with a touch screen, the method comprising:
the electronic equipment displays a first interface of a first application;
the electronic equipment detects that a user executes sliding operation on the touch screen, the finger of the user stays on the touch screen, and the electronic equipment gradually shrinks the first interface;
if the first interface is reduced to a preset proportion, or the fact that the time length of the finger of the user staying on the touch screen reaches a preset time length is detected, or the fact that the finger of the user leaves the touch screen after staying on the touch screen is detected, the electronic equipment displays a first window, and the reduced first interface is moved into the first window; the first window is used for displaying the identification of the stored interface;
the electronic equipment stores the first interface; the first window includes an identification of the first interface.
2. A method for storing an interface, which is applicable to an electronic device with a touch screen, the method comprising:
the electronic equipment displays a first interface of a first application;
the electronic equipment detects that a user executes sliding operation on the touch screen, the finger of the user stays on the touch screen, and the electronic equipment moves the first interface to one side of the touch screen;
if the moving distance of the first interface reaches a preset distance, or the time that the fingers of the user stay on the touch screen is detected to reach a preset duration, or the fingers of the user leave the touch screen after staying on the touch screen is detected, the electronic equipment displays a first window, wherein the first window is used for displaying the stored identifier of the interface;
the electronic equipment stores the first interface; the first window includes an identification of the first interface.
3. A method for storing an interface, which is applicable to an electronic device with a touch screen, the method comprising:
the electronic equipment displays a first interface of a first application;
the electronic equipment detects that a user executes sliding operation on the touch screen, the finger of the user stays on the touch screen, and the electronic equipment reduces the first interface to be a first icon located below the finger;
if the fact that the user does not leave the touch screen and drag the first icon is detected, the electronic equipment displays a first window; the first window is used for displaying the identification of the stored interface;
and if the fact that the user drags the first icon to the first window is detected, the electronic equipment stores the first interface, and the first window comprises the identifier of the first interface.
4. The method according to any one of claims 1-3, further comprising:
in the process that the electronic equipment shrinks the first interface or moves the first interface to one side of the touch screen, the electronic equipment displays the first interface of the first application below the first interface; or displaying a previous interface of the first application; or displaying a main interface of the first application.
5. The method of claim 4, further comprising:
the electronic equipment also displays the first window when displaying the second interface of the first application;
and the electronic equipment detects the operation of selecting the identifier of the first interface by the user, and the electronic equipment displays the first interface.
6. The method of claim 4, further comprising:
the electronic equipment does not display the first window when displaying the second interface of the first application;
the electronic equipment detects the operation of opening the first window by the user, and the electronic equipment displays the first window;
and the electronic equipment detects the operation of selecting the identifier of the first interface by the user, and the electronic equipment displays the first interface.
7. The method according to claim 5 or 6, wherein after the electronic device detects an operation of the user selecting the identifier of the first interface, the electronic device displays the first interface, the method further comprises:
and the electronic equipment detects that the user exits the operation of the first interface, and the electronic equipment displays the second interface of the first application.
8. The method according to claim 5 or 6, wherein after the electronic device detects an operation of the user selecting the identifier of the first interface, the electronic device displays the first interface, the method further comprises:
the electronic equipment detects the operation of opening the latest taskbar by the user, the electronic equipment opens the latest taskbar, and the latest taskbar comprises a control corresponding to the first application;
the electronic equipment detects the operation of the user on the control corresponding to the first application, and the electronic equipment displays the second interface of the first application.
9. The method of claim 5 or 6, wherein the electronic device stores the first interface, comprising:
the electronic equipment generates a mirror process of the first application according to the process of the first application, wherein the mirror process of the first application stores the current state of the first application.
10. The method of claim 9, wherein the electronic device detects an operation of the user selecting the identifier of the first interface, and wherein the electronic device displays the first interface, comprising:
and the electronic equipment detects the operation of selecting the identifier of the first interface by the user, starts the mirror process of the first application and displays the first interface.
11. The method of claim 9, further comprising:
and the electronic equipment detects the operation of deleting the stored first interface by the user, and the electronic equipment deletes the mirror process of the first application.
12. An electronic device, comprising: a processor, a memory, and a touchscreen, the memory and the touchscreen coupled to the processor, the memory for storing computer program code, the computer program code comprising computer instructions that, when read from the memory by the processor, cause the electronic device to:
displaying a first interface of a first application;
detecting that a user executes sliding operation on the touch screen, and the finger of the user stays on the touch screen, and gradually reducing the first interface;
if the first interface is reduced to a preset proportion, or the fact that the time length of the finger of the user staying on the touch screen reaches a preset time length is detected, or the fact that the finger of the user leaves the touch screen after staying on the touch screen is detected, the electronic equipment displays a first window, and the reduced first interface is moved into the first window; the first window is used for displaying the identification of the stored interface;
storing the first interface; the first window includes an identification of the first interface.
13. An electronic device, comprising: a processor, a memory, and a touchscreen, the memory and the touchscreen coupled to the processor, the memory for storing computer program code, the computer program code comprising computer instructions that, when read from the memory by the processor, cause the electronic device to:
displaying a first interface of a first application;
detecting that a user executes a sliding operation on the touch screen, and moving the first interface to one side of the touch screen when the finger of the user stays on the touch screen;
if the moving distance of the first interface reaches a preset distance, or the time that the fingers of the user stay on the touch screen is detected to reach a preset duration, or the fingers of the user leave the touch screen after staying on the touch screen is detected, and a first window is displayed, wherein the first window is used for displaying the stored identifier of the interface;
storing the first interface; the first window includes an identification of the first interface.
14. An electronic device, comprising: a processor, a memory, and a touchscreen, the memory and the touchscreen coupled to the processor, the memory for storing computer program code, the computer program code comprising computer instructions that, when read from the memory by the processor, cause the electronic device to:
displaying a first interface of a first application;
detecting that a user executes a sliding operation on the touch screen, and a finger of the user stays on the touch screen, and reducing the first interface into a first icon positioned below the finger;
if the fact that the user does not leave the touch screen and drag the first icon is detected, displaying a first window; the first window is used for displaying the identification of the stored interface;
and if the fact that the user drags the first icon to the first window is detected, storing the first interface, wherein the first window comprises the identifier of the first interface.
15. The electronic device of any of claims 12-14, wherein the computer instructions, when read from the memory by the processor, further cause the electronic device to:
displaying the first interface of the first application below the first interface in the process of zooming out the first interface or moving the first interface to one side of the touch screen; or displaying a previous interface of the first application; or displaying a main interface of the first application.
16. The electronic device of claim 15, wherein the computer instructions, when read from the memory by the processor, further cause the electronic device to:
while displaying the second interface of the first application, also displaying the first window;
and detecting the operation of selecting the identifier of the first interface by the user, and displaying the first interface.
17. The electronic device of claim 15, wherein the computer instructions, when read from the memory by the processor, further cause the electronic device to:
while displaying the second interface of the first application, not displaying the first window;
detecting the operation of opening the first window by the user, and displaying the first window;
and detecting the operation of selecting the identifier of the first interface by the user, and displaying the first interface.
18. The electronic device of claim 16 or 17, wherein the computer instructions, when read from the memory by the processor, further cause the electronic device to:
after the operation that the user selects the identifier of the first interface is detected and the first interface is displayed, the operation that the user exits the first interface is detected and the second interface of the first application is displayed.
19. The electronic device of claim 16 or 17, wherein the computer instructions, when read from the memory by the processor, further cause the electronic device to:
after the operation that the user selects the identifier of the first interface is detected, the first interface is displayed, the operation that the user opens a latest taskbar is detected, and the latest taskbar is opened, wherein the latest taskbar comprises a control corresponding to the first application;
and detecting the operation of the user on the control corresponding to the first application, and displaying the second interface of the first application.
20. The electronic device of claim 16 or 17, wherein the storing the first interface comprises:
and generating a mirror process of the first application according to the process of the first application, wherein the mirror process of the first application stores the current state of the first application.
21. The electronic device of claim 20, wherein the detection of the user selection of the identity of the first interface causes the electronic device to display the first interface, comprising:
and detecting the operation of selecting the identifier of the first interface by the user, starting the mirror process of the first application, and displaying the first interface.
22. The electronic device of claim 20, wherein the computer instructions, when read from the memory by the processor, further cause the electronic device to:
and detecting the operation of deleting the stored first interface by the user, and deleting the mirror process of the first application.
23. A computer-readable storage medium comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform a method of storing an interface according to any one of claims 1-11.
24. A chip system comprising one or more processors, wherein when the one or more processors execute the instructions, the one or more processors perform the method of storing an interface of any of claims 1-11.
CN202010116567.0A 2020-02-25 2020-02-25 Method for temporarily storing application interface and electronic equipment Active CN111443836B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010116567.0A CN111443836B (en) 2020-02-25 2020-02-25 Method for temporarily storing application interface and electronic equipment
PCT/CN2020/127543 WO2021169399A1 (en) 2020-02-25 2020-11-09 Method for caching application interface, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010116567.0A CN111443836B (en) 2020-02-25 2020-02-25 Method for temporarily storing application interface and electronic equipment

Publications (2)

Publication Number Publication Date
CN111443836A CN111443836A (en) 2020-07-24
CN111443836B true CN111443836B (en) 2021-08-20

Family

ID=71627144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010116567.0A Active CN111443836B (en) 2020-02-25 2020-02-25 Method for temporarily storing application interface and electronic equipment

Country Status (2)

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

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111443836B (en) * 2020-02-25 2021-08-20 华为技术有限公司 Method for temporarily storing application interface and electronic equipment
CN111897459B (en) * 2020-08-19 2023-04-07 RealMe重庆移动通信有限公司 Blind hole position signal processing method, storage medium, device and equipment of blind hole screen
CN112527165A (en) * 2020-12-16 2021-03-19 Oppo广东移动通信有限公司 Method, device and equipment for adjusting interface display state and storage medium
CN117176856A (en) * 2021-04-30 2023-12-05 荣耀终端有限公司 Terminal equipment and method for multi-window display
CN113282213A (en) * 2021-05-17 2021-08-20 维沃移动通信有限公司 Interface display method and device
CN116193243B (en) * 2021-11-25 2024-03-22 荣耀终端有限公司 Shooting method and electronic equipment
CN116781808A (en) * 2022-03-11 2023-09-19 华为技术有限公司 Display method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850296A (en) * 2014-02-14 2015-08-19 腾讯科技(深圳)有限公司 Method and apparatus for displaying page contents
EP3226126A1 (en) * 2016-04-01 2017-10-04 LG Electronics Inc. Image display apparatus
CN109683754A (en) * 2017-10-19 2019-04-26 阿里巴巴集团控股有限公司 A kind of mobile terminal page switching method and device
CN109976627A (en) * 2019-02-22 2019-07-05 上海闻泰信息技术有限公司 Interface collection and extracting method, device, terminal and storage medium
CN110673772A (en) * 2019-10-10 2020-01-10 北京无限光场科技有限公司 Page returning method and device, electronic equipment and computer readable medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI502482B (en) * 2014-07-29 2015-10-01 Insyde Software Corp Handheld electronic device with the function of starting electronic device and its method, computer program product
CN111443836B (en) * 2020-02-25 2021-08-20 华为技术有限公司 Method for temporarily storing application interface and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850296A (en) * 2014-02-14 2015-08-19 腾讯科技(深圳)有限公司 Method and apparatus for displaying page contents
EP3226126A1 (en) * 2016-04-01 2017-10-04 LG Electronics Inc. Image display apparatus
CN109683754A (en) * 2017-10-19 2019-04-26 阿里巴巴集团控股有限公司 A kind of mobile terminal page switching method and device
CN109976627A (en) * 2019-02-22 2019-07-05 上海闻泰信息技术有限公司 Interface collection and extracting method, device, terminal and storage medium
CN110673772A (en) * 2019-10-10 2020-01-10 北京无限光场科技有限公司 Page returning method and device, electronic equipment and computer readable medium

Also Published As

Publication number Publication date
WO2021169399A1 (en) 2021-09-02
CN111443836A (en) 2020-07-24

Similar Documents

Publication Publication Date Title
CN110489043B (en) Management method and related device for floating window
CN109889630B (en) Display method and related device
WO2021027747A1 (en) Interface display method and device
CN111443836B (en) Method for temporarily storing application interface and electronic equipment
WO2021103981A1 (en) Split-screen display processing method and apparatus, and electronic device
CN113645351B (en) Application interface interaction method, electronic device and computer-readable storage medium
CN111176506A (en) Screen display method and electronic equipment
WO2021036571A1 (en) Desktop editing method and electronic device
CN112714901B (en) Display control method of system navigation bar, graphical user interface and electronic equipment
CN110119296B (en) Method for switching parent page and child page and related device
CN111669459B (en) Keyboard display method, electronic device and computer readable storage medium
CN114363462B (en) Interface display method, electronic equipment and computer readable medium
WO2021238370A1 (en) Display control method, electronic device, and computer-readable storage medium
WO2022012418A1 (en) Photographing method and electronic device
CN112068907A (en) Interface display method and electronic equipment
CN112698756A (en) Display method of user interface and electronic equipment
CN114253491A (en) Display method and electronic equipment
CN113010076A (en) Display element display method and electronic equipment
CN112449101A (en) Shooting method and electronic equipment
CN114840280A (en) Display method and electronic equipment
CN113448658A (en) Screen capture processing method, graphical user interface and terminal
WO2021196980A1 (en) Multi-screen interaction method, electronic device, and computer-readable storage medium
CN114173005A (en) Application layout control method and related device
CN113885973A (en) Translation result display method and device and electronic equipment
WO2023116012A9 (en) Screen display method and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant