Music playing method, device, terminal, system and storage medium

By acquiring multimedia data from the user terminal when it receives a ride-hailing command and transmitting it to the vehicle's infotainment system, the problem of mismatched music during ride-hailing trips is solved, enabling convenient personalized music playback and improving the riding experience.

CN115997395BActive Publication Date: 2026-05-19GUANGZHOU KUGOU COMP TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGZHOU KUGOU COMP TECH CO LTD
Filing Date
2022-10-24
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

When taking a ride-hailing service, the music played by the driver often doesn't match the passenger's preference, resulting in a poor riding experience. Current technology cannot easily enable the playback of music that passengers like.

Method used

When a user terminal receives a ride-hailing command, it acquires multimedia data and provides it to the vehicle's multimedia application through a communication channel to enable music playback. This includes data transmission through an embedded SDK and server to ensure a communication connection is established between the user terminal and the vehicle's multimedia application.

Benefits of technology

It enriches the ways to play music while riding in a ride-hailing car, enhances the user's riding experience and enjoyment, and enables passengers to conveniently control personalized music playback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115997395B_ABST
    Figure CN115997395B_ABST
Patent Text Reader

Abstract

The application discloses a music playing method and device, a terminal, a system and a storage medium, and relates to the technical field of computers and the Internet. The method comprises the following steps: in the case that a car-hailing instruction is received, acquiring multimedia data of a user (201); providing the multimedia data to a multimedia application of a car machine corresponding to the car-hailing instruction, so that the multimedia application of the car machine plays music based on the multimedia data, wherein a communication channel is established between the user terminal and the multimedia application of the car machine (202). By adopting the scheme provided in the embodiments of the application, the music playing mode of the user when taking a network car can be enriched, and the experience and interest of the user when taking a network car can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the fields of computer and internet technology, and in particular to a music playback method, apparatus, terminal, system, and storage medium. Background Technology

[0002] With the development of computer technology, there are more and more types of applications on terminals, and their functions are becoming more and more abundant. Ride-hailing applications and music playback applications are very commonly used applications.

[0003] Typically, the music users hear while riding in a ride-hailing car is played by the driver according to their own preferences. This can potentially cause discomfort for the user and negatively impact their riding experience. Specifically, one option is that the in-car infotainment system has a music player app installed, which the driver uses to play songs; another option is that both the in-car infotainment system and the in-car terminal have music player apps installed, with the driver controlling the latter via Bluetooth. Neither of these options allows for convenient playback of the passenger's preferred music. Summary of the Invention

[0004] This application provides a music playback method, apparatus, terminal, system, and storage medium. The technical solution is as follows:

[0005] On one hand, embodiments of this application provide a music playback method, the method being used on a user terminal, the method comprising:

[0006] Upon receiving a ride-hailing request, the system acquires the user's multimedia data.

[0007] The multimedia data is provided to the in-vehicle multimedia application corresponding to the ride-hailing command, so that the in-vehicle multimedia application can play music based on the multimedia data, wherein a communication channel is established between the user terminal and the in-vehicle multimedia application.

[0008] On one hand, embodiments of this application provide a music playback method, the method comprising:

[0009] Acquire multimedia data, which is obtained by the user terminal upon receiving a ride-hailing instruction;

[0010] Based on the multimedia data, music is played through the vehicle's multimedia application.

[0011] On the other hand, embodiments of this application provide a music playback device, the device comprising:

[0012] The first acquisition module is used to acquire the user's multimedia data when a ride-hailing instruction is received;

[0013] A module is provided to provide the multimedia data to the in-vehicle multimedia application corresponding to the ride-hailing command, so that the in-vehicle multimedia application can play music based on the multimedia data, wherein a communication channel is established between the user terminal and the in-vehicle multimedia application.

[0014] On the other hand, embodiments of this application provide a music playback device, the device comprising:

[0015] The second acquisition module is used to acquire multimedia data, which is obtained by the user terminal when it receives a ride-hailing instruction;

[0016] The playback module is used to play music through the vehicle's multimedia application based on the multimedia data.

[0017] On the other hand, this application provides a music playback system, which includes a user terminal, an in-vehicle terminal, and a multimedia application server;

[0018] The user terminal has a user multimedia application installed.

[0019] The vehicle terminal is equipped with a vehicle multimedia application;

[0020] The multimedia application server is used to provide services for the user multimedia application and the vehicle multimedia application.

[0021] The user terminal is used to acquire the user's multimedia data upon receiving a ride-hailing instruction; and to provide the multimedia data to the in-vehicle multimedia application corresponding to the ride-hailing instruction.

[0022] The vehicle-mounted terminal is used to acquire multimedia data; based on the multimedia data, it plays music through the vehicle-mounted multimedia application.

[0023] On the other hand, embodiments of this application provide a terminal, which includes a processor and a memory. The memory stores at least one program, which is loaded and executed by the processor to implement the music playback method on the user terminal side as described above, or to implement the music playback method on the vehicle terminal side as described above.

[0024] On the other hand, embodiments of this application provide a computer-readable storage medium storing at least one program, which is loaded and executed by a processor to implement the music playback method on the user terminal side as described above, or to implement the music playback method on the vehicle terminal side as described above.

[0025] On the other hand, embodiments of this application provide a computer program product, which includes computer instructions stored in a computer-readable storage medium; a terminal processor reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the terminal to perform to implement the music playback method on the user terminal side as described above, or to implement the music playback method on the vehicle terminal side as described above.

[0026] The beneficial effects of the technical solutions provided in this application include at least the following:

[0027] In this embodiment, upon receiving a ride-hailing instruction, the user terminal acquires the user's multimedia data and then provides the multimedia data to the in-vehicle multimedia application corresponding to the ride-hailing instruction, enabling the in-vehicle multimedia application to play music based on the multimedia data. By adopting the solution provided in this embodiment, the user's music playback options while riding in a ride-hailing vehicle can be enriched, enhancing the user's experience and enjoyment. Attached Figure Description

[0028] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0029] Figure 1 A schematic diagram of the implementation environment of a music playback method according to an embodiment of this application is shown;

[0030] Figure 2 A flowchart illustrating an exemplary embodiment of the audio playback method provided in this application is shown;

[0031] Figure 3 A flowchart of an audio playback method provided by another exemplary embodiment of this application is shown;

[0032] Figure 4 A schematic diagram of a ride-hailing interface provided in one embodiment of this application is shown;

[0033] Figure 5 A schematic diagram of a permission settings card provided in one embodiment of this application is shown;

[0034] Figure 6 This illustration shows a schematic diagram of a display permission setting prompt message provided in one embodiment of this application;

[0035] Figure 7 A schematic diagram of a permission management interface provided in one embodiment of this application is shown;

[0036] Figure 8 A flowchart illustrating an exemplary embodiment of the audio playback method provided in this application is shown;

