Playing switching method and device and computer readable storage medium

By receiving the operation command input from the stop playback control, automatically switch the background application to the foreground and start audio playback, solving the problem of cumbersome switching between audio playback applications and improving the user experience.

CN119225813APending Publication Date: 2024-12-31GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411332743.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2020-12-23
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

In the prior art, switching operations between audio playback applications are relatively cumbersome, and users need to perform multiple steps of stopping playback and switching applications, which affects the user experience.

Method used

By receiving operation instructions input from the stop playback control of the application running in the foreground, the second application running in the background is automatically switched to the foreground and controlled to perform audio playback, simplifying the playback switching process.

Benefits of technology

The single-step operation of audio playback switching is realized, which improves user operation efficiency and simplifies the process of audio playback switching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119225813A_ABST
    Figure CN119225813A_ABST
Patent Text Reader

Abstract

The invention provides a playing switching method and device and a computer readable storage medium. The playing switching method comprises the steps of receiving an operation instruction input for a playing stop control of a first application running in a foreground; switching a second application running in the background to run in the foreground according to the operation instruction; and controlling the second application to perform audio playing. Through the implementation of the scheme of the application, the second application can be automatically switched to perform audio playing only by executing one-step operation on the playing stop control of the first application currently performing audio playing, so that the operation process of audio playing switching is effectively simplified, and the operation efficiency of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application. The parent application is an invention patent application with application date of December 23, 2020, application number 202011540282.6, and invention name “A playback switching method, device and computer-readable storage medium”. All contents of this application are included in the parent application. Technical Field

[0002] The present application relates to the field of electronic technology, and in particular to a playback switching method, device, and computer-readable storage medium. Background Art

[0003] With the continuous development of electronic technology, electronic devices are no longer just a simple communication tool, but have gradually become a diversified user external interaction window. In actual applications, electronic devices are usually installed with multiple applications with audio playback functions, such as music players, radios, audio radio stations, etc., and users usually have the need to switch playback between multiple applications during use.

[0004] Currently, when a user is using an application running in the foreground to play audio, if he needs to switch back to another application that was running previously to play audio, he needs to execute a stop playback command for the current application, then execute an application switch command to switch to another application, and then trigger a start playback command for the other application. The entire playback switching operation is rather cumbersome. Summary of the invention

[0005] The embodiments of the present application provide a playback switching method, device, and computer-readable storage medium, which can at least solve the problem that the operation of the audio playback switching solution between applications provided by the related art is relatively cumbersome.

[0006] A first aspect of an embodiment of the present application provides a playback switching method, which is applied to an application with an audio playback function, including:

[0007] Receiving an operation instruction inputted from a stop playback control of a first application running in the foreground;

[0008] Switching the second application running in the background to the foreground according to the operation instruction;

[0009] Control the second application to play audio.

[0010] A second aspect of an embodiment of the present application provides a playback switching device, which is applied to an application with an audio playback function, including:

[0011] A receiving module, used for receiving an operation instruction inputted from a stop playback control of a first application running in the foreground;

[0012] A switching module, used for switching the second application running in the background to the foreground according to the operation instruction;

[0013] The playing module is used to control the second application to play audio.

[0014] A third aspect of an embodiment of the present application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements each step of the playback switching method provided in the first aspect of the embodiment of the present application.

[0015] The fourth aspect of the embodiments of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the playback switching method provided in the first aspect of the embodiments of the present application are implemented.

[0016] As can be seen from the above, according to the playback switching method, device and computer-readable storage medium provided by the present application, an operation instruction inputted for the stop playback control of the first application running in the foreground is received; according to the operation instruction, the second application running in the background is switched to the foreground; and the second application is controlled to play audio. Through the implementation of the present application, only one step of operation is required for the stop playback control of the first application currently playing audio, and the audio playback can be automatically switched to the second application, which effectively simplifies the operation process of audio playback switching and improves the user's operation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A schematic diagram of the basic flow of the playback switching method provided in the first embodiment of the present application;

[0018] Figure 2 A schematic diagram of an interface of an audio playback application provided in the first embodiment of the present application;

[0019] Figure 3 A schematic diagram of application switching provided in the first embodiment of the present application;

[0020] Figure 4 A flowchart of an audio playback control method provided in the first embodiment of the present application;

