CN112148178A - Application switching method and device, electronic equipment and readable storage medium - Google Patents

Application switching method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN112148178A
CN112148178A CN202011067677.9A CN202011067677A CN112148178A CN 112148178 A CN112148178 A CN 112148178A CN 202011067677 A CN202011067677 A CN 202011067677A CN 112148178 A CN112148178 A CN 112148178A
Authority
CN
China
Prior art keywords
multimedia
application
pendant
control
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011067677.9A
Other languages
Chinese (zh)
Inventor
马朝露
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011067677.9A priority Critical patent/CN112148178A/en
Publication of CN112148178A publication Critical patent/CN112148178A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

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)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an application switching method and device, electronic equipment and a readable storage medium, and belongs to the technical field of communication. The method comprises the following steps: displaying a multimedia pendant on a desktop of the electronic equipment, wherein the multimedia pendant comprises a playing control and N application switching controls, and N is a positive integer; receiving a first touch input of a user to a target application switching control in the N application switching controls; and responding to a first touch input, and updating the control interface of the multimedia pendant to be a target control interface of a target multimedia application program based on the target touch parameter of the first touch input. Therefore, the multimedia pendant for switching the multimedia application program is displayed on the desktop, so that a user can quickly switch to the target multimedia application program by only performing touch input on the application switching control of the multimedia pendant from the desktop, and the application switching efficiency is improved.

Description