[0037] Figure 9 A flowchart of an audio playback method provided by another exemplary embodiment of this application is shown;

[0038] Figure 10 This paper shows a structural block diagram of a music playback device according to an embodiment of the present application;

[0039] Figure 11 This paper shows a structural block diagram of a music playback device according to an embodiment of the present application;

[0040] Figure 12 This paper shows a structural block diagram of a music playback system provided in one embodiment of the present application;

[0041] Figure 13 A structural block diagram of a computer device provided in an exemplary embodiment of this application is shown. Detailed Implementation

[0042] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0043] In this article, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0044] To facilitate understanding, the terms used in the embodiments of this application will be explained below.

[0045] SDK (Software Development Kit): A software development kit is generally a collection of development tools used by software engineers to build application software for specific software packages, software frameworks, hardware platforms, operating systems, etc. An SDK can simply be a collection of files providing application programming interfaces for a programming language, but it may also include complex hardware capable of communicating with embedded systems.

[0046] Please refer to Figure 1 This diagram illustrates an implementation environment for a music playback method according to an embodiment of this application. The implementation environment may include a terminal 110 and a server 120.

[0047] Terminal 110 includes user terminal 111 and vehicle terminal 112. User terminal 111 and vehicle terminal 112 can be electronic devices such as mobile phones, tablets, PCs (Personal Computers), wearable devices, VR (Virtual Reality) devices, AR (Augmented Reality) devices, and in-vehicle terminals. This application does not limit them.

[0048] Figure 1 The following explanation uses smartphones as an example, where both user terminal 111 and vehicle terminal 112 are smartphones.

[0049] Server 120 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks, and big data and artificial intelligence platforms.

[0050] The terminal 110 (including the user terminal 111 and the vehicle terminal 112) communicates with the server 120 via a communication network. Optionally, the communication network can be a wired network or a wireless network, and the communication network can be at least one of a local area network, a metropolitan area network, and a wide area network.

[0051] In this embodiment, the user terminal 111 and the vehicle terminal 112 are equipped with a ride-hailing application and a multimedia application. The server can be the ride-hailing application server and the multimedia application server corresponding to the aforementioned ride-hailing application and multimedia application, used to provide background services for the clients of the ride-hailing application and the multimedia application. In this embodiment, the user terminal 111 responds to a ride-hailing command by obtaining the user's multimedia data, and then provides the multimedia data to the vehicle multimedia application corresponding to the ride-hailing command, so that the vehicle multimedia application can play music based on the multimedia data. After obtaining the multimedia data, the vehicle terminal 112 plays music through the vehicle multimedia application based on the multimedia data.

[0052] Optionally, the user-side ride-hailing application and the driver-side ride-hailing application can be the same application or different applications with the same function (ride-hailing function). The user multimedia application and the vehicle multimedia application can be the same application or different applications with the same function (music playback function). This application embodiment does not limit this.

[0053] It should be noted that the multimedia application in this application has functions such as playing music, playing videos, listening to audiobooks, broadcasting, and live streaming. The in-vehicle multimedia application can play music, play videos, listen to audiobooks, broadcast, and live stream based on multimedia data. For ease of description, the following embodiments will only use playing music as an example for illustration.

[0054] Please refer to Figure 2 This document illustrates a flowchart of an audio playback method provided in an exemplary embodiment of this application. This embodiment uses the method applied to a user terminal as an example for illustration, and the method may include the following steps:

[0055] Step 201: Upon receiving a ride-hailing instruction, obtain the user's multimedia data.

[0056] Optionally, the ride-hailing command can be a ride-hailing operation performed by the user on the user terminal. Upon detecting the ride-hailing operation, the user terminal responds by acquiring multimedia data. The ride-hailing operation can be a touch operation performed on relevant controls on the terminal's touch screen, such as a click, swipe, or double-click operation. This embodiment does not limit the specific ride-hailing operation.

[0057] Optionally, the ride-hailing command can also be a voice command. When the terminal hears audio such as "hailing a ride to XXX", "booking a ride to XXX", or "hailing a ride to XXX", it confirms that it has received the ride-hailing command.

[0058] In one implementation, the user terminal can directly obtain the user's multimedia data from its local storage. In another implementation, the user terminal can obtain the user's multimedia data from the application data of the user's multimedia application.

[0059] Optionally, multimedia applications include, but are not limited to, music applications, short video applications, and audiobook applications, and application data includes, but is not limited to, user playback history, user favorites, user account information, user settings information, and user local storage information.

[0060] Optionally, after receiving a ride-hailing instruction, the user terminal can disguise itself as a fake vehicle infotainment terminal based on the vehicle's infotainment information indicated by the ride-hailing instruction, and establish a communication connection with the vehicle's multimedia application through the multimedia application on the fake vehicle infotainment terminal.

[0061] Optionally, the user terminal may also be configured with a first embedded SDK, which may be an SDK in a multimedia application or an SDK in other applications. The user terminal can obtain local multimedia data through the first embedded SDK.

[0062] Step 202: Provide multimedia data to the in-vehicle multimedia application corresponding to the ride-hailing command so that the in-vehicle multimedia application can play music based on the multimedia data. A communication channel is established between the user terminal and the in-vehicle multimedia application.

[0063] Furthermore, the ride-hailing command received by the user terminal includes vehicle information, which includes, but is not limited to, the vehicle model, license plate number, in-vehicle multimedia application information, and driver information.

[0064] The user terminal can send multimedia data to the vehicle's multimedia application indicated by the ride-hailing command, so that the vehicle's multimedia application can play music based on the multimedia data.

[0065] Optionally, a communication channel is established between the user terminal and the vehicle terminal where the in-vehicle multimedia application is located. This communication channel can be established through wired or wireless means, such as Bluetooth connection, Universal Serial Bus (USB), Wireless Fidelity (WiFi) connection, or mobile data network connection, etc. This embodiment does not limit this.

[0066] Optionally, the user terminal can also use a server to forward multimedia data to the vehicle's multimedia application.

[0067] In summary, in this embodiment of the application, upon receiving a ride-hailing instruction, the user terminal obtains the user's multimedia data and then provides the multimedia data to the in-vehicle multimedia application corresponding to the ride-hailing instruction, so that the in-vehicle multimedia application can play music based on the multimedia data. By adopting the solution provided in this embodiment of the application, the user's music playback methods when taking a ride-hailing service can be enriched, and the user's experience and enjoyment when taking a ride-hailing service can be improved.

[0068] Please refer to Figure 3 This illustration shows a flowchart of an audio playback method provided in another exemplary embodiment of this application. This embodiment uses the method applied to a user terminal as an example for description, and the method may include the following steps:

[0069] Step 301: Upon receiving a ride-hailing instruction, multimedia data is obtained from the user's multimedia application through the first embedded SDK of the user-side ride-hailing application.

