Audio playing control method and related equipment

By introducing a mini program platform into the on-board system, the information interaction between audio mini programs and on-board players is realized, and the problem of audio playback in on-board terminals is solved due to mini program switching is realized, and the continuous playback of audio content is achieved, and the user experience is improved.

CN119806456APending Publication Date: 2025-04-11TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311300331.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-09
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

When audio playback is performed on the on-board terminal, frequent mini program switching causes audio playback to be interrupted, affecting the user experience.

Method used

By introducing a mini program platform into the on-board system, information interaction between audio mini programs and on-board players is realized. When the user switches to a non-audio applet, the applet platform is responsible for continuing to play the audio content of the original audio applet without the need for additional processing by the applet itself.

Benefits of technology

It realizes continuous playback of audio content when switching on-board mini programs, improves user experience and avoids interruption of audio playback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119806456A_ABST
    Figure CN119806456A_ABST
Patent Text Reader

Abstract

The invention discloses an audio playing control method and related equipment, which are applied to a vehicle-mounted system. When an audio playing operation for audio content provided by a first applet is received, player control information for the audio content is sent to an applet platform through the first applet; the player control information is sent to the vehicle-mounted player through the applet platform so as to trigger the vehicle-mounted player to play the audio content based on the player control information; audio playing information is sent to the applet platform in the audio content playing process through the first applet; and when the applet currently running in the vehicle-mounted system is switched from the first applet to the second applet, closing the first applet, and controlling the vehicle-mounted player to continuously play the audio content through the applet platform based on the audio playing information. According to the method and the device, the audio content originally played by the applet can be continuously played when the vehicle-mounted applet is switched, and the applet does not need to perform additional processing, so that the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle networking technology, and in particular to an audio playback control method and related equipment. Background Art

[0002] With the development of intelligent driving and 5G (5th Generation Mobile Communication Technology) networks, the functions of in-vehicle terminals are becoming more diverse and intelligent. For example, the function of playing audio through the in-vehicle operating system can provide drivers and passengers with a more comfortable car experience.

[0003] In the current related technologies, users can play audio through the in-vehicle applet on the in-vehicle terminal. In the process of playing audio, the switching of applet is often involved. For example, when the user plays audio through the audio applet on the in-vehicle system, he may need to use another applet, so he will switch the audio applet; when the user switches to another applet, the audio applet will be closed, which directly causes the audio previously played on the audio applet to stop playing, which is not conducive to improving the user experience. Summary of the invention

[0004] An embodiment of the present application provides an audio playback control method and related equipment. The related equipment may include an audio playback control device, an electronic device, a computer-readable storage medium and a computer program product. When the in-vehicle mini-program is switched, the audio content originally played by the mini-program continues to be played, and there is no need for the mini-program itself to perform additional processing, which is conducive to improving the user experience.

[0005] The embodiment of the present application provides an audio playback control method, which is applied to a vehicle-mounted system, wherein the vehicle-mounted system includes a first applet, a second applet, an applet platform, and a vehicle-mounted player, wherein the first applet is an audio applet, and the second applet is a non-audio applet. The method includes:

[0006] When receiving an audio playback operation for the audio content provided by the first mini program, sending player control information for the audio content to the mini program platform through the first mini program;

[0007] Sending the player control information to the in-vehicle player through the mini program platform to trigger the in-vehicle player to play the audio content based on the player control information;

[0008] Sending, by the first mini program, audio playback information corresponding to the audio content to the mini program platform during the process of playing the audio content;

[0009] When the mini program currently running in the vehicle system switches from the first mini program to the second mini program, the first mini program is closed, and the vehicle player is controlled to continue playing the audio content based on the audio playback information through the mini program platform.

[0010] Accordingly, an embodiment of the present application provides an audio playback control device, which is applied to a vehicle-mounted system, wherein the vehicle-mounted system includes a first applet, a second applet, an applet platform, and a vehicle-mounted player, wherein the first applet is an audio applet, and the second applet is a non-audio applet. The device includes:

[0011] A first sending unit, configured to send player control information for the audio content to the mini program platform through the first mini program when receiving an audio playback operation for the audio content provided by the first mini program;

[0012] A second sending unit, configured to send the player control information to the in-vehicle player through the mini-program platform, so as to trigger the in-vehicle player to play the audio content based on the player control information;

[0013] A third sending unit, configured to send audio playback information corresponding to the audio content to the mini program platform through the first mini program during the process of playing the audio content;

[0014] A playback unit is used to close the first applet when the applet currently running in the vehicle system switches from the first applet to the second applet, and to control the vehicle player to continue playing the audio content based on the audio playback information through the applet platform.

[0015] Optionally, in some embodiments of the present application, the vehicle-mounted system further includes a third applet, and the third applet is an audio applet; the audio playback control device may further include a closing unit, a fourth sending unit, and a stop playback unit, as follows:

[0016] The closing unit is configured to close the first applet when the applet currently running in the vehicle system is switched from the first applet to the third applet;

[0017] A fourth sending unit, configured to send the target player control information to the vehicle player through the mini program platform when the mini program platform receives the target player control information sent by the third mini program;

[0018] A playback stop unit is used to play the audio on the third mini program through the in-vehicle player based on the target player control information, and stop playing the audio content corresponding to the first mini program.

[0019] Optionally, in some embodiments of the present application, the audio playback control device may further include a continuing playback unit, as follows:

[0020] The continued playback unit is used to control the vehicle player to continue playing the audio content based on the audio playback information sent by the first mini program through the mini program platform when the mini program platform has not received the target player control information sent by the third mini program.

[0021] Optionally, in some embodiments of the present application, the audio playback control device may further include a storage unit as follows:

[0022] The storage unit is used to store the audio playback information in a target storage device;

[0023] The playback unit can be specifically used to close the first applet when the applet currently running in the vehicle system switches from the first applet to the second applet; read the audio playback information from the target storage device through the applet platform; and control the vehicle player to continue playing the audio content based on the audio playback information.

