WO2021136133A1 - 一种应用程序切换方法及电子设备 - Google Patents

一种应用程序切换方法及电子设备 Download PDF

Info

Publication number
WO2021136133A1
WO2021136133A1 PCT/CN2020/139895 CN2020139895W WO2021136133A1 WO 2021136133 A1 WO2021136133 A1 WO 2021136133A1 CN 2020139895 W CN2020139895 W CN 2020139895W WO 2021136133 A1 WO2021136133 A1 WO 2021136133A1
Authority
WO
WIPO (PCT)
Prior art keywords
icon
input
application
user
interface
Prior art date
Application number
PCT/CN2020/139895
Other languages
English (en)
French (fr)
Inventor
李皖兴
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021136133A1 publication Critical patent/WO2021136133A1/zh

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
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution

Definitions

  • the embodiments of the present invention relate to the field of communication technologies, and in particular, to an application switching method and electronic equipment.
  • APP1 an application running in the foreground
  • APP2 another application
  • the user can first exit APP1 currently running in the foreground and return to the desktop, and then click the icon of APP2 in the desktop to switch APP2 to the foreground.
  • the user can first exit APP1 currently running in the foreground and trigger the electronic device to display the recent task interface, and then select the interface thumbnail of APP2 running in the background in the recent task interface to switch APP2 to the foreground.
  • the purpose of switching from APP1 to APP2 is achieved.
  • the embodiment of the present invention provides an application switching method and electronic device to solve the problem of cumbersome operation and low efficiency of switching between different application programs of the existing electronic device.
  • an embodiment of the present invention provides an application switching method applied to an electronic device.
  • the method includes: receiving a user's response to the first icon in a case where the first icon is hovered and displayed on the user interface of the second application.
  • the user interface of the first application is displayed, and the second icon is displayed floating on the user interface of the first application in response to the first input.
  • the second icon is an icon corresponding to the second application.
  • an embodiment of the present invention provides an electronic device that includes a receiving module and a display module.
  • the receiving module is used for receiving the first input of the user to the first icon when the first icon is displayed on the user interface of the second application program, and the first icon is an icon corresponding to the first application program.
  • the display module is configured to display the user interface of the first application program in response to the first input received by the receiving module, and display a second icon floating on the user interface of the first application program, the second icon being the second application program The corresponding icon.
  • an embodiment of the present invention provides an electronic device.
  • the electronic device includes a processor, a memory, and a computer program stored on the memory and running on the processor.
  • the computer program is executed by the processor, the above-mentioned first Steps of the application switching method in one aspect.
  • an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored.
  • the steps of the application switching method in the first aspect are implemented. .
  • the embodiment of the present invention when the first icon is displayed on the user interface of the second application program in suspension, the user's first input of the first icon may be received, and the first icon is an icon corresponding to the first application program; And in response to the first input, the user interface of the first application is displayed, and a second icon is displayed floating on the user interface of the first application, and the second icon is an icon corresponding to the second application.
  • an icon corresponding to another APP is displayed on the interface of one APP, and the user only needs to operate the icon corresponding to the other APP to directly switch from the interface of the current APP to the interface of another APP to realize the difference.
  • Quick switching between APPs convenient operation. Therefore, the embodiments of the present invention can improve the efficiency of the electronic device to switch between different APPs, and improve the user experience.
  • FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of an application switching method provided by an embodiment of the present invention.
  • FIG. 3 is one of the schematic diagrams of the interface of the application switching method provided by the embodiment of the present invention.
  • FIG. 5 is the third schematic diagram of the interface of the application switching method provided by the embodiment of the present invention.
  • FIG. 6 is the fourth schematic diagram of the interface of the application switching method provided by the embodiment of the present invention.
  • FIG. 7 is the fifth schematic diagram of the interface of the application switching method provided by the embodiment of the present invention.
  • FIG. 8 is the sixth schematic diagram of the interface of the application switching method provided by the embodiment of the present invention.
  • FIG. 9 is the seventh schematic diagram of the interface of the application switching method provided by the embodiment of the present invention.
  • FIG. 10 is the eighth schematic diagram of the interface of the application switching method provided by the embodiment of the present invention.
  • FIG. 11 is the ninth schematic diagram of the interface of the application switching method provided by the embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 13 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present invention.
  • first and second in the specification and claims herein are used to distinguish different objects, rather than to describe a specific order of objects.
  • first icon and the second icon are used to distinguish different icons, rather than to describe the specific order of the icons.
  • words such as “exemplary” or “for example” are used to represent examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present invention should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • multiple refers to two or more than two, for example, multiple processing units refers to two or more processing units, etc.; multiple An element refers to two or more elements, etc.
  • Embodiments of the present invention provide an application switching method and electronic device, which can receive a user's first input of a first icon, the first icon is an icon corresponding to the first application, and the first icon is displayed in a floating display on the second application On the interface of the program; and in response to the first input, the interface of the second application program is updated and displayed as the interface of the first application program, the interface of the first application program includes a second icon displayed in suspension, and the second icon is The icon corresponding to the second application.
  • an icon corresponding to another APP is displayed on the interface of one APP, and the user only needs to operate the icon corresponding to the other APP to directly switch from the interface of the current APP to the interface of another APP to realize the difference.
  • Quick switching between APPs convenient operation. Therefore, the embodiments of the present invention can improve the efficiency of the electronic device to switch between different APPs, and improve the user experience.
  • the electronic device in the embodiment of the present invention may be an electronic device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present invention.
  • the following takes the Android operating system as an example to introduce the software environment applied by the application switching method provided by the embodiment of the present invention.
  • FIG. 1 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention.
  • the architecture of the Android operating system includes 4 layers, which are: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software level.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • a developer can develop a software program that implements the application switching method provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG.
  • the application switching method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the application switching method provided in the embodiment of the present invention by running the software program in the Android operating system.
  • the electronic device in the embodiment of the present invention may be a mobile terminal or a non-mobile terminal.
  • the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant
  • the non-mobile terminal may be a personal computer (PC), a television (television, TV), a teller machine, or a self-service machine, etc., which are not specifically limited in the embodiment of the present invention.
  • the execution subject of the application switching method provided by the embodiment of the present invention may be the above-mentioned electronic device, or may be a functional module and/or functional entity in the electronic device that can implement the application switching method, and may be specifically based on actual usage requirements. It is confirmed that the embodiment of the present invention is not limited.
  • the following takes an electronic device as an example to illustrate the application switching method provided by the embodiment of the present invention.
  • an embodiment of the present invention provides an application switching method.
  • the application switching method may include the following steps 201 to 202.
  • Step 201 When the first icon is displayed on the user interface of the second application program in suspension, the electronic device receives a first input from the user to the first icon, and the first icon is an icon corresponding to the first application program.
  • the above-mentioned first input may be the user's click input on the first icon (for example, single click input or double tap input), or may be the user's long press input on the first icon (for example, the pressing time
  • the input is greater than or equal to the preset threshold), or can be any other input that meets actual use requirements, and can be specifically determined according to actual use requirements, which is not limited in the embodiment of the present invention.
  • Step 202 In response to the first input, the electronic device displays the user interface of the first application, and displays a second icon floating on the user interface of the first application.
  • the second icon is an icon corresponding to the second application.
  • first application program is denoted as APP1
  • second application program is denoted as APP2 in the following.
  • the interface of the aforementioned APP2 may be any interface of the APP2, for example, it may be a main interface of the APP2, or a functional interface of the APP2 (ie, a functional interface of the APP2).
  • the interface of the aforementioned APP1 can be any interface of the APP1, for example, it can be a main interface of the APP1, or can be a functional interface of the APP1 (ie, a functional interface of the APP1).
  • the electronic device can update the interface 33 of APP1 to be displayed as the interface 31 of APP2, thereby realizing the switch from the interface of APP1 to the interface of APP2, that is, the interface from APP1 to APP2 is switched. Switch.
  • the electronic device floats and displays a second icon 32 corresponding to APP1 on the interface 31 of APP2.
  • the switch from APP2 to APP1 and the switch from APP1 to APP2 can be realized, so that the back and forth switch between APP1 and APP2 can be realized.
  • the foregoing exemplarily illustrates the implementation of switching back and forth between two APPs. It can be understood that the embodiments of the present invention include, but are not limited to, the switching between the foregoing two APPs, and may also include three or Switch between more apps.
  • the electronic device can update the interface 33 of APP1 to be displayed as the interface 37 of APP3, thereby realizing the switch from the interface of APP1 to the interface of APP3, that is, the interface from APP1 to APP3 can be switched from APP1 to APP3. Switch.
  • the electronic device floats and displays a second icon 34 corresponding to APP2, a second icon 32 corresponding to APP1, and a fourth icon corresponding to APP4 on the interface 37 of APP3. 36.
  • the user can select any one of the second icon 34, the third icon 35, and the fourth icon 36 displayed floating on the interface 33 of APP1 to trigger the electronic
  • the device switches its displayed interface from the interface 33 of APP1 to the interface of the APP corresponding to the icon selected by the user.
  • the user can select any one of the second icon 34, the first icon 32, and the fourth icon 36 displayed floating on the interface 37 of APP3 to trigger the electronic device
  • the displayed interface is switched from the interface 37 of APP3 to the interface of the APP corresponding to the icon selected by the user. In this way, through the above implementation process, it is possible to switch back and forth between APP1, APP2, APP3, and APP4.
  • the above four APP icons are exemplary enumerations, that is, the embodiments of the present invention include but are not limited to the above enumerated four APP icons.
  • any number of other APP icons may also be included, which may be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present invention. That is, through the above-mentioned implementation process, it is possible to switch back and forth between two or more APPs.
  • the traditional APP switching method requires the selection operation in the recent task interface to indirectly realize the switching between different APPs, which is cumbersome and inefficient, which will affect the user experience.
  • the user can select the icon 1 corresponding to APP1 that is floating and displayed on the interface of APP2 to trigger the electronic device to switch its displayed interface from the interface of APP2 to that of APP1.
  • Interface the icon 2 corresponding to APP2 is displayed floating on the interface of APP1 at this time
  • the switch is directly from the interface of APP2 to the interface of APP1.
  • the user can select the icon 2 corresponding to APP2 that is displayed floating on the interface of APP1 to trigger the electronic device to switch its displayed interface from the interface of APP1 to the interface of APP2 (in this case, the interface of APP2 is floating on the interface of APP2).
  • the icon 1) corresponding to APP1 is displayed, and the interface of APP1 is directly switched to the interface of APP2. It can be seen that the APP switching method provided by the embodiment of the present invention can realize direct and fast switching between different APPs, is convenient to operate, can improve the efficiency of switching between different APPs by the electronic device, and enhance the user experience.
  • the application switching method provided by the embodiment of the present invention can receive a user's first input of the first icon, and the first icon is the first application when the first icon is displayed on the user interface of the second application.
  • Corresponding icon the first icon is displayed floating on the interface of the second application; and in response to the first input, the user interface of the first application is displayed, and the first icon is displayed floating on the user interface of the first application.
  • a second icon the second icon is an icon corresponding to the second application.
  • the electronic device may receive the user's trigger input, and in response to the input, establish and store the binding between APP1 and APP2. Definite relationship.
  • the user can first preset the binding relationship between APP1 and APP2, that is, through input, trigger the electronic device to bind APP1 and APP2 , That is, the binding relationship between APP1 and APP2 is established. In this way, the binding relationship between APP1 and APP2 (that is, the binding is successful) is stored in the electronic device.
  • APP1 can be called the primary application, and APP2 can be called the secondary application.
  • APP2, APP3, and APP4 are bound to APP1, then APP1 can be called the main application, and APP2, APP3, and APP4 can be called the secondary application.
  • the aforementioned trigger input may be a user's input to a functional control (such as a bound control) used to trigger binding, or may be a user's input to an icon of APP1 and an icon of APP2, or It may be any other input that meets actual use requirements, and may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present invention.
  • a functional control such as a bound control
  • an icon of APP1 and an icon of APP2 or It may be any other input that meets actual use requirements, and may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present invention.
  • trigger inputs can correspond to different control operations.
  • the following describes the preset mode of a certain APP (for example, APP2) that can be switched (for example, APP1, or more APPs) through the first, second, and third realization modes.
  • the first implementation manner is suitable for a scenario where the user interface of APP2 is currently displayed and APP1 to be bound is already running in the background.
  • the APP switching method provided by the embodiment of the present invention may further include the following steps 203 to 206.
  • Step 203 The electronic device receives the second input of the user.
  • Step 204 In response to the second input, the electronic device displays a function window on the user interface of the second application, the function window including the target control.
  • Step 205 The electronic device receives a third input of the user to the target control.
  • the above-mentioned third input may be a click input to a target control (for example, a "one-key binding" control), which is to establish a binding relationship between APP2 and an application running in the background Trigger control.
  • a target control for example, a "one-key binding" control
  • Step 206 In response to the third input, the electronic device displays a first icon floating on the user interface of the second application, and the first application corresponding to the first icon is an APP running in the background.
  • the current display interface is the user interface of APP2
  • the user can pull down on the interface (that is, the second input), and a function window will pop up on the screen. Then the user clicks on the target control (the third input) in the function window. Accordingly, the electronic device binds APP2 and APP1 running in the background and stores the binding relationship between the two, and displays the first item floating on the user interface of APP2.
  • One icon the icon that is, the user needs to bind APP2 and APP1
  • the user can pull down on the interface (that is, the second input), and a function window will pop up on the screen. Then the user clicks on the target control (the third input) in the function window.
  • the electronic device binds APP2 and APP1 running in the background and stores the binding relationship between the two, and displays the first item floating on the user interface of APP2.
  • One icon the icon
  • the electronic device displays the interface 31 of APP2 (as shown in (a) in FIG. 6), as shown in (b) in FIG. 6, the user can call up the menu interface 38 (or notification bar ), and then click the "one-key binding" control 39 on the menu interface 38 to set the shortcut binding, that is, for APP2, bind APP1 running in the background.
  • the click operation as shown in FIG. 6(c), APP1 running in the background is suspended on the interface 31 of APP2 in the form of a floating icon 34, and the binding is completed at this time.
  • the user can click the "one-key binding" control 39 on the menu interface 38 (as shown in (b) in Figure 6). Show), bind all apps running in the background with APP2, after clicking the operation, as shown in Figure 6 (d), other apps running in the background are suspended in the form of floating icons 40 on the interface of APP2 31 on.
  • the second implementation mode does not need to consider whether APP2 is running in the foreground and whether APP1 to be bound is running in the background.
  • the APP switching method provided by the embodiment of the present invention may further include the following steps 207 to 210.
  • Step 207 The electronic device receives the user's fifth input of the second icon.
  • Step 208 In response to the fifth input, the electronic device displays the second icon in the first area of the desktop interface.
  • Step 209 The electronic device receives a sixth input of the user adding the first icon to the first area.
  • Step 210 In response to the sixth input, the electronic device displays the user interface of the second application program, and displays the first icon floating on the user interface of the second application program.
  • the user when the desktop interface is displayed and the first icon and the second icon are included in the desktop interface, if the user needs to bind APP2 and APP1, the user can perform the first icon on the second icon in the desktop interface.
  • Five inputs such as dragging the second icon on the desktop interface to move to form a closed first area, and then performing a sixth input on the first icon, such as dragging the first icon to the first area, correspondingly, electronic
  • the device binds APP2 and APP1 and stores the binding relationship between the two, jumps from the desktop interface to the user interface of APP2, and displays the first icon floating on the user interface of APP2.
  • the user can operate on the desktop interface 41 (for example, long press the icon 42 of APP2) so that all APPs on the desktop interface 41 are in a suspended state (for example, an editable state) ; Then, the user can drag the APP2 icon 42 to draw a circle on the desktop interface; then, as shown in Figure 7 (b), an area 43 (such as a circular area) is displayed on the desktop interface, the specific area 43 Include the icon of APP2; further, the user can (by dragging or clicking the icon, etc.) to add the icon of the APP to be bound (for example, APP1) to the specific area 43, as shown in (c) in Figure 7 In the end, the user clicks on a blank area (or home button) of the desktop interface 41 to complete the binding. At this time, if the user clicks on the area 43 (or the icon of APP2), as shown in (d) in FIG. 7, the electronic device displays the interface 44 of APP2, and the icon of APP1 is displayed
  • a blank area or home button
  • the third implementation method is applicable to APPs to be bound (for example, APP1 and APP2) that are already running in the background.
  • the APP switching method provided by the embodiment of the present invention may further include the following steps 211 to 213.
  • Step 211 When the first application and the second application are running in the background, the electronic device displays the recent task interface.
  • the recent task interface includes a first task identifier corresponding to the first application program and a second task identifier corresponding to the second application program.
  • Step 212 The electronic device receives the fourth input of the user.
  • the above-mentioned fourth input is an input for superimposing the first task identifier (for example, partially or completely) onto the second task identifier, or the fourth input is for adding both the first task identifier and the second task identifier to the preset The input of the area.
  • the foregoing possible implementations of the fourth input are all exemplary enumerations, that is, the embodiments of the present invention include but are not limited to the foregoing enumerated inputs.
  • first task identifier and the second task identifier may both be icons, or task cards, or interface thumbnails, or may be any other possible forms of identifiers.
  • the foregoing preset area may be a preset trigger area for binding at least two application programs, that is, if at least two task identifiers are added to the preset area, the electronic device may assign the applications corresponding to the at least two task identifiers Program binding.
  • Step 213 In response to the fourth input, the electronic device displays the user interface of the second application, and displays the first icon floating on the user interface of the second application.
  • the recent task interface when the recent task interface is displayed and the recent task interface includes the first task identifier corresponding to the first application and the second task identifier corresponding to the second application, if the user needs to bind APP2 and APP1, the user can make a fourth input on the recent task interface, for example, superimpose the first task identifier on the second task identifier, or add both the first task identifier and the second task identifier to the preset area, accordingly, The electronic device binds APP2 and APP1 and stores the binding relationship between the two, jumps from the recent task interface to the user interface of APP2, and displays the first icon floating on the user interface of APP2.
  • the user first calls up the recent task interface 45, As shown in (b) and (c) of FIG. 8, the APP1 and APP2 are bound by dragging the APP1 identification 46 and the APP2 identification 47 to the lower area 48.
  • the electronic device displays the interface 49 of APP2, and on the interface 49 of APP2 An icon 50 corresponding to APP1 is displayed floating.
  • the electronic device will return to the desktop interface from the recent task interface 45 as shown in (c) in FIG. 8, as shown in FIG.
  • the icons of the bound APP1 and APP2 are displayed in the area 52 of the desktop interface 51.
  • the electronic device jumps from the desktop interface 51 to the interface 49 of APP2, and the icon 50 corresponding to APP1 is displayed floating on the interface 49 of APP2.
  • the user first calls up the recent task interface 53, as shown in Figure 10.
  • the binding of APP1 and APP2 is realized by dragging the identification 54 of APP2 to the area where the identification 55 of APP1 is located.
  • the distance between the APP2 logo 54 and the APP1 logo 55 gets closer, the APP2 logo 54 gets smaller and smaller, and the APP2 logo 54 becomes an icon 56.
  • the electronic device after binding APP2 and APP1, the electronic device directly displays the interface of APP2, and displays the first icon floating on the interface of APP2.
  • the electronic device may also display the interface of the second application program upon receiving the user's input, and display the first icon floating on the interface of the second application program .
  • the electronic device displays the interface of APP2 and displays the first icon floating on the interface of APP2 .
  • the electronic device may receive a user's drag input of the first icon, and in response to the input, update the display position of the first icon on the interface of the second application.
  • the above-mentioned drag operation can be a drag operation in any direction, such as clockwise dragging, counterclockwise dragging, upward dragging, downward dragging, leftward dragging, or rightward dragging, etc. .
  • the display position of at least one icon may be updated in the left-right direction, or may be updated in the overall up-down direction.
  • the application switching method provided in this embodiment of the present invention may further include the following steps 214 and 215.
  • Step 214 The electronic device receives the seventh input of the user.
  • Step 215 In response to the seventh input, the electronic device cancels displaying the first icon on the user interface of the second application.
  • the seventh input can be any one of the following (1) to (3):
  • the foregoing specific implementations of the seventh input are all exemplary enumerations, that is, the embodiments of the present invention include but are not limited to the foregoing enumerated inputs.
  • the above-mentioned fifth input may also include any other possible input, which may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present invention.
  • the electronic device may, in response to the seventh input, cancel displaying the first icon on the user interface of the second application, and delete or release the binding relationship between the first application and the second application.
  • an embodiment of the present invention provides an electronic device 700.
  • the electronic device 700 may include a receiving module 701 and a display module 702;
  • the receiving module 701 is configured to receive a user's first input of a first icon when the first icon is displayed floating on the user interface of the second application, and the first icon is an icon corresponding to the first application;
  • the display module 702 is configured to display the user interface of the first application program in response to the first input received by the receiving module 701, and display a second icon floating on the user interface of the first application program, the second icon being the second application The icon corresponding to the program.
  • the receiving module 701 is further configured to receive the user's second input before receiving the user's first input of the first icon;
  • the display module 702 is further configured to display a functional window on the user interface of the second application program in response to the second input received by the receiving module 701, the functional window including the target control;
  • the receiving module 701 is further configured to receive the third input of the user to the target control;
  • the display module 702 is further configured to, in response to the third input received by the receiving module 701, display a first icon floating on the user interface of the second application, and the first application corresponding to the first icon is an application running in the background.
  • the display module 702 is further configured to display when the first application and the second application are running in the background before the receiving module 701 receives the user's first input of the first icon A recent task interface, where the recent task interface includes a first task identifier corresponding to the first application program and a second task identifier corresponding to the second application program;
  • the receiving module 701 is further configured to receive a fourth input from the user, where the fourth input is an input for superimposing the first task identifier on the second task identifier, or the fourth input is for combining the first task identifier and the second task identifier. Input added to the preset area;
  • the display module 702 is further configured to display the user interface of the second application program in response to the fourth input received by the receiving module 701, and display the first icon floating on the user interface of the second application program.
  • the receiving module 701 is further configured to receive the user's fifth input to the second icon before receiving the user's first input to the first icon;
  • the display module 702 is further configured to display a second icon in the first area of the desktop interface in response to the fifth input received by the receiving module 701;
  • the receiving module 701 is further configured to receive a sixth input of the user adding the first icon to the first area;
  • the display module 702 is further configured to display the user interface of the second application program in response to the sixth input received by the receiving module 701, and display the first icon floating on the user interface of the second application program.
  • the receiving module 701 is further configured to receive the seventh input of the user
  • the display module 702 is further configured to cancel displaying the first icon on the user interface of the second application in response to the seventh input received by the receiving module 701;
  • the aforementioned seventh input is any one of the following: an input to close at least one of the first application and the second application; an input to remove the first icon from the user interface of the second application; The second icon is moved out of the user interface of the first application.
  • the electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the foregoing method embodiment. To avoid repetition, details are not described herein again.
  • the electronic device provided by the embodiment of the present invention can receive a user's first input of the first icon when the first icon is hovered and displayed on the user interface of the second application, and the first icon is corresponding to the first application. Icon; and in response to the first input, display the user interface of the first application, and display a second icon floating on the user interface of the first application, the second icon being an icon corresponding to the second application.
  • an icon corresponding to another APP is displayed on the interface of one APP, and the user only needs to operate the icon corresponding to the other APP to directly switch from the interface of the current APP to the interface of another APP to realize the difference.
  • Quick switching between APPs convenient operation. Therefore, the embodiments of the present invention can improve the efficiency of the electronic device to switch between different APPs, and improve the user experience.
  • FIG. 13 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention.
  • the electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, and a memory 809 , Processor 810, and power supply 811.
  • a radio frequency unit 801 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, and a memory 809 , Processor 810, and power supply 811.
  • the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wear
  • the user input unit 807 is configured to receive a user's first input to the first icon when the first icon is displayed on the user interface of the second application program, and the first icon is an icon corresponding to the first application program.
  • the first icon is displayed floating on the interface of the second application;
  • the display unit 806 is used for the first input received by the user input unit 807, displays the user interface of the first application, and displays the user interface of the first application
  • a second icon is displayed floating on the interface, and the second icon is an icon corresponding to the second application.
  • An embodiment of the present invention provides an electronic device that can receive a user's first input of a first icon when the first icon is displayed on the user interface of a second application program, and the first icon is the first icon.
  • An icon corresponding to the application program the first icon being displayed floating on the interface of the second application program; and in response to the first input, displaying the user interface of the first application program, and floating on the user interface of the first application program
  • a second icon is displayed, and the second icon is an icon corresponding to the second application.
  • the radio frequency unit 801 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 810; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 801 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device 800 provides users with wireless broadband Internet access through the network module 802, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 803 can convert the audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into audio signals and output them as sounds. Moreover, the audio output unit 803 may also provide audio output related to a specific function performed by the electronic device 800 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 804 is used to receive audio or video signals.
  • the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042.
  • the graphics processor 8041 is used for the image of a still picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame may be displayed on the display unit 806.
  • the image frame processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or sent via the radio frequency unit 801 or the network module 802.
  • the microphone 8042 can receive sound and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 801 for output in the case of a telephone call mode.
  • the electronic device 800 further includes at least one sensor 805, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 8061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 8061 and the display panel 8061 when the electronic device 800 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 805 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 806 is used to display information input by the user or information provided to the user.
  • the display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 807 can be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 807 includes a touch panel 8071 and other input devices 8072.
  • the touch panel 8071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 8071 or near the touch panel 8071. operating).
  • the touch panel 8071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 810, the command sent by the processor 810 is received and executed.
  • the touch panel 8071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 807 may also include other input devices 8072.
  • other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 8071 can be overlaid on the display panel 8061.
  • the touch panel 8071 detects a touch operation on or near it, it transmits it to the processor 810 to determine the type of the touch event, and then the processor 810 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 8061.
  • the touch panel 8071 and the display panel 8061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 8071 and the display panel 8061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 808 is an interface for connecting an external device and the electronic device 800.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 808 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 800 or can be used to connect the electronic device 800 to an external device. Transfer data between devices.
  • the memory 809 can be used to store software programs and various data.
  • the memory 809 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 809 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 810 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 809, and calls the data stored in the memory 809. , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 810 may include one or more processing units; optionally, the processor 810 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 810.
  • the electronic device 800 may also include a power source 811 (such as a battery) for supplying power to various components.
  • a power source 811 such as a battery
  • the power source 811 may be logically connected to the processor 810 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the electronic device 800 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present invention further provides an electronic device, including a processor 810 as shown in FIG. 13, a memory 809, a computer program stored in the memory 809 and running on the processor 810, the computer program being
  • the processor 810 implements each process of the foregoing application switching method embodiment when executing, and can achieve the same technical effect. In order to avoid repetition, details are not described herein again.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the above-mentioned application switching method embodiment is realized, and the same The technical effect, in order to avoid repetition, will not be repeated here.
  • the computer-readable storage medium may include read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods disclosed in the various embodiments of the present application.
  • a storage medium such as ROM/RAM, magnetic disk,
  • the optical disc includes several instructions to make an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods disclosed in the various embodiments of the present application.