[0070] In one possible implementation, the user-side ride-hailing application includes a first embedded SDK, which is a program file of a user multimedia application interface provided by a programming language. In response to a ride-hailing command, the user-side ride-hailing application obtains multimedia data from the user multimedia application through the first embedded SDK.

[0071] In this embodiment, when a user terminal receives a ride-hailing instruction, it sends a ride-hailing request to the ride-hailing application server. Then, when it receives an order acceptance notification from the ride-hailing application server, and the order acceptance notification instructs the driver account to enable the passenger music playback function, it obtains multimedia data from the user's multimedia application through the first embedded SDK of the user-side ride-hailing application.

[0072] Optionally, when both the user-side and driver-side ride-hailing applications are running and have location access permissions, they obtain the location information of the user terminal and the vehicle-mounted terminal, respectively. After obtaining the user terminal's location information, the user-side ride-hailing application on the user terminal sends it along with the ride-hailing request to the ride-hailing server. Upon receiving the ride-hailing request and the user terminal's location information, the ride-hailing application server sends the user terminal's location information to vehicle-mounted terminals whose location information is less than a distance threshold from the user terminal's location information. Upon receiving an order acceptance request from either vehicle-mounted terminal, the server matches the user terminal that sent the ride-hailing request with the vehicle-mounted terminal that sent the order acceptance request, and then sends an order acceptance notification to both.

[0073] Optionally, after receiving an order acceptance request from the vehicle terminal, the ride-hailing application server identifies whether the driver account corresponding to the vehicle terminal has enabled the passenger music playback function. Then, when sending an order acceptance notification to the user terminal that sent the ride-hailing request, it sends the matching driver account identification result corresponding to the vehicle terminal to the user terminal.

[0074] Optionally, after receiving a ride request and the user terminal's location information from the user terminal, the ride-hailing application server can first identify whether the driver account corresponding to the vehicle terminal whose location information is less than the distance threshold from the user terminal has enabled the passenger music playback function. Then, it can prioritize sending the user terminal's location information to the vehicle terminal whose location information is less than the distance threshold from the user terminal and whose passenger music playback function is enabled.

[0075] Step 302: The user-side ride-hailing application reports multimedia data to the ride-hailing application server.

[0076] In this embodiment, after the user-side ride-hailing application obtains multimedia data from the user multimedia application through the first embedded SDK, the user terminal reports the multimedia data to the ride-hailing application server through the user-side ride-hailing application. The ride-hailing application server is used to send multimedia data to the driver-side ride-hailing application so that the driver-side ride-hailing application can provide multimedia data to the vehicle multimedia application through the second embedded SDK, so that the vehicle multimedia application can play music based on the multimedia data.

[0077] Optionally, after receiving the multimedia data reported by the user-side ride-hailing application, the ride-hailing application server sends a reporting success notification to the user-side ride-hailing application. After receiving the reporting success notification, the user-side ride-hailing application confirms that it has successfully reported the multimedia data to the ride-hailing application server.

[0078] Optionally, if the user-side ride-hailing application does not receive a successful reporting notification from the ride-hailing application server within a certain period of time (e.g., 1 second, 2 seconds, etc.), the user-side ride-hailing application will re-report the multimedia data to the ride-hailing application server.

[0079] In this embodiment, upon receiving a ride-hailing instruction, the user terminal obtains multimedia data from the user multimedia application through the first embedded SDK of the user-side ride-hailing application, and reports the multimedia data to the ride-hailing application server through the user-side ride-hailing application. This allows the ride-hailing application server to send the multimedia data to the driver-side ride-hailing application. The driver-side ride-hailing application then provides the multimedia data to the vehicle-mounted multimedia application through the second embedded SDK, enabling the vehicle-mounted multimedia application to play music based on the multimedia data. Compared to related technologies where users can only play music through the vehicle-mounted system, the solution provided in this embodiment allows users to control the vehicle-mounted multimedia application on the vehicle-mounted terminal to play music through the user-side application on the user terminal. This further enriches the music playback options for users while riding in a ride-hailing vehicle, enhancing the user experience and enjoyment.

[0080] In one possible implementation, when a user terminal obtains multimedia data from a user multimedia application via the first embedded SDK of the user-side ride-hailing application, it needs to obtain permission to access the multimedia data, and then obtains the multimedia data only after confirming that the permission is granted. This method may include the following steps:

[0081] Step 1: Display permission setting prompts.

[0082] In this embodiment, the user terminal displays a permission setting prompt, which is used to instruct the user to grant permission to the ride-hailing application to access multimedia data.

[0083] Optionally, the user terminal can display permission setting prompts in the form of a permission setting card, in which the user can set the permission to grant the ride-hailing application on the user side access to multimedia data.

[0084] Indicative Figure 4 A schematic diagram of a ride-hailing interface provided in one embodiment of this application is shown. The ride-hailing interface 40 on the user's side displays a music playback function activation control 41, which the user uses to activate the music playback function.

[0085] Indicative, such as Figure 5 As shown, when the music playback function is enabled, the user terminal displays the permission settings card 51 in the ride-hailing interface 50.

[0086] Optionally, the user terminal can also display permission setting prompts in the form of permission setting prompt messages. Users can follow the instructions in the permission setting prompt messages to go to the settings interface to set the permission to grant the user-side ride-hailing application access to multimedia data.

[0087] Indicative, such as Figure 6 As shown, when the music playback function is enabled, the user terminal displays a permission setting prompt message 61 on the ride-hailing interface 60.

[0088] This is illustrative; please refer to it. Figure 7 This diagram illustrates a permission management interface provided in one embodiment of this application. Users can set permissions in the permission management interface 70 to grant access to multimedia data to the user-side ride-hailing application.

[0089] Optionally, the user terminal may only display the permission setting prompt when the music playback function is enabled for the first time, and save the user settings. When the music playback function is enabled again, the permission setting prompt will not be displayed, and the user-side ride-hailing application will be granted permission to access multimedia data by default according to the user settings.

[0090] Optionally, the user terminal can also display a permission setting prompt every time the music playback function is turned on, making it convenient for users to change the permissions granted to the user-side ride-hailing application to access multimedia data.

[0091] Step 2: Obtain multimedia data.

[0092] In one possible implementation, upon receiving an authorization instruction, the user terminal obtains multimedia data from the user's multimedia application via the first embedded SDK of the user-side ride-hailing application.

[0093] Optionally, the permission granting command can be a permission granting operation performed by the user on the user terminal. Upon detecting the permission granting operation, the user terminal responds by acquiring multimedia data. The permission granting operation can be a touch operation performed on relevant controls in the permission settings card or permission management interface, such as a click, swipe, or double-click. This application embodiment does not limit the specific permission granting operation.

[0094] Optionally, the permission granting command can also be a voice command. When the terminal hears audio such as "Enable XX permission" or "Open XX permission", it confirms that it has received the permission granting command.