[0024] Optionally, in some embodiments of the present application, the second sending unit may include a construction subunit, a sending subunit, a query subunit and a control subunit, as follows:

[0025] The construction subunit is used to construct a player instance corresponding to the audio content based on the player control information through the mini program platform;

[0026] A sending subunit, used for sending the player control information to the vehicle player;

[0027] A query subunit, used to query the instance interface of the player instance by accessing the vehicle-mounted player;

[0028] The control subunit is used to call the instance interface to control the vehicle player to play the audio content based on the player control information.

[0029] Optionally, in some embodiments of the present application, the audio playback control device may further include a restart unit as follows:

[0030] The restart unit is used to copy the audio playback information to the first mini program through the mini program platform when it is detected that the first mini program is restarted; and trigger the first mini program to resume playing the audio content corresponding to the first mini program based on the audio playback information.

[0031] Optionally, in some embodiments of the present application, the audio playback control device may further include a system restart unit, as follows:

[0032] The system restart unit is used to read the audio playback information from the target storage device through the mini-program platform when the vehicle system is restarted; and send the audio playback information to the vehicle player through the mini-program platform to trigger the vehicle player to resume playing the audio content corresponding to the first mini-program based on the audio playback information.

[0033] An electronic device provided in an embodiment of the present application includes a processor and a memory, wherein the memory stores a plurality of instructions, and the processor loads the instructions to execute the steps in the audio playback control method provided in the embodiment of the present application.

[0034] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps in the audio playback control method provided in the embodiment of the present application.

[0035] In addition, an embodiment of the present application also provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements the steps in the audio playback control method provided in the embodiment of the present application.

[0036] An embodiment of the present application provides an audio playback control method and related equipment, which are applied to a vehicle-mounted system, wherein the vehicle-mounted system includes a first applet, a second applet, a applet platform and a vehicle-mounted player, wherein the first applet is an audio applet, and the second applet is a non-audio applet; when an audio playback operation for audio content provided by the first applet is received, player control information for the audio content can be sent to the applet platform through the first applet; the player control information can be sent to the vehicle-mounted player through the applet platform to trigger the vehicle-mounted player to play the audio content based on the player control information; audio playback information corresponding to the audio content is sent to the applet platform during the process of playing the audio content through the first applet; when the applet currently running in the vehicle-mounted system switches from the first applet to the second applet, the first applet is closed, and the vehicle-mounted player is controlled to continue playing the audio content based on the audio playback information through the applet platform.

[0037] This application can be applied to in-vehicle scenarios. When the in-vehicle mini-program is switched on the mini-program platform, the audio content played by the original mini-program continues to play, and the mini-program itself does not need to perform additional processing, which is conducive to improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0039] Figure 1a is a scenario diagram of the audio playback control method provided in an embodiment of the present application;

[0040] Figure 1b is a flowchart of an audio playback control method provided in an embodiment of the present application;

[0041] Figure 1c is an illustration of an audio playback control method provided in an embodiment of the present application;

[0042] Figure 1d is another illustration of the audio playback control method provided in an embodiment of the present application;

[0043] Figure 1e is another illustration of the audio playback control method provided in an embodiment of the present application;

[0044] Figure 1f is another illustration of the audio playback control method provided in an embodiment of the present application;

[0045] Figure 2 is another flow chart of the audio playback control method provided in an embodiment of the present application;

[0046] Figure 3 is a structural diagram of an audio playback control device provided in an embodiment of the present application;

[0047] Figure 4 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0049] The embodiment of the present application provides an audio playback control method and related equipment, and the related equipment may include an audio playback control device, an electronic device, a computer-readable storage medium and a computer program product. The audio playback control device can be integrated in an electronic device, and the electronic device can be a terminal or a server.

[0050] It is understandable that the audio playback control method of this embodiment can be executed on a terminal, can be executed on a server, or can be executed by both a terminal and a server. The above examples should not be construed as limiting the present application.

[0051] like Figure 1a As shown, the audio playback control method is performed by a terminal and a server together as an example. The audio playback control system provided in the embodiment of the present application includes a terminal 10 and a server 11, etc. The terminal 10 and the server 11 are connected via a network, such as a wired or wireless network connection, etc., wherein the audio playback control device can be integrated in the terminal.

[0052] Among them, terminal 10 can be used to: when receiving an audio playback operation for the audio content provided by the first mini program, send player control information for the audio content to the mini program platform through the first mini program; send the player control information to the vehicle player through the mini program platform to trigger the vehicle player to play the audio content based on the player control information; send audio playback information corresponding to the audio content to the mini program platform during the process of playing the audio content through the first mini program; when the mini program currently running in the vehicle system switches from the first mini program to the second mini program, close the first mini program, and control the vehicle player to continue playing the audio content based on the audio playback information through the mini program platform.

[0053] The terminal 10 may include a mobile phone, a vehicle-mounted terminal, an aircraft, a tablet computer, a notebook computer, or a personal computer (PC), etc. A client may also be provided on the terminal 10, and the client may be an application client or a browser client, etc.

[0054] The server 11 can be used to send the audio content provided by the first mini program to the terminal 10 based on the audio playback operation of the audio content provided by the first mini program, so that the terminal 10 plays the audio content. The server 11 can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.

[0055] It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.

[0056] This embodiment will be described from the perspective of an audio playback control device, which may be integrated into an electronic device, such as a server or a terminal.

[0057] It is understandable that in the specific implementation of this application, related data such as user information is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0058] like Figure 1b As shown, the specific process of the audio playback control method can be as follows:

[0059] 101. When an audio playback operation for the audio content provided by the first mini program is received, player control information for the audio content is sent to the mini program platform through the first mini program.

[0060] In this embodiment, the audio playback control method is applied to a vehicle-mounted system, which includes a first applet, a second applet, a applet platform and a vehicle-mounted player, wherein the first applet is an audio applet and the second applet is a non-audio applet.

