Cabin vehicle-mounted Bluetooth quick playing method and device

By decoding and determining the media type on the in-vehicle system side, transmitting audio focus and ID3 information, and controlling the playback or stop of the in-vehicle Bluetooth music application, the problem of cumbersome Bluetooth music playback operation and poor user experience is solved, realizing convenient in-vehicle Bluetooth audio playback.

CN121967964APending Publication Date: 2026-05-01CHERY AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHERY AUTOMOBILE CO LTD
Filing Date
2026-01-30
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

Existing Bluetooth music playback processing strategies are cumbersome to operate, result in a poor user experience, and media information and system notifications transmitted via the Bluetooth A2DP protocol will interrupt the current media playback.

Method used

The media audio data from the target mobile phone is transmitted to the vehicle system for decoding. The media type is determined, and the audio focus and ID3 information are transmitted to Bluetooth. Based on the media playback status and ID3 information, the system controls the playback or stop operation of the vehicle's Bluetooth music application.

Benefits of technology

When the Bluetooth music player in the car's infotainment system has no audio focus, the audio can be played on the mobile phone, avoiding the need to switch Bluetooth music, reducing interruptions from system notification sounds, and improving ease of operation and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121967964A_ABST
    Figure CN121967964A_ABST
Patent Text Reader

Abstract

The invention relates to a cockpit vehicle-mounted Bluetooth quick playing method and device, and the method comprises the steps: transmitting media audio data of a target mobile phone end to a vehicle-mounted system end of a current vehicle, and decoding the media audio data through the vehicle-mounted system end, so as to obtain corresponding decoded data; and determining a media type corresponding to the media audio data according to the decoded data so as to obtain target media audio data of which the media type is a target media type, and transmitting an audio focus of the target media audio data to Bluetooth, the media playing state corresponding to the target media audio data and the id3 information of the Bluetooth are transmitted to the vehicle Bluetooth music application through the Bluetooth according to the audio focus; and based on the media playing state and the id3 information, controlling the vehicle Bluetooth music application to execute corresponding playing or stopping operation. Therefore, the problems that the operation process of an existing Bluetooth music playing processing strategy is tedious, and the use experience of a user is poor are solved.
Need to check novelty before this filing date? Find Prior Art

Description

In-cabin Bluetooth quick playback method and device Technical Field

[0001] This application relates to the field of in-vehicle entertainment system technology, and in particular to a method and device for in-vehicle Bluetooth quick playback in a cockpit. Background Technology

[0002] Currently, existing Bluetooth music playback processing strategies require switching the vehicle's audio source to the Bluetooth music interface every time Bluetooth music is played, and playback must be initiated from within the Bluetooth music interface, making the process cumbersome. Furthermore, while existing strategies can prioritize playing music from the mobile phone's Bluetooth, media information transmitted via the Bluetooth A2DP protocol, system notifications, and system touch sounds all interrupt the current media playback, significantly impacting the user experience and requiring immediate resolution. Summary of the Invention

[0003] This application provides a method and device for quick Bluetooth playback in a vehicle cabin, in order to solve the problems of cumbersome operation process and poor user experience of existing Bluetooth music playback processing strategies.

[0004] The first aspect of this application provides a method for quick playback via Bluetooth in a vehicle cabin, comprising the following steps: transmitting media audio data from a target mobile phone to the vehicle's in-vehicle system, and decoding the media audio data through the in-vehicle system to obtain corresponding decoded data; determining the media type corresponding to the media audio data based on the decoded data to obtain target media audio data of the target media type, and transferring the audio focus of the target media audio data to Bluetooth, so that the media playback status corresponding to the target media audio data and the Bluetooth ID3 information are transmitted to the vehicle's Bluetooth music application based on the audio focus; and controlling the vehicle's Bluetooth music application to perform corresponding playback or stop operations based on the media playback status and the ID3 information.