[0095] Since users may not grant full access to multimedia data to the ride-hailing application on the user side, the user terminal needs to determine the scope of permissions indicated by the permission granting instruction. In one possible implementation, upon receiving the permission granting instruction, the user terminal determines the scope of permissions indicated by the permission granting instruction. The scope of permissions includes at least one of the following: playlists, user account information, music preferences, and historical playback records.

[0096] Furthermore, once the user terminal has determined the scope of permissions, it obtains multimedia data within the scope of permissions from the user's multimedia application through the first embedded SDK of the user-side ride-hailing application.

[0097] For illustrative purposes, if the permission granting instruction indicates that the permission scope only includes user account information, then the user terminal obtains the multimedia data corresponding to the user account information from the user multimedia application through the first embedded SDK of the user-side ride-hailing application. If the permission granting instruction indicates that the permission scope includes playlists, music preferences, and historical playback records, then the user terminal obtains the multimedia data corresponding to playlists, music preferences, and historical playback records from the user multimedia application through the first embedded SDK of the user-side ride-hailing application.

[0098] Optionally, if the scope of permissions includes playlists and the user's multimedia application contains multiple playlists, the user's terminal can display a playlist selection card. The card can contain multiple playlists from the user's multimedia application, and the user can select the playlists for which permissions are granted.

[0099] Step 3: Update multimedia data.

[0100] In one possible implementation, if a user disables a permission granted to a ride-hailing application to access multimedia data, the user terminal, upon receiving the permission disabling instruction, sends a permission disabling notification to the ride-hailing application server through the user-side ride-hailing application, so that the ride-hailing application server deletes the stored multimedia data.

[0101] Optionally, the permission disabling command can be a permission disabling operation performed by the user on the user terminal. Upon detecting the permission disabling operation, the user terminal responds by deleting multimedia data. The permission disabling operation can be a touch operation performed on relevant controls in the permission settings card or permission management interface, such as a click operation, a swipe operation, a double-click operation, etc. The embodiments of this application do not limit the specific permission disabling operation.

[0102] Optionally, the permission-removal command can also be a voice command. When the terminal hears audio such as "remove XX permission" or "cancel XX permission", it confirms that it has received the permission-removal command.

[0103] In this embodiment, the user terminal needs to obtain permission to access multimedia data. If permission is granted, the user terminal can access the multimedia data. If permission is denied, the user data can be deleted. This can better protect user privacy and allow the user to play personalized music based on the multimedia data within the scope of permission.

[0104] Please refer to Figure 8 This document illustrates a flowchart of an audio playback method provided in an exemplary embodiment of this application. This embodiment uses the method applied to an in-vehicle infotainment terminal as an example, and the method may include the following steps:

[0105] Step 801: Obtain multimedia data. The multimedia data is obtained by the user terminal when it receives a ride-hailing command.

[0106] Optionally, the vehicle terminal can obtain multimedia data through a communication connection with the user terminal, or obtain multimedia data reported by the user terminal through a server.

[0107] Step 802: Based on multimedia data, play music through the vehicle's multimedia application.

[0108] Optionally, the vehicle terminal provides multimedia data to the vehicle multimedia application so that the application can play music based on the multimedia data.

[0109] Optionally, the vehicle terminal can provide multimedia data to the vehicle multimedia application in the following ways: by sending multimedia data through the embedded SDK of the driver-side application, or by sending multimedia data through the data channel established between applications. This application embodiment does not limit this.

[0110] In one possible implementation, the vehicle terminal determines the target music based on multimedia data through the vehicle multimedia application and plays the target music through the vehicle multimedia application.

[0111] Optionally, since the multimedia data is data within the scope of permissions, which includes at least one of playlists, user account information, music preferences, and historical playback records, the vehicle terminal can determine different target music through the vehicle multimedia application based on multimedia data with different scopes of permissions.

[0112] Optionally, if the permissions include a playlist, the vehicle's infotainment system can use the vehicle's multimedia application to identify the music in the playlist as the target music.

[0113] Optionally, if the scope of permissions includes a single playlist, the vehicle terminal uses the vehicle multimedia application to identify the music in that playlist as the target music. If the scope of permissions includes multiple playlists, the vehicle terminal uses the vehicle multimedia application to search for overlapping music from multiple playlists and identify it as the target music, or identifies all the music in multiple playlists as the target music.

[0114] Optionally, if the scope of permissions includes user account information, the vehicle terminal sends a music recommendation request to the multimedia application server through the vehicle multimedia application based on the user account information, and then determines the recommended music returned by the multimedia application server as the target music.

[0115] Optionally, the in-vehicle multimedia application reports the user account information along with the music recommendation request to the multimedia application server. After receiving the music recommendation request, the multimedia application server searches for application data such as playlists, historical playback records, and music preferences corresponding to the user account information in the background. Based on the searched application data, it determines the user's preferences and sends recommended music to the in-vehicle multimedia application based on the user's preferences.

[0116] Optionally, if the scope of permissions includes music preferences, the vehicle terminal can use the vehicle multimedia application to select music that matches the music preferences as the target music.

[0117] Optionally, the multimedia application server pre-labels different types of music, such as "folk," "rock," "lyric," "light music," "anime," "film soundtrack," and "traditional Chinese style." The multimedia application server can determine the user's preferred tags based on the number of times the user plays music with different tags, or the user can choose their preferred tags themselves. When the user's terminal obtains music preferences, it can obtain the corresponding user preference tags and provide them to the in-vehicle multimedia application. Furthermore, after obtaining the user's preference tags, the driver-side music player can search for music with those tags and identify them as target music.

[0118] Optionally, if the scope of permissions includes historical playback records, the vehicle terminal can determine recommended music based on the historical music in the historical playback records through the vehicle multimedia application, and set the recommended music as the target music.

[0119] Optionally, if the permission scope includes at least two of the following: playlist, user account information, music preferences, and historical playback records, the vehicle terminal can select repeating songs as target music from the music indicated by different permission scopes through the vehicle multimedia application, or select all the music indicated by different permission scopes as target music.

[0120] As an illustration, when the scope of permissions includes music preferences and historical playback records, the vehicle terminal uses the vehicle multimedia application to determine music that matches the music preferences as the first target music, and determines recommended music based on historical music in the historical playback records as the second target music, and then selects overlapping music from the first target music and the second target music as the target music.

[0121] In summary, in this embodiment of the application, the vehicle terminal acquires multimedia data and plays music through the vehicle multimedia application based on the multimedia data, which can enrich the way users play music when taking a ride-hailing service and enhance the user's experience and enjoyment.

[0122] Please refer to Figure 9 This illustration shows a flowchart of an audio playback method provided in another exemplary embodiment of this application. This embodiment uses the method applied to an in-vehicle infotainment terminal as an example, and the method may include the following steps:

[0123] Step 901: Receive multimedia data sent by the ride-hailing application server through the driver-side ride-hailing application. The multimedia data is obtained from the user's multimedia application and reported by the user-side ride-hailing application through the first embedded SDK.