Landscapes

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

Abstract

一种应用程序切换方法及电子设备,涉及通信技术领域。该方法包括:在第一图标悬浮显示于第二应用程序的用户界面的情况下,接收用户对第一图标的第一输入,该第一图标为第一应用程序对应的图标(201);电子设备响应于第一输入,显示第一应用程序的用户界面,并在该第一应用程序的用户界面上悬浮显示第二图标,该第二图标为第二应用程序对应的图标(202)。

Description

一种应用程序切换方法及电子设备
相关申请的交叉引用
本申请主张在2019年12月31日在中国提交的中国专利申请号201911418877.1的优先权,其全部内容通过引用包含于此。
技术领域
本发明实施例涉及通信技术领域,尤其涉及一种应用程序切换方法及电子设备。
背景技术
随着电子技术及通信技术的发展,电子设备的功能越来越多样化,其应用程序(application,APP)也越来越丰富,人们可以利用电子设备学习、工作、社交等。
目前,用户在使用电子设备时,常常有将前台运行的应用程序(以下称为APP1)切换到另一个应用程序(以下称为APP2)的需求。例如,用户可以先退出当前在前台运行的APP1,返回到桌面,用户再点击桌面中APP2的图标,以将APP2切换到前台运行。或者,用户可以先退出当前在前台运行的APP1,并触发电子设备显示近期任务界面,然后再在近期任务界面中选取后台运行的APP2的界面缩略图,以将APP2切换到前台运行。从而,达到从APP1切换到APP2的目的。
然而,在需要频繁切换应用的某些场景下,例如从APP1切换到APP2,然后再从APP2切换到APP1,若采用上述应用程序切换方式,则用户操作繁琐,效率较低,从而会影响用户体验。
发明内容
本发明实施例提供一种应用程序切换方法及电子设备,以解决现有电子设备切换不同应用程序操作繁琐、效率较低的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本发明实施例提供了一种应用程序切换方法,应用于电子设备,该方 法包括:在第一图标悬浮显示于第二应用程序的用户界面的情况下,接收用户对第一图标的第一输入,该第一图标为第一应用程序对应的图标;并响应于该第一输入,显示第一应用程序的用户界面,并在该第一应用程序的用户界面上悬浮显示第二图标,该第二图标为第二应用程序对应的图标。
第二方面,本发明实施例提供了一种电子设备,该电子设备包括接收模块和显示模块。接收模块用于在第一图标悬浮显示于第二应用程序的用户界面的情况下,接收用户对第一图标的第一输入,该第一图标为第一应用程序对应的图标。显示模块用于响应于接收模块接收的该第一输入,显示第一应用程序的用户界面,并在该第一应用程序的用户界面上悬浮显示第二图标,该第二图标为第二应用程序对应的图标。
第三方面,本发明实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述第一方面中的应用程序切换方法的步骤。
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现上述第一方面中的应用程序切换方法的步骤。
在本发明实施例中,可以在第一图标悬浮显示于第二应用程序的用户界面的情况下,接收用户对第一图标的第一输入,该第一图标为第一应用程序对应的图标;并响应于该第一输入,显示第一应用程序的用户界面,并在该第一应用程序的用户界面上悬浮显示第二图标,该第二图标为第二应用程序对应的图标。通过该方案,在一个APP的界面上显示有另一APP对应的图标,用户只需对另一APP对应的图标进行操作,即可从当前APP的界面直接切换到另一APP的界面,实现不同APP之间的快速切换,操作便捷。因此,本发明实施例可以提升电子设备切换不同APP的效率,提升用户的使用体验。
附图说明
图1为本发明实施例提供的一种可能的安卓操作系统的架构示意图;
图2为本发明实施例提供的应用程序切换方法的流程示意图;
图3为本发明实施例提供的应用程序切换方法应用的界面示意图之一;
图4为本发明实施例提供的应用程序切换方法应用的界面示意图之二;
图5为本发明实施例提供的应用程序切换方法应用的界面示意图之三;
图6为本发明实施例提供的应用程序切换方法应用的界面示意图之四;
图7为本发明实施例提供的应用程序切换方法应用的界面示意图之五;
图8为本发明实施例提供的应用程序切换方法应用的界面示意图之六;
图9为本发明实施例提供的应用程序切换方法应用的界面示意图之七;
图10为本发明实施例提供的应用程序切换方法应用的界面示意图之八;
图11为本发明实施例提供的应用程序切换方法应用的界面示意图之九;
图12为本发明实施例提供的电子设备的结构示意图;
图13为本发明实施例提供的电子设备的硬件示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。
本文中的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一图标和第二图标等是用于区别不同的图标,而不是用于描述图标的特定顺序。
在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
在本发明实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个处理单元是指两个或者两个以上的处理单元等;多个元件是指两个或者两个以上的元件等。
本发明实施例提供一种应用程序切换方法及电子设备,可以接收用户对第一图标的第一输入,该第一图标为第一应用程序对应的图标,该第一图标悬浮显示于第二应用程序的界面上;并响应于该第一输入,将第二应用程序的界面更新显示为第一应用程序的界面,该第一应用程序的界面包括悬浮显示的第二图标,该第二图标为第二应用程序对应的图标。通过该方案,在一个APP的界面上显示有另一APP对应的图标,用户只需对另一APP对应的图标进行操作,即可从当前APP的界面直接切换到另一APP的界面,实现不同APP之间的快速切换,操作便捷。因此,本发明实施例可以提升电子设备切换不同APP的效率,提升用户的使用体验。
本发明实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。
下面以安卓操作系统为例,介绍一下本发明实施例提供的应用程序切换方法所应用的软件环境。
如图1所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。
以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的应用程序切换方法的软件程序, 从而使得该应用程序切换方法可以基于如图1所示的安卓操作系统运行。即处理器或者电子设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的应用程序切换方法。
本发明实施例中的电子设备可以为移动终端,也可以为非移动终端。示例性的,移动终端可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动终端可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本发明实施例不作具体限定。
本发明实施例提供的应用程序切换方法的执行主体可以为上述的电子设备,也可以为该电子设备中能够实现该应用程序切换方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以电子设备为例,对本发明实施例提供的应用程序切换方法进行示例性的说明。
下面结合各个附图对本发明实施例提供的应用程序切换方法进行示例性的说明。
如图2所示,本发明实施例提供一种应用程序切换方法,该应用程序切换方法可以包括下述的步骤201-步骤202。
步骤201、在第一图标悬浮显示于第二应用程序的用户界面的情况下,电子设备接收用户对第一图标的第一输入,该第一图标为第一应用程序对应的图标。
可选的,本发明实施例中,上述第一输入可以为用户对第一图标的点击输入(例如单击输入或双击输入),或者可以为用户对第一图标的长按输入(例如按压时长大于或等于预设阈值的输入),或者可以为其它任意满足实际使用需求的输入,具体可以根据实际使用需求确定,本发明实施例不作限定。
步骤202、电子设备响应于第一输入,显示第一应用程序的用户界面,并在该第一应用程序的用户界面上悬浮显示第二图标,该第二图标为第二应用程序对应的图标。
其中,上述第一应用程序和第二应用程序之间存在绑定关系。为了便于说明,下面将第一应用程序记为APP1,将第二应用程序记为APP2。
本发明实施例中,上述APP2的界面可以为该APP2的任意一个界面,例如可以为该APP2的一个主界面,也可以为该APP2的一个功能界面(即该APP2的一个功能的界面)。 类似地,上述APP1的界面可以为该APP1的任意一个界面,例如可以为该APP1的一个主界面,也可以为该APP1的一个功能界面(即该APP1的一个功能的界面)。
本发明实施例中,如图3中的(a)所示,假设电子设备当前显示APP2的界面31、且在APP2的界面31上悬浮显示有与APP1对应的第一图标32,那么若用户需要从当前显示的APP2的界面31切换到APP1的界面,则此时用户可以对第一图标32进行选取操作(即上述第一输入),以触发电子设备显示APP1的界面。相应地,如图3中的(b)所示,电子设备可以将APP2的界面31更新显示为APP1的界面33,从而实现从APP2的界面到APP1的界面的切换,即实现从APP2到APP1的切换。并且,如图3中的(b)所示,电子设备在APP1的界面33上悬浮显示有与APP2对应的第二图标34。
进一步的,如图4中的(a)所示,假设电子设备当前显示APP1的界面33、且在APP1的界面33上悬浮显示有与APP2对应的第二图标34,那么若用户需要从当前显示的APP1的界面33切换到APP2的界面,则类似于从APP2切换到APP1的上述实现过程,用户可以对APP1的界面33上悬浮显示的第二图标34进行选取操作(类似于对第一图标的第一输入),以触发电子设备显示APP2的界面。相应地,如图4中的(b)所示,电子设备可以将APP1的界面33更新显示为APP2的界面31,从而实现从APP1的界面到APP2的界面的切换,即实现从APP1到APP2的切换。并且,如图4中的(b)所示,电子设备在APP2的界面31上悬浮显示有与APP1对应的第二图标32。
这样,通过上述实现过程,可以实现从APP2到APP1的切换,以及从APP1到APP2的切换,如此可以实现在APP1和APP2之间的来回切换。
需要说明的是,上述是以实现两个APP之间的来回切换为例示例性说明的,可以理解,本发明实施例包括但不限于上述两个APP之间的切换,还可以包括三个或更多个APP之间的切换。
示例性的,如图5中的(a)所示,假设电子设备当前显示APP1的界面33、且在APP1的界面33上悬浮显示有与APP2对应的第二图标34、与APP3对应的第三图标35,以及与APP4对应的第四图标36,那么若用户需要从当前显示的APP1的界面33切换到APP3的界面,则类似于从APP1切换到APP2的上述实现过程,用户可以对APP1的界面33上悬浮显示的第三图标35进行选取操作(类似于对第一图标的第一输入),以触发电子设 备显示的界面从APP1的界面到APP3的界面。
相应地,如图5中的(b)所示,电子设备可以将APP1的界面33更新显示为APP3的界面37,从而实现从APP1的界面到APP3的界面的切换,即实现从APP1到APP3的切换。并且,如图5中的(b)所示,电子设备在APP3的界面37上悬浮显示有与APP2对应的第二图标34、与APP1对应的第二图标32,以及与APP4对应的第四图标36。
可以理解,参考图5中的(a),用户可以对在APP1的界面33上悬浮显示的第二图标34、第三图标35和第四图标36中的任一个图标进行选取操作,以触发电子设备将其显示的界面从APP1的界面33切换为用户所选取的图标对应的APP的界面。当然,参考图5中的(b),用户可以对在APP3的界面37上悬浮显示的第二图标34、第一图标32和第四图标36中的任一个图标进行选取操作,以触发电子设备将其显示的界面从APP3的界面37切换为用户所选取的图标对应的APP的界面。这样,通过上述实现过程,可以实现APP1、APP2、APP3、APP4之间的来回切换。
可以理解,上述四个APP图标为示例性的列举,即本发明实施例包括但不限于上述列举的四个APP图标。实际实现时,还可以包括其它任意数量的APP图标,具体可以根据实际使用需求确定,本发明实施例不作限定。即,通过上述实现过程,可以实现两个或更多个APP之间的来回切换。
下面结合具体应用场景,对本发明实施例提供的APP切换方法的具体实现方式。
应用场景:假设APP1的界面中显示有大量练习题,但是不支持复制功能,而用户需要将这些练习题存储到APP2的文档里。这通常需要截屏、识别、复制、粘贴等操作,由于练习题比较多,只能一页页地操作,那么就需要频繁的进行切换应用。
若采用传统的APP切换方法,则此时用户需要触发电子设备从APP2的界面切换到近期任务界面,然后再在近期任务界面中进行操作,触发电子设备从近期任务界面切换到APP1的界面,如此实现从APP2的界面到APP1的界面的切换;进一步的,用户需要触发电子设备从APP1的界面切换到近期任务界面,然后再在近期任务界面中进行选取操作,触发电子设备从近期任务界面切换到APP2的界面,如此实现从APP1的界面到APP2的界面的切换。可见,传统的APP切换方法需要经过近期任务界面中的选取操作,间接地实现不同APP之间的切换,操作繁琐,效率低下,从而会影响用 户体验。
若采用本发明实施例提供的APP切换方法,则用户可以对APP2的界面上悬浮显示的与APP1对应的图标1进行选取操作,以触发电子设备将其显示的界面从APP2的界面切换为APP1的界面(此时在APP1的界面上悬浮显示与APP2对应的图标2),如此直接从APP2的界面到APP1的界面的切换。进一步的,用户可以对APP1的界面上悬浮显示的与APP2对应的图标2进行选取操作,以触发电子设备将其显示的界面从APP1的界面切换为APP2的界面(此时在APP2的界面上悬浮显示与APP1对应的图标1),如此直接从APP1的界面切换为APP2的界面。可见,本发明实施例提供的APP切换方法可以实现不同APP之间的直接快速切换,操作便捷,可以提升电子设备切换不同APP的效率,提升用户的使用体验。
本发明实施例提供的应用程序切换方法,可以在第一图标悬浮显示于第二应用程序的用户界面的情况下,接收用户对第一图标的第一输入,该第一图标为第一应用程序对应的图标,该第一图标悬浮显示于第二应用程序的界面上;并响应于该第一输入,显示第一应用程序的用户界面,并在该第一应用程序的用户界面上悬浮显示第二图标,该第二图标为第二应用程序对应的图标。通过该方案,在一个APP的界面上显示有另一APP对应的图标,用户只需对另一APP对应的图标进行操作,即可从当前APP的界面直接切换到另一APP的界面,实现不同APP之间的快速切换,操作便捷。因此,本发明实施例可以提升电子设备切换不同APP的效率,提升用户的使用体验。
可选的,本发明实施例中,在电子设备接收用户对第一图标的第一输入之前,电子设备可以接收用户的触发输入,并响应于该输入,建立并存储APP1和APP2之间的绑定关系。
本发明实施例中,如果用户需要通过电子设备实现在APP1和APP2之间的来回切换,那么用户首先可以预设APP1和APP2的绑定关系,即通过输入,触发电子设备将绑定APP1和APP2,即建立APP1和APP2之间的绑定关系。这样,电子设备中存储有APP1和APP2之间的绑定关系(即绑定成功)。
示例性的,以绑定APP1和APP2为例,若电子设备显示APP1的界面,则APP1的界面上可以悬浮显示APP2对应的图标。进一步的,可以通过上述的步骤201和步 骤202实现不同APP之间的切换。
可选的,假设针对APP1,绑定了APP2,那么APP1可称为主应用,APP2可称为副应用。或者,假设针对APP1,绑定了APP2、APP3和APP4,那么APP1可称为主应用,APP2、APP3和APP4可称为副应用。
可选的,本发明实施例中,上述触发输入可以为用户对用于触发绑定的功能控件(例如绑定控件)的输入,或者可以为用户对APP1的图标和APP2的图标的输入,或者可以为其它任意满足实际使用需求的输入,具体可以根据实际使用需求确定,本发明实施例不作限定。
需要说明的是,不同的触发输入可以对应不同的控制操作。下面通过第一实现方式、第二实现方式和第三实现方式,描述针对某个APP(例如APP2),预设可进行切换的APP(例如APP1,或更多个APP)的预设方式。
第一实现方式:
第一实现方式适用于当前显示APP2的用户界面,且待绑定的APP1已在后台运行的场景。在图2中的步骤201之前,本发明实施例提供的APP切换方法还可以包括下述的步骤203至步骤206。
步骤203、电子设备接收用户的第二输入。
步骤204、电子设备响应于第二输入,在第二应用程序的用户界面上显示功能窗口,该功能窗口包括目标控件。
步骤205、电子设备接收用户对目标控件的第三输入。
在电子设备显示APP2的界面的情况下,上述第三输入可以为对目标控件(例如“一键绑定”控件)的点击输入,该目标控件为建立APP2和后台运行的应用程序的绑定关系的触发控件。
步骤206、电子设备响应于第三输入,在第二应用程序的用户界面上悬浮显示第一图标,该第一图标对应的第一应用程序为在后台运行的APP。
本发明实施例中,在当前显示界面为APP2的用户界面的情况下,若用户需要绑定APP2和APP1,则用户可以在该界面下拉(即第二输入),在屏幕上弹出一个功能窗口,然后用户点击功能窗口中的目标控件(即第三输入),相应地,电子设备绑定 APP2和后台运行的APP1并存储二者之间的绑定关系,并在APP2的用户界面上悬浮显示第一图标。
示例性的,在电子设备显示APP2的界面31的情况下(如图6中的(a)所示),如图6中的(b)所示,用户可以调出菜单界面38(或者通知栏),然后可以在菜单界面38上点击“一键绑定”控件39,进行设置快捷绑定,即针对APP2,绑定后台运行的APP1。在点击操作之后,如图6中的(c)所示,后台运行的APP1以悬浮图标34的形式悬浮在APP2的界面31上,此时完成绑定。
可选的,若后台运行了多个APP(例如APP1、APP3、APP4、APP5),则用户可以通过在菜单界面38上点击“一键绑定”控件39(如图6中的(b)所示),将所有后台运行的APP均与APP2进行绑定,在点击操作之后,如图6中的(d)所示,其他在后台运行的APP皆以悬浮图标40的形式悬浮在APP2的界面31上。
第二实现方式:
第二实现方式无需考虑APP2是否在前台运行以及待绑定的APP1是否在后台运行。在图2中的步骤201之前,本发明实施例提供的APP切换方法还可以包括下述的步骤207至步骤210。
步骤207、电子设备接收用户对第二图标的第五输入。
步骤208、电子设备响应于第五输入,在桌面界面的第一区域内显示第二图标。
步骤209、电子设备接收用户将第一图标添加到第一区域的第六输入。
步骤210、电子设备响应于第六输入,显示第二应用程序的用户界面,并在第二应用程序的用户界面上悬浮显示第一图标。
本发明实施例中,在显示桌面界面、且桌面界面中包括第一图标和第二图标的情况下,若用户需要绑定APP2和APP1,则用户可以在该桌面界面中的第二图标进行第五输入,例如在桌面界面上拖动第二图标移动,形成封闭的第一区域,然后再对第一图标进行第六输入,例如将第一图标拖动到第一区域中,相应地,电子设备绑定APP2和APP1并存储二者的绑定关系,并从桌面界面跳转到APP2的用户界面,并在APP2的用户界面上悬浮显示第一图标。
示例性的,如图7中的(a)所示,用户可以在桌面界面41上操作(例如长按APP2 的图标42)使桌面界面41上的所有APP均处于悬浮状态(例如可编辑状态);然后,用户可以拖动APP2的图标42在桌面界面上画圈;然后,如图7中的(b)所示,在桌面界面上显示有区域43(例如圆形区域),该特定区域43中包括APP2的图标;进一步的,用户可以(通过拖动或单击图标等操作)将待绑定的APP(例如APP1)的图标添加到特定区域43中,如图7中的(c)所示,最后用户点击桌面界面41的空白区域(或者主页键),完成绑定。此时,若用户点击区域43(或者其中APP2的图标),则如图7中的(d)所示,电子设备显示APP2的界面44,且在APP2的界面44上悬浮显示APP1的图标。
第三实现方式:
第三实现方式适用于待绑定的APP(例如APP1和APP2)已在后台运行。在图2中的步骤201之前,本发明实施例提供的APP切换方法还可以包括下述的步骤211至步骤213。
步骤211、在第一应用程序和第二应用程序在后台运行的情况下,电子设备显示近期任务界面。
其中,该近期任务界面包括第一应用程序对应的第一任务标识和第二应用程序对应的第二任务标识。
步骤212、电子设备接收用户的第四输入。
其中,上述第四输入为将第一任务标识叠加(例如部分叠加或完全叠加)到第二任务标识上的输入,或者第四输入为将第一任务标识和第二任务标识均添加到预设区域的输入。可以理解,上述的第四输入的可能实现方式均是示例性的列举,即本发明实施例包括但不限于上述列举的各个输入。
可选的,第一任务标识和第二任务标识可以均为图标,或者任务卡片,或者界面缩略图,或者可以为其它任意可能形式的标识。
上述预设区域可以为用于绑定至少两个应用程序的预设触发区域,即,若将至少两个任务标识添加到预设区域,则电子设备可以将这至少两个任务标识对应的应用程序绑定。
步骤213、电子设备响应于第四输入,显示第二应用程序的用户界面,并在第二 应用程序的用户界面上悬浮显示第一图标。
本发明实施例中,在显示近期任务界面、且近期任务界面中包括第一应用程序对应的第一任务标识和第二应用程序对应的第二任务标识的情况下,若用户需要绑定APP2和APP1,则用户可以在该近期任务界面进行第四输入,例如将第一任务标识叠加到第二任务标识上,或者将第一任务标识和第二任务标识均添加到预设区域,相应地,电子设备绑定APP2和APP1并存储二者之间的绑定关系,并从近期任务界面跳转到APP2的用户界面,并在APP2的用户界面上悬浮显示第一图标。
示例性的,以第四输入为将第一任务标识和第二任务标识均添加到预设区域的输入为例,如图8中的(a)所示,用户先调出近期任务界面45,如图8中的(b)和(c)所示,通过将APP1的标识46和APP2的标识47拖拽到下方区域48,实现APP1和APP2的绑定。
一方面,若用户点击区域48(或区域中的任一图标,例如APP2的图标),则如图8中的(d)所示,电子设备显示APP2的界面49,且在APP2的界面49上悬浮显示有APP1对应的图标50。
另一方面,若用户点击电子设备的主页键(未示出),则电子设备将从如图8中的(c)所示的近期任务界面45返回到桌面界面,如图9所示,被绑定的APP1和APP2的图标显示于桌面界面51中的区域52中。此时,若用户点击区域52,则如图8中的(d)所示,电子设备从桌面界面51跳转到APP2的界面49,且在APP2的界面49上悬浮显示APP1对应的图标50。
再示例性的,以第四输入为将第一任务标识叠加到第二任务标识上的输入为例,如图10中的(a)所示,用户先调出近期任务界面53,如图10中的(b)和(c)所示,通过将APP2的标识54拖拽到APP1的标识55所在区域,实现APP1和APP2的绑定。其中,随着APP2的标识54与APP1的标识55之间的距离越来越近,APP2的标识54越来越小,APP2的标识54变成图标56。当手指离开APP2的标识54时,如图10中的(d)所示,APP1的标识55将自动扩展成全屏,即电子设备显示APP2的界面57,且在APP2的界面57上悬浮显示有APP1对应的图标58。
本发明实施例中,在将APP2和APP1绑定之后,电子设备直接显示APP2的界面, 并在APP2的界面上悬浮显示第一图标。可选的,在将APP2和APP1绑定之后,电子设备还可以在接收到用户的输入的情况下,显示第二应用程序的界面,并在该第二应用程序的界面上悬浮显示第一图标。例如,返回参考图8中的(c)和(d),在将APP2和APP1绑定之后,用户点击区域48之后,电子设备显示APP2的界面,并在该APP2的界面上悬浮显示第一图标。
可选的,本发明实施例中,电子设备可以接收用户对第一图标的拖动输入,并响应于该输入,更新第一图标在第二应用程序的界面上的显示位置。
其中,上述拖动操作可以为向任意方向的拖动操作,例如向顺时针方向拖动、向逆时针方向拖动、向上拖动、向下拖动、向左拖动或者向右拖动等。如图11中的(a)和(b)所示,至少一个图标的显示位置可以左右方向上更新,也可以整体上下方向上更新。
可选的,在上述图2中的步骤202之后,本发明实施例提供的应用程序切换方法还可以包括下述的步骤214和步骤215。
步骤214、电子设备接收用户的第七输入。
步骤215、电子设备响应于第七输入,取消显示第二应用程序的用户界面上的第一图标。
其中,上述第七输入可以为以下(1)至(3)中的任一项:
(1)将第一应用程序和第二应用程序中的至少一个应用程序关闭的输入;
(2)将第一图标从第二应用程序的界面中移出的输入;
(3)将第二图标从第一应用程序的界面中移出的输入。
可以理解,上述的第七输入的具体实现方式均是示例性的列举,即本发明实施例包括但不限于上述列举的各个输入。实际实现时,上述第五输入还可以包括其它任意可能方式的输入,具体可以根据实际使用需求确定,本发明实施例不作限定。
其中,电子设备可以响应于第七输入,取消显示第二应用程序的用户界面上的第一图标,并删除或解除第一应用程序和第二应用程序之间的绑定关系。
示例性的,返回参考图3中的(a),若用户触发电子设备将当前的主APP(例如APP2)退出(例如在多任务界面清除APP2的标识),则APP2和APP1的绑定关系 解除。
又示例性的,返回参考图3中的(a),若用户触发电子设备将副APP(例如APP1)拖至屏幕外,则APP2和APP1的绑绑定关系解除。
如图12所示,本发明实施例提供一种电子设备700,该电子设备700可以包括接收模块701和显示模块702;
接收模块701用于在第一图标悬浮显示于第二应用程序的用户界面的情况下,接收用户对第一图标的第一输入,该第一图标为第一应用程序对应的图标;
显示模块702用于响应于接收模块701接收的第一输入,显示第一应用程序的用户界面,并在该第一应用程序的用户界面上悬浮显示第二图标,该第二图标为第二应用程序对应的图标。
可选的,本发明实施例中,上述第一应用程序和第二应用程序之间存在绑定关系。
可选的,本发明实施例中,接收模块701还用于在接收用户对第一图标的第一输入之前,接收用户的第二输入;
显示模块702还用于响应于接收模块701接收的第二输入,在第二应用程序的用户界面上显示功能窗口,该功能窗口包括目标控件;
接收模块701还用于接收用户对目标控件的第三输入;
显示模块702还用于响应于接收模块701接收的第三输入,在第二应用程序的用户界面上悬浮显示第一图标,该第一图标对应的第一应用程序为在后台运行的应用程序。
可选的,本发明实施例中,显示模块702还用于在接收模块701接收用户对第一图标的第一输入之前,在第一应用程序和第二应用程序在后台运行的情况下,显示近期任务界面,该近期任务界面包括第一应用程序对应的第一任务标识和第二应用程序对应的第二任务标识;
接收模块701还用于接收用户的第四输入,该第四输入为将第一任务标识叠加到第二任务标识上的输入,或者该第四输入为将第一任务标识和第二任务标识均添加到预设区域的输入;
显示模块702还用于响应于接收模块701接收的第四输入,显示第二应用程序的 用户界面,并在该第二应用程序的用户界面上悬浮显示第一图标。
可选的,本发明实施例中,接收模块701还用于在接收用户对第一图标的第一输入之前,接收用户对第二图标的第五输入;
显示模块702还用于响应于接收模块701接收的第五输入,在桌面界面的第一区域内显示第二图标;
接收模块701还用于接收用户将第一图标添加到第一区域的第六输入;
显示模块702还用于响应于接收模块701接收的第六输入,显示第二应用程序的用户界面,并在该第二应用程序的用户界面上悬浮显示第一图标。
可选的,本发明实施例中,接收模块701还用于接收用户的第七输入;
显示模块702还用于响应于接收模块701接收的第七输入,取消显示第二应用程序的用户界面上的第一图标;
其中,上述第七输入为以下任一项:将第一应用程序和第二应用程序中的至少一个应用程序关闭的输入;将第一图标从第二应用程序的用户界面中移出的输入;将第二图标从第一应用程序的用户界面中移出的输入。
本发明实施例提供的电子设备能够实现上述方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。
本发明实施例提供的电子设备,可以在第一图标悬浮显示于第二应用程序的用户界面的情况下,接收用户对第一图标的第一输入,该第一图标为第一应用程序对应的图标;并响应于该第一输入,显示第一应用程序的用户界面,并在该第一应用程序的用户界面上悬浮显示第二图标,该第二图标为第二应用程序对应的图标。通过该方案,在一个APP的界面上显示有另一APP对应的图标,用户只需对另一APP对应的图标进行操作,即可从当前APP的界面直接切换到另一APP的界面,实现不同APP之间的快速切换,操作便捷。因此,本发明实施例可以提升电子设备切换不同APP的效率,提升用户的使用体验。
图13为实现本发明各个实施例的一种电子设备的硬件结构示意图。如图13所示,该电子设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、处理器810、以及电源811等部件。本领域技术人员可以理解,图13中示出的电子设备结构并不 构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
其中,用户输入单元807,用于在第一图标悬浮显示于第二应用程序的用户界面的情况下,接收用户对第一图标的第一输入,该第一图标为第一应用程序对应的图标,该第一图标悬浮显示于第二应用程序的界面上;显示单元806,用于用户输入单元807接收的第一输入,显示第一应用程序的用户界面,并在该第一应用程序的用户界面上悬浮显示第二图标,该第二图标为第二应用程序对应的图标。
本发明实施例提供一种电子设备,该电子设备可以在第一图标悬浮显示于第二应用程序的用户界面的情况下,接收用户对第一图标的第一输入,该第一图标为第一应用程序对应的图标,该第一图标悬浮显示于第二应用程序的界面上;并响应于该第一输入,显示第一应用程序的用户界面,并在该第一应用程序的用户界面上悬浮显示第二图标,该第二图标为第二应用程序对应的图标。通过该方案,在一个APP的界面上显示有另一APP对应的图标,用户只需对另一APP对应的图标进行操作,即可从当前APP的界面直接切换到另一APP的界面,实现不同APP之间的快速切换,操作便捷。因此,本发明实施例可以提升电子设备切换不同APP的效率,提升用户的使用体验。
应理解的是,本发明实施例中,射频单元801可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器810处理;另外,将上行的数据发送给基站。通常,射频单元801包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元801还可以通过无线通信系统与网络和其他设备通信。
电子设备800通过网络模块802为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元803可以将射频单元801或网络模块802接收的或者在存储器809中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元803还可以提供与电子设备800执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元803包括扬声器、蜂鸣器以及受话器等。
输入单元804用于接收音频或视频信号。输入单元804可以包括图形处理器(graphics processing unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元806上。经图形处理器8041处理后的图像帧可以存储在存储器809(或其它存储介质)中或者经由射频单元801或网络模块802进行发送。麦克风8042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元801发送到移动通信基站的格式输出。
电子设备800还包括至少一种传感器805,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板8061的亮度,接近传感器可在电子设备800移动到耳边时,关闭显示面板8061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器805还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元806用于显示由用户输入的信息或提供给用户的信息。显示单元806可包括显示面板8061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板8061。
用户输入单元807可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元807包括触控面板8071以及其他输入设备8072。触控面板8071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板8071上或在触控面板8071附近的操作)。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器810,接收处理器810发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板8071。除了触控面板8071,用户输入单元807还 可以包括其他输入设备8072。具体地,其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板8071可覆盖在显示面板8061上,当触控面板8071检测到在其上或附近的触摸操作后,传送给处理器810以确定触摸事件的类型,随后处理器810根据触摸事件的类型在显示面板8061上提供相应的视觉输出。虽然在图13中,触控面板8071与显示面板8061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板8071与显示面板8061集成而实现电子设备的输入和输出功能,具体此处不做限定。
接口单元808为外部装置与电子设备800连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元808可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备800内的一个或多个元件或者可以用于在电子设备800和外部装置之间传输数据。
存储器809可用于存储软件程序以及各种数据。存储器809可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器809可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器810是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器809内的软件程序和/或模块,以及调用存储在存储器809内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器810可包括一个或多个处理单元;可选的,处理器810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。
电子设备800还可以包括给各个部件供电的电源811(比如电池),可选的,电源811可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管 理充电、放电、以及功耗管理等功能。
另外,电子设备800包括一些未示出的功能模块,在此不再赘述。
可选的,本发明实施例还提供一种电子设备,包括如图13所示的处理器810,存储器809,存储在存储器809上并可在处理器810上运行的计算机程序,该计算机程序被处理器810执行时实现上述应用程序切换方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述应用程序切换方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质可以包括只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例公开的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (16)

  1. 一种应用程序切换方法,应用于电子设备,所述方法包括:
    在第一图标悬浮显示于第二应用程序的用户界面的情况下,接收用户对第一图标的第一输入,所述第一图标为第一应用程序对应的图标;
    响应于所述第一输入,显示所述第一应用程序的用户界面,并在所述第一应用程序的用户界面上悬浮显示第二图标,所述第二图标为所述第二应用程序对应的图标。
  2. 根据权利要求1所述的方法,其中,所述第一应用程序和第二应用程序之间存在绑定关系。
  3. 根据权利要求1或2所述的方法,其中,在所述接收用户对第一图标的第一输入之前,所述方法还包括:
    接收用户的第二输入;
    响应于所述第二输入,在所述第二应用程序的用户界面上显示功能窗口,所述功能窗口包括目标控件;
    接收用户对所述目标控件的第三输入;
    响应于所述第三输入,在第二应用程序的用户界面上悬浮显示所述第一图标,所述第一图标对应的第一应用程序为在后台运行的应用程序。
  4. 根据权利要求1或2所述的方法,其中,在所述接收用户对第一图标的第一输入之前,所述方法还包括:
    在所述第一应用程序和所述第二应用程序在后台运行的情况下,显示近期任务界面,所述近期任务界面包括所述第一应用程序对应的第一任务标识和所述第二应用程序对应的第二任务标识;
    接收用户的第四输入,所述第四输入为将所述第一任务标识叠加到所述第二任务标识上的输入,或者所述第四输入为将第一任务标识和所述第二任务标识均添加到预设区域的输入;
    响应于所述第四输入,显示所述第二应用程序的用户界面,并在所述第二应用程序的用户界面上悬浮显示所述第一图标。
  5. 根据权利要求1或2所述的方法,其中,在所述接收用户对第一图标的第一输 入之前,所述方法还包括:
    接收用户对所述第二图标的第五输入;
    响应于所述第五输入,在桌面界面的第一区域内显示所述第二图标;
    接收用户将所述第一图标添加到所述第一区域的第六输入;
    响应于所述第六输入,显示所述第二应用程序的用户界面,并在所述第二应用程序的用户界面上悬浮显示所述第一图标。
  6. 根据权利要求1所述的方法,其中,所述方法还包括:
    接收用户的第七输入;
    响应于所述第七输入,取消显示所述第二应用程序的用户界面上的所述第一图标;
    其中,所述第七输入为以下任一项:将所述第一应用程序和所述第二应用程序中的至少一个应用程序关闭的输入;将所述第一图标从所述第二应用程序的用户界面中移出的输入;将所述第二图标从所述第一应用程序的用户界面中移出的输入。
  7. 一种电子设备,所述电子设备包括接收模块和显示模块;
    所述接收模块,用于在第一图标悬浮显示于第二应用程序的用户界面的情况下,接收用户对第一图标的第一输入,所述第一图标为第一应用程序对应的图标;
    所述显示模块,用于响应于所述接收模块接收的所述第一输入,显示所述第一应用程序的用户界面,并在所述第一应用程序的用户界面上悬浮显示第二图标,所述第二图标为所述第二应用程序对应的图标。
  8. 根据权利要求7所述的电子设备,其中,所述第一应用程序和第二应用程序之间存在绑定关系。
  9. 根据权利要求7或8所述的电子设备,其中,所述接收模块,还用于在接收用户对第一图标的第一输入之前,接收用户的第二输入;
    所述显示模块,还用于响应于所述接收模块接收的所述第二输入,在所述第二应用程序的用户界面上显示功能窗口,所述功能窗口包括目标控件;
    所述接收模块,还用于接收用户对所述目标控件的第三输入;
    所述显示模块,还用于响应于所述接收模块接收的所述第三输入,在第二应用程序的用户界面上悬浮显示所述第一图标,所述第一图标对应的第一应用程序为在后台 运行的应用程序。
  10. 根据权利要求7或8所述的电子设备,其中,所述显示模块,还用于在所述接收模块接收用户对第一图标的第一输入之前,在所述第一应用程序和所述第二应用程序在后台运行的情况下,显示近期任务界面,所述近期任务界面包括所述第一应用程序对应的第一任务标识和所述第二应用程序对应的第二任务标识;
    所述接收模块,还用于接收用户的第四输入,所述第四输入为将所述第一任务标识叠加到所述第二任务标识上的输入,或者所述第四输入为将第一任务标识和所述第二任务标识均添加到预设区域的输入;
    所述显示模块,还用于响应于所述接收模块接收的所述第四输入,显示所述第二应用程序的用户界面,并在所述第二应用程序的用户界面上悬浮显示所述第一图标。
  11. 根据权利要求7或8所述的电子设备,其中,所述接收模块,还用于在接收用户对第一图标的第一输入之前,接收用户对所述第二图标的第五输入;
    所述显示模块,还用于响应于所述接收模块接收的所述第五输入,在桌面界面的第一区域内显示所述第二图标;
    所述接收模块,还用于接收用户将所述第一图标添加到所述第一区域的第六输入;
    所述显示模块,还用于响应于所述接收模块接收的所述第六输入,显示所述第二应用程序的用户界面,并在所述第二应用程序的用户界面上悬浮显示所述第一图标。
  12. 根据权利要求7所述的电子设备,其中,所述接收模块,还用于接收用户的第七输入;
    所述显示模块,还用于响应于所述接收模块接收的所述第七输入,取消显示所述第二应用程序的用户界面上的所述第一图标;
    其中,所述第七输入为以下任一项:将所述第一应用程序和所述第二应用程序中的至少一个应用程序关闭的输入;将所述第一图标从所述第二应用程序的用户界面中移出的输入;将所述第二图标从所述第一应用程序的用户界面中移出的输入。
  13. 一种电子设备,所述电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至6中任一项所述的应用程序切换方法的步骤。
  14. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的应用程序切换方法的步骤。
  15. 一种计算机程序产品,其特征在于,所述程序产品被至少一个处理器执行以实现如权利要求1-6任一项所述的方法。
  16. 一种电子设备,其特征在于,包括所述电子设备被配置成用于执行如权利要求1-6任一项所述的应用程序切换方法。