[0061] Among them, mini programs are applications that can be used without downloading and installing. The mini programs here are also in-vehicle mini programs. In-vehicle mini programs are different from in-vehicle apps (Applications). They are lightweight, do not need to be downloaded and installed, and can be used immediately, meeting the needs of in-vehicle usage scenarios. Specifically, in-vehicle mini programs are adapted to the ultra-large resolution screen of the in-vehicle system in terms of appearance, and adapted to the car system in terms of function.

[0062] Among them, audio mini-programs can support audio playback, and their mini-program data can include audio data; while non-audio mini-programs do not include audio data.

[0063] Among them, the mini program runs with the help of the mini program platform. The mini program platform here is also the in-vehicle mini program platform, which is a set of technical frameworks that extend the mini program running platform to the in-vehicle system. Specifically, the in-vehicle mini program platform provides the operating environment required for the mini program business logic to run, provides the rendering capability of the mini program output to the screen, and connects with the system capabilities provided by the in-vehicle system, including vehicle management, window management, network, audio and video player capabilities, input control, etc. Figure 1c shown.

[0064] It should be noted that in the vehicle-mounted system, only one mini program can be run at the same time. In this embodiment, the vehicle-mounted mini program platform can be used to switch from running a certain mini program to running another mini program.

[0065] In a specific scenario, the audio playback operation may be an operation in which a user can control the audio content provided by the first applet to be played through the vehicle terminal. For example, a user uses a physical button or a virtual button provided by the vehicle terminal to play the audio provided by the first applet; for example, the first applet is run, and a playback control of the audio content in the first applet is displayed on the screen of the vehicle terminal. The audio playback operation may specifically be a click operation or a sliding operation on the playback control, etc. The audio content can be triggered to be played through the audio playback operation.

[0066] In this embodiment, the player control information may be specifically generated based on the audio playback operation for the audio content of the first applet, and the player control information may be control information for controlling the vehicle-mounted player to perform audio playback.

[0067] It is understandable that in other embodiments, if the player control information is generated based on other control operations (such as pause, song switching, volume adjustment, etc.) on the audio content of the first applet, then the player control information is control information that controls the vehicle player to perform corresponding processing on the audio. For example, if the user performs a playback pause operation on the audio content in the first applet, the generated player control information may be control information that controls the vehicle player to pause the playback of the audio content; for another example, if the user performs a song switching operation on the audio content in the first applet, the generated player control information may be control information that controls the vehicle player to switch audio; for another example, if the user performs a volume adjustment operation on the audio content in the first applet, the generated player control information may be control information that controls the vehicle player to adjust the volume.

[0068] 102. Send the player control information to the in-vehicle player through the mini program platform to trigger the in-vehicle player to play the audio content based on the player control information.

[0069] The in-vehicle player may specifically be an audio player provided by the in-vehicle system, which provides audio playback capability.

[0070] Optionally, in this embodiment, the step of “sending the player control information to the vehicle player through the mini program platform to trigger the vehicle player to play the audio content based on the player control information” may include:

[0071] Constructing a player instance corresponding to the audio content based on the player control information through the mini program platform;

[0072] Sending the player control information to the vehicle player;

[0073] By accessing the in-vehicle player, querying the instance interface of the player instance;

[0074] The instance interface is called to control the vehicle player to play the audio content based on the player control information.

[0075] Among them, the first mini program sends player control information to the mini program platform, which can also be specifically regarded as notifying the mini program platform that it is currently performing related operations on audio playback. Therefore, the mini program platform creates a corresponding player instance for the audio content in the first mini program based on the player control information.

[0076] In this embodiment, the mini program platform is an application framework that supports mini programs to play audio, and the mini program platform can also be called a vehicle mini program framework. The player instance-related interface (i.e., instance interface) provided by the vehicle mini program framework is implemented by accessing the vehicle player.

[0077] In this embodiment, when the mini program plays audio, it plays the audio by running the player engine on the vehicle system. The player engine plays the audio by calling the player process. The player instance is specifically a thread entity in the player process, or in other words, the player instance can be understood as a thread in the player process. During the playback process of the player engine, that is, during the operation of the player process, different player instances can be called to switch the audio playback.

[0078] The first applet plays audio content with the help of the applet platform and the in-car player. Specifically, the first applet can use the interface provided by the in-car applet framework to build a player instance, and calling the interface provided by the player instance can fully control the in-car player to play, pause, switch music, obtain song duration, play progress, and other capabilities.

[0079] The audio playback control method of the present application realizes information interaction between the vehicle-mounted mini-program and the vehicle-mounted player through the mini-program platform, and realizes the vehicle-mounted player's playback control of the audio provided by the vehicle-mounted mini-program. The vehicle-mounted mini-program can be used without installation, saving storage space of the vehicle terminal.

[0080] In a specific scenario, Figure 1dAs shown, when a mini program (specifically, it may be the first mini program in the above embodiment) receives an audio playback operation for the audio content in the mini program, the mini program may send player control information for the audio content to the vehicle-mounted mini program framework, and the player control information is also the instruction information of the player operation; after receiving the player control information, the vehicle-mounted mini program framework forwards it to the vehicle-mounted player (i.e., the vehicle-mounted system audio player), so that the vehicle-mounted player controls the playback of the corresponding audio content based on the player control information.

[0081] In addition, during the process of playing the audio content in the mini-program, the car player can send player status change information to the car mini-program framework, that is, notify the car mini-program framework of the change of its player status; when the car mini-program framework receives the player status change information sent by the car player during the process of playing the audio data stream, it can send the player status change information to the mini-program to notify the mini-program to update the playback status of the corresponding audio.

[0082] Specifically, when the in-vehicle player detects a change in the current playback status of the audio content, it can send player status change information to the in-vehicle mini-program framework to notify the corresponding mini-program of the change in the playback status of the audio through the in-vehicle mini-program framework.

[0083] In the process of playing the audio data stream, when the car player detects a change in the playback status of the currently playing audio, for example, from the play state to the pause state, or the currently playing audio file is changed, or the volume of the currently playing audio file is changed, the car player will generate playback status change information, which is used to notify the car applet that the current playback status has changed.