[0124] In this embodiment, the vehicle terminal receives multimedia data sent by the ride-hailing application server through the driver's side ride-hailing application.

[0125] Optionally, after receiving the multimedia data sent by the ride-hailing application server, the driver-side ride-hailing application sends a notification of successful delivery to the ride-hailing application server. Upon receiving the notification of successful delivery, the ride-hailing application server confirms that the multimedia data has been successfully delivered to the driver-side ride-hailing application.

[0126] Optionally, if the ride-hailing application server does not receive a successful delivery notification from the driver-side ride-hailing application within a certain period of time (e.g., 1 second, 2 seconds, etc.), the ride-hailing application server will resend the multimedia data to the driver-side ride-hailing application.

[0127] In one possible implementation, the vehicle terminal responds to the passenger's instruction to enable the music playback function by sending a notification to the ride-hailing application server to enable the function.

[0128] Optionally, the command to enable the passenger music playback function can be an operation performed by the driver on the vehicle's infotainment system. Upon detecting this operation, the vehicle's infotainment system sends a notification to the ride-hailing application server. The operation to enable the passenger music playback function can be a touch operation on the terminal's touchscreen display, such as clicking, swiping, double-tapping, or dragging. This embodiment does not limit the specific operation for enabling the passenger music playback function.

[0129] Optionally, the command to enable the passenger music playback function can also be a voice command. When the terminal hears audio such as "Enable passenger music playback function", "Open passenger music playback function" or "Start passenger music playback function", it confirms that it has received the command to enable the passenger music playback function.

[0130] Furthermore, in response to the passenger's instruction to enable the music playback function, the vehicle terminal sends a notification to the ride-hailing application server to enable the function. The ride-hailing application server then sends multimedia data to the driver's account that has enabled the passenger's music playback function.

[0131] Step 902: Provide multimedia data to the vehicle multimedia application through the second embedded SDK of the driver-side ride-hailing application.

[0132] In one possible implementation, the driver-side ride-hailing application includes a second embedded SDK, which is a program file of the vehicle-mounted multimedia application interface provided by a programming language. The driver-side ride-hailing application provides multimedia data to the vehicle-mounted multimedia application through the second embedded SDK.

[0133] Optionally, the second embedded SDK and the first embedded SDK can be the same program file with both functions, or they can be two program files with different functions.

[0134] Step 903: Based on multimedia data, play music through the vehicle's multimedia application.

[0135] Furthermore, after the driver-side ride-hailing app obtains multimedia data, it plays music through the in-vehicle multimedia app based on the multimedia data.

[0136] Optionally, to improve the efficiency of music playback on the vehicle terminal, when the driver-side ride-hailing application receives an order start command, the vehicle terminal plays music through the vehicle multimedia application. This order start command is used to indicate that the user has boarded the vehicle.

[0137] Optionally, after receiving multimedia data through the driver-side ride-hailing application, the vehicle-mounted terminal needs to determine whether the vehicle-mounted multimedia application is installed on the vehicle-mounted terminal. If it is determined that the vehicle-mounted multimedia application is installed on the vehicle-mounted terminal, multimedia data is provided to the vehicle-mounted multimedia application through the second embedded SDK of the driver-side ride-hailing application so that the vehicle-mounted multimedia application can play music. If it is determined that the vehicle-mounted multimedia application is not installed on the vehicle-mounted terminal, the corresponding mini-program or webpage of the vehicle-mounted multimedia application is launched, and multimedia data is provided to the mini-program or webpage so that the mini-program or webpage can play music.

[0138] In this embodiment, the vehicle terminal receives multimedia data from the ride-hailing application server through the driver-side ride-hailing application, and provides multimedia data to the vehicle multimedia application through the second embedded SDK of the driver-side ride-hailing application, so that the vehicle multimedia application can play music based on the multimedia data. In the solution provided by this embodiment, the user can control the vehicle multimedia application on the vehicle terminal to play music through the user-side application on the user terminal, which can further enrich the music playback methods of the user when taking a ride-hailing service and enhance the user's experience and fun when taking a ride-hailing service.

[0139] In one possible implementation, to further improve the accuracy and enjoyment of music recommendations to users, the vehicle terminal provides multimedia data to the vehicle multimedia application through the second embedded SDK of the driver-side ride-hailing application, and also provides trip information to the vehicle multimedia application, so that the vehicle multimedia application can determine the playback priority of the target music based on the trip information.

[0140] Optionally, the trip information may include at least one of the following: road conditions, trip duration, trip destination, and trip start time. This application does not limit the specific trip information.

[0141] Optionally, if the trip information includes road conditions, the vehicle terminal can determine the priority of music types through the vehicle multimedia application based on the road conditions.

[0142] As an illustration, music genres may include "rock," "rap," "traditional Chinese style," "soothing," "lyrical," and "light music." When the travel conditions indicate that the current journey is slow or congested, the in-vehicle multimedia application can prioritize playing more soothing music. In other words, "lyrical" and "light music" have higher priority, while "rock" and "rap" have lower priority.

[0143] Furthermore, the vehicle-mounted terminal determines the playback priority of the target music based on the music type priority and the music type of the target music.

[0144] The vehicle-mounted terminal determines the target music based on multimedia data, which includes music of different genres. The terminal then determines the playback priority of different genres within the target music according to the determined music genre priority and the genre of the target music.

[0145] Optionally, if the trip information includes the trip destination, the vehicle terminal can determine the matching degree between the target music and the trip destination through the vehicle multimedia application, and then determine the playback priority of the target music based on the matching degree.

[0146] As an illustration, when the destination is a location in Guangdong Province, the vehicle terminal can determine that music tagged "Cantonese" has a high degree of matching with the destination, that is, music tagged "Cantonese" has a higher playback priority.

[0147] Furthermore, the vehicle's infotainment system sorts all the music in the target music according to playback priority, and then plays the target music with the higher playback priority through the vehicle's multimedia application.

[0148] In this embodiment, the vehicle terminal provides trip information to the vehicle multimedia application so that the vehicle multimedia application can determine the playback priority of the target music based on the trip information, and then play the target music based on the playback priority. This can improve the adaptability of the target music to the user's scenario and enhance the user's experience and enjoyment when taking a ride-hailing service.

[0149] In one possible implementation, when the vehicle terminal is an electronic device outside the vehicle, in order to further enhance the user's experience of playing music in a ride-hailing vehicle, if the vehicle terminal has established a communication connection with the vehicle and a multimedia application is installed in the vehicle, the vehicle terminal will send multimedia data to the vehicle so that the vehicle can play music through the music playback application based on the multimedia data.

[0150] Optionally, when the communication connection between the vehicle terminal and the vehicle system is established wirelessly, such as via Bluetooth, WiFi, or mobile data network, the vehicle terminal automatically establishes a wireless communication connection with the vehicle system when it detects that the distance between itself and the vehicle system is less than a threshold, or when the vehicle terminal receives a Bluetooth broadcast from the vehicle system.