[0005] Optionally, in one embodiment of this application, the step of transmitting the media audio data from the target mobile phone to the vehicle's in-vehicle system and decoding the media audio data through the in-vehicle system to obtain corresponding decoded data includes: having the user open a music application or any media application on the target mobile phone and enable a pre-set Bluetooth playback switch setting in the in-vehicle system, so that when the media audio is played on the target mobile phone, the media audio data is compressed and sent to the in-vehicle system via a preset Bluetooth protocol, and the compressed media audio data is decoded on the in-vehicle system to obtain the decoded data.

[0006] Optionally, in one embodiment of this application, the step of determining the media type corresponding to the media audio data based on the decoded data to obtain target media audio data whose media type is the target media type, and transmitting the audio focus of the target media audio data to Bluetooth, so as to transmit the media playback status corresponding to the target media audio data and the Bluetooth ID3 information to the vehicle Bluetooth music application based on the audio focus, includes: using a preset Bluetooth service to determine the media type corresponding to the media audio data based on the decoded data, so as to retain the target media audio data whose media type is the target media type and filter other types of media audio data; sending the audio focus of the target media audio data corresponding to the vehicle system to Bluetooth, pausing the audio currently played by the media focus of the vehicle system, and decoding the target media audio data when the vehicle system detects Bluetooth, so as to determine the media playback status corresponding to the target media audio data and the Bluetooth ID3 information, and transmitting the media playback status and the Bluetooth ID3 information to the vehicle Bluetooth music application through the Bluetooth mediasession.

[0007] Optionally, in one embodiment of this application, controlling the vehicle Bluetooth music application to perform a corresponding play or stop operation based on the media playback status and the ID3 information includes: when the media playback status is in a playing state, controlling the vehicle Bluetooth music application to perform a corresponding play operation; when the media playback status is in a stop state, controlling the vehicle Bluetooth music application to perform a corresponding stop operation; after performing a play or stop operation, sending the audio focus to the original media focus through the vehicle system to continue performing the playback operation corresponding to the original media focus.

[0008] A second aspect of this application provides a cabin-mounted Bluetooth quick playback device, comprising: a decoding module, configured to transmit media audio data from a target mobile phone to the vehicle's in-vehicle system, and decode the media audio data through the in-vehicle system to obtain corresponding decoded data; a transmission module, configured to determine the media type corresponding to the media audio data based on the decoded data, obtain target media audio data whose media type is the target media type, and transmit the audio focus of the target media audio data to Bluetooth, so that the media playback status corresponding to the target media audio data and the Bluetooth ID3 information are transmitted to the vehicle's Bluetooth music application based on the audio focus; and a playback module, configured to control the vehicle's Bluetooth music application to perform corresponding playback or stop operations based on the media playback status and the ID3 information.

[0009] Optionally, in one embodiment of this application, the decoding module includes: a compression unit, configured to, when a user opens a music application or any media application on the target mobile phone and enables a pre-set mobile phone Bluetooth playback switch setting in the vehicle system, compress and send the media audio data to the vehicle system via a preset Bluetooth protocol when media audio is played on the target mobile phone, and decode the compressed media audio data on the vehicle system to obtain the decoded data.

[0010] Optionally, in one embodiment of this application, the transmission module includes: a retention unit, configured to use a preset Bluetooth service to determine the media type corresponding to the media audio data based on the decoded data, so as to retain the target media audio data whose media type is the target media type and filter other types of media audio data; and a determination unit, configured to send the audio focus of the target media audio data corresponding to the vehicle system to the Bluetooth, and pause the audio played by the current media focus of the vehicle system, and, when the vehicle system detects the Bluetooth, decode the target media audio data to determine the media playback status corresponding to the target media audio data and the Bluetooth ID3 information, and transmit the media playback status and the Bluetooth ID3 information to the vehicle Bluetooth music application through the Bluetooth mediasession.