[0084] 103. Send audio playback information corresponding to the audio content to the mini program platform through the first mini program during the process of playing the audio content.

[0085] The audio playback information may include the current playback progress, the name of the audio file being played, the audio set (i.e., playlist) to which the audio file being played belongs, attribute information of each audio file, etc. Specifically, in this embodiment, the audio playback information is information for resuming the corresponding audio for playback.

[0086] Specifically, the playlist may include an audio file identifier, such as the name of the audio file, the playing time of the audio file, etc. The attribute information of the audio file may at least include an audio collection picture to which the audio file belongs, lyrics of the audio file, etc.

[0087] In some embodiments, during the process of playing audio content, when the first mini program receives player status change information sent by the in-vehicle mini program framework (or mini program platform), the playback status of the audio in the first mini program can be updated, and based on the updated playback status, new audio playback information is sent to the mini program platform so that the mini program platform updates the audio playback information.

[0088] In some other embodiments, during the process of playing audio content, the first mini program can send the corresponding audio playback information in the current playback state to the mini program platform at intervals of a preset time period, and the mini program platform updates the audio playback information based on the latest received audio playback information. The preset time period can be set according to actual conditions, such as 5 minutes.

[0089] 104. When the mini program currently running in the vehicle system switches from the first mini program to the second mini program, the first mini program is closed, and the vehicle player is controlled to continue playing the audio content based on the audio playback information through the mini program platform.

[0090] The audio playback information may include the playback progress, played songs, and playlist of the first applet before closing. Based on this information, when the first applet is closed, the in-vehicle player can be controlled through the applet platform to continue the previous audio playback.

[0091] Optionally, in this embodiment, before the step of “when the mini program currently running in the vehicle system switches from the first mini program to the second mini program, closing the first mini program, and controlling the vehicle player to continue playing the audio content based on the audio playback information through the mini program platform”, the audio playback control method may further include:

[0092] Saving the audio playback information to a target storage device;

[0093] The step of “when the mini program currently running in the vehicle system switches from the first mini program to the second mini program, closing the first mini program, and controlling the vehicle player to continue playing the audio content based on the audio playback information through the mini program platform” may include:

[0094] When the mini-program currently running in the vehicle system switches from the first mini-program to the second mini-program, closing the first mini-program;

[0095] Reading the audio playback information from the target storage device through the mini program platform;

[0096] The in-vehicle player is controlled to continue playing the audio content based on the audio playing information.

[0097] Among them, in some embodiments, when the mini program platform receives new audio playback information, the audio playback information in the target storage device can be updated based on the new audio playback information.

[0098] This application can support switching audio between different in-vehicle applets, and each in-vehicle applet does not need to record its own playlist, currently playing audio and other information.

[0099] Optionally, in this embodiment, the vehicle-mounted system further includes a third applet, and the third applet is an audio applet; the audio playback control method may further include:

[0100] When the mini-program currently running in the vehicle system switches from the first mini-program to the third mini-program, closing the first mini-program;

[0101] When the mini program platform receives the target player control information sent by the third mini program, the target player control information is sent to the in-vehicle player through the mini program platform;

[0102] The audio on the third mini program is played through the in-vehicle player based on the target player control information, and the audio content corresponding to the first mini program is stopped.

[0103] Among them, the third mini program and the first mini program are of the same type, both of which are audio mini programs.

[0104] Among them, when the third mini program receives an audio playback operation for its audio content, the third mini program can send target player control information for the audio content to the mini program platform to notify the mini program platform that it is currently performing related operations on audio playback and needs to control the car player to perform corresponding operations.

[0105] Among them, based on the target player control information sent by the third applet, a new target player instance can be created, and the target player instance is used to control the vehicle player to play the audio on the third applet. Specifically, the instance interface of the target player instance can be queried by accessing the vehicle player, and the instance interface can be called to control the vehicle player to play the audio content on the third applet.

[0106] Among them, the in-car player can switch from the player instance corresponding to the audio content on the first mini program to the target player instance corresponding to the audio content on the third mini program, and realize the audio playback switching by switching the player instance. Specifically, when the instance interface of the target player instance corresponding to the third mini program is called, the player instance of the first mini program is switched to the target player instance corresponding to the third mini program, so that the audio on the first mini program can be switched to the audio on the third mini program.

[0107] Optionally, in this embodiment, the audio playback control method may further include:

[0108] When the mini program platform does not receive the target player control information sent by the third mini program, the mini program platform controls the in-vehicle player to continue playing the audio content based on the audio playback information sent by the first mini program.

[0109] In a specific scenario, Figure 1e The following is an illustration of how to switch audio playback in the car mini program. The details are as follows:

[0110] When audio applet A (specifically, it can be the first applet mentioned above) starts to play the audio of applet A with the help of the vehicle-mounted applet framework and the vehicle-mounted system audio player, at this time, another non-audio applet B (specifically, it can be the second applet mentioned above) is opened, and the audio applet A is closed. The applet B will not play other audio. At this time, the vehicle-mounted system is still playing the audio played by the audio applet A.

[0111] If another audio mini program C (specifically, it can be the third mini program mentioned above) is opened, and the in-vehicle mini program framework receives instruction information sent by audio mini program C for player operation, and other audio on mini program C needs to be played, the audio on the current mini program A will stop playing and the audio of mini program C will start playing.

[0112] Specifically, switching audio playback of the in-vehicle mini program refers to the audio switching capability provided by the in-vehicle system, which can switch the audio of mini program A and mini program C in the in-vehicle system when the mini program is opened or not.

[0113] Optionally, in this embodiment, after the step of “stop playing the audio content corresponding to the first mini program”, the audio playback control method may further include:

[0114] When detecting that the first mini program is started again, copying the audio playback information to the first mini program through the mini program platform;

[0115] The first mini program is triggered to resume playing the audio content corresponding to the first mini program based on the audio playback information.