[0021] Figure 5 A detailed flowchart of the playback switching method provided in the second embodiment of the present application;

[0022] Figure 6 A schematic diagram of a program module of a playback switching device provided in a third embodiment of the present application;

[0023] Figure 7 A schematic diagram of the structure of an electronic device provided in the fourth embodiment of the present application. DETAILED DESCRIPTION

[0024] In order to make the purpose, features, and advantages of the invention of this application more obvious and easy to understand, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0025] In order to solve the defect that the audio playback switching solution between applications provided in the related art is relatively cumbersome to operate, the first embodiment of the present application provides a playback switching method, which is applied to applications with audio playback functions (i.e., audio playback applications), such as music players, radios, audio radio stations, etc. It should be understood that in actual applications, when a user uses a call application on an electronic device to make a voice call, since the call application plays the audio of the other party in the call, the call application of the electronic device also falls within the protection scope of the audio playback application of this embodiment.

[0026] like Figure 1 This is a basic flow chart of the playback switching method provided in this embodiment. The playback switching method includes the following steps:

[0027] Step 101: Receive an operation instruction input from a stop playback control of a first application running in the foreground.

[0028] Specifically, Figure 2 FIG. 1 is a schematic diagram of an interface of an audio playback application provided by the present embodiment. When the audio playback application is running in the foreground, the display interface displays multiple types of playback control controls, such as a previous song switching control, a next song switching control, a stop playback control, etc., wherein the stop playback control is shown in FIG. Figure 2 In actual application, the stop play control is used to open the audio play pause function to the user. In addition, if the application is a call application, the stop play control is a call hang-up control. It should be noted that the operation instruction of this embodiment is usually a press instruction, and the pressing duration, the number of presses, etc. when executing the operation instruction can be flexibly selected according to the actual application scenario.

[0029] Step 102: Switch the second application running in the background to the foreground according to the operation instruction.

[0030] Specifically, Figure 3 FIG. 1 is a schematic diagram of an application switching provided by this embodiment. Figure 3A is the display interface of the first application, and B is the display interface of the second application. In this embodiment, in response to the operation instruction input to the stop playback control of the first application, while controlling the first application to stop playing audio (see Figure 3 The stop play control originally displayed on center A is converted into a start play control), controlling the foreground display interface of the electronic device to jump to the second application.

[0031] In a typical implementation of this embodiment, the first application and the second application may be a music player and an audio radio station, respectively. In a preferred implementation of this embodiment, the first application is a call application, and the second application is a music player. In an actual application scenario, when a user is using a music player to play music, if the call application receives an incoming call, the user's music player will pause and run in the background. When the user hangs up the call, there is usually a need to continue playing the music. According to the solution provided in this embodiment, once an operation instruction input by the user for the call hang-up control of the call application is received, the interface can automatically jump to the music player's playback interface after the call is hung up.

[0032] Step 103: Control the second application to play audio.

[0033] Specifically, this embodiment automatically controls the second application to play audio while the second application is switched to the foreground, so that only one step is required from stopping audio playback of the first application to starting audio playback of the second application, which effectively simplifies the operation process of audio playback switching and improves the user's operating efficiency.

[0034] In some implementations of this embodiment, the step of switching the second application running in the background to the foreground according to the operating instruction specifically includes: determining the second application to be switched from multiple applications running in the background according to the operating instruction; and switching the second application to the foreground.

[0035] Specifically, in actual applications, users may have the need to use multiple audio playback applications at the same time, so that there are multiple paused applications running in the background. Therefore, this embodiment supports determining the target application to be switched from multiple applications running in the background to meet the user's more flexible and diverse audio playback switching needs.

[0036] Furthermore, in some implementations of the present embodiment, the above-mentioned step of determining the second application to be switched from multiple applications running in the background according to the operation instruction specifically includes: identifying the instruction input feature corresponding to the operation instruction; determining the second application to be switched from multiple applications running in the background according to the instruction input feature.

[0037] Specifically, in this embodiment, when the instruction input operation behavior is different, the instruction input characteristics are also different. Taking the operation instruction as a press instruction as an example, the instruction input characteristics may be the number of presses, the press duration, etc. It should be understood that in this embodiment, the corresponding instruction input characteristics may be configured for each application in advance, and then in the actual application process, the application to be switched may be indexed according to the instruction input characteristics when the current operation instruction is input.