[0011] Optionally, in one embodiment of this application, the playback module includes: a first control unit, configured to control the vehicle Bluetooth music application to perform a corresponding playback operation when the media playback state is playing; a second control unit, configured to control the vehicle Bluetooth music application to perform a corresponding stop operation when the media playback state is stop; and an execution unit, configured to send the audio focus to the original media focus through the vehicle system after performing a playback or stop operation, so as to continue performing the playback operation corresponding to the original media focus.

[0012] A third aspect of this application provides a vehicle, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the in-vehicle Bluetooth quick playback method as described in the above embodiments.

[0013] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described in-vehicle Bluetooth quick playback method.

[0014] A fifth aspect of this application provides a computer program product, including a computer program that is executed to implement the above-described in-vehicle Bluetooth quick playback method.

[0015] Therefore, the embodiments of this application have the following beneficial effects: The embodiments of this application can transmit media audio data from the target mobile phone to the vehicle's in-vehicle system, and decode the media audio data to obtain corresponding decoded data. Based on the decoded data, the media type corresponding to the media audio data is determined, and target media audio data of the target media type is obtained. The audio focus of the target media audio data is then transferred to Bluetooth, so that the media playback status and Bluetooth ID3 information corresponding to the target media audio data are transmitted to the vehicle's Bluetooth music application based on the audio focus. Based on the media playback status and ID3 information, the vehicle's Bluetooth music application is controlled to perform corresponding play or stop operations. This application allows the vehicle to briefly acquire the system's media focus and play audio from the mobile phone when the vehicle's Bluetooth music does not have audio focus, without switching to Bluetooth music playback or interrupting the currently playing media information on the vehicle with phone notification sounds or key presses. This solves the problems of cumbersome operation and poor user experience of existing Bluetooth music playback processing strategies.

[0016] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0017] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which: Figure 1 is a flowchart of a cabin-mounted Bluetooth quick playback method provided according to an embodiment of this application; Figure 2 is a schematic diagram of the execution logic of a cabin-mounted Bluetooth quick playback method provided according to an embodiment of this application; Figure 3 is a schematic diagram of the logical architecture of a cabin-mounted Bluetooth quick playback method provided according to an embodiment of this application; Figure 4 is an example diagram of a cabin-mounted Bluetooth quick playback device according to an embodiment of this application; Figure 5 is a schematic diagram of the structure of a vehicle provided according to an embodiment of this application.

[0018] Among them, 10-in-cabin Bluetooth quick playback device; 100-decoding module, 200-transmission module, 300-playback module; 501-memory, 502-processor, 503-communication interface. Detailed Implementation

[0019] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.

[0020] The following describes a cockpit-mounted vehicle Bluetooth quick playback method and apparatus according to embodiments of this application, with reference to the accompanying drawings. Addressing the problems mentioned in the background section, this application provides a cockpit-mounted vehicle Bluetooth quick playback method. In this method, media audio data from a target mobile phone is transmitted to the vehicle's in-vehicle system. The in-vehicle system decodes the media audio data to obtain corresponding decoded data. Based on the decoded data, the media type corresponding to the media audio data is determined, and target media audio data of the target media type is obtained. The audio focus of the target media audio data is then transferred to Bluetooth. Bluetooth transmits the media playback status and Bluetooth ID3 information corresponding to the target media audio data to the vehicle's Bluetooth music application based on the audio focus. Based on the media playback status and ID3 information, the vehicle's Bluetooth music application is controlled to perform corresponding play or stop operations. This application allows the vehicle to briefly acquire the system's media focus and play audio from the mobile phone when the vehicle's Bluetooth music does not have audio focus, without switching to Bluetooth music playback. It also prevents interruptions to the currently playing media information on the vehicle from mobile phone notification sounds or key presses. This solves the problems of cumbersome operation and poor user experience associated with existing Bluetooth music playback processing strategies.

[0021] Specifically, Figure 1 is a flowchart of a cabin-mounted Bluetooth quick playback method provided in an embodiment of this application.