[0151] Optionally, when the communication connection between the vehicle terminal and the vehicle system is established via a wired method, such as via a USB data cable, the vehicle terminal establishes a wired communication connection with the vehicle system when it detects that it is connected to the vehicle system.

[0152] In another possible implementation, the vehicle terminal determines the target music based on multimedia data through the vehicle multimedia application and redirects the target music to the vehicle, so that the vehicle plays music based on the target music.

[0153] In this embodiment, the vehicle terminal sends multimedia data to the vehicle system, or redirects the target music to the vehicle system for playback. The vehicle system can display the lyrics or video of the target music on the display screen to enhance the user's experience when playing music during a ride.

[0154] Please refer to Figure 10 This diagram illustrates a structural block diagram of a music playback device according to an embodiment of this application. The device may include:

[0155] The first acquisition module 1001 is used to acquire the user's multimedia data when a ride-hailing instruction is received;

[0156] A module 1002 is provided to provide the multimedia data to the in-vehicle multimedia application corresponding to the ride-hailing command, so that the in-vehicle multimedia application can play music based on the multimedia data, wherein a communication channel is established between the user terminal and the in-vehicle multimedia application.

[0157] Optionally, the first acquisition module 1001 is used for:

[0158] Upon receiving the ride-hailing instruction, multimedia data is obtained from the user's multimedia application through the first embedded SDK of the user-side ride-hailing application.

[0159] The providing module 1002 is used for:

[0160] The user-side ride-hailing application reports the multimedia data to the ride-hailing application server, and the ride-hailing application server sends the multimedia data to the driver-side ride-hailing application. The driver-side ride-hailing application provides the multimedia data to the vehicle-mounted multimedia application through a second embedded SDK, so that the vehicle-mounted multimedia application can play music based on the multimedia data.

[0161] Optionally, the first acquisition module 1001 is used for:

[0162] Display permission setting prompt, the permission setting prompt is used to instruct the user-side ride-hailing application to grant permission to access the multimedia data;

[0163] Upon receiving an instruction to grant permissions, the multimedia data is obtained from the user's multimedia application through the first embedded SDK of the user-side ride-hailing application.

[0164] Optionally, the first acquisition module 1001 is further configured to:

[0165] Upon receiving the permission grant instruction, the scope of permissions indicated by the permission grant instruction is determined, and the scope of permissions includes at least one of playlists, user account information, music preferences, and historical playback records;

[0166] The multimedia data within the permission scope is obtained from the user's multimedia application through the first embedded SDK of the user-side ride-hailing application.

[0167] Optionally, the device further includes:

[0168] The first sending module is used to send a permission closure notification to the ride-hailing application server through the user-side ride-hailing application upon receiving a permission closure instruction, so that the ride-hailing application server deletes the stored multimedia data.

[0169] Optionally, the first acquisition module 1001 is used for:

[0170] Upon receiving the ride-hailing instruction, a ride-hailing request is sent to the ride-hailing application server;

[0171] Upon receiving an order acceptance notification from the ride-hailing application server, and the order acceptance notification instructing the driver's account to enable passenger music playback, the multimedia data is obtained from the user's multimedia application through the first embedded SDK of the user-side ride-hailing application.

[0172] In summary, in this embodiment of the application, upon receiving a ride-hailing instruction, the user terminal obtains the user's multimedia data and then provides the multimedia data to the in-vehicle multimedia application corresponding to the ride-hailing instruction, so that the in-vehicle multimedia application can play music based on the multimedia data. By adopting the solution provided in this embodiment of the application, the user's music playback methods when taking a ride-hailing service can be enriched, and the user's experience and enjoyment when taking a ride-hailing service can be improved.

[0173] Please refer to Figure 11 This diagram illustrates a structural block diagram of a music playback device according to an embodiment of this application. The device may include:

[0174] The second acquisition module 1101 is used to acquire multimedia data, which is obtained by the user terminal when it receives a ride-hailing instruction;

[0175] The playback module 1102 is used to play music through the vehicle's multimedia application based on the multimedia data.

[0176] Optionally, the second acquisition module 1101 is used for:

[0177] The driver-side ride-hailing application receives multimedia data sent by the ride-hailing application server. The multimedia data is obtained and reported by the user-side ride-hailing application from the user multimedia application through the first embedded SDK.

[0178] The playback module 1102 is used for:

[0179] The multimedia data is provided to the in-vehicle multimedia application through the second embedded SDK of the driver-side ride-hailing application;

[0180] Based on the multimedia data, music is played through the vehicle's multimedia application.

[0181] Optionally, the playback module 1102 is used for:

[0182] Based on the multimedia data, the target music is determined through the vehicle's multimedia application.

[0183] The target music is played through the vehicle's multimedia application.

[0184] Optionally, the multimedia data is data within the scope of permissions, and the scope of permissions includes at least one of playlists, user account information, music preferences, and historical playback records;

[0185] Optionally, the playback module 1102 is used for:

[0186] The music in the playlist is identified as the target music through the in-vehicle multimedia application.

[0187] Based on the user account information, a music recommendation request is sent to the multimedia application server through the vehicle multimedia application; the recommended music returned by the multimedia application server is determined as the target music.

[0188] The in-vehicle multimedia application is used to identify music that matches the user's musical preferences as the target music.

[0189] The vehicle's multimedia application determines recommended music based on the historical music in the playback history; the recommended music is then identified as the target music.

[0190] Optionally, the device further includes:

[0191] The trip information providing module is used to provide trip information to the vehicle multimedia application through the second embedded SDK of the driver-side ride-hailing application;

[0192] The priority determination module is used to determine the playback priority of the target music based on the trip information through the vehicle multimedia application;

[0193] The playback module 1102 is used for:

[0194] The target music is played through the vehicle's multimedia application according to the playback priority.

[0195] Optionally, the priority determination module is used to:

[0196] Based on the travel conditions included in the travel information, the music type priority is determined through the vehicle multimedia application; based on the music type priority and the music type of the target music, the playback priority of the target music is determined.

[0197] And / or,

[0198] Based on the destination information contained in the trip information, the matching degree between the target music and the destination is determined by the in-vehicle multimedia application; the playback priority of the target music is determined based on the matching degree.

[0199] Optionally, the device further includes:

[0200] The second sending module is used to send a function activation notification to the ride-hailing application server in response to a passenger's instruction to enable the music playback function. The ride-hailing application server is used to send the multimedia data to the driver's account that has enabled the passenger's music playback function.

[0201] In summary, in this embodiment of the application, the vehicle terminal acquires multimedia data and plays music through the vehicle multimedia application based on the multimedia data, which can enrich the way users play music when taking a ride-hailing service and enhance the user's experience and enjoyment.