[0038] Furthermore, in some implementations of this embodiment, the operation instruction is a press instruction. Correspondingly, the step of identifying the instruction input feature corresponding to the operation instruction specifically includes: identifying the fingerprint feature information of the user fingerprint image synchronously collected by the under-screen fingerprint module for the press instruction; the step of determining the second application to be switched from multiple applications running in the background according to the instruction input feature specifically includes: determining the second application to be switched from multiple applications running in the background according to the fingerprint feature information and the preset mapping relationship between the fingerprint feature information and the application.

[0039] Specifically, in actual applications, the user presses the stop play control with a finger to input an operation instruction. This embodiment takes into account that the fingerprint features of different fingers of the user are different, so that even if the action of the instruction input operation is the same, the operation instruction can still be distinguished according to the different fingers that input the instruction. In this embodiment, when it is detected that the user presses the stop play control to input the operation instruction, the under-screen fingerprint module configured on the electronic device is controlled to synchronously collect the fingerprint image of the user when performing the pressing operation, and extract the fingerprint feature information of the finger performing the pressing operation through the fingerprint image, thereby distinguishing which finger the user presses the stop play control, and thus the application to be switched can be indexed according to the fingerprint feature information. For example, there are multiple audio playback applications available for switching in the background, including application A, application B, and application C, wherein the fingerprint feature information of the thumb, index finger, and middle finger are respectively configured for application A, application B, and application C in advance. If the current user presses the stop play control with the index finger, the user fingerprint feature information collected when the pressing instruction is detected is the fingerprint feature information of the index finger, and then application B is correspondingly determined as the target application that the user is expected to switch to among the three applications running in the background.

[0040] Furthermore, in some other implementations of the present embodiment, the above-mentioned step of determining the second application to be switched from multiple applications running in the background according to the operation instruction specifically includes: in response to the operation instruction, obtaining the switching priorities of multiple applications running in the background; and determining the application with the highest switching priority as the second application to be switched.

[0041] Specifically, in another implementation, the user's operation instructions for switching audio playback can be fixed, and the specific application to be switched when executing the audio playback switch is related to the application properties of the multiple applications running in the background. In this embodiment, the switching priority can be pre-configured for multiple applications. The switching priority can be determined based on the usage frequency of each application in a preset historical time period, the length of time the application has been installed, etc., and the switching priority of multiple applications can also be obtained in real time. For example, it can be determined based on the order of the time when the multiple applications running in the background are started this time, the continuous operation time, etc. It should be understood that the application with the highest switching priority in this embodiment is the application that best meets the user's audio playback switching expectations.

[0042] In some implementations of this embodiment, before the above step of switching the second application running in the background to the foreground according to the operation instruction, it also includes: identifying the instruction input feature corresponding to the operation instruction; and determining whether the application switching condition is met according to the instruction input feature.

[0043] Specifically, in this embodiment, since the stop play control has the inherent property of providing the user with the function of stopping audio play, it is necessary to clarify in actual application whether the actual use demand of the current user is to stop only the audio play of the first application, or to stop the audio play of the first application and switch to the second application to start audio play. Based on this, this embodiment can distinguish the actual needs of the user according to the different instruction input behaviors when the user inputs the operation instruction for the stop play control. For example, taking the operation instruction as a press instruction as an example, the application switching condition is associated with the press duration. If the press is short, it is determined that the user currently only has the need to pause the audio play of the first application, and if the press is long, it is determined that the user currently has the need to switch audio play. Therefore, this embodiment only executes the above-mentioned step of switching the second application running in the background to the foreground according to the operation instruction when the application switching condition is met; and when the application switching condition is not met, the first application is controlled to stop audio play according to the operation instruction, so as to accurately respond to the user's expected control operation in complex application scenarios.

[0044] like Figure 4 FIG. 1 is a flow chart of an audio playback control method provided by this embodiment. In some implementations of this embodiment, the flow of controlling the second application to play audio specifically includes the following steps:

[0045] Step 401: Obtain audio feature information corresponding to the audio played by the first application;

[0046] Step 402: searching the audio resource library of the second application for the target audio to be played based on the audio feature information;

[0047] Step 403: Control the second application to play the target audio.