[0022] As shown in Figure 1, the in-vehicle Bluetooth quick playback method includes the following steps: In step S101, the media audio data of the target mobile phone is transmitted to the in-vehicle system of the current vehicle, and the media audio data is decoded by the in-vehicle system to obtain the corresponding decoded data.

[0023] This application embodiment firstly allows the addition of a switch setting for Bluetooth playback from a mobile phone in the vehicle's infotainment system settings. Enabling this switch setting will execute the corresponding function, disabling the previous native Bluetooth function. Secondly, this application embodiment allows the transmission of media audio from the mobile phone to the vehicle's system via the A2DP Bluetooth protocol, including media sounds, notification sounds, and button touch sounds from the mobile phone.

[0024] Subsequently, in this embodiment of the application, the media audio data from the mobile phone can be transmitted to the vehicle's in-vehicle system, and the media audio data can be decoded by the in-vehicle system to obtain the corresponding decoded data.

[0025] Therefore, the embodiments of this application improve the compatibility and ease of operation of in-vehicle Bluetooth audio transmission by adding a Bluetooth play-on switch to the vehicle system and disabling the native Bluetooth function, and transmitting the full audio from the mobile phone to the vehicle system based on the A2DP protocol, which is then decoded and played.

[0026] Optionally, in one embodiment of this application, the media audio data from the target mobile phone is transmitted to the vehicle's in-vehicle system, and the media audio data is decoded by the in-vehicle system to obtain the corresponding decoded data. This includes: the user opens a music application or any media application on the target mobile phone and turns on a pre-set Bluetooth playback switch setting in the in-vehicle system. When the media audio is played on the target mobile phone, the media audio data is compressed and sent to the in-vehicle system via a preset Bluetooth protocol, and the compressed media audio data is decoded by the in-vehicle system to obtain the decoded data.

[0027] Specifically, in the embodiments of this application, when the user has no focus on the vehicle system and the mobile phone and the vehicle's Bluetooth music device have completed Bluetooth pairing, the user can open a music or other media app on the mobile phone to play music or voice. The vehicle system settings application Bluetooth settings have added a switch to select priority playback of mobile phone audio. When turned off, the mobile phone endpoint will not be able to play Bluetooth music on the vehicle system, and the vehicle system's Bluetooth music will not respond to the Bluetooth protocol status. If this setting is turned on, Bluetooth music will be played through the mobile phone. The mobile phone Bluetooth music compresses the media information on the mobile phone side to the vehicle side through the Bluetooth protocol a2dp, and the vehicle system side decodes it to obtain the decoded data.

[0028] Therefore, the embodiments of this application improve the flexibility and adaptability of in-vehicle Bluetooth audio playback by adding a mobile phone audio priority playback switch to the vehicle system. This allows the native Bluetooth playback logic to be turned off as needed, and when turned on, the mobile phone media audio is transmitted to the vehicle system for decoding and playback via the A2DP protocol.

[0029] In step S102, the media type corresponding to the media audio data is determined according to the decoded data, so as to obtain the target media audio data with the target media type, and the audio focus of the target media audio data is transferred to Bluetooth, so as to transmit the media playback status and Bluetooth ID3 information corresponding to the target media audio data to the vehicle Bluetooth music application according to the audio focus.

[0030] Further, as shown in Figure 2, in the embodiments of this application, the vehicle system can decode and play the media audio data transmitted via the protocol stack. Simultaneously, the Bluetooth service determines the media type transmitted via the protocol, filters the media type, and filters out sounds other than the media. The system audio focus is given to Bluetooth, and other modules passively discard focus, thus pausing playback. In addition, the Bluetooth service transmits the Bluetooth ID3 information to the vehicle's Bluetooth music app through the system ICP framework's MediaSession.

[0031] Therefore, the embodiments of this application decode the media audio transmitted via Bluetooth through the vehicle system, filter out non-media sounds, allocate audio focus to Bluetooth and pause playback of other modules, and simultaneously transmit ID3 information to the vehicle's infotainment app, thereby improving the purity and interactive experience of in-vehicle Bluetooth audio playback.