PCT/CN2020/139895 2019-12-31 2020-12-28 一种应用程序切换方法及电子设备 WO2021136133A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911418877.1A CN111078076A (zh) 2019-12-31 2019-12-31 一种应用程序切换方法及电子设备
CN201911418877.1 2019-12-31

Publications (1)

Publication Number Publication Date
WO2021136133A1 true WO2021136133A1 (zh) 2021-07-08

Family

ID=70321215

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/139895 WO2021136133A1 (zh) 2019-12-31 2020-12-28 一种应用程序切换方法及电子设备

Country Status (2)

Country Link
CN (1) CN111078076A (zh)
WO (1) WO2021136133A1 (zh)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078076A (zh) * 2019-12-31 2020-04-28 维沃移动通信有限公司 一种应用程序切换方法及电子设备
CN111857459B (zh) * 2020-06-28 2023-04-07 维沃移动通信有限公司 应用处理方法、装置、电子设备及存储介质
CN111966258B (zh) * 2020-08-28 2022-06-10 维沃移动通信有限公司 权限设置方法、装置及电子设备
CN112346609B (zh) * 2020-09-25 2022-07-12 北京淇瑀信息科技有限公司 一种基于多业务任务显示的页面展示方法、装置和电子设备
CN112732368B (zh) * 2020-12-31 2024-04-09 维沃移动通信有限公司 程序运行方法、装置及电子设备
CN112764630A (zh) * 2021-01-27 2021-05-07 维沃移动通信有限公司 应用程序图标显示方法及装置
CN112947829B (zh) * 2021-02-26 2023-07-25 维沃移动通信有限公司 误操作处理方法、装置、电子设备及可读存储介质
CN113726946B (zh) * 2021-08-31 2023-02-07 维沃移动通信有限公司 应用程序控制方法及装置
CN113805997B (zh) * 2021-09-14 2024-05-03 维沃移动通信有限公司 信息显示方法、装置、电子设备和存储介质
CN114001748B (zh) * 2021-10-28 2024-03-22 维沃移动通信有限公司 导航路线显示方法、装置、设备及介质

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110119622A1 (en) * 2009-11-17 2011-05-19 Anritsu Corporation Window display control apparatus and method of controlling window displays
CN103064627A (zh) * 2013-01-11 2013-04-24 广东欧珀移动通信有限公司 一种应用程序管理方法及装置
CN105094577A (zh) * 2014-04-23 2015-11-25 小米科技有限责任公司 应用切换的方法和装置
CN105786485A (zh) * 2016-02-04 2016-07-20 上海卓易科技股份有限公司 一种移动终端及其应用的后台显示方法
CN108021321A (zh) * 2017-12-28 2018-05-11 维沃移动通信有限公司 一种应用运行状态控制方法及移动终端
CN108021305A (zh) * 2017-12-11 2018-05-11 维沃移动通信有限公司 应用关联启动的方法、装置及移动终端
CN108446058A (zh) * 2018-03-12 2018-08-24 维沃移动通信有限公司 一种移动终端的操作方法及移动终端
CN111078076A (zh) * 2019-12-31 2020-04-28 维沃移动通信有限公司 一种应用程序切换方法及电子设备

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105511730A (zh) * 2015-12-17 2016-04-20 北京奇虎科技有限公司 一种应用程序切换方法、装置和终端

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110119622A1 (en) * 2009-11-17 2011-05-19 Anritsu Corporation Window display control apparatus and method of controlling window displays
CN103064627A (zh) * 2013-01-11 2013-04-24 广东欧珀移动通信有限公司 一种应用程序管理方法及装置
CN105094577A (zh) * 2014-04-23 2015-11-25 小米科技有限责任公司 应用切换的方法和装置
CN105786485A (zh) * 2016-02-04 2016-07-20 上海卓易科技股份有限公司 一种移动终端及其应用的后台显示方法
CN108021305A (zh) * 2017-12-11 2018-05-11 维沃移动通信有限公司 应用关联启动的方法、装置及移动终端
CN108021321A (zh) * 2017-12-28 2018-05-11 维沃移动通信有限公司 一种应用运行状态控制方法及移动终端
CN108446058A (zh) * 2018-03-12 2018-08-24 维沃移动通信有限公司 一种移动终端的操作方法及移动终端
CN111078076A (zh) * 2019-12-31 2020-04-28 维沃移动通信有限公司 一种应用程序切换方法及电子设备