[0202] It should be noted that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules when implementing its functions. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0203] Please refer to Figure 12 The diagram illustrates a structural block diagram of a music playback system according to an embodiment of this application. The music playback system includes a user terminal 1210, a vehicle-mounted terminal 1220, and a multimedia application server 1230.

[0204] The user terminal 1210 is equipped with a user multimedia application 1211;

[0205] The vehicle terminal 1220 is equipped with a vehicle multimedia application 1221;

[0206] The multimedia application server 1230 is used to provide services for the user multimedia application 1211 and the vehicle multimedia application 1221.

[0207] The user terminal 1210 is used to acquire the user's multimedia data upon receiving a ride-hailing instruction; and to provide the multimedia data to the in-vehicle multimedia application 1221 corresponding to the ride-hailing instruction.

[0208] The vehicle terminal 1220 is used to acquire multimedia data; based on the multimedia data, music is played through the vehicle multimedia application 1221.

[0209] It should be noted that the process of audio playback by user terminal 1210 and vehicle terminal 1220 can refer to the above method embodiment, and will not be repeated here.

[0210] Please refer to Figure 13 This diagram illustrates a structural block diagram of a terminal provided in an exemplary embodiment of this application. The terminal in this application may include one or more components such as a processor 1310 and a memory 1320.

[0211] Optionally, the processor 1310 connects various parts within the terminal using various interfaces and lines, and performs various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 1320, and by calling data stored in the memory 1320. Optionally, the processor 1310 can be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 1310 can integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), Neural-network Processing Unit (NPU), and baseband chip. Specifically, the CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required to be displayed on the touch screen; the NPU is used to implement Artificial Intelligence (AI) functions; and the baseband chip is used to handle wireless communication. It is understandable that the aforementioned baseband chip may not be integrated into the processor 1310, but may be implemented using a separate chip.

[0212] The memory 1320 may include random access memory (RAM) or read-only memory (ROM). Optionally, the memory 1320 may include a non-transitory computer-readable storage medium. The memory 1320 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 1320 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the various method embodiments described below, etc.; the data storage area may store data created according to the use of the terminal (such as audio data, phone book, etc.).

[0213] In addition, those skilled in the art will understand that the structure of the terminal shown in the above figures does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements. For example, the terminal may also include a display screen, camera assembly, microphone, speaker, radio frequency circuit, input unit, sensors (such as accelerometer, angular velocity sensor, light sensor, etc.), audio circuit, WiFi module, power supply, Bluetooth module, etc., which will not be described in detail here.

[0214] This application also provides a computer-readable storage medium storing at least one program, which is loaded and executed by a processor to implement the music playback method on the user terminal side as described in the above embodiments, or to implement the music playback method on the vehicle terminal side as described in the above embodiments.

[0215] This application also provides a computer program product, which includes computer instructions stored in a computer-readable storage medium; a terminal processor reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the terminal to execute the music playback method on the user terminal side or the music playback method on the vehicle terminal side provided in various optional implementations of the above aspects.

[0216] Those skilled in the art will recognize that the functions described in the embodiments of this application in one or more of the above examples can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0217] The above description is merely an exemplary embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for playing music, characterized in that, The method is used in a user terminal, and the method includes: Upon receiving a ride-hailing instruction, multimedia data is obtained from the user's multimedia application via the first embedded SDK of the user-side ride-hailing application. This process includes: displaying a permission setting prompt, indicating whether permission to access the multimedia data is granted to the user-side ride-hailing application; upon receiving a permission grant instruction, determining the scope of permissions indicated by the instruction, where the scope includes at least one of playlists, user account information, music preferences, and historical playback records; and obtaining the multimedia data within the permission scope from the user's multimedia application via the first embedded SDK of the user-side ride-hailing application, wherein the first embedded SDK is a program file providing a user multimedia application interface using a programming language. The user-side ride-hailing application reports the multimedia data to the ride-hailing application server. The ride-hailing application server then sends the multimedia data to the driver-side ride-hailing application. The driver-side ride-hailing application provides the multimedia data and trip information to the vehicle-mounted multimedia application via a second embedded SDK. This enables the vehicle-mounted multimedia application to determine the target music based on the multimedia data; determine the music type priority based on the road conditions included in the trip information; determine the playback priority of the target music based on the music type priority and the music type of the target music; and / or determine the matching degree between the target music and the trip destination based on the trip information; determine the playback priority of the target music based on the matching degree; and play the target music based on the playback priority. The second embedded SDK is a program file for the vehicle-mounted multimedia application interface provided by a programming language. The user multimedia application and the vehicle-mounted multimedia application are the same application or different applications with the same music playback function.

2. The method according to claim 1, characterized in that, The method further includes: Upon receiving a permission closure instruction, the user-side ride-hailing application sends a permission closure notification to the ride-hailing application server, causing the ride-hailing application server to delete the stored multimedia data.

3. The method according to claim 1, characterized in that, The method further includes: Upon receiving the ride-hailing instruction, a ride-hailing request is sent to the ride-hailing application server; Upon receiving an order acceptance notification from the ride-hailing application server, and the order acceptance notification instructing the driver's account to enable passenger music playback, the multimedia data is obtained from the user's multimedia application through the first embedded SDK of the user-side ride-hailing application.

4. A method for playing music, characterized in that, The method is used in a vehicle-mounted terminal, and the method includes: The driver-side ride-hailing application receives multimedia data sent from the ride-hailing application server. This multimedia data is obtained and reported by the user terminal from the user's multimedia application via a first embedded SDK upon receiving a ride-hailing instruction. The user terminal, upon receiving a ride-hailing instruction, obtains the multimedia data from the user's multimedia application via the first embedded SDK. Obtaining the multimedia data from the user's multimedia application via the first embedded SDK includes: displaying a permission setting prompt, indicating whether permission to access the multimedia data is granted to the user-side ride-hailing application; upon receiving a permission granting instruction, determining the scope of permissions indicated by the instruction, where the scope includes at least one of playlists, user account information, music preferences, and historical playback records; and obtaining the multimedia data within the scope of permissions from the user's multimedia application via the first embedded SDK. The first embedded SDK is a program file providing a user multimedia application interface using a programming language. The second embedded SDK of the driver-side ride-hailing application provides the multimedia data and trip information to the vehicle multimedia application. The second embedded SDK is a program file of the vehicle multimedia application interface provided by a programming language. The user multimedia application and the vehicle multimedia application are the same application or different applications with the same music playback function. Based on the multimedia data, the target music is determined through the vehicle's multimedia application. Based on the travel conditions included in the travel information, the vehicle's multimedia application determines the music type priority; based on the music type priority and the music type of the target music, the playback priority of the target music is determined; and / or, based on the travel destination included in the travel information, the vehicle's multimedia application determines the matching degree between the target music and the travel destination; based on the matching degree, the playback priority of the target music is determined; and the target music is played based on the playback priority.

