WO2022227922A1 - 应用切换方法、装置、电子设备以及存储介质 - Google Patents

应用切换方法、装置、电子设备以及存储介质 Download PDF

Info

Publication number
WO2022227922A1
WO2022227922A1 PCT/CN2022/081577 CN2022081577W WO2022227922A1 WO 2022227922 A1 WO2022227922 A1 WO 2022227922A1 CN 2022081577 W CN2022081577 W CN 2022081577W WO 2022227922 A1 WO2022227922 A1 WO 2022227922A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
touch operation
interface
response
display interface
Prior art date
Application number
PCT/CN2022/081577
Other languages
English (en)
French (fr)
Inventor
莫博宇
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022227922A1 publication Critical patent/WO2022227922A1/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
    • 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
    • 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
    • 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
    • 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present application relates to the technical field of electronic devices, and more particularly, to an application switching method, apparatus, electronic device, and storage medium.
  • the present application proposes an application switching method, apparatus, electronic device and storage medium to solve the above problems.
  • an embodiment of the present application provides an application switching method, which is applied to an electronic device.
  • the method includes: displaying an operable control on a display interface of the electronic device; a touch operation, displaying a plurality of application icons in a preset area of the display interface; in response to a second touch operation acting on the operable controls, determining a target application icon from the plurality of application icons;
  • the display interface displays a target application interface corresponding to the target application icon.
  • an embodiment of the present application provides an application switching apparatus, which is applied to an electronic device, and the apparatus includes: an operable control display module for displaying operable controls in a display interface of the electronic device; an application icon a display module for displaying a plurality of application icons in a preset area of the display interface in response to a first touch operation acting on the operable controls; a target application icon determination module for responding to a first touch operation acting on the operable controls In the second touch operation of the control, a target application icon is determined from the plurality of application icons; an application switching display module is used for displaying a target application interface corresponding to the target application icon on the display interface.
  • embodiments of the present application provide an electronic device, including a memory and a processor, the memory is coupled to the processor, and the memory stores instructions, which are stored when the instructions are executed by the processor.
  • the processor executes the above method.
  • an embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be invoked by a processor to execute the above method.
  • FIG. 1 shows a schematic flowchart of an application switching method provided by an embodiment of the present application
  • FIG. 2 shows a schematic diagram of a first interface of an electronic device provided by an embodiment of the present application
  • FIG. 3 shows a schematic diagram of a second interface of an electronic device provided by an embodiment of the present application
  • FIG. 4 shows a schematic diagram of a third interface of an electronic device provided by an embodiment of the present application.
  • FIG. 5 shows a first interaction schematic diagram of an electronic device provided by an embodiment of the present application
  • FIG. 6 shows a schematic diagram of a fourth interface of an electronic device provided by an embodiment of the present application.
  • FIG. 7 shows a schematic diagram of a fifth interface of an electronic device provided by an embodiment of the present application.
  • FIG. 8 shows a schematic diagram of a sixth interface of an electronic device provided by an embodiment of the present application.
  • FIG. 9 shows a schematic flowchart of an application switching method provided by another embodiment of the present application.
  • FIG. 10 shows a second schematic diagram of interaction of an electronic device provided by an embodiment of the present application.
  • FIG. 11 shows a third interaction schematic diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 12 shows a schematic flowchart of an application switching method provided by still another embodiment of the present application.
  • FIG. 13 shows a fourth interaction schematic diagram of the electronic device provided by the embodiment of the present application.
  • FIG. 14 shows a fifth interaction schematic diagram of the electronic device provided by the embodiment of the present application.
  • FIG. 15 shows a schematic flowchart of an application switching method provided by another embodiment of the present application.
  • FIG. 16 shows a schematic flowchart of an application switching method provided by still another embodiment of the present application.
  • FIG. 17 shows a schematic flowchart of an application switching method provided by yet another embodiment of the present application.
  • FIG. 18 shows a module block diagram of an application switching apparatus provided by an embodiment of the present application.
  • FIG. 19 shows a block diagram of an electronic device for executing the application switching method according to the embodiment of the present application.
  • FIG. 20 shows a storage unit for storing or carrying a program code for implementing the application switching method according to the embodiment of the present application according to the embodiment of the present application.
  • a target application icon is selected, and the target application icon is selected based on the second touch operation acting on the operability control, so that the selection efficiency of the target application is improved by displaying multiple application icons.
  • the specific application switching method will be described in detail in the following embodiments.
  • An embodiment of the present application provides an application switching method, the method includes: displaying an operable control on a display interface of the electronic device; in response to a first touch operation acting on the operable control, in the Displaying a plurality of application icons in a preset area of the display interface; determining a target application icon from the plurality of application icons in response to a second touch operation acting on the operable controls; displaying the target application on the display interface The target application interface corresponding to the icon.
  • the determining a target application icon from the plurality of application icons in response to a second touch operation acting on the operable control includes: responding to a second touch operation acting on the operable control A touch operation, controlling the plurality of application icons to move within the preset area; in response to an end event of the second touch operation, determining the target application icon from the plurality of application icons.
  • the preset area further displays first indication information with a fixed position, and the target is determined from the plurality of application icons in response to an end event of the second touch operation
  • An application icon comprising: in response to an end event of the second touch operation, determining an application icon that has a first target location relationship with the first indication information from the plurality of application icons as the target application icon .
  • the first target position relationship includes: the relative distance between the first target and the first indication information is the smallest.
  • the operable controls include a navigation bar, the plurality of application icons are arranged along the length direction of the navigation bar, and the second touch operation is performed along the length direction of the navigation bar.
  • a sliding operation, the controlling the plurality of application icons to move within the preset area in response to a second touch operation acting on the operable control includes: responding to a sliding operation acting on the operable control, The plurality of application icons are controlled to move along the length direction of the navigation bar within the preset area.
  • the sliding direction of the sliding operation is consistent with the moving direction of the plurality of application icons.
  • the sliding direction of the sliding operation is opposite to the moving direction of the plurality of application icons.
  • the preset area further displays movable second indication information
  • the target is determined from the plurality of application icons in response to a second touch operation acting on the operable control.
  • Application icons including: in response to a second touch operation acting on the operable controls, controlling the plurality of application icons and the second indication information to move within the preset area; in response to the second touch The end event of the control operation is determined, and an application icon that has a second target location relationship with the second indication information is determined from the plurality of application icons as the target application icon.
  • determining an application icon having a second target position relationship with the second indication information from the plurality of application icons is used as the The target application icon includes: in response to the end event of the second touch operation, monitoring the movement state of the second indication information; when monitoring that the second indication information stops moving, from the plurality of applications The icon of the target application is determined in the icon.
  • the second target position relationship includes: a minimum relative distance from the second indication information.
  • the first touch operation includes: the pressing duration of the pressing operation acting on the operable control reaches a preset duration.
  • the determining a target application icon from the plurality of application icons in response to the second touch operation acting on the operable control includes: responding to acting on all the application icons while the pressing operation is maintained. The second touch operation of the operable control is performed, and the target application icon is determined from the plurality of application icons.
  • the method further includes: hiding the plurality of application icons.
  • the hiding of the multiple application icons includes: sliding out the multiple application icons from the display interface; or deleting the multiple application icons on the display interface; or virtualizing the multiple application icons on the display interface; or shrinking the multiple application icons on the display interface.
  • the displaying the operable controls on the display interface of the electronic device includes: displaying the operable controls on the main interface of the electronic device; or displaying the operable controls on the application interface of the electronic device operable controls; or displaying operable controls in a multitasking interface of the electronic device, wherein the multitasking interface is used to display a window corresponding to at least one application program.
  • displaying a plurality of application icons in a preset area of the display interface in response to a first touch operation acting on the operable control includes: responding to a touch operation acting on the operable control The first touch operation is to acquire the multiple application programs running in the background of the electronic device; acquire multiple application icons corresponding to the multiple application programs; display all the application programs in the preset area of the display interface multiple application icons.
  • the displaying the target application interface corresponding to the target application icon on the display interface includes: when the display interface is a main interface or an application interface, displaying all the target application interfaces on a full screen of the display interface.
  • FIG. 1 shows a schematic flowchart of an application switching method provided by an embodiment of the present application.
  • the application switching method is used for popping up and displaying a plurality of application icons based on a first touch operation acting on the operable controls, and selecting a target application icon based on a second touch operation acting on the operable controls, Thus, by displaying multiple application icons, the selection efficiency of the target application is improved.
  • the application switching method is applied to the application switching apparatus 200 shown in FIG. 18 and the electronic device 100 ( FIG. 19 ) configured with the application switching apparatus 200 .
  • the following will take an electronic device as an example to describe the specific process of this embodiment.
  • the electronic device applied in this embodiment may include a smart phone, a tablet computer, a wearable electronic device, etc., which is not limited here.
  • the flow shown in FIG. 1 will be described in detail below, and the application switching method may specifically include the following steps:
  • Step S110 Display operable controls on the display interface of the electronic device.
  • operable controls may be displayed on the display interface of the electronic device.
  • the electronic device may be provided with a target switch, which is used to control the display of operable controls in the display interface of the electronic device, or control to hide the operable controls in the display interface of the electronic device, wherein when the target When the switch is on, the operable control is displayed on the display interface of the electronic device, and when the target switch is off, the operable control is hidden on the display interface of the electronic device.
  • the operable controls may be displayed in the top area of the display interface, may be displayed in the bottom area of the display interface, or may be displayed in the side area of the display interface, etc., which are not limited herein.
  • the display interface may be the main interface.
  • displaying the operable controls on the display interface of the electronic device may include: displaying the operable controls on the main interface of the electronic device, for example, displaying the operable controls on the desktop of the electronic device.
  • FIG. 2 shows a schematic diagram of a first interface of an electronic device provided by an embodiment of the present application.
  • the display interface of the electronic device 100 is a main interface (desktop), which is displayed in the main interface.
  • actionable control A is a main interface (desktop), which is displayed in the main interface.
  • the display interface may be an application interface.
  • displaying the operable controls in the display interface of the electronic device may include: displaying the operable controls in the application interface of the electronic device, for example, displaying the operable controls in the video application interface of the electronic device, and displaying the operable controls in the audio application interface of the electronic device.
  • FIG. 3 shows a schematic diagram of a second interface of the electronic device provided by the embodiment of the present application. As shown in FIG. 3 , the display interface of the electronic device 100 is an application interface. Control A.
  • the display interface may be a multitasking interface, wherein the multitasking interface is used to display a window corresponding to at least one application program.
  • displaying the operable controls in the display interface of the electronic device may include: displaying the operable controls in the multitasking interface of the electronic device, for example, displaying the operable controls in a window corresponding to at least one application program and displaying the application on the current interface. on the corresponding window of the program.
  • FIG. 4 shows a schematic diagram of a third interface of the electronic device provided by the embodiment of the present application. As shown in FIG. 4 , the display interface of the electronic device 100 is a multitasking interface, and the multitasking interface displays Actionable Control A.
  • the display interface as the multitasking interface as an example, when the electronic device displays the multitasking interface, the application program running in the background of the electronic device can be obtained, and the window corresponding to the application program running in the background of the electronic device can be displayed on the multitasking interface. show.
  • the application program running in the background of the electronic device can be obtained, and the corresponding window when the application program running in the background of the electronic device is switched from the foreground to the background can be obtained, and the application program can be removed from the foreground
  • the corresponding window is used as the window corresponding to the application program, and the window corresponding to the application program running in the background of the electronic device is displayed on the multitasking interface.
  • the electronic device may display the multitasking interface on the current interface when receiving the multitasking interface display instruction.
  • the electronic device may display a multitasking interface on the current interface when detecting a sliding operation acting on the touch screen that meets the preset conditions.
  • the multitasking interface is displayed on the current interface.
  • the electronic device can display the multitasking interface on the current interface when it detects that the pressing operation acting on the physical button meets the specified conditions. This is not limited.
  • the window corresponding to at least one application program among the windows corresponding to the multiple application programs can be displayed on the current interface, and the windows corresponding to other application programs can be hidden.
  • the windows corresponding to multiple application programs are displayed and hidden.
  • the multitasking interface includes a window corresponding to application 1, a window corresponding to application 2, and a window corresponding to application 3, wherein, when the window corresponding to application 1 is displayed on the current interface, the window corresponding to application 2 and The window corresponding to application 3 can be hidden.
  • the window corresponding to application 1 can be switched from display to hidden
  • the window corresponding to application 2 can be switched from hidden to display
  • the application The window corresponding to program 3 remains hidden.
  • the display interface when an operable control is displayed on the display interface of the electronic device, if a sliding operation acting on the operable control is detected, the display interface can be switched in response to the sliding operation, that is, the sliding operation can be performed in response to the sliding operation.
  • the operation switches the display interface to the adjacent previous display interface or the next display interface.
  • the main interface when the display interface is the main interface, if a sliding operation acting on the operable control is detected, the main interface (desktop) can be switched in response to the sliding operation, that is, the main interface (desktop) can be switched in response to the sliding operation.
  • the interface is switched to the previous main interface or the next main interface adjacent to it.
  • the display interface is an application interface
  • the application interface can be switched in response to the sliding operation, that is, the application interface can be switched in response to the sliding operation It is the previous application interface or the next application main interface adjacent to it.
  • the display interface is a multitasking interface
  • the window corresponding to the application can be switched in response to the sliding operation, that is, the sliding operation can be responded to
  • the window corresponding to the application displayed in the multitasking interface is switched to the window corresponding to the adjacent previous application or the window corresponding to the next application.
  • the actionable controls may include a navigation bar.
  • Step S120 Display a plurality of application icons in a preset area of the display interface in response to the first touch operation acting on the operable control.
  • the electronic device may preset and store a first touch operation, where the first touch operation is used as a touch operation acting on the operable controls when the operable controls are displayed on the display interface of the electronic device basis of judgment. Therefore, in this embodiment, in the process of displaying the operable controls on the display interface of the electronic device, the touch operation acting on the operable controls can be detected, and the detected touch operation can be compared with the first touch operation. For comparison, when the detected touch operation satisfies the first touch operation, a plurality of application icons may be displayed in the preset area of the display interface in response to the first touch operation acting on the operable controls.
  • the first touch operation may be that the pressing duration of the pressing operation acting on the operable control reaches a preset duration, for example, the preset duration may include 0.3s. Therefore, when an operable control is displayed on the display interface of the electronic device, if it is detected that the pressing duration of the pressing operation acting on the operable control reaches a preset duration, the user can respond to the pressing operation, and display more information in the preset area of the display interface. application icons.
  • the multiple application icons displayed in the preset area of the display interface may include: displaying the original images corresponding to the multiple application icons in the preset area of the display interface, or displaying multiple application icons in the preset area of the display interface Thumbnail corresponding to the application icon.
  • the preset area can be set in the top area of the display interface, can be set in the bottom area of the display interface, and can also be set in the side area of the display interface.
  • the position of the preset area on the display interface can be fixed , can also be moved, which is not limited here.
  • FIG. 5 shows a first schematic diagram of interaction of an electronic device provided by an embodiment of the present application
  • FIG. 6 shows a schematic diagram of a fourth interface of the electronic device provided by an embodiment of the present application.
  • an operable control A is displayed on the application interface of the electronic device 100
  • the The preset area B of the display interface displays multiple application icons C (C1, C2, C3, C4, C5).
  • the display interface displays the application interface corresponding to the application icon C3, as shown in FIG. 6 .
  • Step S130 In response to the second touch operation acting on the operable control, determine a target application icon from the plurality of application icons.
  • the electronic device may preset and store a second touch operation, where the second touch operation is used to display operable controls on a display interface of the electronic device and display multiple applications in a preset area of the display interface
  • the judgment basis of the touch operation acting on the operable control in the process that the display interface of the electronic device displays the operable controls and the preset area of the display interface displays a plurality of application icons, the touch operation acting on the operable controls can be detected, and the The detected touch operation is compared with the second touch operation, wherein, when the detected touch operation satisfies the second touch operation, the second touch operation may be executed from multiple applications in response to the second touch operation acting on the operable control.
  • the icon of the target application is determined in the icon.
  • the second touch operation may include a sliding operation
  • the target application icon may be determined from a plurality of application icons in response to the sliding operation acting on the operable control.
  • determining the target application icon from among the plurality of application icons may include: in response to an end event of the first touch operation (eg, in response to the first touch (press release event of the control operation), detect the touch operation acting on the operable control, and when detecting the second touch operation acting on the operable control, it can respond to the second touch operation acting on the operable control , to determine the target application icon from multiple application icons.
  • determining the target application icon from among the plurality of application icons in response to the second touch operation acting on the operable control may include: a hold event in response to the first touch operation (eg, in response to the first touch The hold press event of the control operation), to detect the touch operation acting on the operable control, and when detecting the second touch operation acting on the operable control, it can respond to the second touch operation acting on the operable control. , to determine the target application icon from multiple application icons.
  • Step S140 Display the target application interface corresponding to the target application icon on the display interface.
  • the target application interface corresponding to the target application icon may be displayed on the display interface.
  • FIG. 7 shows a schematic diagram of a fifth interface of an electronic device provided by an embodiment of the present application. As shown in FIG. 7, when the display interface is a main interface or an application interface, it is displayed from a plurality of application icons. After the target application icon is determined in C, the target application interface corresponding to the target application icon may be displayed in full screen on the display interface.
  • FIG. 8 shows a schematic diagram of a sixth interface of the electronic device provided by the embodiment of the present application.
  • the display interface is a multitasking interface
  • the multiple application icons C After the target application icon is determined, a window corresponding to the target application program corresponding to the target application icon may be displayed on the display interface.
  • operable controls are displayed on a display interface of an electronic device, and in response to a first touch operation acting on the operable controls, multiple application icons are displayed in a preset area of the display interface, and in response to a first touch operation on the operable controls, a plurality of application icons are displayed.
  • the second touch operation acting on the operable controls determines the target application icon from the plurality of application icons, and displays the target application interface corresponding to the target application icon on the display interface, so as to be based on the first touch operation acting on the operable controls
  • a plurality of application icons are popped up and displayed, and a target application icon is selected based on the second touch operation acting on the operability control, so that the selection efficiency of the target application is improved by displaying the plurality of application icons.
  • FIG. 9 shows a schematic flowchart of an application switching method provided by another embodiment of the present application. The method is applied to the above-mentioned electronic device, and the flow shown in FIG. 9 will be described in detail below.
  • the application switching method may specifically include the following steps:
  • Step S210 Display operable controls on the display interface of the electronic device.
  • Step S220 Display a plurality of application icons in a preset area of the display interface in response to the first touch operation acting on the operable control.
  • steps S210-step S220 can refer to steps S110-step S120, and details are not repeated here.
  • Step S230 In response to the second touch operation acting on the operable control, control the plurality of application icons to move within the preset area.
  • the electronic device may preset and store a second touch operation, where the second touch operation is used to display operable controls on a display interface of the electronic device and display multiple applications in a preset area of the display interface When the icon is displayed, the judgment basis of the touch operation acting on the operable control. Therefore, in this embodiment, in the process that the display interface of the electronic device displays the operable controls and the preset area of the display interface displays a plurality of application icons, the touch operation acting on the operable controls can be detected, and the The detected touch operation is compared with the second touch operation, wherein when the detected touch operation satisfies the second touch operation, multiple applications can be controlled in response to the second touch operation acting on the operable controls Icons move within the preset area.
  • controlling a plurality of application icons to move within a preset area in response to a second touch operation acting on the operable controls it is also possible to simultaneously respond to the second touch operation acting on the operable controls, controlling The display interface moves and switches the display.
  • the operable control may include a navigation bar
  • the plurality of application icons may be arranged in a preset area along the length direction of the navigation bar
  • the second touch operation is sliding along the length direction of the navigation bar operate.
  • the touch operation acting on the navigation bar can be detected, and the touch operation on the navigation bar can be detected.
  • a plurality of application icons can be controlled to move within a preset area in response to the sliding operation.
  • FIG. 10 shows a second interaction schematic diagram of the electronic device provided by the embodiment of the present application.
  • the operable control A is a navigation bar
  • the plurality of application icons C are arranged in the preset area B along the length direction of the navigation bar.
  • multiple application icons C can be controlled to move within the preset area B. For example, the display positions of C1, C2, C3, and C4 are changed, and C5 and C6 are slid to be hidden.
  • the sliding direction of the sliding operation may be consistent with the moving direction of the multiple application icons.
  • the multiple application icons may move along the navigation bar.
  • the longitudinal direction moves to the first direction, wherein the first direction may be left or right, which is not limited here.
  • the sliding direction of the sliding operation may be opposite to the moving direction of the plurality of application icons.
  • the plurality of application icons may move along the navigation bar.
  • Step S240 In response to an end event of the second touch operation, determine the target application icon from the plurality of application icons.
  • events corresponding to the second touch operations may be monitored, wherein the events corresponding to the second touch operations Includes hold events (eg hold dragging) and end events (eg release).
  • the target application icon is determined from a plurality of application icons, and when the hold event of the second touch operation is monitored, the event corresponding to the second touch operation can be monitored continuously , and until the end event of the second touch operation is detected, the target application icon is determined from the plurality of application icons.
  • the preset area also displays first indication information with a fixed position.
  • the first indication information may be fixed at the center of the preset area.
  • the first indication information may be The first indication character, the first indication graphic, the first indication color, the first indication control, etc. are not limited herein.
  • an application icon having a target location relationship with the first indication information may be determined from the plurality of application icons as the target application icon.
  • the first target position relationship is the smallest relative distance from the first indication information, that is, in response to an end event of the second touch operation, it can be determined from a plurality of application icons that the first target is the same as the first target. Indicates the application icon with the smallest relative distance between the information as the target application icon.
  • FIG. 11 shows a third interaction schematic diagram of an electronic device provided by an embodiment of the present application.
  • the first indication information D1 with a fixed position is displayed in the preset area.
  • the first indication information D1 keeps the position unchanged, and is displayed in the
  • the application icon C1 closest to the first indication information D1 may be determined from the plurality of application icons C as the target application icon.
  • the display interface displays the application interface corresponding to the application icon C1.
  • Step S250 Display the target application interface corresponding to the target application icon on the display interface.
  • step S250 please refer to step S140, which will not be repeated here.
  • an operable control is displayed on a display interface of an electronic device, and in response to a first touch operation acting on the operable control, a plurality of application icons are displayed in a preset area of the display interface, In response to the second touch operation acting on the operable controls, control a plurality of application icons to move within the preset area, and in response to an end event of the second touch operation, determine the target application icon from the plurality of application icons, and display the target application icon on the display interface Displays the target application interface corresponding to the target application icon.
  • this embodiment also controls a plurality of application icons to move within a preset area in response to the second touch operation acting on the operable controls, and when the plurality of application icons stop moving. , to determine the target application icon from multiple application icons, thereby improving the selection efficiency of the target application.
  • FIG. 12 shows a schematic flowchart of an application switching method provided by still another embodiment of the present application. This method is applied to the above-mentioned electronic device.
  • the preset area displays second indication information. The following will describe the process shown in FIG. 12 in detail.
  • the application switching method may specifically include the following steps:
  • Step S310 Display the operable controls in the display interface of the electronic device.
  • Step S320 Display a plurality of application icons in a preset area of the display interface in response to the first touch operation acting on the operable control.
  • steps S310-step S320 can refer to steps S110-step S120, which will not be repeated here.
  • Step S330 In response to the second touch operation acting on the operable control, control the plurality of application icons and the second indication information to move within the preset area.
  • second indication information is displayed in the preset area.
  • the second indication information may be set at the center of the preset area at an initial position and move within the preset area.
  • the second indication information may be a second indication character, a second indication graphic, a second indication color, a second indication control, etc., which are not limited herein.
  • the electronic device may preset and store a second touch operation, where the second touch operation is used to display operable controls on a display interface of the electronic device and display multiple applications in a preset area of the display interface
  • the touch operation acting on the operable controls can be detected, and the The detected touch operation is compared with the second touch operation, wherein when the detected touch operation satisfies the second touch operation, multiple applications can be controlled in response to the second touch operation acting on the operable controls
  • the icon and the second indication information move within the preset area.
  • the moving directions of the multiple application icons and the second indication information may be the same or the opposite, which is not limited herein.
  • the operable control may include a navigation bar
  • the plurality of application icons may be arranged in a preset area along the length direction of the navigation bar
  • the second touch operation is sliding along the length direction of the navigation bar operate.
  • the preset area of the display interface displays the second indication information
  • the preset area of the display interface displays a plurality of application icons arranged along the length of the navigation bar. The touch operation of the navigation bar is detected, and when a sliding operation along the length direction of the navigation bar is detected, the plurality of application icons and the second indication information can be controlled to move within the preset area in response to the sliding operation.
  • FIG. 13 shows a fourth interaction schematic diagram of an electronic device provided by an embodiment of the present application.
  • the operable control A is a navigation bar
  • the plurality of application icons C are arranged along the length direction of the navigation bar in the preset area B
  • the initial position of the second indication information D2 is set at the preset The center of the area, when a sliding operation acting on the navigation bar is detected, a plurality of application icons C and the second indication information D2 can be controlled to move within the preset area B.
  • the sliding direction of the sliding operation may be consistent with the moving direction of the multiple application icons and the second indication information.
  • the and the second indication information may be moved to the first direction along the length direction of the navigation bar, wherein the first direction may be left or right, which is not limited herein.
  • the sliding direction of the sliding operation may be opposite to the moving direction of the multiple application icons and the second indication information.
  • the icon and the second indication information can be moved to the second direction along the length of the navigation bar, wherein the first direction is opposite to the second direction, for example, the first direction is left and the second direction is right, and the first direction is right and the second direction is the left, which is not limited here.
  • Step S340 In response to an end event of the second touch operation, determine an application icon having a second target location relationship with the second indication information from the plurality of application icons as the target application icon.
  • an event corresponding to the second touch operation may be monitored, wherein the second touch operation
  • the events corresponding to the control operation include hold events (such as hold dragging) and end events (such as release).
  • the target application icon is determined from a plurality of application icons, and when the hold event of the second touch operation is monitored, the event corresponding to the second touch operation can be monitored continuously , and until the end event of the second touch operation is detected, the target application icon is determined from the plurality of application icons.
  • the end event of the second touch operation when the end event of the second touch operation is monitored, it can be monitored whether the multiple application icons and the second indication information stop moving.
  • the The target application icon may be determined from a plurality of application icons.
  • an application icon having a target location relationship with the second indication information may be determined from a plurality of application icons as the target application icon.
  • the second target position relationship is the smallest relative distance from the second indication information, that is, in response to an end event of the second touch operation, it can be determined from a plurality of application icons that the second target is the same as the second target. Indicates the application icon with the smallest relative distance between the information as the target application icon.
  • FIG. 14 shows a fifth interaction schematic diagram of the electronic device provided by the embodiment of the present application.
  • the second indication information D2 whose position can be moved is displayed in the preset area.
  • the second indication information D2 responds to the second touch operation.
  • the application icon C2 closest to the second indication information D2 may be determined from the plurality of application icons C as the target application icon.
  • Step S350 Display the target application interface corresponding to the target application icon on the display interface.
  • step S350 please refer to step S140, which will not be repeated here.
  • operable controls are displayed on a display interface of an electronic device, and in response to a first touch operation acting on the operable controls, a plurality of application icons are displayed in a preset area of the display interface, In response to the second touch operation acting on the operable control, control the plurality of application icons and the second indication information to move within the preset area, and in response to the end event of the second touch operation, determine and indicate from the plurality of application icons
  • the application icon whose information exists in the second target position relationship is used as the target application icon, and the target application interface corresponding to the target application icon is displayed on the display interface.
  • this embodiment also controls a plurality of application icons and the second indication information to move within a preset area in response to a second touch operation acting on the operable controls, and controls the plurality of application icons and the second indication information to move within a plurality of
  • the target application icon is determined from the multiple application icons, thereby improving the selection efficiency of the target application.
  • FIG. 15 shows a schematic flowchart of an application switching method provided by another embodiment of the present application. This method is applied to the above-mentioned electronic device, and the flow shown in FIG. 15 will be described in detail below.
  • the application switching method may specifically include the following steps:
  • Step S410 Display operable controls on the display interface of the electronic device.
  • step S410 For the specific description of step S410, please refer to step S110, which will not be repeated here.
  • Step S420 In response to a first touch operation acting on the operable control, display a plurality of application icons in a preset area of the display interface, wherein the first touch operation is acting on the operable control The pressing duration of the pressing operation reaches the preset duration.
  • the first touch operation is that the pressing duration of the pressing operation acting on the operable control reaches the preset duration, then when the pressing duration of the pressing operation acting on the operable control reaches the preset duration, Display multiple application icons in preset areas of the display interface.
  • Step S430 In response to the second touch operation acting on the operable control while the pressing operation is maintained, determine the target application icon from the plurality of application icons.
  • the target application in the process of displaying multiple application icons in the preset area of the display interface, the target application may be determined from the multiple application icons in response to the second touch operation acting on the operable control while the pressing operation is maintained. icon. That is to say, in this embodiment, when the pressing duration of the pressing operation acting on the operable control reaches the preset duration, when multiple application icons are triggered to be displayed in the preset area of the display interface, the pressing operation can be maintained (not In the case of letting go), continue to perform the second touch operation (such as a sliding operation), and determine the target application icon from the multiple application icons.
  • Step S440 Display the target application interface corresponding to the target application icon on the display interface.
  • step S440 please refer to step S140, which will not be repeated here.
  • an operable control is displayed on a display interface of an electronic device, and in response to a first touch operation acting on the operable control, a plurality of application icons are displayed in a preset area of the display interface,
  • the first touch operation is that the pressing duration of the pressing operation acting on the operable control reaches a preset duration
  • the target application is determined from the plurality of application icons icon, and the target application interface corresponding to the target application icon is displayed on the display interface.
  • this embodiment also displays a plurality of application icons in a preset area based on the pressing operation reaching a preset duration, and responds to the second touch acting on the operable controls when the pressing operation is maintained.
  • the control operation is used to determine the target application program, thereby improving the selection efficiency of the application program.
  • FIG. 16 shows a schematic flowchart of an application switching method provided by still another embodiment of the present application. This method is applied to the above-mentioned electronic device, and the flow shown in FIG. 16 will be described in detail below.
  • the application switching method may specifically include the following steps:
  • Step S510 Display operable controls on the display interface of the electronic device.
  • Step S520 Display a plurality of application icons in a preset area of the display interface in response to the first touch operation acting on the operable control.
  • Step S530 In response to the second touch operation acting on the operable control, determine a target application icon from the plurality of application icons.
  • steps S510-step S530 can refer to steps S110-step S130, which will not be repeated here.
  • Step S540 Hide the multiple application icons.
  • the plurality of application icons may be hidden.
  • the target application program may be determined from the plurality of application icons and the plurality of application icons may be hidden.
  • the target application program may be determined from the plurality of application icons and the plurality of application icons may be hidden.
  • hiding the plurality of application icons includes: sliding out the plurality of application icons from the display interface, deleting the plurality of application icons on the display interface, blurring the plurality of application icons on the display interface, and zooming out on the display interface
  • the plurality of application icons and the like are not limited here.
  • Step S550 Display the target application interface corresponding to the target application icon on the display interface.
  • step S550 please refer to step S140, which will not be repeated here.
  • operable controls are displayed on a display interface of an electronic device, and in response to a first touch operation acting on the operable controls, a plurality of application icons are displayed in a preset area of the display interface , in response to the second touch operation acting on the operable control, determining the target application icon from the plurality of application icons, hiding the plurality of application icons, and displaying the target application interface corresponding to the target application icon on the display interface.
  • this embodiment also hides multiple application icons after the target application icon is determined, so as to keep the display interface clean and tidy and improve the user experience.
  • FIG. 17 shows a schematic flowchart of an application switching method provided by yet another embodiment of the present application. This method is applied to the above-mentioned electronic device, and the flow shown in FIG. 17 will be described in detail below.
  • the application switching method may specifically include the following steps:
  • Step S610 Display operable controls on the display interface of the electronic device.
  • step S610 For the specific description of step S610, please refer to step S110, which will not be repeated here.
  • Step S620 Acquire the plurality of application programs running in the background of the electronic device in response to the first touch operation acting on the operable control.
  • the electronic device may preset and store a first touch operation, where the first touch operation is used as a touch operation acting on the operable controls when the operable controls are displayed on the display interface of the electronic device basis of judgment. Therefore, in this embodiment, in the process of displaying the operable controls on the display interface of the electronic device, the touch operation acting on the operable controls can be detected, and the detected touch operation can be compared with the first touch operation. For comparison, when the detected touch operation satisfies the first touch operation, a plurality of application programs running in the background of the electronic device can be acquired in response to the first touch operation acting on the operable controls.
  • the electronic device can determine whether the application is running in the background. For example, it can be judged whether the application is in the electronic device through the Running Task, Running Process, Activity Lifecycle Callbacks, Usage Stats Manager, the accessibility function that comes with Android, or the process information stored in the directory of the Linux system kernel, etc. of the electronic device. Background process.
  • the running task of the electronic device determines whether the application is running in the background of the electronic device as an example, when an application is running in the background, it will be at the top of the stack of the Running Task, so the stack of the Running Task can be taken out.
  • Running when the package name of the task process at the top of the stack is different from the package name of the application program, it can be represented that the application program is not running in the background of the electronic device.
  • Step S630 Acquire multiple application icons corresponding to the multiple application programs.
  • multiple application icons corresponding to the multiple application programs may be acquired, wherein the multiple application programs are in one-to-one correspondence with the multiple application icons, that is, each application program has its own There is a corresponding application icon.
  • Step S640 Display the plurality of application icons in the preset area of the display interface.
  • Step S650 In response to the second touch operation acting on the operable control, determine a target application icon from the plurality of application icons.
  • Step S660 Display the target application interface corresponding to the target application icon on the display interface.
  • steps S640-step S660 can refer to steps S120-step S140, and details are not repeated here.
  • operable controls are displayed on a display interface of an electronic device, and in response to a first touch operation acting on the operable controls, multiple application programs running in the background of the electronic device are acquired , obtain multiple application icons corresponding to multiple application programs, display multiple application icons in a preset area of the display interface, and determine the target application program from the multiple application icons in response to the second touch operation acting on the operable controls , and display the target application interface corresponding to the target application icon on the display interface.
  • this embodiment also acquires multiple application programs running in the background of the electronic device in response to the first touch operation, acquires and displays multiple application icons corresponding to the multiple application programs, thereby Improve the accuracy of fetching multiple app icons.
  • FIG. 18 shows a module block diagram of an application switching apparatus provided by an embodiment of the present application.
  • the application switching device 200 is applied to the above-mentioned electronic equipment.
  • the block diagram shown in FIG. 18 will be described below.
  • the application switching device 200 includes: an operable control display module 210, an application icon display module 220, and a target application icon determination module 230 and an application switching display module 240, wherein:
  • the operable control display module 210 is configured to display operable controls in the display interface of the electronic device.
  • operable control display module 210 includes: a first operable control display sub-module, a second operable control display sub-module and a third operable control display sub-module for
  • the first operable control display sub-module is used for displaying operable controls in the main interface of the electronic device.
  • the second operable control display sub-module is used for displaying operable controls in the application interface of the electronic device.
  • the third operable control display sub-module is configured to display operable controls in a multitasking interface of the electronic device, wherein the multitasking interface is used to display a window corresponding to at least one application program.
  • the application icon display module 220 is configured to display a plurality of application icons in a preset area of the display interface in response to the first touch operation acting on the operable control.
  • the application icon display module 220 includes: an application program acquisition sub-module, an application icon acquisition sub-module and an application icon display sub-module, wherein:
  • the application program acquisition sub-module is configured to acquire the plurality of application programs running in the background of the electronic device in response to the first touch operation acting on the operable control.
  • the application icon acquisition submodule is used to acquire multiple application icons corresponding to the multiple application programs.
  • the application icon display sub-module is configured to display the plurality of application icons in the preset area of the display interface.
  • the target application icon determination module 230 is configured to determine a target application icon from the plurality of application icons in response to the second touch operation acting on the operable control.
  • the target application icon determination module 230 includes: a first application icon movement submodule and a first target application icon determination submodule, wherein:
  • the first application icon moving sub-module is configured to control the plurality of application icons to move within the preset area in response to the second touch operation acting on the operable control.
  • the operable controls include a navigation bar, the plurality of application icons are arranged along the length direction of the navigation bar, and the second touch operation is a sliding operation along the length direction of the navigation bar, so
  • the application icon moving sub-module includes: an application icon moving unit, wherein:
  • An application icon moving unit configured to control the plurality of application icons to move along the length direction of the navigation bar in the preset area in response to a sliding operation acting on the operable control.
  • the first target application icon determination submodule is configured to determine the target application icon from the plurality of application icons in response to an end event of the second touch operation.
  • the preset area also displays first indication information with a fixed position
  • the target application icon determination sub-module includes: a target application icon determination unit, wherein:
  • a target application icon determination unit configured to, in response to an end event of the second touch operation, determine, from the plurality of application icons, an application icon that has a first target location relationship with the first indication information, as the Target app icon.
  • the preset area also displays movable second indication information
  • the target application icon determination module 230 includes: a second application icon movement submodule and a second target application icon determination submodule, wherein:
  • the second application icon moving sub-module is configured to control the plurality of application icons and the second indication information to move within the preset area in response to a second touch operation acting on the operable control.
  • a second target application icon determination submodule configured to, in response to an end event of the second touch operation, determine from the plurality of application icons an application icon that has a second target location relationship with the second indication information, as the target application icon.
  • target application icon determination module 230 includes: a third target application icon determination sub-module, wherein:
  • a third target application icon determination submodule is configured to determine the target application icon from the plurality of application icons in response to the second touch operation acting on the operable control while the pressing operation is maintained.
  • the application switching display module 240 is configured to display the target application interface corresponding to the target application icon on the display interface.
  • the application switching apparatus 200 further includes: an application icon hiding module, wherein:
  • the application icon hiding module is used to hide the multiple application icons.
  • the coupling between the modules may be electrical, mechanical or other forms of coupling.
  • each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.
  • FIG. 19 shows a structural block diagram of an electronic device 100 provided by an embodiment of the present application.
  • the electronic device 100 may be an electronic device capable of running an application program, such as a smart phone, a tablet computer, an electronic book, or the like.
  • the electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more application programs, wherein the one or more application programs may be stored in the memory 120 and configured to be executed by a
  • the processor or processors 110 execute one or more programs configured to execute the method described in the foregoing method embodiments.
  • the processor 110 may include one or more processing cores.
  • the processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes by running or executing the instructions, programs, code sets or instruction sets stored in the memory 120, and calling the data stored in the memory 120.
  • the processor 110 may adopt at least one of a digital signal processing (Digital Signal Processing, DSP), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and a Programmable Logic Array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • the CPU mainly handles the operating system, user interface, and application programs
  • the GPU is used to render and draw the content to be displayed
  • the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may also not be integrated into the processor 110, and is implemented by a communication chip alone.
  • the memory 120 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the following method embodiments, and the like.
  • the storage data area may also store data (such as phone book, audio and video data, chat record data) created by the electronic device 100 during use.
  • FIG. 20 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • the computer-readable medium 300 stores program codes, and the program codes can be invoked by the processor to execute the methods described in the above method embodiments.
  • the computer-readable storage medium 300 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium 300 includes a non-transitory computer-readable storage medium.
  • the computer-readable storage medium 300 has storage space for program code 310 for performing any of the method steps in the above-described methods. These program codes can be read from or written to one or more computer program products.
  • the program code 310 may be compressed, for example, in a suitable form.
  • the application switching method, device, electronic device, and storage medium provided by the embodiments of the present application display operable controls on the display interface of the electronic device, and in response to the first touch operation acting on the operable controls, display the operable controls on the display interface.
  • the preset area of the interface displays a plurality of application icons, and in response to the second touch operation acting on the operable controls, the target application icon is determined from the plurality of application icons, and the target application interface corresponding to the target application icon is displayed on the display interface, so as to be based on the
  • the first touch operation acting on the operable control pops up to display multiple application icons, and the target application icon is selected based on the second touch operation acting on the operable control, so as to display the multiple application icons through the display , to improve the selection efficiency of target applications.

Landscapes

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

Abstract

本申请公开了一种应用切换方法、装置、电子设备以及存储介质,在显示界面中显示可操作控件,响应作用于可操作控件的第一触控操作,在显示界面的预设区域显示多个应用图标,响应作用于可操作控件的第二触控操作,从多个应用图标中确定目标应用图标,在显示界面显示其对应的目标应用界面。本申请可以提升目标应用的选择效率。

Description

应用切换方法、装置、电子设备以及存储介质
相关申请的交叉引用
本申请要求于2021年04月30日提交的申请号为CN202110481802.9的中国申请的优先权,其在此出于所有目的通过引用将其全部内容并入本文。
技术领域
本申请涉及电子设备技术领域,更具体地,涉及一种应用切换方法、装置、电子设备以及存储介质。
背景技术
随着科学技术的发展,电子设备的使用越来越广泛,功能越来越多,已经成为人们日常生活中的必备之一。目前,电子设备安装的应用程序越来越多。
发明内容
鉴于上述问题,本申请提出了一种应用切换方法、装置、电子设备以及存储介质,以解决上述问题。
第一方面,本申请实施例提供了一种应用切换方法,应用于电子设备,所述方法包括:在所述电子设备的显示界面中显示可操作控件;响应作用于所述可操作控件的第一触控操作,在所述显示界面的预设区域显示多个应用图标;响应作用于所述可操作控件的第二触控操作,从所述多个应用图标中确定目标应用图标;在所述显示界面显示所述目标应用图标对应的目标应用界面。
第二方面,本申请实施例提供了一种应用切换装置,应用于电子设备,所述装置包括:可操作控件显示模块,用于在所述电子设备的显示界面中显示可操作控件;应用图标显示模块,用于响应作用于所述可操作控件的第一触控操作,在所述显示界面的预设区域显示多个应用图标;目标应用图标确定模块,用于响应作用于所述可操作控件的第二触控操作,从所述多个应用图标中确定目标应用图标;应用切换显示模块,用于在所述显示界面显示所述目标应用图标对应的目标应用界面。
第三方面,本申请实施例提供了一种电子设备,包括存储器和处理器,所述存储器耦接到所述处理器,所述存储器存储指令,当所述指令由所述处理器执行时所述处理器执行上述方法。
第四方面,本申请实施例提供了一种计算机可读取存储介质,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行上述方法。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1示出了本申请一个实施例提供的应用切换方法的流程示意图;
图2示出了本申请实施例提供的电子设备的第一种界面示意图;
图3示出了本申请实施例提供的电子设备的第二种界面示意图;
图4示出了本申请实施例提供的电子设备的第三种界面示意图;
图5示出了本申请实施例提供的电子设备的第一种交互示意图;
图6示出了本申请实施例提供的电子设备的第四种界面示意图;
图7示出了本申请实施例提供的电子设备的第五种界面示意图;
图8示出了本申请实施例提供的电子设备的第六种界面示意图;
图9示出了本申请又一个实施例提供的应用切换方法的流程示意图;
图10示出了本申请实施例提供的电子设备的第二种交互示意图;
图11示出了本申请实施例提供的电子设备的第三种交互示意图;
图12示出了本申请再一个实施例提供的应用切换方法的流程示意图;
图13示出了本申请实施例提供的电子设备的第四种交互示意图;
图14示出了本申请实施例提供的电子设备的第五种交互示意图;
图15示出了本申请另一个实施例提供的应用切换方法的流程示意图;
图16示出了本申请又再一个实施例提供的应用切换方法的流程示意图;
图17示出了本申请又另一个实施例提供的应用切换方法的流程示意图;
图18示出了本申请实施例提供的应用切换装置的模块框图;
图19示出了本申请实施例用于执行根据本申请实施例的应用切换方法的电子设备的框图;
图20示出了本申请实施例的用于保存或者携带实现根据本申请实施例的应用切换方法的程序代码的存储单元。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。
目前,随着市场上开发出的应用程序的增多,电子设备上对应安装的应用程序也越来越多,用户在较短的时间内切换使用的应用程序也越来越多,这导致用户需要经常进行前台运行的应用程序的切换。当前,用户在进行前台运行的应用程序的切换时,通常需要启动多任务界面,并在多任务界面中进行需在前台运行的应用程序的选择,再将选中的应用程序在前台进行切换显示。但是,在多任务界面中进行需在前台运行的应用程序的选择时,需要对多个应用程序对应的视窗依次滑动至显示界面进行显示并选择,即,每次只能在显示界面显示一个应用程序对应的视窗,导致操作过程繁琐,应用切换的效率低下。
针对上述问题,发明人经过长期的研究发现,并提出了本申请实施例提供的应用切换方法、装置、电子设备以及存储介质,通过基于作用于可操作控件上的第一触控操作弹出显示多个应用图标,并基于作用于可操作性控件上的第二触控操作进行目标应用图标的选择,从而通过对多个应用图标的显示,提升目标应用的选择效率。其中。具体的应用切换方法在后续的实施例中进行详细的阐述。
本申请的实施方式提供了一种应用切换方法,所述方法包括:在所述电子设备的显示界面中显示可操作控件;响应作用于所述可操作控件的第一触控操作,在所述显示界面的预设区域显示多个应用图标;响应作用于所述可操作控件的第二触控操作,从所述多个应用图标中确定目标应用图标;在所述显示界面显示所述目标应用图标对应的目标应用界面。
根据本申请的实施方式,所述响应作用于所述可操作控件的第二触控操作,从所述多个应用图标中确定目标应用图标,包括:响应作用于所述可操作控件的第二触控操作,控制所述多个应用图标在所述预设区域内移动;响应于所述第二触控操作的结束事件,从所述多个应用图标中确定所述目标应用图标。
根据本申请的实施方式,所述预设区域还显示有位置固定的第一指示信息,所述响应于所述第二触控操作的结束事件,从所述多个应用图标中确定所述目标应用图标,包括:响应于所述第二触控操作的结束事件,从所述多个应用图标中确定与所述第一指示信息存在第一目标位置关系的应用图标,作为所述目标应用图标。
根据本申请的实施方式,所述第一目标位置关系,包括:与所述第一指示信息之间的相对距离最小。
根据本申请的实施方式,所述可操作控件包括导航条,所述多个应用图标沿所述导航条的长度方向排布,所述第二触控操作为沿所述导航条的长度方向的滑动操作,所述响应作用于所述可操作控件的第二触控操作,控制所述多个应用图标在所述预设区域内移动,包括:响应作用于所述可操作控件的滑动操作,控制所述多个应用图标在所述预设区域内沿所述导航条的长度方向移动。
根据本申请的实施方式,所述滑动操作的滑动方向与所述多个应用图标的移动方向一致。
根据本申请的实施方式,所述滑动操作的滑动方向与所述多个应用图标的移动方向相反。
根据本申请的实施方式,所述预设区域还显示有可移动的第二指示信息,所述响应作用于所述可操作控件的第二触控操作,从所述多个应用图标中确定目标应用图标,包括:响应作用于所述可操作控件的第二触控操作,控制所述多个应用图标和所述第二指示信息在所述预设区域内移动;响应于所述第二触控操作的结束事件,从所述多个应用图标中确定与所述第二指示信息存在第二目标位置关系的应用图标,作为所述目标应用图标。
根据本申请的实施方式,所述响应于所述第二触控操作的结束事件,从所述多个应用图标中确定与所述第二指示信息存在第二目标位置关系的应用图标,作为所述目标应用图标,包括:响应于所述第二触控操作的结束事件,监测所述第二指示信息的移动状态;当监测到所述第二指示信息停止移动时,从所述多个应用图标中确定目标应用图标。
根据本申请的实施方式,所述第二目标位置关系,包括:与所述第二指示信息之间的相对距离最小。
根据本申请的实施方式,所述第一触控操作,包括:作用于所述可操作控件的按压操作的按压时长达到预设时长。
根据本申请的实施方式,所述响应作用于所述可操作控件的第二触控操作,从所述多个应用图标中确定目标应用图标,包括:响应在保持所述按压操作时作用于所述可操作控件的第二触控操作,从所述多个应用图标中确定所述目标应用图标。
根据本申请的实施方式,所述响应作用于所述可操作控件的第二触控操作,从所述多个应用图标中确定目标应用图标之后,还包括:隐藏所述多个应用图标。
根据本申请的实施方式,所述隐藏所述多个应用图标,包括:从所述显示界面滑出所述多个应用图标;或者在所述显示界面删除所述多个应用图标;或者在所述显示界面虚化所述多个应用图标;或者在所述显示界面缩小所述多个应用图标。
根据本申请的实施方式,所述在所述电子设备的显示界面中显示可操作控件,包括:在所述电子设备 的主界面中显示可操作控件;或者在所述电子设备的应用界面中显示可操作控件;或者在所述电子设备的多任务界面中显示可操作控件,其中,所述多任务界面用于显示至少一个应用程序对应的视窗。
根据本申请的实施方式,所述响应作用于所述可操作控件的第一触控操作,在所述显示界面的预设区域显示多个应用图标,包括:响应作用于所述可操作控件的第一触控操作,获取所述在所述电子设备的后台运行的多个应用程序;获取所述多个应用程序对应的多个应用图标;在所述显示界面的所述预设区域显示所述多个应用图标。
根据本申请的实施方式,所述在所述显示界面显示所述目标应用图标对应的目标应用界面,包括:当所述显示界面为主界面或者应用界面时,在所述显示界面的全屏显示所述目标应用图标对应的目标应用界面;或者当所述显示界面为多任务界面时,在所述显示界面显示所述目标应用图标对应的目标应用界面对应的视窗。
请参阅图1,图1示出了本申请一个实施例提供的应用切换方法的流程示意图。所述应用切换方法用于通过基于作用于可操作控件上的第一触控操作弹出显示多个应用图标,并基于作用于可操作性控件上的第二触控操作进行目标应用图标的选择,从而通过对多个应用图标的显示,提升目标应用的选择效率。在具体的实施例中,所述应用切换方法应用于如图18所示的应用切换装置200以及配置有应用切换装置200的电子设备100(图19)。下面将以电子设备为例,说明本实施例的具体流程,可以理解的,本实施例所应用的电子设备可以包括智能手机、平板电脑、穿戴式电子设备等,在此不做限定。下面将针对图1所示的流程进行详细的阐述,所述应用切换方法具体可以包括以下步骤:
步骤S110:在所述电子设备的显示界面中显示可操作控件。
在本实施例中,可以在电子设备的显示界面中显示可操作控件。作为一种方式,电子设备可以设置有目标开关,该目标开关用于控制在电子设备的显示界面中显示可操作控件,或者,控制在电子设备的显示界面中隐藏可操作控件,其中,当目标开关处于开启状态时,则在电子设备的显示界面中显示该可操作控件,当目标开关处于关闭状态时,则在电子设备的显示界面中隐藏该可操作控件。作为一种方式,该可操作控件可以显示于显示界面的顶部区域、可以显示于显示界面的底部区域、也可以显示于显示界面的侧边区域等,在此不做限定。
在一些实施方式中,该显示界面可以为主界面。则在电子设备的显示界面中显示可操作控件可以包括:在电子设备的主界面中显示可操作控件,例如,在电子设备的桌面显示可操作控件。请参阅图2,图2示出了本申请实施例提供的电子设备的第一种界面示意图,如图2所示,该电子设备100的显示界面为主界面(桌面),在主界面中显示有可操作控件A。
在一些实施方式中,该显示界面可以为应用界面。则在电子设备的显示界面中显示可操作控件可以包括:在电子设备的应用界面中显示可操作控件,例如,在电子设备的视频类应用界面显示可操作控件、在电子设备的音频类应用界面显示可操作控件、在电子设备的即时通讯类应用界面显示可操作控件、在电子设备的邮件类应用界面显示可操作控件等。请参阅图3,图3示出了本申请实施例提供的电子设备的第二种界面示意图,如图3所示,该电子设备100的显示界面为应用界面,在应用界面中显示有可操作控件A。
在一些实施方式中,该显示界面可以为多任务界面,其中,多任务界面用于显示至少一个应用程序对应的视窗。则在电子设备的显示界面中显示可操作控件可以包括:在电子设备的多任务界面中显示可操作控件,例如,将可操作控件显示于至少一个应用程序对应的视窗中显示于当前界面的应用程序对应的视窗上。请参阅图4,图4示出了本申请实施例提供的电子设备的第三种界面示意图,如图4所示,该电子设备100的显示界面为多任务界面,在多任务界面中显示有可操作控件A。
以显示界面为多任务界面为例,在电子设备显示多任务界面时,可以获取在电子设备的后台运行的应用程序,并将在电子设备的后台运行的应用程序对应的视窗在多任务界面进行显示。其中,在电子设备显示多任务界面时,可以获取在电子设备的后台运行的应用程序,并获取在电子设备的后台运行的应用程序从前台切换到后台时对应的视窗,将该应用程序从前台切换到后台时对应的视窗作为该应用程序对应的视窗,并将在电子设备的后台运行的应用程序对应的视窗在多任务界面进行显示。
在一些实施方式中,电子设备可以在接收到多任务界面显示指令时,在当前界面显示多任务界面。其中,电子设备可以在检测到作用于触摸屏上的满足预设条件的滑动操作时,在当前界面显示多任务界面,例如,电子设备可以在检测到以触摸屏的底部为起点,以平行于触摸屏的轴向为滑动方向的滑动操作时,在当前界面显示多任务界面,又例如,电子设备可以在检测到作用于物理按键上的按压操作满足指定条件时,在当前界面显示多任务界面等,在此不做限定。
在一些实施方式中,当多任务界面包括多个应用程序对应的视窗时,多个应用程序对应的视窗中至少一个应用程序对应的视窗可以显示在当前界面,其他应用程序对应的视窗可以隐藏,并基于作用于多任务界面的滑动操作,将多个应用程序对应的视窗进行显示和隐藏切换。例如,假设多任务界面包括应用程序1对应的视窗、应用程序2对应的视窗以及应用程序3对应的视窗,其中,当应用程序1对应的视窗显示 在当前界面时,应用程序2对应的视窗和应用程序3对应的视窗可以隐藏,在检测到作用于当前界面的滑动操作时,可以将应用程序1对应的视窗从显示切换为隐藏,将应用程序2对应的视窗从隐藏切换为显示,将应用程序3对应的视窗保持隐藏。
在一些实施方式中,在电子设备的显示界面中显示可操作控件时,若检测到作用于该可操作控件的滑动操作,则可以响应该滑动操作进行显示界面的切换,即,可以响应该滑动操作将显示界面切换为与之相邻的上一显示界面或者下一显示界面。作为一种方式,当显示界面为主界面时,若检测到作用于该可操作控件的滑动操作,则可以响应该滑动操作进行主界面(桌面)的切换,即,可以响应该滑动操作将主界面切换为与之相邻的上一主界面或者下一主界面。作为又一种方式,当显示界面为应用界面时,若检测到作用于该可操作控件的滑动操作,则可以响应该滑动操作进行应用界面的切换,即,可以响应该滑动操作将应用界面切换为与之相邻的上一应用界面或者下一应用主界面。作为再一种方式,当显示界面为多任务界面时,若检测到作用于该可操作控件的滑动操作,则可以响应该滑动操作进行应用程序对应的视窗的切换,即,可以响应该滑动操作将多任务界面显示的应用程序对应的视窗切换为与之相邻的上一应用程序对应的视窗或者下一应用程序对应的视窗。
在一些实施方式中,该可操作控件可以包括导航条。
步骤S120:响应作用于所述可操作控件的第一触控操作,在所述显示界面的预设区域显示多个应用图标。
在一些实施方式中,电子设备可以预先设置并存储有第一触控操作,该第一触控操作用于作为在电子设备的显示界面显示可操作控件时,作用于可操作控件的触控操作的判断依据。因此,在本实施例中,在电子设备的显示界面显示可操作控件的过程中,可以对作用于可操作控件的触控操作进行检测,并将检测到的触控操作与第一触控操作进行比较,其中,当检测到的触控操作满足第一触控操作时,则可以响应作用于可操作控件的第一触控操作,在显示界面的预设区域显示多个应用图标。
作为一种方式,该第一触控操作可以为作用于可操作控件的按压操作的按压时长达到预设时长,例如,该预设时长可以包括0.3s。因此,在电子设备的显示界面显示可操作控件时,若检测到作用于可操作控件的按压操作的按压时长达到预设时长时,则可以响应该按压操作,在显示界面的预设区域显示多个应用图标。
作为一种方式,在显示界面的预设区域显示的多个应用图标可以包括:在显示界面的预设区域显示多个应用图标对应的原始图,或者,在显示界面的预设区域显示多个应用图标对应的缩略图。
作为一种方式,该预设区域可以设置于显示界面的顶部区域、可以设置于显示界面的底部区域、也可以设置于显示界面的侧边区域,另外,预设区域在显示界面的位置可以固定、也可以移动,在此不做限定。
请参阅图5和图6,图5示出了本申请实施例提供的电子设备的第一种交互示意图,图6示出了本申请实施例提供的电子设备的第四种界面示意图。如图5所示,以显示界面为应用界面为例,在电子设备100的应用界面显示有可操作控件A,则在检测到作用于可操作控件A的第一触控操作时,则可以在显示界面的预设区域B显示多个应用图标C(C1、C2、C3、C4、C5),此时,显示界面显示应用图标C3对应的应用界面,如图6所示。
步骤S130:响应作用于所述可操作控件的第二触控操作,从所述多个应用图标中确定目标应用图标。
在一些实施方式中,电子设备可以预先设置并存储有第二触控操作,该第二触控操作用于作为在电子设备的显示界面显示可操作控件且显示界面的预设区域显示多个应用图标时,作用于可操作控件的触控操作的判断依据。因此,在本实施例中,在电子设备的显示界面显示可操作控件且显示界面的预设区域显示多个应用图标的过程中,可以对作用于可操作控件的触控操作进行检测,并将检测到的触控操作与第二触控操作进行比较,其中,当检测到触控操作满足第二触控操作时,则可以响应作用于可操作控件的第二触控操作,从多个应用图标中确定目标应用图标。
在一些实施方式中,该第二触控操作可以包括滑动操作,则可以响应作用于可操作控件的滑动操作,从多个应用图标中确定目标应用图标。
在一些实施方式中,响应作用于可操作控件的第二触控操作,从多个应用图标中确定目标应用图标可以包括:响应于第一触控操作的结束事件(例如,响应于第一触控操作的按压释放事件),对作用于可操作控件的触控操作进行检测,当检测到作用于可操作控件的第二触控操作时,可以响应作用于可操作控件的第二触控操作,从多个应用图标中确定目标应用图标。
在一些实施方式中,响应作用于可操作控件的第二触控操作,从多个应用图标中确定目标应用图标可以包括:响应于第一触控操作的保持事件(例如,响应于第一触控操作的保持按压事件),对作用于可操作控件的触控操作进行检测,当检测到作用于可操作控件的第二触控操作时,可以响应作用于可操作控件的第二触控操作,从多个应用图标中确定目标应用图标。
步骤S140:在所述显示界面显示所述目标应用图标对应的目标应用界面。
在本实施例中,在从多个应用图标中确定目标应用图标后,可以在显示界面显示目标应用图标 对应的目标应用界面。
作为一种方式,当显示界面为主界面或者应用界面时,则在从多个应用图标中确定目标应用图标后,可以在显示界面全屏显示该目标应用图标对应的目标应用界面。请参阅图7,图7示出了本申请实施例提供的电子设备的第五种界面示意图,如图7所述,在当显示界面为主界面或者应用界面时,则在从多个应用图标C中确定目标应用图标后,可以在显示界面全屏显示该目标应用图标对应的目标应用界面。
作为又一种方式,当显示界面为多任务界面时,则在从多个应用界面中确定目标应用图标后,可以在显示界面显示该目标应用图标对应的目标应用界面对应的视窗。请参阅图8,图8示出了本申请实施例提供的电子设备的第六种界面示意图,如图8所述,在当显示界面为多任务界面时,则在从多个应用图标C中确定目标应用图标后,可以在显示界面显示该目标应用图标对应的目标应用程序对应的视窗。
本申请一个实施例提供的应用切换方法,在电子设备的显示界面中显示可操作控件,响应作用于可操作控件的第一触控操作,在显示界面的预设区域显示多个应用图标,响应作用于可操作控件的第二触控操作,从多个应用图标中确定目标应用图标,在显示界面显示目标应用图标对应的目标应用界面,从而基于作用于可操作控件上的第一触控操作弹出显示多个应用图标,并基于作用于可操作性控件上的第二触控操作进行目标应用图标的选择,从而通过对多个应用图标的显示,提升目标应用的选择效率。
请参阅图9,图9示出了本申请又一个实施例提供的应用切换方法的流程示意图。该方法应用于上述电子设备,下面将针对图9所示的流程进行详细的阐述,所述应用切换方法具体可以包括以下步骤:
步骤S210:在所述电子设备的显示界面中显示可操作控件。
步骤S220:响应作用于所述可操作控件的第一触控操作,在所述显示界面的预设区域显示多个应用图标。
其中,步骤S210-步骤S220的具体描述请参阅步骤S110-步骤S120,在此不再赘述。
步骤S230:响应作用于所述可操作控件的第二触控操作,控制所述多个应用图标在所述预设区域内移动。
在一些实施方式中,电子设备可以预先设置并存储有第二触控操作,该第二触控操作用于作为在电子设备的显示界面显示可操作控件且显示界面的预设区域显示多个应用图标时,作用于可操作控件的触控操作的判断依据。因此,在本实施例中,在电子设备的显示界面显示可操作控件且显示界面的预设区域显示多个应用图标的过程中,可以对作用于可操作控件的触控操作进行检测,并将检测到的触控操作与第二触控操作进行比较,其中,当检测到触控操作满足第二触控操作时,则可以响应作用于可操作控件的第二触控操作,控制多个应用图标在预设区域内移动。
在一些实施方式中,在响应作用于可操作控件的第二触控操作,控制多个应用图标在预设区域内移动时,还可以同时响应作用于可操作控件的第二触控操作,控制显示界面移动并切换显示。
在一些实施方式中,该可操作控件可以包括导航条,该多个应用图标可以在预设区域内沿导航条的长度方向排布,该第二触控操作为沿导航条的长度方向的滑动操作。在电子设备的显示界面显示导航条且显示界面的预设区域显示沿导航条的长度方向排布的多个应用图标的过程中,可以对作用于导航条的触控操作进行检测,到检测到沿导航条的长度方向的滑动操作时,则可以响应作用于该滑动操作,控制多个应用图标在预设区域内移动。
请参阅图10,图10示出了本申请实施例提供的电子设备的第二种交互示意图。如图10所示,该可操作控件A为导航条,该多个应用图标C在预设区域内B内沿导航条的长度方向排布,当检测到作用于该导航条的滑动操作时,则可以控制多个应用图标C在所述预设区域B内移动,例如,C1、C2、C3、C4的显示位置发生变化,C5、C6被滑动至隐藏。
作为一种方式,该滑动操作的滑动方向可以与多个应用图标的移动方向一致,例如,当滑动操作沿导航条的长度方向向第一方向滑动时,则多个应用图标可以沿导航条的长度方向向第一方向移动,其中,第一方向可以为左方,也可以为右方,在此不做限定。
作为又一种方式,该滑动操作的滑动方向可以与多个应用图标的移动方向相反,例如,当滑动操作沿导航条的长度方向向第一方向滑动时,则多个应用图标可以沿导航条的长度方向向第二方向移动,其中,第一方向与第二方向相反,如第一方向为左方且第二方向为右方,第一方向为右方且第二方向为左方,在此不做限定。
步骤S240:响应于所述第二触控操作的结束事件,从所述多个应用图标中确定所述目标应用图标。
在一些实施方式中,在多个应用图标基于第二触控操作在预设区域内移动的过程中,可以对第二触控操作对应的事件进行监测,其中,第二触控操作对应的事件包括保持事件(例如保持拖动)和结束事件(例 如释放)。当监测到第二触控操作的结束事件时,从多个应用图标中确定目标应用图标,当监测到第二触控操作的保持事件时,可以继续对第二触控操作对应的事件进行监测,直到监测到第二触控操作的结束事件时,从多个应用图标中确定目标应用图标。
作为一种方式,当监测到第二触控操作的结束事件时,可以监测多个应用图标是否停止移动,当监测到多个应用图标停止移动时,则可以从多个应用图标中确定目标应用图标。
在一些实施方式中,该预设区域还显示有位置固定的第一指示信息,可选地,该第一指示信息可以固定设置于预设区域的正中心,另外,该第一指示信息可以为第一指示字符、第一指示图形、第一指示颜色、第一指示控件等,在此不做限定。则响应于第二触控操作的结束事件,可以从多个应用图标中确定与第一指示信息存在目标位置关系的应用图标,作为目标应用图标。作为一种方式,该第一目标位置关系为与第一指示信息之间的相对距离最小,也就是说,响应于第二触控操作的结束事件,可以从多个应用图标中确定与第一指示信息之间的相对距离最小的应用图标,作为目标应用图标。
请参阅图11,图11示出了本申请实施例提供的电子设备的第三种交互示意图。如图11所示,预设区域内显示有位置固定的第一指示信息D1,在多个应用图标C响应第二触控操作移动的过程中,第一指示信息D1保持位置不变,并在第二触控操作结束时,可以从多个应用图标C中确定与第一指示信息D1位置最近的应用图标C1作为目标应用图标,此时,显示界面显示应用图标C1对应的应用界面。
步骤S250:在所述显示界面显示所述目标应用图标对应的目标应用界面。
其中,步骤S250的具体描述请参阅步骤S140,在此不再赘述。
本申请又一个实施例提供的应用切换方法,在电子设备的显示界面中显示可操作控件,响应作用于可操作控件的第一触控操作,在显示界面的预设区域显示多个应用图标,响应作用于可操作控件的第二触控操作,控制多个应用图标在预设区域内移动,响应于第二触控操作的结束事件,从多个应用图标中确定目标应用图标,在显示界面显示目标应用图标对应的目标应用界面。相较于图1所示的应用切换方法,本实施例还响应作用于可操作控件的第二触控操作,控制多个应用图标在预设区域内移动,并在多个应用图标停止移动时,从多个应用图标中确定目标应用图标,从而提升目标应用的选择效率。
请参阅图12,图12示出了本申请再一个实施例提供的应用切换方法的流程示意图。该方法应用于上述电子设备,在本实施例中,该预设区域显示有第二指示信息,下面将针对图12所示的流程进行详细的阐述,所述应用切换方法具体可以包括以下步骤:
步骤S310:在所述电子设备的显示界面中显示可操作控件。
步骤S320:响应作用于所述可操作控件的第一触控操作,在所述显示界面的预设区域显示多个应用图标。
其中,步骤S310-步骤S320的具体描述请参阅步骤S110-步骤S120,在此不再赘述。
步骤S330:响应作用于所述可操作控件的第二触控操作,控制所述多个应用图标和所述第二指示信息在所述预设区域内移动。
在本实施例中,该预设区域显示有第二指示信息,可选地,该第二指示信息可以初始位置可以设置于预设区域的正中心,并在预设区域内移动,另外,该第二指示信息可以为第二指示字符、第二指示图形、第二指示颜色、第二指示控件等,在此不做限定。
在一些实施方式中,电子设备可以预先设置并存储有第二触控操作,该第二触控操作用于作为在电子设备的显示界面显示可操作控件且显示界面的预设区域显示多个应用图标时,作用于可操作控件的触控操作的判断依据。因此,在本实施例中,在电子设备的显示界面显示可操作控件且显示界面的预设区域显示多个应用图标的过程中,可以对作用于可操作控件的触控操作进行检测,并将检测到的触控操作与第二触控操作进行比较,其中,当检测到触控操作满足第二触控操作时,则可以响应作用于可操作控件的第二触控操作,控制多个应用图标和第二指示信息在预设区域内移动。其中,多个应用图标和第二指示信息的移动方向可以一致,也可以相反,在此不再限定。
在一些实施方式中,该可操作控件可以包括导航条,该多个应用图标可以在预设区域内沿导航条的长度方向排布,该第二触控操作为沿导航条的长度方向的滑动操作。在电子设备的显示界面显示导航条、显示界面的预设区域显示第二指示信息、显示界面的预设区域显示沿导航条的长度方向排布的多个应用图标的过程中,可以对作用于导航条的触控操作进行检测,到检测到沿导航条的长度方向的滑动操作时,则可以响应作用于该滑动操作,控制多个应用图标和第二指示信息在预设区域内移动。
请参阅图13,图13示出了本申请实施例提供的电子设备的第四种交互示意图。如图13所示,该可操作控件A为导航条,该多个应用图标C在预设区域内B内沿导航条的长度方向排布,该第二指示信息D2的初始位置设置于预设区域的正中心,当检测到作用于该导航条的滑动操作时,则可以控制多个应用图标C和第二指示信息D2在所述预设区域B内移动。
作为一种方式,该滑动操作的滑动方向可以与多个应用图标和第二指示信息的移动方向一致,例如, 当滑动操作沿导航条的长度方向向第一方向滑动时,则多个应用图标和第二指示信息可以沿导航条的长度方向向第一方向移动,其中,第一方向可以为左方,也可以为右方,在此不做限定。
作为又一种方式,该滑动操作的滑动方向可以与多个应用图标和第二指示信息的移动方向相反,例如,当滑动操作沿导航条的长度方向向第一方向滑动时,则多个应用图标和第二指示信息可以沿导航条的长度方向向第二方向移动,其中,第一方向与第二方向相反,如第一方向为左方且第二方向为右方,第一方向为右方且第二方向为左方,在此不做限定。
步骤S340:响应于所述第二触控操作的结束事件,从所述多个应用图标中确定与所述第二指示信息存在第二目标位置关系的应用图标,作为所述目标应用图标。
在一些实施方式中,在多个应用图标和第二指示信息基于第二触控操作在预设区域内移动的过程中,可以对第二触控操作对应的事件进行监测,其中,第二触控操作对应的事件包括保持事件(例如保持拖动)和结束事件(例如释放)。当监测到第二触控操作的结束事件时,从多个应用图标中确定目标应用图标,当监测到第二触控操作的保持事件时,可以继续对第二触控操作对应的事件进行监测,直到监测到第二触控操作的结束事件时,从多个应用图标中确定目标应用图标。
作为一种方式,当监测到第二触控操作的结束事件时,可以监测多个应用图标和第二指示信息是否停止移动,当监测到多个应用图标和第二指示信息停止移动时,则可以从多个应用图标中确定目标应用图标。
作为一种方式,响应于第二触控操作的结束事件,可以从多个应用图标中确定与第二指示信息存在目标位置关系的应用图标,作为目标应用图标。作为一种方式,该第二目标位置关系为与第二指示信息之间的相对距离最小,也就是说,响应于第二触控操作的结束事件,可以从多个应用图标中确定与第二指示信息之间的相对距离最小的应用图标,作为目标应用图标。
请参阅图14,图14示出了本申请实施例提供的电子设备的第五种交互示意图。如图14所示,预设区域内显示有位置可移动的第二指示信息D2,在多个应用图标C响应第二触控操作移动的过程中,第二指示信息D2响应第二触控操作移动,并在监测到第二触控操作的结束事件时,可以从多个应用图标C中确定与第二指示信息D2位置最近的应用图标C2作为目标应用图标。
步骤S350:在所述显示界面显示所述目标应用图标对应的目标应用界面。
其中,步骤S350的具体描述请参阅步骤S140,在此不再赘述。
本申请再一个实施例提供的应用切换方法,在电子设备的显示界面中显示可操作控件,响应作用于可操作控件的第一触控操作,在显示界面的预设区域显示多个应用图标,响应作用于可操作控件的第二触控操作,控制多个应用图标和第二指示信息在预设区域内移动,响应于第二触控操作的结束事件,从多个应用图标中确定与指示信息存在第二目标位置关系的应用图标,作为目标应用图标,在显示界面显示目标应用图标对应的目标应用界面。相较于图1所示的应用切换方法,本实施例还响应作用于可操作控件的第二触控操作,控制多个应用图标和第二指示信息在预设区域内移动,并在多个应用图标和第二指示信息停止移动时,从多个应用图标中确定目标应用图标,从而提升目标应用的选择效率。
请参阅图15,图15示出了本申请另一个实施例提供的应用切换方法的流程示意图。该方法应用于上述电子设备,下面将针对图15所示的流程进行详细的阐述,所述应用切换方法具体可以包括以下步骤:
步骤S410:在所述电子设备的显示界面中显示可操作控件。
其中,步骤S410的具体描述请参阅步骤S110,在此不再赘述。
步骤S420:响应作用于所述可操作控件的第一触控操作,在所述显示界面的预设区域显示多个应用图标,其中,所述第一触控操作为作用于所述可操作控件的按压操作的按压时长达到预设时长。
在本实施例中,该第一触控操作为作用于可操作控件的按压操作的按压时长达到预设时长,则可以在作用于可操作控件上的按压操作的按压时长达到预设时长时,在显示界面的预设区域显示多个应用图标。
步骤S430:响应在保持所述按压操作时作用于所述可操作控件的第二触控操作,从所述多个应用图标中确定所述目标应用图标。
在本实施例中,在显示界面的预设区域显示多个应用图标的过程中,可以响应在保持按压操作时作用于可操作控件的第二触控操作,从多个应用图标中确定目标应用图标。也就是说,在本实施例中,在通过作用于可操作控件的按压操作的按压时长达到预设时长,触发在显示界面的预设区域显示多个应用图标时,可以在保持按压操作(不松手)的情况下继续执行第二触控操作(如滑动操作),从多个应用图标中确定目标应用图标。
步骤S440:在所述显示界面显示所述目标应用图标对应的目标应用界面。
其中,步骤S440的具体描述请参阅步骤S140,在此不再赘述。
本申请另一个实施例提供的应用切换方法,在电子设备的显示界面中显示可操作控件,响应作用于可操作控件的第一触控操作,在显示界面的预设区域显示多个应用图标,其中,第一触控操作 为作用于可操作控件的按压操作的按压时长达到预设时长,响应保持按压操作时作用于可操作控件的第二触控操作,从多个应用图标中确定目标应用图标,在显示界面显示目标应用图标对应的目标应用界面。相较于图1所示的应用切换方法,本实施例还在基于按压操作到达预设时长时在预设区域显示多个应用图标,并响应保持按压操作时作用于可操作控件的第二触控操作进行目标应用程序的确定,从而提升应用程序的选择效率。
请参阅图16,图16示出了本申请又再一个实施例提供的应用切换方法的流程示意图。该方法应用于上述电子设备,下面将针对图16所示的流程进行详细的阐述,所述应用切换方法具体可以包括以下步骤:
步骤S510:在所述电子设备的显示界面中显示可操作控件。
步骤S520:响应作用于所述可操作控件的第一触控操作,在所述显示界面的预设区域显示多个应用图标。
步骤S530:响应作用于所述可操作控件的第二触控操作,从所述多个应用图标中确定目标应用图标。
其中,步骤S510-步骤S530的具体描述请参阅步骤S110-步骤S130,在此不再赘述。
步骤S540:隐藏所述多个应用图标。
在一些实施方式中,在从多个应用图标中确定目标应用图标后,可以隐藏多个应用图标。作为一种方式,在检测到第二触控操作结束时,可以从多个应用图标中确定目标应用程序并隐藏多个应用图标。作为又一种方式,在检测到释放操作时,可以从多个应用图标中确定目标应用程序并隐藏多个应用图标。
在一些实施方式中,隐藏该多个应用图标包括:从显示界面滑出该多个应用图标,在显示界面删除该多个应用图标,在显示界面虚化该多个应用图标,在显示界面缩小该多个应用图标等,在此不做限定。
步骤S550:在所述显示界面显示所述目标应用图标对应的目标应用界面。
其中,步骤S550的具体描述请参阅步骤S140,在此不再赘述。
本申请又再一个实施例提供的应用切换方法,在电子设备的显示界面中显示可操作控件,响应作用于可操作控件的第一触控操作,在显示界面的预设区域显示多个应用图标,响应作用于可操作控件的第二触控操作,从多个应用图标中确定目标应用图标,隐藏多个应用图标,在显示界面显示目标应用图标对应的目标应用界面。相较于图1所示的应用切换方法,本实施例还在确定目标应用图标后隐藏多个应用图标,从而保持显示界面的整洁,提升用户的使用体验。
请参阅图17,图17示出了本申请又另一个实施例提供的应用切换方法的流程示意图。该方法应用于上述电子设备,下面将针对图17所示的流程进行详细的阐述,所述应用切换方法具体可以包括以下步骤:
步骤S610:在所述电子设备的显示界面中显示可操作控件。
其中,步骤S610的具体描述请参阅步骤S110,在此不再赘述。
步骤S620:响应作用于所述可操作控件的第一触控操作,获取所述在所述电子设备的后台运行的多个应用程序。
在一些实施方式中,电子设备可以预先设置并存储有第一触控操作,该第一触控操作用于作为在电子设备的显示界面显示可操作控件时,作用于可操作控件的触控操作的判断依据。因此,在本实施例中,在电子设备的显示界面显示可操作控件的过程中,可以对作用于可操作控件的触控操作进行检测,并将检测到的触控操作与第一触控操作进行比较,其中,当检测到的触控操作满足第一触控操作时,则可以响应作用于可操作控件的第一触控操作,获取在电子设备的后台运行的多个应用程序。
在一些实施方式中,电子设备可以判断应用程序是否在后台运行。例如,可以通过电子设备的Running Task、Running Process、Activity Lifecycle Callbacks、Usage Stats Manager、Android自带的无障碍功能、或者Linux系统内核保存在目录下的process进程信息等判断应用程序是否在电子设备的后台运行。
以通过电子设备的Running Task判断应用程序是否在电子设备的后台运行为例进行说明,当一个应用程序处于后台运行的时候,会处于Running Task的这个栈的栈顶,所以可以取出Running Task的栈顶的任务进程,查看是否与该应用程序的包名相同,可以理解的是,当该栈顶的任务进程的包名与该应用程序的包名相同,可以表征该应用程序在电子设备的后台运行,当该栈顶的任务进程的包名与该应用程序的包名不同,可以表征该应用程序没有在电子设备的后台运行。
步骤S630:获取所述多个应用程序对应的多个应用图标。
在一些实施方式中,在获取多个应用程序时,则可以获取多个应用程序对应的多个应用图标,其中,多个应用程序与多个应用图标一一对应,即,每个应用程序各自对应有一个应用图标。
步骤S640:在所述显示界面的所述预设区域显示所述多个应用图标。
步骤S650:响应作用于所述可操作控件的第二触控操作,从所述多个应用图标中确定目标应用图标。
步骤S660:在所述显示界面显示所述目标应用图标对应的目标应用界面。
其中,步骤S640-步骤S660的具体描述请参阅步骤S120-步骤S140,在此不再赘述。
本申请又另一个实施例提供的应用切换方法,在电子设备的显示界面中显示可操作控件,响应作用于可操作控件的第一触控操作,获取在电子设备的后台运行的多个应用程序,获取多个应用程序对应的多个应用图标,在显示界面的预设区域内显示多个应用图标,响应作用于可操作控件的第二触控操作,从多个应用图标中确定目标应用程序,在显示界面显示目标应用图标对应的目标应用界面。相较于图1所示的应用切换方法,本实施例还响应第一触控操作获取在电子设备的后台运行的多个应用程序,获取多个应用程序对应的多个应用图标并显示,从而提升所获取的多个应用图标的准确性。
请参阅图18,图18示出了本申请实施例提供的应用切换装置的模块框图。所述应用切换装置200应用于上述电子设备,下面将针对图18所示的框图进行阐述,所述应用切换装置200包括:可操作控件显示模块210、应用图标显示模块220、目标应用图标确定模块230以及应用切换显示模块240,其中:
可操作控件显示模块210,用于在所述电子设备的显示界面中显示可操作控件。
进一步地,所述可操作控件显示模块210包括:第一可操作控件显示子模块、第二可操作控件显示子模块以及第三可操作控件显示子模块,用于
第一可操作控件显示子模块,用于在所述电子设备的主界面中显示可操作控件。
第二可操作控件显示子模块,用于在所述电子设备的应用界面中显示可操作控件。
第三可操作控件显示子模块,用于在所述电子设备的多任务界面中显示可操作控件,其中,所述多任务界面用于显示至少一个应用程序对应的视窗。
应用图标显示模块220,用于响应作用于所述可操作控件的第一触控操作,在所述显示界面的预设区域显示多个应用图标。
进一步地,所述应用图标显示模块220包括:应用程序获取子模块、应用图标获取子模块以及应用图标显示子模块,其中:
应用程序获取子模块,用于响应作用于所述可操作控件的第一触控操作,获取所述在所述电子设备的后台运行的多个应用程序。
应用图标获取子模块,用于获取所述多个应用程序对应的多个应用图标。
应用图标显示子模块,用于在所述显示界面的所述预设区域显示所述多个应用图标。
目标应用图标确定模块230,用于响应作用于所述可操作控件的第二触控操作,从所述多个应用图标中确定目标应用图标。
进一步地,所述目标应用图标确定模块230包括:第一应用图标移动子模块和第一目标应用图标确定子模块,其中:
第一应用图标移动子模块,用于响应作用于所述可操作控件的第二触控操作,控制所述多个应用图标在所述预设区域内移动。
进一步地,所述可操作控件包括导航条,所述多个应用图标沿所述导航条的长度方向排布,所述第二触控操作为沿所述导航条的长度方向的滑动操作,所述应用图标移动子模块包括:应用图标移动单元,其中:
应用图标移动单元,用于响应作用于所述可操作控件的滑动操作,控制所述多个应用图标在所述预设区域内沿所述导航条的长度方向移动。
第一目标应用图标确定子模块,用于响应于所述第二触控操作的结束事件,从所述多个应用图标中确定所述目标应用图标。
进一步地,所述预设区域还显示有位置固定的第一指示信息,所述目标应用图标确定子模块包括:目标应用图标确定单元,其中:
目标应用图标确定单元,用于响应于所述第二触控操作的结束事件,从所述多个应用图标中确定与所述第一指示信息存在第一目标位置关系的应用图标,作为所述目标应用图标。
进一步地,所述预设区域还显示有可移动的第二指示信息,所述目标应用图标确定模块230包括:第二应用图标移动子模块和第二目标应用图标确定子模块,其中:
第二应用图标移动子模块,用于响应作用于所述可操作控件的第二触控操作,控制所述多个应用图标和所述第二指示信息在所述预设区域内移动。
第二目标应用图标确定子模块,用于响应于所述第二触控操作的结束事件,从所述多个应用图标中确定与所述第二指示信息存在第二目标位置关系的应用图标,作为所述目标应用图标。
进一步地,所述目标应用图标确定模块230包括:第三目标应用图标确定子模块,其中:
第三目标应用图标确定子模块,用于响应在保持所述按压操作时作用于所述可操作控件的第二触控操作,从所述多个应用图标中确定所述目标应用图标。
应用切换显示模块240,用于在所述显示界面显示所述目标应用图标对应的目标应用界面。
进一步地,所述应用切换装置200还包括:应用图标隐藏模块,其中:
应用图标隐藏模块,用于隐藏所述多个应用图标。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
请参阅图19,其示出了本申请实施例提供的一种电子设备100的结构框图。该电子设备100可以是智能手机、平板电脑、电子书等能够运行应用程序的电子设备。本申请中的电子设备100可以包括一个或多个如下部件:处理器110、存储器120以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器120中并被配置为由一个或多个处理器110执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。
其中,处理器110可以包括一个或者多个处理核。处理器110利用各种接口和线路连接整个电子设备100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行电子设备100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(Central Processing Unit,CPU)、图形处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责待显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块通信芯片进行实现。
存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储电子设备100在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。
请参阅图20,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质300中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。
计算机可读存储介质300可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质300包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质300具有执行上述方法中的任何方法步骤的程序代码310的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码310可以例如以适当形式进行压缩。
综上所述,本申请实施例提供的应用切换方法、装置、电子设备以及存储介质,在电子设备的显示界面中显示可操作控件,响应作用于可操作控件的第一触控操作,在显示界面的预设区域显示多个应用图标,响应作用于可操作控件的第二触控操作,从多个应用图标中确定目标应用图标,在显示界面显示目标应用图标对应的目标应用界面,从而基于作用于可操作控件上的第一触控操作弹出显示多个应用图标,并基于作用于可操作性控件上的第二触控操作进行目标应用图标的选择,从而通过对多个应用图标的显示,提升目标应用的选择效率。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (20)

  1. 一种应用切换方法,其中,应用于电子设备,所述方法包括:
    在所述电子设备的显示界面中显示可操作控件;
    响应作用于所述可操作控件的第一触控操作,在所述显示界面的预设区域显示多个应用图标;
    响应作用于所述可操作控件的第二触控操作,从所述多个应用图标中确定目标应用图标;
    在所述显示界面显示所述目标应用图标对应的目标应用界面。
  2. 根据权利要求1所述的方法,其中,所述响应作用于所述可操作控件的第二触控操作,从所述多个应用图标中确定目标应用图标,包括:
    响应作用于所述可操作控件的第二触控操作,控制所述多个应用图标在所述预设区域内移动;
    响应于所述第二触控操作的结束事件,从所述多个应用图标中确定所述目标应用图标。
  3. 根据权利要求2所述的方法,其中,所述预设区域还显示有位置固定的第一指示信息,所述响应于所述第二触控操作的结束事件,从所述多个应用图标中确定所述目标应用图标,包括:
    响应于所述第二触控操作的结束事件,从所述多个应用图标中确定与所述第一指示信息存在第一目标位置关系的应用图标,作为所述目标应用图标。
  4. 根据权利要求3所述的方法,其中,所述第一目标位置关系,包括:
    与所述第一指示信息之间的相对距离最小。
  5. 根据权利要求2所述的方法,其中,所述可操作控件包括导航条,所述多个应用图标沿所述导航条的长度方向排布,所述第二触控操作为沿所述导航条的长度方向的滑动操作,所述响应作用于所述可操作控件的第二触控操作,控制所述多个应用图标在所述预设区域内移动,包括:
    响应作用于所述可操作控件的滑动操作,控制所述多个应用图标在所述预设区域内沿所述导航条的长度方向移动。
  6. 根据权利要求5所述的方法,其中,所述滑动操作的滑动方向与所述多个应用图标的移动方向一致。
  7. 根据权利要求5所述的方法,其中,所述滑动操作的滑动方向与所述多个应用图标的移动方向相反。
  8. 根据权利要求1所述的方法,其中,所述预设区域还显示有可移动的第二指示信息,所述响应作用于所述可操作控件的第二触控操作,从所述多个应用图标中确定目标应用图标,包括:
    响应作用于所述可操作控件的第二触控操作,控制所述多个应用图标和所述第二指示信息在所述预设区域内移动;
    响应于所述第二触控操作的结束事件,从所述多个应用图标中确定与所述第二指示信息存在第二目标位置关系的应用图标,作为所述目标应用图标。
  9. 根据权利要求8所述的方法,其中,所述响应于所述第二触控操作的结束事件,从所述多个应用图标中确定与所述第二指示信息存在第二目标位置关系的应用图标,作为所述目标应用图标,包括:
    响应于所述第二触控操作的结束事件,监测所述第二指示信息的移动状态;
    当监测到所述第二指示信息停止移动时,从所述多个应用图标中确定目标应用图标。
  10. 根据权利要求8所述的方法,其中,所述第二目标位置关系,包括:
    与所述第二指示信息之间的相对距离最小。
  11. 根据权利要求1所述的方法,其中,所述第一触控操作,包括:
    作用于所述可操作控件的按压操作的按压时长达到预设时长。
  12. 根据权利要求11所述的方法,其中,所述响应作用于所述可操作控件的第二触控操作,从所述多个应用图标中确定目标应用图标,包括:
    响应在保持所述按压操作时作用于所述可操作控件的第二触控操作,从所述多个应用图标中确定所述目标应用图标。
  13. 根据权利要求1-12任一项所述的方法,其中,所述响应作用于所述可操作控件的第二触控操作,从所述多个应用图标中确定目标应用图标之后,还包括:
    隐藏所述多个应用图标。
  14. 根据权利要求13所述的方法,其中,所述隐藏所述多个应用图标,包括:
    从所述显示界面滑出所述多个应用图标;或者
    在所述显示界面删除所述多个应用图标;或者
    在所述显示界面虚化所述多个应用图标;或者
    在所述显示界面缩小所述多个应用图标。
  15. 根据权利要求1-14任一项所述的方法,其中,所述在所述电子设备的显示界面中显示可操作控 件,包括:
    在所述电子设备的主界面中显示可操作控件;或者
    在所述电子设备的应用界面中显示可操作控件;或者
    在所述电子设备的多任务界面中显示可操作控件,其中,所述多任务界面用于显示至少一个应用程序对应的视窗。
  16. 根据权利要求1-14任一项所述的方法,其中,所述响应作用于所述可操作控件的第一触控操作,在所述显示界面的预设区域显示多个应用图标,包括:
    响应作用于所述可操作控件的第一触控操作,获取所述在所述电子设备的后台运行的多个应用程序;
    获取所述多个应用程序对应的多个应用图标;
    在所述显示界面的所述预设区域显示所述多个应用图标。
  17. 根据权利要求1-14任一项所述的方法,其中,所述在所述显示界面显示所述目标应用图标对应的目标应用界面,包括:
    当所述显示界面为主界面或者应用界面时,在所述显示界面的全屏显示所述目标应用图标对应的目标应用界面;或者
    当所述显示界面为多任务界面时,在所述显示界面显示所述目标应用图标对应的目标应用界面对应的视窗。
  18. 一种应用切换装置,其中,应用于电子设备,所述装置包括:
    可操作控件显示模块,用于在所述电子设备的显示界面中显示可操作控件;
    应用图标显示模块,用于响应作用于所述可操作控件的第一触控操作,在所述显示界面的预设区域显示多个应用图标;
    目标应用图标确定模块,用于响应作用于所述可操作控件的第二触控操作,从所述多个应用图标中确定目标应用图标;
    应用切换显示模块,用于在所述显示界面显示所述目标应用图标对应的目标应用界面。
  19. 一种电子设备,其中,包括存储器和处理器,所述存储器耦接到所述处理器,所述存储器存储指令,当所述指令由所述处理器执行时所述处理器执行如权利要求1-17任一项所述的方法。
  20. 一种计算机可读取存储介质,其中,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行如权利要求1-17任一项所述的方法。
PCT/CN2022/081577 2021-04-30 2022-03-18 应用切换方法、装置、电子设备以及存储介质 WO2022227922A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110481802.9A CN115268725A (zh) 2021-04-30 2021-04-30 应用切换方法、装置、电子设备以及存储介质
CN202110481802.9 2021-04-30

Publications (1)

Publication Number Publication Date
WO2022227922A1 true WO2022227922A1 (zh) 2022-11-03

Family

ID=83745632

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/081577 WO2022227922A1 (zh) 2021-04-30 2022-03-18 应用切换方法、装置、电子设备以及存储介质

Country Status (2)

Country Link
CN (1) CN115268725A (zh)
WO (1) WO2022227922A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108021321A (zh) * 2017-12-28 2018-05-11 维沃移动通信有限公司 一种应用运行状态控制方法及移动终端
CN108205417A (zh) * 2017-10-27 2018-06-26 珠海市魅族科技有限公司 前台应用的切换方法及装置、计算机装置及可读存储介质
CN109933256A (zh) * 2019-03-22 2019-06-25 网易传媒科技(北京)有限公司 应用程序切换方法、应用程序切换装置、介质和计算设备
CN111766996A (zh) * 2020-06-17 2020-10-13 Oppo广东移动通信有限公司 应用切换方法、装置、存储介质及终端
CN111857513A (zh) * 2020-07-17 2020-10-30 维沃移动通信有限公司 后台程序控制方法、装置和电子设备
US20210109646A1 (en) * 2019-10-15 2021-04-15 Samsung Electronics Co., Ltd. Method and electronic device for creating toggled application icon

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111371949A (zh) * 2020-02-28 2020-07-03 Oppo广东移动通信有限公司 应用程序切换方法、装置、存储介质与触控终端

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108205417A (zh) * 2017-10-27 2018-06-26 珠海市魅族科技有限公司 前台应用的切换方法及装置、计算机装置及可读存储介质
CN108021321A (zh) * 2017-12-28 2018-05-11 维沃移动通信有限公司 一种应用运行状态控制方法及移动终端
CN109933256A (zh) * 2019-03-22 2019-06-25 网易传媒科技(北京)有限公司 应用程序切换方法、应用程序切换装置、介质和计算设备
US20210109646A1 (en) * 2019-10-15 2021-04-15 Samsung Electronics Co., Ltd. Method and electronic device for creating toggled application icon
CN111766996A (zh) * 2020-06-17 2020-10-13 Oppo广东移动通信有限公司 应用切换方法、装置、存储介质及终端
CN111857513A (zh) * 2020-07-17 2020-10-30 维沃移动通信有限公司 后台程序控制方法、装置和电子设备

Also Published As

Publication number Publication date
CN115268725A (zh) 2022-11-01

Similar Documents

Publication Publication Date Title
WO2017028436A1 (zh) 一种绘图工具的实现方法、装置、设备和计算机存储介质
JP2021508881A (ja) アイコン管理方法及び装置
WO2021184954A1 (zh) 多任务操作方法、装置、电子设备以及存储介质
WO2019041779A1 (zh) 终端界面切换、移动、手势处理的方法、装置及终端
US20120174029A1 (en) Dynamically magnifying logical segments of a view
CN108829314B (zh) 截图选区界面选择方法、装置、设备及存储介质
WO2022001341A1 (zh) 应用程序标签生成方法、应用界面显示方法以及装置
CN108463799B (zh) 电子设备的柔性显示器及其操作方法
WO2019201140A1 (zh) 应用显示方法、装置、存储介质及电子设备
JP2023534305A (ja) アプリケーションインターフェースの切り替え方法及び装置、端末並びに記憶媒体
WO2017092547A1 (zh) 一种数据传输方法及装置
WO2022174684A1 (zh) 屏幕录制方法、装置、电子设备以及存储介质
WO2022007541A1 (zh) 设备控制方法、装置、存储介质及电子设备
WO2023010903A1 (zh) 终端设备的桌面管理方法和终端设备
WO2022142826A1 (zh) 界面截图方法、装置和电子设备
US20180152622A1 (en) Mobile terminal-based photographing method and mobile terminal
WO2021179803A1 (zh) 内容分享方法、装置、电子设备及存储介质
CN107153546B (zh) 一种视频播放方法及移动设备
WO2022007544A1 (zh) 设备控制方法、装置、存储介质及电子设备
US8988369B1 (en) Restricted carousel with built-in gesture customization
WO2022227922A1 (zh) 应用切换方法、装置、电子设备以及存储介质
CN110875975A (zh) 一种信息处理方法及设备
CN113360048A (zh) 一种快捷启动方法及设备
CN111782381A (zh) 任务管理方法、装置、移动终端及存储介质
US20150253944A1 (en) Method and apparatus for data processing

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: 22794399

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: 22794399

Country of ref document: EP

Kind code of ref document: A1