[0032] Optionally, in one embodiment of this application, the media type corresponding to the media audio data is determined based on the decoded data to obtain target media audio data of the target media type, and the audio focus of the target media audio data is transferred to Bluetooth, so that the media playback status and Bluetooth ID3 information corresponding to the target media audio data are transmitted to the vehicle Bluetooth music application based on the audio focus. This includes: using a preset Bluetooth service to determine the media type corresponding to the media audio data based on the decoded data, retaining the target media audio data of the target media type, and filtering other types of media audio data; sending the audio focus of the target media audio data corresponding to the vehicle system to Bluetooth, pausing the audio currently played by the media focus of the vehicle system, and decoding the target media audio data when the vehicle system detects Bluetooth to determine the media playback status and Bluetooth ID3 information corresponding to the target media audio data, and transmitting the media playback status and Bluetooth ID3 information to the vehicle Bluetooth music application through Bluetooth mediasession.

[0033] It should be noted that, as shown in Figure 3, when the mobile phone's Bluetooth music compresses the media information from the mobile phone to the vehicle's infotainment system via the Bluetooth a2dp protocol, the vehicle's infotainment system decodes the audio while filtering the information transmitted via the response protocol in the Bluetooth service blutootha2dpservice at the framework layer. The a2dp protocol can transmit system notification sounds, mobile phone key presses, and media playback sounds. Any sound from the mobile phone will be transmitted to the vehicle's infotainment system via this protocol.

[0034] In actual implementation, this application embodiment can rely on the preset blutootha2dpservice Bluetooth service to determine the type of media audio data based on the decoded data, retain only the audio data of the target media type and filter the other types of data; allocate the audio focus of the vehicle system to Bluetooth, and pause the audio playback of other media focuses; after the vehicle system detects the Bluetooth connection status, it decodes the target media audio data, simultaneously identifies the media playback status and Bluetooth ID3 information, and transmits the two types of information to the vehicle Bluetooth music application through Bluetooth mediasession.

[0035] Therefore, the embodiments of this application use Bluetooth service to filter non-target media audio, allocate audio focus and pause other playback, and synchronously transmit media playback status and ID3 information to the vehicle application to improve the accuracy and consistency of in-vehicle Bluetooth music playback.

[0036] In step S103, based on the media playback status and ID3 information, the vehicle's Bluetooth music application is controlled to perform the corresponding play or stop operation.

[0037] Subsequently, embodiments of this application can utilize a Bluetooth music app to respond to the status of the transmitted media information (i.e., play or stop); furthermore, embodiments of this application can, after temporarily finishing playback on the mobile phone, return the original audio focus to the previous source to continue playback.

[0038] Optionally, in one embodiment of this application, based on the media playback status and ID3 information, the vehicle's Bluetooth music application is controlled to perform a corresponding play or stop operation, including: when the media playback status is playing, the vehicle's Bluetooth music application is controlled to perform a corresponding play operation; when the media playback status is stop, the vehicle's Bluetooth music application is controlled to perform a corresponding stop operation; after performing the play or stop operation, the audio focus is sent to the original media focus through the vehicle system to continue performing the playback operation corresponding to the original media focus.

[0039] As one possible approach, this application embodiment can temporarily assign the media focus of the vehicle system to Bluetooth music, interrupt and pause the media focus currently being played on the vehicle system, assign the focus in the system focus matrix to Bluetooth music, and the vehicle system detects Bluetooth music and plays it based on the playback status of the ID3 information transmitted by the mediasession. "playing" indicates that the focus is temporarily seized for playback, and "stop" indicates that Bluetooth playback is complete and playback needs to be stopped and the original focus restored.