Application switching method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to an application switching method and device, electronic equipment and a readable storage medium.
Background
At present, there are various types of application programs, for example, multimedia playing application programs, not only multimedia playing applications owned by a system, but also multimedia playing applications launched from different companies, and multimedia playing resources in different multimedia playing applications are different, so that when a user installs multiple multimedia playing applications on an electronic device, a problem that the multimedia playing applications need to be switched due to the limitation of the multimedia resources may be encountered.
In the existing scheme, when a user finds that there is no desired multimedia resource and needs to switch to another multimedia playing application in the process of playing the multimedia resource by using a certain multimedia playing application, the user needs to quit the current multimedia playing application, find another multimedia playing application and open the application, find the required multimedia resource and then click to play, and if the user wants to switch back to the previous multimedia playing application, the same operation still needs to be performed.
Therefore, the existing scheme for switching the multimedia playing application has the problems of complex operation and low efficiency.
Disclosure of Invention
An object of the embodiments of the present application is to provide an application switching method and apparatus, an electronic device, and a readable storage medium, which can solve the problems of complex operation and low efficiency of the existing scheme for switching multimedia playing applications.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an application switching method, where the method includes:
displaying a multimedia pendant on a desktop of an electronic device, wherein the multimedia pendant comprises a playing control and N application switching controls, and N is a positive integer;
receiving a first touch input of a user to a target application switching control in the N application switching controls;
and responding to the first touch input, and updating the control interface of the multimedia pendant to be a target control interface of a target multimedia application program based on the target touch parameter of the first touch input.
In a second aspect, an embodiment of the present application provides an application switching apparatus, including:
the display module is used for displaying a multimedia pendant on a desktop of the electronic equipment, wherein the multimedia pendant comprises a playing control and N application switching controls, and N is a positive integer;
the first receiving module is used for receiving a first touch input of a user to a target application switching control in the N application switching controls;
and the switching module is used for responding to the first touch input and updating the control interface of the multimedia pendant to a target control interface of a target multimedia application program based on the target touch parameter of the first touch input.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or an instruction stored on the memory and executable on the processor, and when executed by the processor, the program or the instruction implements the steps of the application switching method according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instructions are stored, and when executed by a processor, the program or instructions implement the steps of the application switching method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement the application switching method according to the first aspect.
In the embodiment of the application, a multimedia pendant is displayed on a desktop of an electronic device, wherein the multimedia pendant comprises a playing control and N application switching controls, and N is a positive integer; receiving a first touch input of a user to a target application switching control in the N application switching controls; and responding to the first touch input, and updating the control interface of the multimedia pendant to be a target control interface of a target multimedia application program based on the target touch parameter of the first touch input. Therefore, the multimedia pendant for switching the multimedia application program is displayed on the desktop, so that a user can quickly switch to the target multimedia application program only by performing touch input on the application switching control of the multimedia pendant from the desktop.
Drawings
Fig. 1 is a flowchart of an application switching method provided in an embodiment of the present application;
FIG. 2a is a schematic diagram of a multimedia pendant in a default state provided in an embodiment of the present application;
FIG. 2b is a schematic diagram of a multimedia pendant in an expanded state according to an embodiment of the present application;
FIG. 2c is a schematic diagram of a multimedia pendant in a playing state according to an embodiment of the present application;
FIG. 2d is a schematic diagram of a multimedia pendant in a pause state provided in an embodiment of the present application;
fig. 2e is a schematic diagram of a multimedia pendant in a switching state provided in the embodiment of the present application;
fig. 3 is an exemplary flowchart of an application switching method provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an application switching apparatus provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of another electronic device provided in the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The application switching method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, fig. 1 is a flowchart of an application switching method according to an embodiment of the present application, and as shown in fig. 1, the method includes the following steps:
step 101, displaying a multimedia pendant on a desktop of an electronic device, wherein the multimedia pendant comprises a playing control and N application switching controls, and N is a positive integer.
In the embodiment of the application, in order to facilitate a user to quickly switch multimedia playing applications, a desktop multimedia pendant integrating a plurality of multimedia applications on an electronic device is designed, for example, for music playing applications in the electronic device, a music pendant can be displayed on a desktop, and the user can realize the function of switching the music playing applications through the music pendant; for video playing application programs in the electronic equipment, a video pendant can be displayed on a desktop, and a user can realize the function of switching the video playing application programs through the video pendant, and the like. Namely, the multimedia pendant can be used for rapidly switching between the application programs of the same type.
Of course, only one multimedia pendant may be displayed on the desktop for the music playing application and the video playing application in the electronic device, and the user may implement the function of switching the music playing application and the function of switching the video playing application through the multimedia pendant.
The multimedia pendant can display a play control and N application switching controls, where the play control is used to control playing or pausing of multimedia resources, and the N application switching controls are used to implement an application switching function and an interface control function, and specifically, different application switching controls in the N application switching controls can be respectively used to switch different multimedia applications or to switch different types of multimedia applications, for example, one application switching control is used to control switching of one music application, or one application switching control is used to control switching of a music application, and another application switching control is used to control switching of a video application.
Therefore, the user can realize the quick switching of the multimedia application program through the application switching control.
Taking a music pendant as an example, as shown in fig. 2a, a music pendant 20 is displayed on a desktop 200 of the electronic device, a playing control 21 and an application switching control 22 are displayed on the music pendant 20, and a user can switch to a music application program desired to be played by touching the application switching control 22.
And 102, receiving a first touch input of a user to a target application switching control in the N application switching controls.
And 103, responding to the first touch input, and updating the control interface of the multimedia pendant to a target control interface of a target multimedia application program based on the target touch parameter of the first touch input.
When a user needs to switch a multimedia application program, a first touch input can be executed on a target application switching control in the N application switching controls, when N is 1, the first touch input can be directly executed on the application switching control on the multimedia pendant, and the corresponding target multimedia application program is switched to through a target touch parameter of the first touch input, such as touch frequency, touch duration, touch strength or sliding direction, so that a control interface of the multimedia pendant is updated to a target control interface of the target multimedia application program, where the target control interface may be a play control interface, a song search interface, a setting interface, and the like.
When N is greater than 1 and different application switching controls can be used for controlling switching to different multimedia applications, a user can select to execute a first touch input on a corresponding target application switching control according to a multimedia application desired to be switched, and update a control interface of the multimedia pendant to a target control interface of the target multimedia application by controlling a target touch parameter of the first touch input, that is, the different application switching controls are used for controlling switching to different multimedia applications, and the different touch parameters are used for controlling switching to different control interfaces of the multimedia application; when N is greater than 1, and different application switching controls are used for controlling switching of different types of multimedia applications, a user may select to execute a first touch input on a corresponding target application switching control according to a target type of multimedia application to be switched, and switch to a target multimedia application in the target type of multimedia application by controlling a target touch parameter of the first touch input, so that a control interface of the multimedia pendant is updated to a target control interface of the target multimedia application, that is, different application switching controls are used for controlling switching to different types of multimedia applications, different touch parameters are used for controlling switching to different types of multimedia applications, and the target control interface may be a default control interface, such as a play control interface.
If the electronic device selects another multimedia application program or is playing a multimedia resource by using another multimedia application program before receiving a first touch input of a user to the target application switching control, after receiving the first touch input, the electronic device can switch the multimedia application program to the target multimedia application program, that is, the electronic device does not use the multimedia application program before switching to play the multimedia resource subsequently, but uses the target multimedia application program to play the multimedia resource in the target multimedia application program; if the electronic device does not select or use any multimedia application program to play the multimedia resource before receiving the first touch input, the target multimedia application program can be used as the multimedia application program to be played after receiving the first touch input, and the multimedia resource in the target multimedia application program is played subsequently.
The application switching control of the multimedia pendant can display an application icon of a currently selected or currently playing multimedia application program, so that after the target multimedia application program is switched to, the application icon of the target multimedia application program can be displayed on the target application switching control to prompt a user that the currently used multimedia application program is the target multimedia application program. For example, as shown in fig. 2a, an application icon of a currently used music application a is displayed on the application switching control 22.
Optionally, the target touch parameter includes a touch frequency, a touch duration, a touch strength, or a sliding direction.
That is, the user can control to switch to different multimedia applications or to different control interfaces of the target multimedia application corresponding to the target application through parameters such as the number of touches, the touch duration, the touch strength or the sliding direction of the target application. And the touch control mode is simple and easy to operate.
Optionally, the target touch parameter includes a touch frequency, a touch duration or a touch strength;
the updating the control interface of the multimedia pendant to the target control interface of the target multimedia application based on the target touch parameter of the first touch input comprises:
and updating the control interface of the multimedia pendant to a target control interface of a target multimedia application program corresponding to the target touch parameter based on the corresponding relation between the preset touch parameter and the multimedia application program.
In a switching manner, a user can control to switch to a corresponding target multimedia application program through the number of touches, the duration of touches, or the strength of touches on the target application switching control, so that the control interface of the multimedia pendant is updated to the target control interface of the target multimedia application program.
The corresponding relationship between the touch parameter and the multimedia application may be preset, for example, L multimedia applications installed on the electronic device are numbered in a certain order (for example, according to the initial letter of the application name or the installation time), and m times of touch corresponding to the mth multimedia application are set, where L is an integer greater than 1 and m is a positive integer less than or equal to L, so that a user may touch the target application switching control for a corresponding number of times according to the number of the target multimedia application desired to be switched; or setting L touch duration intervals to correspond to one of the L multimedia applications, or setting L touch strength intervals to correspond to one of the L multimedia applications, so that a user can touch the target application switching control for a duration corresponding to the target application switching control or perform touch control on the target application switching control using a corresponding touch strength according to a target multimedia application desired to be switched.
Therefore, through the implementation mode, the user can quickly switch to the corresponding target multimedia application program only by executing the touch input of the corresponding touch parameter on the target application switching control of the multimedia pendant on the desktop.
Optionally, the target touch parameter includes a sliding direction;
the updating the control interface of the multimedia pendant to the target control interface of the target multimedia application based on the target touch parameter of the first touch input comprises:
under the condition that the sliding direction is a first preset direction, updating the control interface of the ith multimedia application program displayed on the multimedia pendant into the control interface of the (i-1) th multimedia application program;
under the condition that the sliding direction is a second preset direction, updating a control interface of the ith multimedia application program displayed on the multimedia pendant into a control interface of the (i + 1) th multimedia application program;
the i-1 th multimedia application program and the i +1 th multimedia application program are multimedia application programs in a preset program list, and the program list comprises at least two multimedia application programs which are arranged according to a preset sequence; i is an integer greater than 1.
In another switching mode, the user can control to switch to different multimedia applications by executing sliding inputs in different directions on the target application switching control, so that the control interface of the multimedia pendant is updated to the control interface of the corresponding multimedia application.
For example, the first preset direction is set for controlling to switch to a next multimedia application program adjacent to the currently used multimedia application program in the preset program list, and the second preset direction is set for controlling to switch to a previous multimedia application program adjacent to the currently used multimedia application program in the preset program list.
In this way, after receiving a first touch input, i.e., a sliding input, of the user to the target application switching control, the corresponding multimedia application can be correspondingly switched to according to the sliding direction of the sliding input. Specifically, at least two multimedia applications installed on the electronic device may be arranged in a program list according to a preset sequence, where the preset sequence may be an initial sequence, an installation time sequence, a use frequency sequence, and the like of an application name, and when the sliding direction is a first preset direction, the control interface of the ith multimedia application displayed on the multimedia pendant may be updated to the control interface of the (i-1) th multimedia application; and under the condition that the sliding direction is a second preset direction, updating the control interface of the ith multimedia application program displayed on the multimedia pendant to the control interface of the (i + 1) th multimedia application program.
The first preset direction may be any one of the upward, downward, leftward or rightward directions, the second preset direction may be any one of the upward, downward, leftward or rightward directions different from the first preset direction, and for the convenience of user memory, the first preset direction and the second preset direction may be two opposite directions, such as upward direction and downward direction, or the first preset direction is leftward and the second preset direction is rightward, and the like.
For example, the multimedia application program a, the multimedia application program B, and the multimedia application program C are sequentially arranged in the program list, a control interface of the multimedia application program B is currently displayed on the multimedia pendant, when a sliding input to the application switching control in a first preset direction is received, the control interface of the multimedia application program B displayed on the multimedia pendant may be updated to the control interface of the multimedia application program a, and when a sliding input to the application switching control in a second preset direction is received, the control interface of the multimedia application program B displayed on the multimedia pendant may be updated to the control interface of the multimedia application program C.
Through the implementation mode, a user can quickly switch to the next or previous multimedia application program adjacent to the current multimedia application program in the program list only by executing sliding input in different directions on the target application switching control of the multimedia pendant on the desktop.
Optionally, the multimedia pendant is in a first display state when the electronic device does not start a multimedia application program to play a multimedia resource;
the multimedia pendant in the first display state comprises the playing control, the application switching control and a pendant name, and the application switching control comprises a pendant icon or a target multimedia application icon.
In the embodiment of the application, the multimedia pendant can correspondingly have a plurality of different display states according to different use conditions of the multimedia application program on the electronic equipment by a user.
In a first case, when the electronic device does not start any multimedia application to play a multimedia resource, the multimedia pendant may be in a first display state, that is, a default state, and in the first display state, the multimedia pendant may include three display regions, where the first display region and the second display region are control regions, and are respectively used to display the play control and the application switching control, and the third display region is a text region and is used to display a pendant name, and the application switching control may display a pendant icon or a target multimedia application icon, where the target multimedia application icon may be an application icon of a currently selected multimedia application or an application icon of a multimedia application that is used last time.
Specifically, under the condition that the electronic device does not start any multimedia application program, that is, no multimedia application program runs in the background, or is not switched to any multimedia application program through the application switching control, a pendant icon or an application icon of a multimedia application program used last time can be displayed on the application switching control; in the case that the electronic device does not start any multimedia application but switches to a target multimedia application through the switching control, an application icon of the target multimedia application may be displayed on the application switching control.
For example, as shown in fig. 2a, no music application is currently started to play music, the music pendant 20 is in a first display state, that is, a default state, at this time, a play control 21, an application switching control 22, and a pendant name 24 are displayed on the music pendant 20, the play control 21 is currently displayed in a pause state, and an application icon of the currently selected or most recently used music application a is displayed on the application switching control 22.
Therefore, under the condition that the electronic equipment does not start a multimedia application program to play multimedia resources, the multimedia pendant is in the first display state, pendant elements which can be quickly operated by a user can be guaranteed to be displayed on the multimedia pendant, and the multimedia pendant can keep a simple display style.
Optionally, the multimedia pendant is in a second display state when the electronic device has started a first multimedia application to play a multimedia resource;
the multimedia pendant in the second display state comprises the playing control, the application switching control, the resource switching control and a playing resource name, and the application switching control comprises an application icon of the first multimedia application program.
In a second case, when the electronic device starts a certain multimedia application program to play a multimedia resource, the multimedia pendant may be in a second display state, that is, a playing state, and in the second display state, the multimedia pendant may include three display areas, where the first display area and the second display area are control areas, where the first display area is used to display the application switching control, and an application icon of the multimedia application program currently in use is displayed on the application switching control, the second display area is used to display a playing operation control, including the playing control and the resource switching control, the resource switching control is used to switch a playing resource, and the third display area is a text area and is used to display a name of the currently playing resource.
For example, as shown in fig. 2c, a song "cannot say xxx" currently being played using the music application a is displayed, the music pendant 20 is in a second display state, that is, a playing state, at this time, a playing control 21, an application switching control 22, a resource switching control 25 and a song name 26 are displayed on the music pendant 20, the playing control 21 is currently displayed in the playing state, an application icon of the music application a currently being played is displayed on the application switching control 22, the resource switching control 25 includes a previous control and a next control, which are respectively used for switching to a previous song or a next song, and a song name "cannot say xxx" currently being played is displayed in the song name 26.
It should be noted that, for a video playing pendant, when a video resource of a certain video application is currently played, a name of the currently played video resource, such as a name of a tv drama, a name of a movie, etc., may be displayed on the video pendant of the desktop, and a video playing floating window is displayed on the desktop, and the currently played video resource is displayed in the window, and a user may enter the video application through a control in the window and display a complete video playing window.
Therefore, under the condition that the electronic equipment starts the multimedia application program to play the multimedia resource, the multimedia pendant is in the second display state, the display of the related information of the currently played multimedia resource on the multimedia pendant can be ensured, an operation control which can be used by a user to control the playing resource is provided, the user can intuitively know the currently used multimedia application program and the played multimedia resource information through the multimedia pendant, and the playing resource can be quickly controlled.
Optionally, the method further comprises:
receiving a second touch input to the play control under the condition that the electronic equipment starts a first multimedia application program to play a multimedia resource;
in response to the second touch input, pausing playing of the current multimedia resource and updating the multimedia pendant to a third display state;
the multimedia pendant in the third display state comprises the playing control, the application switching control and a playing resource name, and the application switching control comprises an application icon of the first multimedia application program.
In a third case, when the electronic device starts a multimedia application program to play a multimedia resource, the user may control to pause playing of the current multimedia resource through a play control on the multimedia pendant, and at this time, the multimedia pendant is updated to a third display state, that is, a pause state. That is, when a second touch input of the user to the play control on the multimedia pendant is received, the playing of the current multimedia resource may be paused, and the multimedia pendant may be updated to the third display state. Wherein the second touch input may be a simple click input.
In the third display state, the multimedia pendant may include three display regions, where the first display region and the second display region are control regions, and are respectively used to display the play control and the application switching control, and display an application icon of a currently-used multimedia application program on the application switching control, and the third display region is a text region, and is used to display a name of a currently-paused resource, that is, when the play is paused, the multimedia pendant may retain information of the resource that was just played.
For example, as shown in fig. 2c, a song "cannot say xx" is currently being played using the music application a, the music pendant 20 is in the second display state, i.e., the playing state, when a user touch input to the playing control 21 on the music pendant 20 is received, the current song is paused, and as shown in fig. 2d, the music pendant 20 is in the third display state, i.e., the paused state, at which the playing control 21, the application switching control 22, and the song name 26 are displayed on the music pendant 20, and the playing control 21 is currently displayed in the paused state, an application icon of the music application a that is currently paused is displayed on the application switching control 22, and the song name "cannot say xx" that is currently paused is displayed in the song name 26.
Of course, the resource switching control may also be displayed on the multimedia pendant in the third display state, that is, the third display state may be substantially the same as the second display state, and only the display state of the play control is switched from the play state to the pause state.
Therefore, under the condition that the electronic equipment suspends playing of the multimedia resources, the multimedia pendant is updated to be in the third display state, the related information of the multimedia resources which are currently suspended to be played can be guaranteed to be displayed on the multimedia pendant, and a simple operation control is reserved, so that a user can visually know the currently used multimedia application program and the information of the multimedia resources which are suspended to be played through the multimedia pendant, and the multimedia resources which are suspended before being played can be quickly controlled to continue to be played or switched through the operation control on the multimedia pendant.
Optionally, after the pausing of the playing of the current multimedia asset, the method further includes:
under the condition that the first multimedia application program stops running, updating the display state of the multimedia pendant from the third display state to a first display state;
the multimedia pendant in the first display state comprises the playing control, the application switching control and a pendant name, and the application switching control comprises a pendant icon or an application icon of the first multimedia application program.
That is, in this embodiment, after the current multimedia resource is paused, if the first multimedia application stops running, if the first multimedia application running in the background is manually cleaned by the user, or after the playing is paused for more than a certain time, the first multimedia application program is automatically cleaned by the system, a play record of the first multimedia application may no longer be retained on the multimedia pendant, i.e. the multimedia information which is currently paused is no longer displayed, but is updated from the third display state to the first display state, namely, the multimedia pendant is switched back to the default state from the pause state, so that the playing control, the application switching control and the pendant name are displayed on the multimedia pendant, and a pendant icon or an application icon of a multimedia application program played last time, that is, an application icon of the first multimedia application program, may be displayed on the application switching control.
For example, as shown in fig. 2d, in the paused state, the music pendant 20 is displayed with the play control 21, the application switching control 22 and the song title 26, the application icon of the music application a currently paused is displayed on the application switching control 22, and the song title "unexplained ×" currently paused is displayed in the song title 26. After the music application a is paused for a period of time, the music application a is cleaned up, the background operation is stopped, at this time, the music pendant 20 is switched from the paused state to the default state, as shown in fig. 2a, the playing control 21, the application switching control 22 and the pendant name 24 are displayed on the music pendant 20, the playing control 21 is currently displayed in the paused state, and the application switching control 22 displays the application icon of the music application a that was used last time.
Therefore, under the condition that the multimedia application program which is paused stops running, the display state of the multimedia pendant is updated from the third display state to the first display state, so that the multimedia pendant can be switched back to the simple display state under the condition that a user does not need to play multimedia resources, and the desktop is kept attractive.
Optionally, when the electronic device has started a first multimedia application program to play a multimedia resource and the multimedia pendant is in an expanded state, the multimedia pendant is in a fourth display state;
the multimedia pendant in the fourth display state comprises an application display area, the application switching control and an information display area, the application display area comprises application icons of at least two multimedia applications installed on the electronic equipment, and the information display area comprises an application name of the first multimedia application and played multimedia resource information.
That is, in this embodiment, the multimedia pendant may be further expanded, and in an expanded state, an application display area may be displayed on the multimedia pendant, and is used to display application icons of at least two multimedia applications installed on the electronic device, and a user may also select a multimedia application to be played by clicking an application icon in the application display area, that is, the application display area may be retracted or expanded, and the user may expand or retract the application display area of the multimedia pendant by touching the application switching control, or may control the multimedia pendant to be expanded or retracted by another touch manner.
That is to say, in the fourth case, when the electronic device starts a multimedia application program to play a multimedia resource and the multimedia pendant is in the expanded state, the multimedia pendant may be in a fourth display state, that is, a switching state. That is to say, under the condition that the electronic device is started with a multimedia application program to play a multimedia resource, if an input that a user expands the multimedia pendant is received, the multimedia pendant can be updated from a playing state to a switching state, that is, from the second display state to the fourth display state.
In the fourth display state, the multimedia pendant may include three display areas, a first display area is a control area for displaying the application switching control, the application switching control may display an application icon of a currently playing multimedia application, a second display area is an information display area for displaying related information of the currently playing multimedia resource, such as a multimedia application name and playing resource information, and a third display area is an application display area in an expanded state for displaying application icons of the same type of multimedia application installed on the electronic device and available for switching.
For example, as shown in fig. 2c, a song "yaxx that cannot be spoken" is currently being played by using the music application a, the music pendant 20 is in the second display state, i.e., the playing state, when a touch input is received from a user to the application switching control 22 on the music pendant 20, the application display area 23 of the music pendant 20 may be expanded as shown in fig. 2e, so that the music pendant 20 is in the fourth display state, i.e., the switching state, at this time, the application switching control 22, the application display area 23 and the information display area 27 are displayed on the music pendant 20, wherein an application icon of the currently playing music application a is displayed on the application switching control 22, a plurality of different application icons of the music application a are displayed in the application display area 23 for selection by the user, the information display area 27 displays an application name and information of the played song of the currently playing music application a, such as song title, singer name, playing schedule, etc.
Therefore, under the condition that a multimedia application program is started to play multimedia resources and the multimedia pendant is unfolded, the display state of the multimedia pendant is updated to be the fourth display state, so that a user can know the information of the currently played multimedia resources conveniently, and the user can complete the multimedia application switching operation intuitively and quickly.
Optionally, the method further comprises:
receiving a third touch input to the information display area when the multimedia pendant is in the fourth display state;
and responding to the third touch input, and entering an application interface of the first multimedia application program.
That is, in this embodiment, in the fourth display state, the information display area on the multimedia pendant may be used as an entry into the currently playing multimedia application. When a user desires to enter a currently played application program for other operations, such as searching for multimedia resources, viewing more detailed multimedia resource information, and the like, an information display area on the multimedia pendant may be touched, so that the electronic device receives a third touch input to the information display area, and may enter an application interface of the currently played first multimedia application program in response to the third touch input. Wherein the third touch input may be a click input, a long press input, or the like.
Therefore, the information display area on the multimedia pendant is associated with the currently played multimedia application program interface, so that a user can quickly enter the application interface of the currently played application program through the multimedia pendant on the desktop, and further perform other operations on the application program.
Optionally, the method further comprises:
receiving selection input of a target multimedia application icon in the application display area under the condition that the multimedia pendant is in an expanded state;
and responding to the selection input, and switching to the target multimedia application program corresponding to the target multimedia application icon.
That is, in the case that the multimedia pendant is in the expanded state, the user may select a target multimedia application icon desired to be switched from at least two multimedia application icons displayed in the application presentation area, where the selection input may be a click input, a long press input, or the like.
When a selection input for a target multimedia application icon of the at least two multimedia application icons is received, the electronic device may switch to a target multimedia application corresponding to the target multimedia application icon in response to the selection input.
In this way, the user can intuitively view the multimedia application icons which are displayed in the application display area and can be switched, so that the user can more accurately switch to the desired target multimedia application program.
Optionally, before the receiving of the selection input of the target multimedia application icon in the application presentation area, the method further includes:
receiving a fourth touch input to the application switching control under the condition that the multimedia pendant is in a retracted state;
and responding to the fourth touch input, and expanding an application display area of the multimedia pendant.
That is, under the condition that the multimedia pendant is in the retracted state, if a user desires to select a multimedia application to be switched by unfolding the multimedia pendant, the user may touch the application switching control first to unfold the application display area of the multimedia pendant, and then select an application icon of the multimedia application desired to be switched from the application display area. Therefore, when the application display area is in the retracted state, when the user performs a fourth touch input on the application switching control, the electronic device may receive the fourth touch input on the application switching control, and may expand the application display area of the multimedia pendant in response to the fourth touch input, where the fourth touch input may be a click input, a long press input, a slide input, or the like, and is an input different from the first touch input.
For example, as shown in fig. 2a, the application display area of the music pendant 20 is in a retracted state, and when receiving an input that the user touches the application switching control 22, the application display area 23 of the music pendant 20 may be expanded as shown in fig. 2b, so that the user may select an application icon of a multimedia application program that is desired to be switched.
It should be noted that, for a video playing pendant, when a video resource of a certain video application is currently played, the currently played video resource can be displayed on the desktop in the form of a suspended small window, so that a user can quickly switch to other video applications through the video pendant on the desktop, and after the switching is successful, close the original video playing window, start the switched video application, and play the video resource in the switched video application in the form of the suspended small window on the desktop.
Therefore, the user can expand the application display area by touching the application switching control of the multimedia pendant, and then select the application icon of the multimedia application program to be switched, so that the multimedia playing application can be switched quickly. Through this embodiment, the operation that the user switched multimedia application is comparatively simple, only need on the desktop to multimedia pendant carry out simple operation can, and because the application show area can expand or pack up to both can realize using the switching function, can guarantee again under the circumstances that need not switch the application, reduce the shared desktop space of multimedia pendant.
Optionally, the method further comprises:
receiving a fifth touch input to a target object under the condition that the application display area is in an expanded state, wherein the target object comprises the application switching control or a desktop blank;
and in response to the fifth touch input, retracting an application display area of the multimedia pendant.
After the user switches the multimedia application program or when the multimedia application program does not need to be switched, the user can retract the application display area of the multimedia pendant through the touch target object so as to avoid mistakenly switching or keep the brief display state of the multimedia pendant. Wherein the target object may be the application toggle control or a desktop blank.
Therefore, when the application display area is in the expanded state, when the user performs a fifth touch input on the application switching control or the desktop blank, the electronic device may receive the fifth touch input on the application switching control or the desktop blank, and may collapse the application selection area of the multimedia pendant in response to the fifth touch input, where the fifth touch input may be a click input, a long-press input, a slide input, or the like.
For example, as shown in fig. 2b, the application display area 23 of the music pendant 20 is in an expanded state, and when an input that the user touches the application switching control 22 or a blank of the desktop is received, the application display area of the music pendant 20 may be retracted as shown in fig. 2a to keep the desktop compact.
Therefore, the user can pack up the application display area through the application switching control or the desktop blank of the touch multimedia pendant, and therefore the desktop space occupied by the multimedia pendant can be reduced under the condition that the application does not need to be switched.
The following describes, with reference to fig. 3, an implementation of the embodiment of the present application by taking a music pendant as an example:
step 301, no music is currently played, and the music pendant is in a default state as shown in fig. 2 a.
Step 302, judging whether a sound source exists on the music pendant in a default state, namely whether a music application icon is displayed on an application switching control of the music pendant; if not, go to step 303, otherwise go to step 305.
Step 303, the user touches the application switching control in a default state.
And 304, switching to the target sound source based on the touch parameters, wherein the control interface of the music pendant is updated to the control interface of the target music application program corresponding to the touch parameters, and an application icon of the target music application program is displayed on the application switching control of the music pendant.
Step 305, whether the user clicks playing, that is, whether touch input for the playing control is received; if yes, go to step 306, otherwise, keep the current state.
Step 306, whether the current sound source is played by clicking for the first time or not; if yes, go to step 307, otherwise go to step 308.
And 307, authorizing the user to log in the current sound source, and if a login interface of the current sound source is popped up, logging in by the user.
Step 308, the song in the current sound source is played, and the music pendant is in the playing state as shown in fig. 2 c.
Step 309, in the playing state, whether the user clicks pause or not; if yes, go to step 314, otherwise go to step 310.
Step 310, in the playing state, whether the user clicks an application switching control or not is judged; if yes, go to step 311, otherwise, keep the current playing status.
Step 311, unfolding the music pendant, and the music pendant is in a switching state as shown in fig. 2 e.
Step 312, in the switching state, whether the user clicks the information display area; if so, go to step 317, otherwise, keep the current switching status.
And 313, entering an application program interface corresponding to the currently played sound source.
Step 314, pausing the playing of the current song, with the music pendant in a paused state as shown in fig. 2 d.
Step 315, whether the currently played sound source stops running or not; if so, jump to step 316, otherwise, keep the current pause state.
Step 316, the music pendant switches back to the default state shown in fig. 2a, and no sound source exists on the music pendant.
According to the application switching method in the embodiment of the application, a multimedia pendant is displayed on a desktop of electronic equipment, wherein the multimedia pendant comprises a playing control and N application switching controls, and N is a positive integer; receiving a first touch input of a user to a target application switching control in the N application switching controls; and responding to the first touch input, and updating the control interface of the multimedia pendant to be a target control interface of a target multimedia application program based on the target touch parameter of the first touch input. Therefore, the multimedia pendant for switching the multimedia application program is displayed on the desktop, so that a user can quickly switch to the target multimedia application program only by performing touch input on the application switching control of the multimedia pendant from the desktop.
It should be noted that, in the application switching method provided in the embodiment of the present application, the execution main body may be an application switching device, or a control module in the application switching device for executing the application switching method. In the embodiment of the present application, an application switching apparatus is taken as an example to execute an application switching method, and the application switching apparatus provided in the embodiment of the present application is described.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an application switching apparatus according to an embodiment of the present application, and as shown in fig. 4, an application switching apparatus 400 includes:
the display module 401 is configured to display a multimedia pendant on a desktop of the electronic device, where the multimedia pendant includes a play control and N application switching controls, where N is a positive integer;
a first receiving module 402, configured to receive a first touch input of a user to a target application switching control in the N application switching controls;
a switching module 403, configured to respond to the first touch input, and update a control interface of the multimedia pendant to a target control interface of a target multimedia application based on a target touch parameter of the first touch input.
Optionally, the target touch parameter includes a touch frequency, a touch duration, a touch strength, or a sliding direction.
Optionally, the target touch parameter includes a touch frequency, a touch duration or a touch strength;
the switching module 403 is configured to update the control interface of the multimedia pendant to a target control interface of a target multimedia application corresponding to the target touch parameter based on a preset correspondence between the touch parameter and the multimedia application.
Optionally, the target touch parameter includes a sliding direction;
the switching module 403 includes:
the first switching unit is used for updating the control interface of the ith multimedia application program displayed on the multimedia pendant to the control interface of the (i-1) th multimedia application program under the condition that the sliding direction is a first preset direction;
the second switching unit is used for updating the control interface of the ith multimedia application program displayed on the multimedia pendant to the control interface of the (i + 1) th multimedia application program under the condition that the sliding direction is a second preset direction;
the i-1 th multimedia application program and the i +1 th multimedia application program are multimedia application programs in a preset program list, and the program list comprises at least two multimedia application programs which are arranged according to a preset sequence; i is an integer greater than 1.
Optionally, the multimedia pendant is in a first display state when the electronic device does not start a multimedia application program to play a multimedia resource;
the multimedia pendant in the first display state comprises the playing control, the application switching control and a pendant name, and the application switching control comprises a pendant icon or a target multimedia application icon.
Optionally, the multimedia pendant is in a second display state when the electronic device has started a first multimedia application to play a multimedia resource;
the multimedia pendant in the second display state comprises the playing control, the application switching control, the resource switching control and a playing resource name, and the application switching control comprises an application icon of the first multimedia application program.
Optionally, the application switching apparatus 400 further includes:
the second receiving module is used for receiving a second touch input to the playing control under the condition that the electronic equipment starts a first multimedia application program to play a multimedia resource;
the first processing module is used for responding to the second touch input, pausing playing of the current multimedia resource and updating the multimedia pendant into a third display state;
the multimedia pendant in the third display state comprises the playing control, the application switching control and a playing resource name, and the application switching control comprises an application icon of the first multimedia application program.
Optionally, the application switching apparatus 400 further includes:
the second processing module is used for updating the display state of the multimedia pendant from the third display state to the first display state under the condition that the first multimedia application program stops running;
the multimedia pendant in the first display state comprises the playing control, the application switching control and a pendant name, and the application switching control comprises a pendant icon or an application icon of the first multimedia application program.
Optionally, when the electronic device has started a first multimedia application program to play a multimedia resource and the multimedia pendant is in an expanded state, the multimedia pendant is in a fourth display state;
the multimedia pendant in the fourth display state comprises an application display area, the application switching control and an information display area, the application display area comprises application icons of at least two multimedia applications installed on the electronic equipment, and the information display area comprises an application name of the first multimedia application and played multimedia resource information.
The application switching device in the embodiment of the application displays the multimedia pendant for switching the multimedia application program on the desktop, so that a user only needs to perform touch input on the application switching control of the multimedia pendant from the desktop, and the fast switching to the target multimedia application program can be realized.
The application switching device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The application switching device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The application switching device provided in the embodiment of the present application can implement each process implemented by the method embodiments in fig. 1 to fig. 3, and is not described here again to avoid repetition.
Optionally, as shown in fig. 5, an electronic device 500 is further provided in this embodiment of the present application, and includes a processor 501, a memory 502, and a program or an instruction stored in the memory 502 and executable on the processor 501, where the program or the instruction is executed by the processor 501 to implement each process of the foregoing embodiment of the application switching method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and the like.
Those skilled in the art will appreciate that the electronic device 600 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 610 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The display unit 606 is configured to display a multimedia pendant on a desktop of the electronic device, where the multimedia pendant includes a play control and N application switching controls, and N is a positive integer;
a user input unit 607, configured to receive a first touch input of a user to a target application switching control in the N application switching controls;
the processor 610 is configured to respond to the first touch input, and update the control interface of the multimedia pendant to a target control interface of a target multimedia application based on a target touch parameter of the first touch input.
Optionally, the target touch parameter includes a touch frequency, a touch duration, a touch strength, or a sliding direction.
Optionally, the target touch parameter includes a touch frequency, a touch duration or a touch strength;
the processor 610 is further configured to update the control interface of the multimedia pendant to a target control interface of a target multimedia application corresponding to the target touch parameter based on a preset corresponding relationship between the touch parameter and the multimedia application.
Optionally, the target touch parameter includes a sliding direction;
the processor 610 is further configured to update the control interface of the ith multimedia application program displayed on the multimedia pendant to the control interface of the (i-1) th multimedia application program when the sliding direction is the first preset direction;
under the condition that the sliding direction is a second preset direction, updating a control interface of the ith multimedia application program displayed on the multimedia pendant into a control interface of the (i + 1) th multimedia application program;
the i-1 th multimedia application program and the i +1 th multimedia application program are multimedia application programs in a preset program list, and the program list comprises at least two multimedia application programs which are arranged according to a preset sequence; i is an integer greater than 1.
Optionally, the multimedia pendant is in a first display state when the electronic device does not start a multimedia application program to play a multimedia resource;
the multimedia pendant in the first display state comprises the playing control, the application switching control and a pendant name, and the application switching control comprises a pendant icon or a target multimedia application icon.
Optionally, the multimedia pendant is in a second display state when the electronic device has started a first multimedia application to play a multimedia resource;
the multimedia pendant in the second display state comprises the playing control, the application switching control, the resource switching control and a playing resource name, and the application switching control comprises an application icon of the first multimedia application program.
Optionally, the user input unit 607 is further configured to receive a second touch input to the play control when the electronic device has started the first multimedia application to play the multimedia resource;
the processor 610 is further configured to pause playing of the current multimedia resource in response to the second touch input, and update the multimedia pendant to a third display state;
the multimedia pendant in the third display state comprises the playing control, the application switching control and a playing resource name, and the application switching control comprises an application icon of the first multimedia application program.
Optionally, the processor 610 is further configured to update the display state of the multimedia pendant from the third display state to the first display state when the first multimedia application stops running;
the multimedia pendant in the first display state comprises the playing control, the application switching control and a pendant name, and the application switching control comprises a pendant icon or an application icon of the first multimedia application program.
Optionally, when the electronic device has started a first multimedia application program to play a multimedia resource and the application selection area is in an expanded state, the multimedia pendant is in a fourth display state;
the multimedia pendant in the fourth display state comprises an application display area, the application switching control and an information display area, the application display area comprises application icons of at least two multimedia applications installed on the electronic equipment, and the information display area comprises an application name of the first multimedia application and played multimedia resource information.
According to the electronic equipment in the embodiment of the application, the multimedia pendant used for switching the multimedia application program is displayed on the desktop, so that a user can quickly switch to the target multimedia application program by only performing touch input on the application switching control of the multimedia pendant from the desktop, and compared with the scheme in the prior art, the user is not required to perform complicated operation, and the switching efficiency of the multimedia application is improved.
It is to be understood that, in the embodiment of the present application, the input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics Processing Unit 6041 processes image data of a still picture or a video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 607 includes a touch panel 6071 and other input devices 6072. A touch panel 6071, also referred to as a touch screen. The touch panel 6071 may include two parts of a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 609 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 610 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing application switching method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the foregoing application switching method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (20)