[0116] Among them, when the first mini program is closed and then started again, the audio playback information saved in the mini program platform can be copied to the first mini program, so that the first mini program can use the last audio playback information to restore to the last playback state.

[0117] Optionally, in this embodiment, the audio playback control method may further include:

[0118] When the vehicle-mounted system is restarted, the audio playback information is read from the target storage device through the mini-program platform;

[0119] The audio playback information is sent to the car player through the mini program platform to trigger the car player to resume playing the audio content corresponding to the first mini program based on the audio playback information.

[0120] Among them, if the vehicle system is restarted, the mini program platform will read the stored audio playback information from the target storage device and notify the vehicle system to resume the last playback based on the audio playback information. These audio playback information may include the song being played when the audio mini program was closed last time, the playback progress, and the playlist, etc.

[0121] This application provides a technical solution for controlling the playback of audio when switching between different mini-programs on a vehicle-mounted system, which can realize audio switching when the mini-program is open or not, and restore the audio information previously played by the mini-program, such as playlist, song name, cover image, playback progress, etc. This improves the performance of the mini-program on the vehicle-mounted system, so that the advantages of the mini-program, such as lightweight and no need to install or uninstall, can be fully reflected on the vehicle-mounted system.

[0122] In this embodiment, the vehicle system provides the ability to switch audio. For the vehicle mini-program framework, it notifies the framework which mini-program needs to be restored at present, and restores the last playback of the mini-program by reading the last playback information saved in the storage device of the mini-program.

[0123] In addition, if the vehicle system or the vehicle mini-program framework is restarted, the vehicle mini-program framework will read the stored playback information from the storage device and notify the vehicle system to resume the last playback, including the currently playing song, playlist, current playback progress, etc.

[0124] Moreover, if the mini program is opened again, the playback information saved in the in-vehicle mini program framework will also be copied to the mini program, and the mini program will use this information to restore the last playback status.

[0125] Specifically, Figure 1f The following is the process of audio switching and recovery in the car applet. The specific instructions are as follows:

[0126] 1. When the in-car mini program plays audio for the first time, it needs to obtain the audio playlist from its own backend server.

[0127] 2. Based on the audio playback operation for the vehicle-mounted mini program, send player control information to the vehicle-mounted mini program framework, and copy the audio playback information (including playlist and other information) to the vehicle-mounted mini program framework;

[0128] 3. The in-vehicle mini-program framework can serialize information such as playlists to a storage device for storage, so that when the in-vehicle mini-program is closed due to switching to other mini-programs, the in-vehicle mini-program framework can execute the player operation. Specifically, the in-vehicle mini-program framework can obtain the playlist from the storage device to control the audio player to continue audio playback.

[0129] 4. When the vehicle-mounted mini program framework receives the player control information sent by the vehicle-mounted mini program, the player control information can be sent to the vehicle-mounted system audio player to control the vehicle-mounted system audio player to play audio.

[0130] 5. When the vehicle-mounted applet is restarted, the audio playback information can be read from the storage device through the vehicle-mounted applet framework.

[0131] 6. Send the read audio playback information to the vehicle-mounted applet, so that the vehicle-mounted applet sets the play list and other information based on the audio playback information, thereby restoring to the last playback state.

[0132] 7. During audio playback, the vehicle system audio player can also send player status change information to the vehicle mini-program framework, so that the vehicle mini-program framework sends the player status change information to the vehicle mini-program.

[0133] As can be seen from the above, this embodiment can be applied to a vehicle-mounted system, which includes a first applet, a second applet, a applet platform and a vehicle-mounted player, wherein the first applet is an audio applet, and the second applet is a non-audio applet; when an audio playback operation for audio content provided by the first applet is received, player control information for the audio content can be sent to the applet platform through the first applet; the player control information can be sent to the vehicle-mounted player through the applet platform to trigger the vehicle-mounted player to play the audio content based on the player control information; audio playback information corresponding to the audio content is sent to the applet platform during the process of playing the audio content through the first applet; when the applet currently running in the vehicle-mounted system switches from the first applet to the second applet, the first applet is closed, and the vehicle-mounted player is controlled to continue playing the audio content based on the audio playback information through the applet platform.

[0134] This application can be applied to in-vehicle scenarios. When the in-vehicle mini-program is switched on the mini-program platform, the audio content played by the original mini-program continues to play, and the mini-program itself does not need to perform additional processing, which is conducive to improving the user experience.

[0135] According to the method described in the above embodiment, the following will be further described in detail by taking the example of the audio playback control device being specifically integrated in a terminal.

[0136] The present application embodiment provides an audio playback control method, such as Figure 2 As shown, the specific process of the audio playback control method can be as follows:

[0137] 201. When the terminal receives an audio playback operation for the audio content provided by the first mini program, the terminal sends player control information for the audio content to the mini program platform through the first mini program.

[0138] In this embodiment, the audio playback control method is applied to a vehicle-mounted system, which includes a first applet, a second applet, a applet platform and a vehicle-mounted player, wherein the first applet is an audio applet and the second applet is a non-audio applet.

[0139] Among them, the mini program runs with the help of the mini program platform. The mini program platform here is also the in-vehicle mini program platform, which is a set of technical frameworks that extend the mini program running platform to the in-vehicle system. Specifically, the in-vehicle mini program platform provides the operating environment required for the mini program business logic to run, provides the rendering capability of the mini program output to the screen, and connects with the system capabilities provided by the in-vehicle system, including vehicle management, window management, network, audio and video player capabilities, input control, etc.

[0140] It should be noted that in the vehicle-mounted system, only one mini program can be run at the same time. In this embodiment, the vehicle-mounted mini program platform can be used to switch from running a certain mini program to running another mini program.

[0141] In a specific scenario, the audio playback operation may be an operation in which a user can control the audio content provided by the first applet to be played through the vehicle terminal. The player control information may be specifically generated based on the audio playback operation for the audio content of the first applet, and the player control information may be control information for controlling the vehicle player to play the audio.