Also Published As

Publication number Publication date
CN111078076A (zh) 2020-04-28

Similar Documents

Publication Publication Date Title
WO2021136133A1 (zh) 一种应用程序切换方法及电子设备
WO2021115329A1 (zh) 应用程序的控制方法及电子设备
WO2021083052A1 (zh) 对象分享方法及电子设备
WO2021104365A1 (zh) 对象分享方法及电子设备
WO2019174611A1 (zh) 应用程序的设置方法及移动终端
WO2021197263A1 (zh) 内容共享方法及电子设备
WO2020181942A1 (zh) 图标控制方法及终端设备
WO2020258929A1 (zh) 文件夹界面切换方法及终端设备
WO2020063091A1 (zh) 一种图片处理方法及终端设备
WO2019184666A1 (zh) 一种显示内容的方法及终端
WO2021083087A1 (zh) 截屏方法及终端设备
WO2020238351A1 (zh) 应用程序下载分类方法及终端设备
CN109614061B (zh) 显示方法及终端
WO2020181955A1 (zh) 界面控制方法及终端设备
WO2021017706A1 (zh) 信息处理方法及终端设备
WO2020151525A1 (zh) 消息发送方法及终端设备
WO2021104163A1 (zh) 图标整理方法及电子设备
WO2020192428A1 (zh) 对象管理方法及移动终端
WO2021129536A1 (zh) 图标移动方法及电子设备
WO2020151460A1 (zh) 对象处理方法及终端设备
WO2021129538A1 (zh) 一种控制方法及电子设备
WO2021121099A1 (zh) 消息通知方法及电子设备
WO2019174541A1 (zh) 移动终端的操作方法及移动终端
WO2020215969A1 (zh) 内容输入方法及终端设备
WO2020199783A1 (zh) 界面显示方法及终端设备

Legal Events

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

Ref document number: 20910709

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20910709

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 12.01.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20910709

Country of ref document: EP

Kind code of ref document: A1