1. An application switching method, comprising:
displaying a multimedia pendant on a desktop of an electronic device, wherein the multimedia pendant comprises a playing control and N application switching controls, and N is a positive integer;
receiving a first touch input of a user to a target application switching control in the N application switching controls;
and responding to the first touch input, and updating the control interface of the multimedia pendant to be a target control interface of a target multimedia application program based on the target touch parameter of the first touch input.
2. The method of claim 1, wherein the target touch parameter comprises a number of touches, a duration of touches, a touch strength, or a sliding direction.
3. The method of claim 2, wherein the target touch parameter comprises a number of touches, a duration of touches, or a strength of touches;
the updating the control interface of the multimedia pendant to the target control interface of the target multimedia application based on the target touch parameter of the first touch input comprises:
and updating the control interface of the multimedia pendant to a target control interface of a target multimedia application program corresponding to the target touch parameter based on the corresponding relation between the preset touch parameter and the multimedia application program.
4. The method of claim 2, wherein the target touch parameter comprises a sliding direction;
the updating the control interface of the multimedia pendant to the target control interface of the target multimedia application based on the target touch parameter of the first touch input comprises:
under the condition that the sliding direction is a first preset direction, updating the control interface of the ith multimedia application program displayed on the multimedia pendant into the control interface of the (i-1) th multimedia application program;
under the condition that the sliding direction is a second preset direction, updating a control interface of the ith multimedia application program displayed on the multimedia pendant into a control interface of the (i + 1) th multimedia application program;
the i-1 th multimedia application program and the i +1 th multimedia application program are multimedia application programs in a preset program list, and the program list comprises at least two multimedia application programs which are arranged according to a preset sequence; i is an integer greater than 1.
5. The method according to any one of claims 1 to 4, wherein in a case where the electronic device does not start a multimedia application to play a multimedia resource, the multimedia pendant is in a first display state;
the multimedia pendant in the first display state comprises the playing control, the application switching control and a pendant name, and the application switching control comprises a pendant icon or a target multimedia application icon.
6. The method according to any one of claims 1 to 4, wherein the multimedia pendant is in the second display state in a case where the electronic device has launched a first multimedia application to play a multimedia asset;
the multimedia pendant in the second display state comprises the playing control, the application switching control, the resource switching control and a playing resource name, and the application switching control comprises an application icon of the first multimedia application program.
7. The method according to any one of claims 1 to 4, further comprising:
receiving a second touch input to the play control under the condition that the electronic equipment starts a first multimedia application program to play a multimedia resource;
in response to the second touch input, pausing playing of the current multimedia resource and updating the multimedia pendant to a third display state;
the multimedia pendant in the third display state comprises the playing control, the application switching control and a playing resource name, and the application switching control comprises an application icon of the first multimedia application program.
8. The method of claim 7, wherein after the pausing of the playing of the current multimedia asset, the method further comprises:
under the condition that the first multimedia application program stops running, updating the display state of the multimedia pendant from the third display state to a first display state;
the multimedia pendant in the first display state comprises the playing control, the application switching control and a pendant name, and the application switching control comprises a pendant icon or an application icon of the first multimedia application program.
9. The method according to any one of claims 1 to 4, wherein in a case where the electronic device has started a first multimedia application to play a multimedia resource and the multimedia pendant is in an expanded state, the multimedia pendant is in a fourth display state;
the multimedia pendant in the fourth display state comprises an application display area, the application switching control and an information display area, the application display area comprises application icons of at least two multimedia applications installed on the electronic equipment, and the information display area comprises an application name of the first multimedia application and played multimedia resource information.
10. An application switching apparatus, comprising:
the display module is used for displaying a multimedia pendant on a desktop of the electronic equipment, wherein the multimedia pendant comprises a playing control and N application switching controls, and N is a positive integer;
the first receiving module is used for receiving a first touch input of a user to a target application switching control in the N application switching controls;
and the switching module is used for responding to the first touch input and updating the control interface of the multimedia pendant to a target control interface of a target multimedia application program based on the target touch parameter of the first touch input.
11. The application switching device according to claim 10, wherein the target touch parameter comprises a number of touches, a duration of touches, a touch strength, or a sliding direction.
12. The application switching device according to claim 11, wherein the target touch parameter comprises a number of touches, a duration of touches, or a strength of touches;
the switching module is used for updating the control interface of the multimedia pendant to the target control interface of the target multimedia application program corresponding to the target touch parameter based on the corresponding relation between the preset touch parameter and the multimedia application program.
13. The application switching device according to claim 11, wherein the target touch parameter comprises a sliding direction;
the switching module includes:
the first switching unit is used for updating the control interface of the ith multimedia application program displayed on the multimedia pendant to the control interface of the (i-1) th multimedia application program under the condition that the sliding direction is a first preset direction;
the second switching unit is used for updating the control interface of the ith multimedia application program displayed on the multimedia pendant to the control interface of the (i + 1) th multimedia application program under the condition that the sliding direction is a second preset direction;
the i-1 th multimedia application program and the i +1 th multimedia application program are multimedia application programs in a preset program list, and the program list comprises at least two multimedia application programs which are arranged according to a preset sequence; i is an integer greater than 1.
14. The application switching apparatus according to any one of claims 10 to 13, wherein in a case where the electronic device does not start a multimedia application to play a multimedia resource, the multimedia pendant is in a first display state;
the multimedia pendant in the first display state comprises the playing control, the application switching control and a pendant name, and the application switching control comprises a pendant icon or a target multimedia application icon.
15. The application switching apparatus according to any one of claims 10 to 13, wherein in a case where the electronic device has started a first multimedia application to play a multimedia resource, the multimedia pendant is in a second display state;
the multimedia pendant in the second display state comprises the playing control, the application switching control, the resource switching control and a playing resource name, and the application switching control comprises an application icon of the first multimedia application program.
16. The application switching apparatus according to any one of claims 10 to 13, further comprising:
the second receiving module is used for receiving a second touch input to the playing control under the condition that the electronic equipment starts a first multimedia application program to play a multimedia resource;
the first processing module is used for responding to the second touch input, pausing playing of the current multimedia resource and updating the multimedia pendant into a third display state;
the multimedia pendant in the third display state comprises the playing control, the application switching control and a playing resource name, and the application switching control comprises an application icon of the first multimedia application program.
17. The application switching device according to claim 16, further comprising:
the second processing module is used for updating the display state of the multimedia pendant from the third display state to the first display state under the condition that the first multimedia application program stops running;
the multimedia pendant in the first display state comprises the playing control, the application switching control and a pendant name, and the application switching control comprises a pendant icon or an application icon of the first multimedia application program.
18. The application switching device according to any one of claims 10 to 13, wherein if the electronic device has started a first multimedia application to play a multimedia resource and the multimedia pendant is in an expanded state, the multimedia pendant is in a fourth display state;
the multimedia pendant in the fourth display state comprises an application display area, the application switching control and an information display area, the application display area comprises application icons of at least two multimedia applications installed on the electronic equipment, and the information display area comprises an application name of the first multimedia application and played multimedia resource information.
19. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the application switching method according to any one of claims 1-9.
20. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the application switching method according to any one of claims 1-9.
CN202011067677.9A 2020-09-30 2020-09-30 Application switching method and device, electronic equipment and readable storage medium Pending CN112148178A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011067677.9A CN112148178A (en) 2020-09-30 2020-09-30 Application switching method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011067677.9A CN112148178A (en) 2020-09-30 2020-09-30 Application switching method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN112148178A true CN112148178A (en) 2020-12-29