[0142] 202. The terminal sends the player control information to the in-vehicle player through the mini-program platform to trigger the in-vehicle player to play the audio content based on the player control information.

[0143] The in-vehicle player may specifically be an audio player provided by the in-vehicle system, which provides audio playback capability.

[0144] Optionally, in this embodiment, the step of “sending the player control information to the vehicle player through the mini program platform to trigger the vehicle player to play the audio content based on the player control information” may include:

[0145] Constructing a player instance corresponding to the audio content based on the player control information through the mini program platform;

[0146] Sending the player control information to the vehicle player;

[0147] By accessing the in-vehicle player, querying the instance interface of the player instance;

[0148] The instance interface is called to control the vehicle player to play the audio content based on the player control information.

[0149] Among them, the first mini program sends player control information to the mini program platform, which can also be specifically regarded as notifying the mini program platform that it is currently performing related operations on audio playback. Therefore, the mini program platform creates a corresponding player instance for the audio content in the first mini program based on the player control information.

[0150] In this embodiment, when the mini program plays audio, it plays the audio by running the player engine on the vehicle system. The player engine plays the audio by calling the player process. The player instance is specifically a thread entity in the player process, or in other words, the player instance can be understood as a thread in the player process. During the playback process of the player engine, that is, during the operation of the player process, different player instances can be called to switch the audio playback.

[0151] The first applet plays audio content with the help of the applet platform and the in-car player. Specifically, the first applet can use the interface provided by the in-car applet framework to build a player instance, and calling the interface provided by the player instance can fully control the in-car player to play, pause, switch music, obtain song duration, play progress, and other capabilities.

[0152] 203. The terminal sends audio playback information corresponding to the audio content to the mini-program platform through the first mini-program while playing the audio content.

[0153] The audio playback information may include the current playback progress, the name of the audio file being played, the audio set (i.e., playlist) to which the audio file being played belongs, attribute information of each audio file, etc. Specifically, in this embodiment, the audio playback information is information for resuming the corresponding audio for playback.

[0154] Specifically, the playlist may include an audio file identifier, such as the name of the audio file, the playing time of the audio file, etc. The attribute information of the audio file may at least include an audio collection picture to which the audio file belongs, lyrics of the audio file, etc.

[0155] 204. When the mini-program currently running in the vehicle system switches from the first mini-program to the second mini-program, the terminal closes the first mini-program and controls the vehicle player to continue playing the audio content based on the audio playback information through the mini-program platform.

[0156] The audio playback information may include the playback progress, played songs, and playlist of the first applet before closing. Based on this information, when the first applet is closed, the in-vehicle player can be controlled through the applet platform to continue the previous audio playback.

[0157] This application can support switching audio between different in-vehicle applets, and each in-vehicle applet does not need to record its own playlist, currently playing audio and other information.

[0158] Optionally, in this embodiment, the vehicle-mounted system further includes a third applet, and the third applet is an audio applet; the audio playback control method may further include:

[0159] When the mini-program currently running in the vehicle system switches from the first mini-program to the third mini-program, closing the first mini-program;

[0160] When the mini program platform receives the target player control information sent by the third mini program, the target player control information is sent to the in-vehicle player through the mini program platform;

[0161] The audio on the third mini program is played through the in-vehicle player based on the target player control information, and the audio content corresponding to the first mini program is stopped.

[0162] Among them, the third mini program and the first mini program are of the same type, both of which are audio mini programs.

[0163] Among them, when the third mini program receives an audio playback operation for its audio content, the third mini program can send target player control information for the audio content to the mini program platform to notify the mini program platform that it is currently performing related operations on audio playback and needs to control the car player to perform corresponding operations.

[0164] Among them, based on the target player control information sent by the third applet, a new target player instance can be created, and the target player instance is used to control the vehicle player to play the audio on the third applet. Specifically, the instance interface of the target player instance can be queried by accessing the vehicle player, and the instance interface can be called to control the vehicle player to play the audio content on the third applet.

[0165] Among them, the in-car player can switch from the player instance corresponding to the audio content on the first mini program to the target player instance corresponding to the audio content on the third mini program, and realize the audio playback switching by switching the player instance. Specifically, when the instance interface of the target player instance corresponding to the third mini program is called, the player instance of the first mini program is switched to the target player instance corresponding to the third mini program, so that the audio on the first mini program can be switched to the audio on the third mini program.

[0166] Optionally, in this embodiment, the audio playback control method may further include:

[0167] When the mini program platform does not receive the target player control information sent by the third mini program, the mini program platform controls the in-vehicle player to continue playing the audio content based on the audio playback information sent by the first mini program.

[0168] Optionally, in this embodiment, after the step of “stop playing the audio content corresponding to the first mini program”, the audio playback control method may further include:

[0169] When detecting that the first mini program is started again, copying the audio playback information to the first mini program through the mini program platform;

[0170] The first mini program is triggered to resume playing the audio content corresponding to the first mini program based on the audio playback information.

[0171] Among them, when the first mini program is closed and then started again, the audio playback information saved in the mini program platform can be copied to the first mini program, so that the first mini program can use the last audio playback information to restore to the last playback state.

[0172] As can be seen from the above, this embodiment can, when receiving an audio playback operation for the audio content provided by the first applet, send player control information for the audio content to the applet platform through the first applet; send the player control information to the vehicle player through the applet platform to trigger the vehicle player to play the audio content based on the player control information; send the audio playback information corresponding to the audio content to the applet platform through the first applet during the playback of the audio content; when the applet currently running in the vehicle system switches from the first applet to the second applet, close the first applet, and control the vehicle player to continue playing the audio content based on the audio playback information through the applet platform. The present application can be applied to vehicle-mounted scenarios, and when the vehicle-mounted applet is switched on the applet platform, the audio content played by the original applet continues to play, and no additional processing is required by the applet itself, which is conducive to improving user experience.