[0048] Specifically, in actual applications, when the user switches audio playback, the audio previously played by the application that is switched out is paused, so that when the application is switched back to play audio, the audio played may be the audio that was previously paused, and the playback format may be to continue playing from the paused position. This embodiment takes into account another application scenario, that is, the first application and the second application are both music players, and when the user uses the first application to play music, due to the different music library resources of different music players, the version of the song currently played in the first application may not be the version expected by the user, or the song played can only play a certain segment of it due to copyright reasons, so the user has the need to switch to the second application to play other versions of the song or the song with open copyright. Based on this, this embodiment can search for the corresponding audio in the resource library of the second application for playback based on the audio features (which may include but are not limited to audio identification, audio type, etc.) of the audio played by the first application when the user triggers the playback switch. Similarly, the present embodiment is also applicable to switching playback of similar audio. For example, if the current user is particularly interested in a song of a certain style played by a first application, other songs of similar style can be searched in the resource library of the second application based on the style characteristics of the song and played without exiting the playback interface of the song in the first application, making it convenient for the user to return to the first application to continue playing the song.

[0049] Based on the technical solution of the embodiment of the present application, an operation instruction inputted to the stop playback control of the first application running in the foreground is received; the second application running in the background is switched to the foreground according to the operation instruction; and the second application is controlled to play audio. Through the implementation of the solution of the present application, only one operation is required to be performed on the stop playback control of the first application currently playing audio, and the audio playback can be automatically switched to the second application, which effectively simplifies the operation process of switching audio playback and improves the user's operation efficiency.

[0050] Figure 5 The method in is a detailed playback switching method provided in the second embodiment of the present application, which is applied to applications with audio playback functions, such as music players, radios, audio radio stations, etc. The playback switching method includes:

[0051] Step 501: Receive an operation instruction input from a stop playback control of a first application running in the foreground.

[0052] Specifically, in this embodiment, the stop playback control is used to open the audio playback pause function to the user. The operation instruction of this embodiment is usually a press instruction, and the pressing duration, number of presses, etc. when executing the operation instruction can be flexibly selected according to the actual application scenario.

[0053] Step 502: Identify the command input feature corresponding to the operation command.

[0054] Specifically, this embodiment takes into account that when the instruction input operation behavior is different, the instruction input characteristics are also different accordingly. Taking the operation instruction as a press instruction as an example, the instruction input characteristics may be the number of presses, the press duration, and the like.

[0055] Step 503: Determine a second application to be switched from multiple applications running in the background according to the command input characteristics.

[0056] Specifically, this embodiment determines the target application to be switched from multiple applications running in the background according to different instruction input behaviors, so it is not limited to the directional switching between two applications and can meet the user's more flexible and diverse audio playback switching needs.

[0057] Step 504: Control the first application to stop playing audio, and switch the second application running in the background to the foreground.

[0058] Specifically, in response to an operation instruction input to the stop playback control of the first application, this embodiment controls the foreground display interface of the electronic device to jump to the second application while controlling the first application to stop playing audio.

[0059] Step 505: Obtain audio feature information corresponding to the audio stopped by the first application.

[0060] Specifically, in actual applications, when a user uses the first application to play audio, due to the differences in the resource libraries of different applications, the version of the audio currently played in the first application may not be the version expected by the user, or only a certain segment of the audio played may be played due to copyright reasons. As a result, the user has the need to switch to the second application to play other versions of the audio or the audio with open copyright.

[0061] Step 506: Search the audio resource library of the second application for the target audio to be played based on the audio feature information.

[0062] Step 507: Control the second application to play the searched target audio.

[0063] Specifically, this embodiment can search for the corresponding audio in the resource library of the second application for playback based on the audio features (e.g., audio identifier, audio type, etc.) of the audio played by the first application when the user triggers the playback switch. Of course, in other implementations, when switching to the second application for audio playback, the second application can also be directly controlled to continue playing the audio that was previously stopped.

[0064] It should be understood that the size of the serial number of each step in this embodiment does not mean the order of execution of the steps. The execution order of each step should be determined by its function and internal logic, and should not constitute a sole limitation on the implementation process of the embodiment of this application.