[0040] Subsequently, in this embodiment of the application, after the media playback on the mobile phone ends, the media focus of the vehicle system automatically returns the focus in the audio matrix to the previous source (i.e., the original media focus). For example, if the user played USB music before playing WeChat voice messages on their mobile phone, the USB music will continue to play after the user finishes listening to the WeChat voice messages, and the source controlled by the steering wheel will still be the previous USB music.

[0041] It is understood that, in the embodiments of this application, the vehicle system's Bluetooth music can be played by clicking on a mobile phone to play WeChat voice messages or music media software when there is no audio focus. This allows the vehicle system to briefly obtain the system's media focus and play audio from the mobile phone without switching to Bluetooth music playback. It also prevents the media information currently being played by the vehicle system from being interrupted by mobile phone system notification sounds or button sounds, and only plays the audio that the user clicked to play.

[0042] The in-vehicle Bluetooth quick playback method proposed in this application involves transmitting media audio data from a target mobile phone to the vehicle's in-vehicle system. The in-vehicle system decodes the media audio data to obtain corresponding decoded data. Based on the decoded data, the media type is determined, and target media audio data of the target media type is obtained. The audio focus of the target media audio data is then transferred to Bluetooth. Bluetooth transmits the media playback status and Bluetooth ID3 information corresponding to the target media audio data to the vehicle's Bluetooth music application based on the audio focus. Based on the media playback status and ID3 information, the vehicle's Bluetooth music application is controlled to perform corresponding play or stop operations. This application allows the vehicle's in-vehicle system to briefly acquire the system's media focus and play audio from the mobile phone when the vehicle's Bluetooth music does not have audio focus, without switching to Bluetooth music playback. It also prevents interruptions from mobile phone notifications or button sounds from interrupting the currently playing media information on the vehicle's in-vehicle system.

[0043] Secondly, the in-vehicle Bluetooth quick playback device according to an embodiment of this application is described with reference to the accompanying drawings.

[0044] Figure 4 is a block diagram of the in-cabin Bluetooth quick play device according to an embodiment of this application.

[0045] As shown in Figure 4, the in-vehicle Bluetooth quick playback device 10 includes: a decoding module 100, a transmission module 200, and a playback module 300.

[0046] The decoding module 100 is used to transmit the media audio data from the target mobile phone to the vehicle's in-vehicle system, and decode the media audio data through the in-vehicle system to obtain the corresponding decoded data.

[0047] The transmission module 200 is used to determine the media type corresponding to the media audio data based on the decoded data, to obtain the target media audio data with the target media type as the target media type, and to transmit the audio focus of the target media audio data to Bluetooth, so as to transmit the media playback status and Bluetooth ID3 information corresponding to the target media audio data to the vehicle Bluetooth music application based on the audio focus.

[0048] The playback module 300 is used to control the vehicle's Bluetooth music application to perform corresponding play or stop operations based on the media playback status and ID3 information.

[0049] Optionally, in one embodiment of this application, the decoding module 100 includes: a compression unit, configured to compress and send media audio data to the vehicle system via a preset Bluetooth protocol when the user opens a music application or any media application on the target mobile phone and turns on a pre-set mobile phone Bluetooth playback switch setting in the vehicle system, and decode the compressed media audio data on the vehicle system to obtain decoded data.

[0050] Optionally, in one embodiment of this application, the transmission module 200 includes a retention unit and a determination unit.

[0051] The retention unit is used to determine the media type corresponding to the media audio data based on the decoded data using a preset Bluetooth service, so as to retain the target media audio data whose media type is the target media type and filter other types of media audio data.

[0052] The determining unit is used to send the audio focus of the target media audio data corresponding to the vehicle system to Bluetooth, and pause the audio playback of the current media focus of the vehicle system. When the vehicle system detects Bluetooth, it decodes the target media audio data to determine the media playback status and Bluetooth ID3 information corresponding to the target media audio data, and transmits the media playback status and Bluetooth ID3 information to the vehicle Bluetooth music application through Bluetooth mediasession.

[0053] Optionally, in one embodiment of this application, the playback module 300 includes: a first control unit, a second control unit, and an execution unit.