[0173] In order to better implement the above method, the present application embodiment also provides an audio playback control device, such as Figure 3 As shown, the audio playback control device may include a first sending unit 301, a second sending unit 302, a third sending unit 303, and a playback unit 304, as follows:

[0174] (1) a first sending unit 301;

[0175] The first sending unit is used to send player control information for the audio content to the mini program platform through the first mini program when receiving an audio playback operation for the audio content provided by the first mini program.

[0176] (2) a second sending unit 302;

[0177] The second sending unit is used to send the player control information to the car player through the mini program platform to trigger the car player to play the audio content based on the player control information.

[0178] Optionally, in some embodiments of the present application, the second sending unit may include a construction subunit, a sending subunit, a query subunit and a control subunit, as follows:

[0179] The construction subunit is used to construct a player instance corresponding to the audio content based on the player control information through the mini program platform;

[0180] A sending subunit, used for sending the player control information to the vehicle player;

[0181] A query subunit, used to query the instance interface of the player instance by accessing the vehicle-mounted player;

[0182] The control subunit is used to call the instance interface to control the vehicle player to play the audio content based on the player control information.

[0183] (3) a third sending unit 303;

[0184] The third sending unit is used to send the audio playback information corresponding to the audio content to the mini program platform through the first mini program during the process of playing the audio content.

[0185] (4) Playback unit 304;

[0186] A playback unit is used to close the first applet when the applet currently running in the vehicle system switches from the first applet to the second applet, and to control the vehicle player to continue playing the audio content based on the audio playback information through the applet platform.

[0187] Optionally, in some embodiments of the present application, the vehicle-mounted system further includes a third applet, and the third applet is an audio applet; the audio playback control device may further include a closing unit, a fourth sending unit, and a stop playback unit, as follows:

[0188] The closing unit is configured to close the first applet when the applet currently running in the vehicle system is switched from the first applet to the third applet;

[0189] A fourth sending unit, configured to send the target player control information to the vehicle player through the mini program platform when the mini program platform receives the target player control information sent by the third mini program;

[0190] A playback stop unit is used to play the audio on the third mini program through the in-vehicle player based on the target player control information, and stop playing the audio content corresponding to the first mini program.

[0191] Optionally, in some embodiments of the present application, the audio playback control device may further include a continuing playback unit, as follows:

[0192] The continued playback unit is used to control the vehicle player to continue playing the audio content based on the audio playback information sent by the first mini program through the mini program platform when the mini program platform has not received the target player control information sent by the third mini program.

[0193] Optionally, in some embodiments of the present application, the audio playback control device may further include a storage unit as follows:

[0194] The storage unit is used to store the audio playback information in a target storage device;

[0195] The playback unit can be specifically used to close the first applet when the applet currently running in the vehicle system switches from the first applet to the second applet; read the audio playback information from the target storage device through the applet platform; and control the vehicle player to continue playing the audio content based on the audio playback information.

[0196] Optionally, in some embodiments of the present application, the audio playback control device may further include a restart unit as follows:

[0197] The restart unit is used to copy the audio playback information to the first mini program through the mini program platform when it is detected that the first mini program is restarted; and trigger the first mini program to resume playing the audio content corresponding to the first mini program based on the audio playback information.

[0198] Optionally, in some embodiments of the present application, the audio playback control device may further include a system restart unit, as follows:

[0199] The system restart unit is used to read the audio playback information from the target storage device through the mini-program platform when the vehicle system is restarted; and send the audio playback information to the vehicle player through the mini-program platform to trigger the vehicle player to resume playing the audio content corresponding to the first mini-program based on the audio playback information.

[0200] As can be seen from the above, in this embodiment, when the first sending unit 301 receives an audio playback operation for the audio content provided by the first applet, the player control information for the audio content is sent to the applet platform through the first applet; the second sending unit 302 sends the player control information to the vehicle player through the applet platform to trigger the vehicle player to play the audio content based on the player control information; the third sending unit 303 sends the audio playback information corresponding to the audio content to the applet platform through the first applet during the playback of the audio content; when the applet currently running in the vehicle system is switched from the first applet to the second applet through the playback unit 304, the first applet is closed, and the vehicle player is controlled to continue to play the audio content based on the audio playback information through the applet platform. The present application can be applied to vehicle-mounted scenarios, and when the vehicle-mounted applet is switched through the applet platform, the audio content played by the original applet continues to play, and no additional processing is required by the applet itself, which is conducive to improving user experience.

[0201] The present application also provides an electronic device, such as Figure 4 As shown, it shows a schematic diagram of the structure of an electronic device involved in an embodiment of the present application, and the electronic device may be a terminal or a server, etc. Specifically:

[0202] The electronic device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that Figure 4 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0203] The processor 401 is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, the processor 401 performs various functions of the electronic device and processes data. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 401.

[0204] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.

[0205] The electronic device also includes a power supply 403 for supplying power to each component. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, so as to manage charging, discharging, power consumption and other functions through the power management system. The power supply 403 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.

[0206] The electronic device may further include an input unit 404, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0207] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 401 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 will run the application programs stored in the memory 402, thereby realizing various functions, as follows:

[0208] When an audio playback operation for the audio content provided by the first mini program is received, player control information for the audio content is sent to the mini program platform through the first mini program; the player control information is sent to the vehicle player through the mini program platform to trigger the vehicle player to play the audio content based on the player control information; audio playback information corresponding to the audio content is sent to the mini program platform during the playback of the audio content through the first mini program; when the mini program currently running in the vehicle system switches from the first mini program to the second mini program, the first mini program is closed, and the vehicle player is controlled to continue playing the audio content based on the audio playback information through the mini program platform.

[0209] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0210] As can be seen from the above, this embodiment can be applied to a vehicle-mounted system, which includes a first applet, a second applet, a applet platform and a vehicle-mounted player, wherein the first applet is an audio applet, and the second applet is a non-audio applet; when an audio playback operation for audio content provided by the first applet is received, player control information for the audio content can be sent to the applet platform through the first applet; the player control information can be sent to the vehicle-mounted player through the applet platform to trigger the vehicle-mounted player to play the audio content based on the player control information; audio playback information corresponding to the audio content is sent to the applet platform during the process of playing the audio content through the first applet; when the applet currently running in the vehicle-mounted system switches from the first applet to the second applet, the first applet is closed, and the vehicle-mounted player is controlled to continue playing the audio content based on the audio playback information through the applet platform.