[0065] According to the playback switching method disclosed in the embodiment of the present application, an operation instruction inputted from the stop playback control of the first application running in the foreground is received; the second application running in the background is switched to the foreground according to the operation instruction; and the second application is controlled to play audio. Through the implementation of the scheme of the present application, only one step of operation is required for the stop playback control of the first application currently playing audio, and the audio playback can be automatically switched to the second application, which effectively simplifies the operation process of audio playback switching and improves the user's operation efficiency.

[0066] Figure 6 A playback switching device is provided in the third embodiment of the present application. The playback switching device can be used to implement the playback switching method in the above-mentioned embodiment. Figure 6 As shown, the playback switching device mainly includes:

[0067] The receiving module 601 is used to receive an operation instruction inputted from a stop playback control of a first application running in the foreground;

[0068] A switching module 602 is used to switch the second application running in the background to the foreground according to the operation instruction;

[0069] The playing module 603 is used to control the second application to play audio.

[0070] In some implementations of this embodiment, the switching module 602 is specifically used to: determine the second application to be switched from multiple applications running in the background according to the operation instruction; and switch the second application to the foreground.

[0071] Further, in some implementations of the present embodiment, when the switching module 602 determines the second application to be switched from multiple applications running in the background according to an operation instruction, it is specifically used to: identify the instruction input characteristics corresponding to the operation instruction; and determine the second application to be switched from multiple applications running in the background according to the instruction input characteristics.

[0072] Furthermore, in some implementations of this embodiment, the operation instruction is a pressing instruction. Correspondingly, the switching module 602 is specifically used to: identify the fingerprint feature information of the user fingerprint image synchronously collected by the under-screen fingerprint module in response to the pressing instruction; and determine the second application to be switched from multiple applications running in the background according to the fingerprint feature information and the preset mapping relationship between the fingerprint feature information and the application.

[0073] Furthermore, in some other implementations of this embodiment, when the switching module 602 determines the second application to be switched from multiple applications running in the background according to an operation instruction, it is specifically used to: obtain the switching priorities of multiple applications running in the background in response to the operation instruction; and determine the application with the highest switching priority as the second application to be switched.

[0074] In some implementations of this embodiment, the playback switching device further includes: a judgment module, which is used to: before switching the second application running in the background to the foreground according to the operation instruction, identify the instruction input feature corresponding to the operation instruction; and judge whether the application switching condition is met according to the instruction input feature. Correspondingly, the switching module 602 is specifically used to: when the application switching condition is met, switch the second application running in the background to the foreground according to the operation instruction; the playback module 603 is also used to: when the application switching condition is not met, control the first application to pause audio playback according to the operation instruction.

[0075] In some implementations of this embodiment, when the playback module 603 executes control of the second application to play audio, it is specifically used to: obtain audio feature information corresponding to the audio played by the first application; search for the target audio to be played from the audio resource library of the second application based on the audio feature information; and control the second application to play the target audio.

[0076] It should be noted that the playback switching methods in the first and second embodiments can be implemented based on the playback switching device provided in this embodiment. Ordinary technical personnel in the relevant field can clearly understand that for the convenience and conciseness of description, the specific working process of the playback switching device described in this embodiment can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0077] According to the playback switching device provided by this embodiment, an operation instruction inputted from the stop playback control of the first application running in the foreground is received; the second application running in the background is switched to the foreground according to the operation instruction; and the second application is controlled to play audio. Through the implementation of the scheme of this application, only one step of operation is required for the stop playback control of the first application currently playing audio, and the audio playback can be automatically switched to the second application, which effectively simplifies the operation process of audio playback switching and improves the user's operation efficiency.

[0078] See also Figure 7 , Figure 7 The fourth embodiment of the present application provides an electronic device. The electronic device can be used to implement the playback switching method in the above-mentioned embodiment. Figure 7 As shown, the electronic device mainly includes:

[0079] The memory 701, the processor 702, the bus 703 and the computer program stored in the memory 701 and executable on the processor 702, the memory 701 and the processor 702 are connected via the bus 703. When the processor 702 executes the computer program, the playback switching method in the aforementioned embodiment is implemented. The number of processors may be one or more.

[0080] The memory 701 may be a high-speed random access memory (RAM) memory, or a non-volatile memory, such as a disk memory. The memory 701 is used to store executable program codes, and the processor 702 is coupled to the memory 701 .

[0081] Furthermore, the present application also provides a computer-readable storage medium, which may be disposed in the electronic device in the above embodiments. Figure 7 Memory in the illustrated embodiment.