Family

ID=73952361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011067677.9A Pending CN112148178A (en) 2020-09-30 2020-09-30 Application switching method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112148178A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732157A (en) * 2020-12-31 2021-04-30 展讯通信(天津)有限公司 Media file playing control method and device, electronic equipment and storage medium
CN112860341A (en) * 2021-02-05 2021-05-28 维沃移动通信有限公司 Application program management method and device, electronic equipment and storage medium
CN113590277A (en) * 2021-06-25 2021-11-02 北京旷视科技有限公司 Task state switching method and device and electronic system
CN113805838A (en) * 2021-09-24 2021-12-17 维沃移动通信有限公司 Multimedia information processing method and device and electronic equipment
CN114125137A (en) * 2021-11-08 2022-03-01 维沃移动通信有限公司 Video display method and device, electronic equipment and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110199322A1 (en) * 2010-02-15 2011-08-18 Research In Motion Limited Graphical user interfaces for devices that present media content
US20130014014A1 (en) * 2008-10-17 2013-01-10 Echostar Advanced Technologies L.L.C. User interface with available multimedia content from multiple multimedia websites
US20140181725A1 (en) * 2012-12-20 2014-06-26 Pantech Co., Ltd. Apparatus and method for executing application
CN105955729A (en) * 2016-04-25 2016-09-21 青岛海信移动通信技术股份有限公司 Music playing control method and device
CN106257390A (en) * 2015-06-19 2016-12-28 深圳创锐思科技有限公司 A kind of three-dimensional widget icon exchange method, device and touch terminal
CN111240789A (en) * 2020-01-17 2020-06-05 华为技术有限公司 Widget processing method and related device
CN112148176A (en) * 2020-09-30 2020-12-29 维沃移动通信有限公司 Pendant control method and device, electronic equipment and readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130014014A1 (en) * 2008-10-17 2013-01-10 Echostar Advanced Technologies L.L.C. User interface with available multimedia content from multiple multimedia websites
US20110199322A1 (en) * 2010-02-15 2011-08-18 Research In Motion Limited Graphical user interfaces for devices that present media content
US20140181725A1 (en) * 2012-12-20 2014-06-26 Pantech Co., Ltd. Apparatus and method for executing application
CN106257390A (en) * 2015-06-19 2016-12-28 深圳创锐思科技有限公司 A kind of three-dimensional widget icon exchange method, device and touch terminal
CN105955729A (en) * 2016-04-25 2016-09-21 青岛海信移动通信技术股份有限公司 Music playing control method and device
CN111240789A (en) * 2020-01-17 2020-06-05 华为技术有限公司 Widget processing method and related device
CN112148176A (en) * 2020-09-30 2020-12-29 维沃移动通信有限公司 Pendant control method and device, electronic equipment and readable storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732157A (en) * 2020-12-31 2021-04-30 展讯通信(天津)有限公司 Media file playing control method and device, electronic equipment and storage medium
CN112860341A (en) * 2021-02-05 2021-05-28 维沃移动通信有限公司 Application program management method and device, electronic equipment and storage medium
CN113590277A (en) * 2021-06-25 2021-11-02 北京旷视科技有限公司 Task state switching method and device and electronic system
CN113805838A (en) * 2021-09-24 2021-12-17 维沃移动通信有限公司 Multimedia information processing method and device and electronic equipment
CN114125137A (en) * 2021-11-08 2022-03-01 维沃移动通信有限公司 Video display method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN107111496B (en) Customizable blade application
CN112148178A (en) Application switching method and device, electronic equipment and readable storage medium
WO2023005920A1 (en) Screen splitting method and apparatus, and electronic device
CN111831190B (en) Music application program control method and device and electronic equipment
CN112148181B (en) Menu display method and device, electronic equipment and storage medium
CN106648746B (en) Application program execution method and device
CN112148176A (en) Pendant control method and device, electronic equipment and readable storage medium
CN113918260A (en) Application program display method and device and electronic equipment
CN112083854A (en) Application program running method and device
CN112911401A (en) Video playing method and device
CN112188001A (en) Shortcut setting method, shortcut setting device and electronic equipment
CN112099702A (en) Application running method and device and electronic equipment
CN111694490A (en) Setting method and device and electronic equipment
CN113835577A (en) Display method, display device, electronic equipment and storage medium
CN114327726A (en) Display control method, display control device, electronic equipment and storage medium
CN112399010B (en) Page display method and device and electronic equipment
CN112099694B (en) Desktop control processing method and device
CN113253883A (en) Application interface display method and device and electronic equipment
CN113485625A (en) Electronic equipment response method and device and electronic equipment
CN111641551A (en) Voice playing method, voice playing device and electronic equipment
CN111813305A (en) Application program starting method and device
CN111638828A (en) Interface display method and device
WO2022161243A1 (en) Information display method and apparatus, and electronic device
CN112578961B (en) Application identifier display method and device
CN114020389A (en) Application program display method and device and electronic equipment

Legal Events

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