[0211] This application can be applied to in-vehicle scenarios. When the in-vehicle mini-program is switched on the mini-program platform, the audio content played by the original mini-program continues to play, and the mini-program itself does not need to perform additional processing, which is conducive to improving the user experience.

[0212] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0213] To this end, an embodiment of the present application provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any of the audio playback control methods provided in the embodiments of the present application. For example, the instructions can execute the following steps:

[0214] When an audio playback operation for the audio content provided by the first mini program is received, player control information for the audio content is sent to the mini program platform through the first mini program; the player control information is sent to the vehicle player through the mini program platform to trigger the vehicle player to play the audio content based on the player control information; audio playback information corresponding to the audio content is sent to the mini program platform during the playback of the audio content through the first mini program; when the mini program currently running in the vehicle system switches from the first mini program to the second mini program, the first mini program is closed, and the vehicle player is controlled to continue playing the audio content based on the audio playback information through the mini program platform.

[0215] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0216] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0217] Since the instructions stored in the computer-readable storage medium can execute the steps in any audio playback control method provided in the embodiments of the present application, the beneficial effects that can be achieved by any audio playback control method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0218] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in various optional implementations of the above-mentioned audio playback control aspect.

[0219] The above is a detailed introduction to an audio playback control method and related equipment provided in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. An audio playback control method, characterized in that: Applied to an in-vehicle system, the in-vehicle system includes a first applet, a second applet, an applet platform, and an in-vehicle player, the first applet is an audio applet, the second applet is a non-audio applet, and the method includes: When receiving an audio playback operation for the audio content provided by the first mini program, sending player control information for the audio content to the mini program platform through the first mini program; Sending the player control information to the in-vehicle player through the mini program platform to trigger the in-vehicle player to play the audio content based on the player control information; Sending, by the first mini program, audio playback information corresponding to the audio content to the mini program platform during the process of playing the audio content; When the mini-program currently running in the vehicle system switches from the first mini-program to the second mini-program, the first mini-program is closed, and the vehicle player is controlled to continue playing the audio content based on the audio playback information through the mini-program platform.

2. The method according to claim 1, characterized in that The vehicle-mounted system further includes a third applet, which is an audio applet; and the method further includes: When the mini-program currently running in the vehicle system switches from the first mini-program to the third mini-program, closing the first mini-program; When the mini program platform receives the target player control information sent by the third mini program, the target player control information is sent to the in-vehicle player through the mini program platform; The audio on the third mini program is played through the in-vehicle player based on the target player control information, and the audio content corresponding to the first mini program is stopped.

3. The method according to claim 2, characterized in that The method further comprises: When the mini program platform does not receive the target player control information sent by the third mini program, the mini program platform controls the in-vehicle player to continue playing the audio content based on the audio playback information sent by the first mini program.

4. The method according to claim 2, characterized in that: After stopping playing the audio content corresponding to the first applet, the method further includes: When detecting that the first mini program is started again, copying the audio playback information to the first mini program through the mini program platform; The first mini program is triggered to resume playing the audio content corresponding to the first mini program based on the audio playback information.

5. The method according to claim 1, characterized in that The sending the player control information to the vehicle player through the mini program platform to trigger the vehicle player to play the audio content based on the player control information includes: Constructing a player instance corresponding to the audio content based on the player control information through the mini program platform; Sending the player control information to the vehicle player; By accessing the in-vehicle player, querying the instance interface of the player instance; The instance interface is called to control the vehicle player to play the audio content based on the player control information.

6. The method according to claim 1, characterized in that When the mini program currently running in the vehicle system switches from the first mini program to the second mini program, before closing the first mini program and controlling the vehicle player to continue playing the audio content based on the audio playback information through the mini program platform, the method further includes: Saving the audio playback information to a target storage device; When the mini program currently running in the vehicle system switches from the first mini program to the second mini program, closing the first mini program and controlling the vehicle player to continue playing the audio content based on the audio playback information through the mini program platform includes: When the mini-program currently running in the vehicle-mounted system switches from the first mini-program to the second mini-program, closing the first mini-program; Reading the audio playback information from the target storage device through the mini program platform; The in-vehicle player is controlled to continue playing the audio content based on the audio playing information.

7. The method according to claim 6, characterized in that The method further comprises: When the vehicle-mounted system is restarted, the audio playback information is read from the target storage device through the mini-program platform; The audio playback information is sent to the car player through the mini program platform to trigger the car player to resume playing the audio content corresponding to the first mini program based on the audio playback information.

8. An audio playback control device, characterized in that: Applied to an in-vehicle system, the in-vehicle system includes a first applet, a second applet, an applet platform, and an in-vehicle player, the first applet is an audio applet, the second applet is a non-audio applet, and the device includes: A first sending unit, configured to send player control information for the audio content to the mini program platform through the first mini program when receiving an audio playback operation for the audio content provided by the first mini program; A second sending unit, configured to send the player control information to the in-vehicle player through the mini-program platform, so as to trigger the in-vehicle player to play the audio content based on the player control information; A third sending unit, configured to send audio playback information corresponding to the audio content to the mini program platform through the first mini program during the process of playing the audio content; A playback unit is used to close the first applet when the applet currently running in the vehicle system switches from the first applet to the second applet, and to control the vehicle player to continue playing the audio content based on the audio playback information through the applet platform.

9. An electronic device, characterized in that: It comprises a memory and a processor; the memory stores an application program, and the processor is used to run the application program in the memory to execute the operations in the audio playback control method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the audio playback control method according to any one of claims 1 to 7.

11. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the steps in the audio playback control method described in any one of claims 1 to 7 are implemented.