[0054] The first control unit is used to control the vehicle's Bluetooth music application to perform the corresponding playback operation when the media playback status is "playing".

[0055] The second control unit is used to control the vehicle's Bluetooth music application to perform the corresponding stop operation when the media playback status is "stop".

[0056] The execution unit is used to send the audio focus to the original media focus through the vehicle system after performing a playback or stop operation, so as to continue the playback operation corresponding to the original media focus.

[0057] It should be noted that the foregoing explanation of the embodiment of the in-vehicle Bluetooth quick playback method also applies to the in-vehicle Bluetooth quick playback device of this embodiment, and will not be repeated here.

[0058] The in-vehicle Bluetooth quick playback device proposed in this application includes a decoding module 100, used to transmit media audio data from a target mobile phone to the vehicle's in-vehicle system, and decode the media audio data through the in-vehicle system to obtain corresponding decoded data; a transmission module 200, used to determine the media type corresponding to the media audio data based on the decoded data, obtain target media audio data of the target media type, and transmit the audio focus of the target media audio data to Bluetooth, so as to transmit the media playback status and Bluetooth ID3 information corresponding to the target media audio data to the vehicle's Bluetooth music application based on the audio focus; and a playback module 300, used to control the vehicle's Bluetooth music application to perform corresponding playback or stop operations based on the media playback status and ID3 information. This application allows the vehicle's Bluetooth music application to briefly acquire the system media focus and play audio from the mobile phone when the vehicle's Bluetooth music does not have audio focus, without switching to Bluetooth music playback, and without interrupting the media information currently being played by the vehicle's system due to mobile phone notification sounds or key presses.

[0059] Figure 5 is a schematic diagram of the structure of a vehicle provided in an embodiment of this application. The vehicle may include: a memory 501, a processor 502, and a computer program stored in the memory 501 and executable on the processor 502.

[0060] When the processor 502 executes the program, it implements the cabin-mounted Bluetooth quick playback method provided in the above embodiments.

[0061] Furthermore, the vehicle also includes a communication interface 503 for communication between the memory 501 and the processor 502.

[0062] The memory 501 is used to store computer programs that can run on the processor 502.

[0063] Memory 501 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0064] If the memory 501, processor 502, and communication interface 503 are implemented independently, they can be interconnected via a bus to communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of representation, only one thick line is used in Figure 5, but this does not indicate that there is only one bus or one type of bus.

[0065] Optionally, in a specific implementation, if the memory 501, processor 502, and communication interface 503 are integrated on a single chip, then the memory 501, processor 502, and communication interface 503 can communicate with each other through an internal interface.

[0066] Processor 502 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.

[0067] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the above-described cockpit-mounted Bluetooth quick playback method.

[0068] This application also provides a computer program product, including a computer program, which, when executed, is used to implement the above-described in-vehicle Bluetooth quick playback method.

[0069] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0070] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0071] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.

[0072] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.

[0073] It should be understood that the various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0074] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.

[0075] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

[0076] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.

Claims

1. A method for quick playback via Bluetooth in a vehicle cabin, characterized in that, Includes the following steps: The media audio data from the target mobile phone is transmitted to the vehicle's in-vehicle system, and the media audio data is decoded by the in-vehicle system to obtain the corresponding decoded data. Based on the decoded data, the media type corresponding to the media audio data is determined, and target media audio data of the target media type is obtained. The audio focus of the target media audio data is then transferred to Bluetooth, so that the media playback status corresponding to the target media audio data and the Bluetooth ID3 information are transmitted to the in-vehicle Bluetooth music application based on the audio focus. Based on the media playback status and the ID3 information, the vehicle's Bluetooth music application is controlled to perform the corresponding play or stop operation.