[0082] The computer readable storage medium stores a computer program, and when the program is executed by the processor, the playback switching method in the aforementioned embodiment is implemented. Further, the computer readable storage medium can also be a U disk, a mobile hard disk, a read-only memory (ROM), a RAM, a magnetic disk or an optical disk, and other media that can store program codes.

[0083] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0084] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0085] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0086] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a readable storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned readable storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.

[0087] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0088] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0089] The above is a description of the playback switching method, device and computer-readable storage medium provided by the present application. For technicians in this field, according to the ideas of the embodiments of the present application, there may be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A playback switching method, applied to an application with an audio playback function, characterized in that: include: Receiving an operation instruction inputted from a stop playback control of a first application running in the foreground; Switching the second application running in the background to the foreground according to the operation instruction; Control the second application to play audio.

2. The playback switching method according to claim 1, characterized in that: The step of switching the second application running in the background to the foreground according to the operation instruction includes: Determine a second application to be switched from the plurality of applications running in the background according to the operation instruction; Switch the second application to the foreground for execution.

3. The playback switching method according to claim 2, characterized in that: The determining, according to the operation instruction, a second application to be switched from the plurality of applications running in the background comprises: In response to the operation instruction, obtaining the switching priorities of the plurality of applications running in the background; The application with the highest switching priority is determined as the second application to be switched.

4. The playback switching method according to claim 3, characterized in that: The switching priority of the application is related to at least one of the following: the installation time of the application, the usage frequency of the application in a preset historical time period, the continuous running time of the application this time, and the order of the time when the application is started this time.

5. The playback switching method according to claim 2, characterized in that: The determining, according to the operation instruction, a second application to be switched from the plurality of applications running in the background comprises: identifying a command input feature corresponding to the operation command; A second application to be switched is determined from the plurality of applications running in the background according to the instruction input feature.

6. The playback switching method according to claim 5, characterized in that: The operation instruction is a pressing instruction; The identifying the command input feature corresponding to the operation command includes: Identify fingerprint feature information of the user's fingerprint image synchronously collected by the under-screen fingerprint module in response to the pressing command; The determining the second application to be switched from the plurality of applications running in the background according to the command input feature comprises: According to the fingerprint feature information and a preset mapping relationship between the fingerprint feature information and the application, a second application to be switched is determined from the multiple applications running in the background.

7. The playback switching method according to claim 1, characterized in that: Before switching the second application running in the background to running in the foreground according to the operation instruction, the method further includes: identifying a command input feature corresponding to the operation command; Determining whether an application switching condition is met according to the command input feature; When the application switching condition is met, executing the step of switching the second application running in the background to running in the foreground according to the operation instruction; When the application switching condition is not met, the first application is controlled to stop audio playback according to the operation instruction.

8. The playback switching method according to any one of claims 1 to 7, characterized in that: The controlling the second application to play audio includes: Obtaining audio feature information corresponding to the audio played by the first application; Searching for a target audio to be played from an audio resource library of the second application based on the audio feature information; Control the second application to play the target audio.

9. The playback switching method according to any one of claims 1 to 7, characterized in that: The controlling the second application to play audio includes: The second application is controlled to play the audio that was previously paused, and the playback position of the audio is the previously paused position.

10. The playback switching method according to claim 1, characterized in that: The first application includes a call application, the stop playing control is a call hang-up control, and the second application is a music player or an audio radio station.

11. The playback switching method according to claim 10, characterized in that: Before receiving an operation instruction input from a stop playback control of the first application running in the foreground, the method further includes: During the process of the second application performing audio playback, if the first application receives an incoming call, the second application is controlled to pause playing the audio.

12. A playback switching device, applied to an application with an audio playback function, characterized in that: include: A receiving module, used for receiving an operation instruction inputted from a stop playback control of a first application running in the foreground; A switching module, used for switching the second application running in the background to the foreground according to the operation instruction; The playing module is used to control the second application to play audio.

13. An electronic device, characterized in that: include: Memory, processor and bus; The bus is used to realize the connection and communication between the memory and the processor; The processor is used to execute the computer program stored in the memory; When the processor executes the computer program, the steps in the method according to any one of claims 1 to 11 are implemented.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in the method according to any one of claims 1 to 11 are implemented.