5. The method according to claim 4, characterized in that, The determination of target music based on the multimedia data through the in-vehicle multimedia application includes at least one of the following: The music in the playlist is identified as the target music through the in-vehicle multimedia application. Based on the user account information, a music recommendation request is sent to the multimedia application server through the vehicle multimedia application. The recommended music returned by the multimedia application server is determined as the target music; The in-vehicle multimedia application is used to identify music that matches the user's musical preferences as the target music. The vehicle's multimedia application determines recommended music based on the historical music in the playback history; the recommended music is then identified as the target music.

6. The method according to claim 4, characterized in that, The method further includes: In response to a passenger's instruction to enable the music playback function, a notification to enable the function is sent to the ride-hailing application server. The ride-hailing application server then sends the multimedia data to the driver's account that has enabled the passenger's music playback function.

7. A music playback device, characterized in that, The device includes: The first acquisition module is configured to, upon receiving a ride-hailing instruction, acquire multimedia data from a user multimedia application via a first embedded SDK of the user-side ride-hailing application. The acquisition of multimedia data via the first embedded SDK of the user-side ride-hailing application includes: displaying a permission setting prompt, the prompt indicating the setting of permissions to grant the user-side ride-hailing application access to the multimedia data; upon receiving a permission granting instruction, determining the scope of permissions indicated by the instruction, the scope including at least one of playlists, user account information, music preferences, and historical playback records; and acquiring the multimedia data within the permission scope from the user multimedia application via the first embedded SDK of the user-side ride-hailing application, wherein the first embedded SDK is a program file providing a user multimedia application interface in a programming language. A module is provided for reporting multimedia data to a ride-hailing application server via the user-side ride-hailing application. The ride-hailing application server is used to send the multimedia data to a driver-side ride-hailing application. The driver-side ride-hailing application is used to provide the multimedia data and trip information to a vehicle-mounted multimedia application via a second embedded SDK, so that the vehicle-mounted multimedia application can determine the target music based on the multimedia data; determine the music type priority based on the trip traffic conditions included in the trip information; determine the playback priority of the target music based on the music type priority and the music type of the target music; and / or, determine the matching degree between the target music and the trip destination based on the trip destination included in the trip information; determine the playback priority of the target music based on the matching degree; and play the target music based on the playback priority. The second embedded SDK is a program file of a vehicle-mounted multimedia application interface provided by a programming language. The user multimedia application and the vehicle-mounted multimedia application are the same application or different applications with the same music playback function.

8. A music playback device, characterized in that, The device includes: The second acquisition module is used to receive multimedia data sent by the ride-hailing application server through the driver-side ride-hailing application. This multimedia data is acquired and reported by the user terminal from the user's multimedia application via a first embedded SDK upon receiving a ride-hailing instruction. The user terminal, upon receiving a ride-hailing instruction, acquires the multimedia data from the user's multimedia application via the first embedded SDK of the user-side ride-hailing application. Acquiring the multimedia data from the user's multimedia application via the first embedded SDK of the user-side ride-hailing application includes: displaying a permission setting prompt, which instructs the user to grant permission to access the multimedia data to the user-side ride-hailing application; upon receiving a permission grant instruction, determining the scope of permissions indicated by the permission grant instruction, whereby the scope includes at least one of playlists, user account information, music preferences, and historical playback records; and acquiring the multimedia data within the scope of permissions from the user's multimedia application via the first embedded SDK of the user-side ride-hailing application. The first embedded SDK is a program file providing a user multimedia application interface using a programming language. The playback module is used to provide multimedia data and trip information to the vehicle multimedia application through the second embedded SDK of the driver-side ride-hailing application. The second embedded SDK is a program file of the vehicle multimedia application interface provided by a programming language. The user multimedia application and the vehicle multimedia application are the same application or different applications with the same music playback function. Based on the multimedia data, the target music is determined through the vehicle's multimedia application. Based on the travel conditions included in the travel information, the vehicle's multimedia application determines the music type priority; based on the music type priority and the music type of the target music, the playback priority of the target music is determined; and / or, based on the travel destination included in the travel information, the vehicle's multimedia application determines the matching degree between the target music and the travel destination; based on the matching degree, the playback priority of the target music is determined; and the target music is played based on the playback priority.

9. A terminal, characterized in that, The terminal includes a processor and a memory; the memory stores at least one program for being loaded and executed by the processor to implement the music playback method as described in any one of claims 1 to 3, or to implement the music playback method as described in any one of claims 4 to 6.

10. A music playback system, characterized in that, The music playback system includes a user terminal, a vehicle-mounted terminal, and a multimedia application server. The user terminal has a user multimedia application installed. The vehicle terminal is equipped with a vehicle multimedia application; The multimedia application server is used to provide services for the user multimedia application and the vehicle multimedia application. The user multimedia application and the vehicle multimedia application are the same application or different applications with the same music playback function. The user terminal is configured to, upon receiving a ride-hailing instruction, obtain multimedia data from the user multimedia application via a first embedded SDK of the user-side ride-hailing application. The step of obtaining multimedia data from the user multimedia application via the first embedded SDK of the user-side ride-hailing application includes: displaying a permission setting prompt, wherein the permission setting prompt is used to indicate that permission to obtain the multimedia data is granted to the user-side ride-hailing application. Upon receiving a permission grant instruction, the scope of permissions indicated by the permission grant instruction is determined, and the scope of permissions includes at least one of playlists, user account information, music preferences, and historical playback records; The user-side ride-hailing application obtains the multimedia data within the scope of permissions from the user multimedia application through the first embedded SDK, wherein the first embedded SDK is a program file of the user multimedia application interface provided by a programming language; and reports the multimedia data to the ride-hailing application server through the user-side ride-hailing application. The vehicle-mounted terminal is configured to receive multimedia data from a ride-hailing application server via a driver-side ride-hailing application; provide the multimedia data and trip information to the vehicle-mounted multimedia application via a second embedded SDK of the driver-side ride-hailing application, wherein the second embedded SDK is a program file providing the vehicle-mounted multimedia application interface in a programming language; determine target music via the vehicle-mounted multimedia application based on the multimedia data; determine music type priority via the vehicle-mounted multimedia application based on the trip traffic conditions included in the trip information; determine the playback priority of the target music based on the music type priority and the music type of the target music; and / or determine the matching degree between the target music and the trip destination via the vehicle-mounted multimedia application based on the trip destination included in the trip information; determine the playback priority of the target music based on the matching degree; and play the target music based on the playback priority.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one program, which is loaded and executed by a processor to implement the music playback method as described in any one of claims 1 to 3, or to implement the music playback method as described in any one of claims 4 to 6.

12. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium; the processor of the terminal reads the computer instructions from the computer-readable storage medium, causing the terminal to execute the music playback method as described in any one of claims 1 to 3, or to implement the music playback method as described in any one of claims 4 to 6.