2. The method according to claim 1, characterized in that, The step of transmitting media audio data from the target mobile phone to the vehicle's in-vehicle system and decoding the media audio data through the in-vehicle system to obtain corresponding decoded data includes: having the user open a music application or any media application on the target mobile phone and enable a pre-set Bluetooth playback switch setting on the in-vehicle system; when media audio is played on the target mobile phone, the media audio data is compressed and sent to the in-vehicle system via a preset Bluetooth protocol; and the compressed media audio data is decoded on the in-vehicle system to obtain the decoded data.

3. The method according to claim 2, characterized in that, The step of determining the media type corresponding to the media audio data based on the decoded data, obtaining target media audio data whose media type is the target media type, and transferring the audio focus of the target media audio data to Bluetooth, so as to transmit the media playback status corresponding to the target media audio data and the Bluetooth ID3 information to the vehicle Bluetooth music application based on the audio focus, includes: using a preset Bluetooth service to determine the media type corresponding to the media audio data based on the decoded data, retaining the target media audio data whose media type is the target media type, and filtering other types of media audio data; sending the audio focus of the target media audio data corresponding to the vehicle system to Bluetooth, pausing the audio currently played by the media focus of the vehicle system, and decoding the target media audio data when the vehicle system detects Bluetooth, to determine the media playback status corresponding to the target media audio data and the Bluetooth ID3 information, and transmitting the media playback status and the Bluetooth ID3 information to the vehicle Bluetooth music application through the Bluetooth mediasession.

4. The method according to claim 3, characterized in that, The step of controlling the vehicle's Bluetooth music application to perform corresponding play or stop operations based on the media playback status and the ID3 information includes: when the media playback status is in the playing state, controlling the vehicle's Bluetooth music application to perform the corresponding play operation; when the media playback status is in the stop state, controlling the vehicle's Bluetooth music application to perform the corresponding stop operation; after performing the play or stop operation, sending the audio focus to the original media focus through the vehicle system to continue performing the playback operation corresponding to the original media focus.

5. A cockpit-mounted Bluetooth quick playback device, characterized in that, include: The decoding module is used to transmit media audio data from the target mobile phone to the vehicle's in-vehicle system, and decode the media audio data through the in-vehicle system to obtain the corresponding decoded data. The transmission module is used to determine the media type corresponding to the media audio data based on the decoded data, to obtain target media audio data whose media type is the target media type, and to transfer the audio focus of the target media audio data to Bluetooth, so as to transmit the media playback status corresponding to the target media audio data and the Bluetooth ID3 information to the vehicle Bluetooth music application based on the audio focus; The playback module is used to control the vehicle's Bluetooth music application to perform corresponding playback or stop operations based on the media playback status and the ID3 information.

6. The apparatus according to claim 5, characterized in that, The decoding module includes a compression unit, used to compress and send the media audio data to the vehicle system via a preset Bluetooth protocol when the user opens a music application or any media application on the target mobile phone and enables a pre-set mobile phone Bluetooth playback switch setting in the vehicle system. The vehicle system then decodes the compressed media audio data to obtain the decoded data.

7. The apparatus according to claim 6, characterized in that, The transmission module includes: a retention unit, configured to use a preset Bluetooth service to determine the media type corresponding to the media audio data based on the decoded data, so as to retain the target media audio data whose media type is the target media type and filter other types of media audio data; and a determination unit, configured to send the audio focus of the target media audio data corresponding to the vehicle system to the Bluetooth, and pause the audio played by the current media focus of the vehicle system, and, when the vehicle system detects the Bluetooth, decode the target media audio data to determine the media playback status corresponding to the target media audio data and the Bluetooth ID3 information, and transmit the media playback status and the Bluetooth ID3 information to the vehicle Bluetooth music application through the Bluetooth mediasession.

8. A vehicle, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the in-vehicle Bluetooth quick playback method as described in any one of claims 1-4.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the in-vehicle Bluetooth quick playback method as described in any one of claims 1-4.

10. A computer program product, comprising a computer program, characterized in that, The computer program is executed to implement the in-vehicle Bluetooth quick playback method as described in any one of claims 1-4.