Configuration method, device and equipment for audio playing of Bluetooth equipment, medium and vehicle

By defining new routing device information in the audio management center, the problem that existing technology cannot support multiple Bluetooth headsets to sound at the same time is solved, simultaneous audio playback in multi-user scenarios is realized, and the user experience is improved.

CN119316823APending Publication Date: 2025-01-14BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310871349.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-14
Publication Date
2025-01-14

Smart Images

  • Figure CN119316823A_ABST
    Figure CN119316823A_ABST
Patent Text Reader

Abstract

The invention relates to a configuration method and device for audio playing of Bluetooth equipment, equipment, a medium and a vehicle. The method comprises the following steps: determining original first routing equipment information corresponding to first Bluetooth equipment in an audio management center; in response to a configuration operation of a user, defining second routing device information corresponding to each second Bluetooth device in the at least one second Bluetooth device in the audio management center; and according to the first routing device information and the second routing device information, supporting the first Bluetooth device to play the first audio through the first routing device, and supporting the second Bluetooth device to play the second audio through the second routing device. According to the method and the device, the new second routing equipment information is defined in the audio management center, so that the audio playing of the second Bluetooth equipment can be supported by the second routing equipment except the original first routing equipment in the audio management center, and the terminal can support the simultaneous sounding of different Bluetooth equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of Bluetooth technology, and in particular to a configuration method, apparatus, device, medium and vehicle for playing audio by a Bluetooth device. Background Art

[0002] In recent years, Bluetooth headsets have been used more and more frequently in the smart device market. After Bluetooth headsets establish Bluetooth communication with smart devices such as smartphones and tablets, functions such as music playback and voice calls can be realized.

[0003] However, the operating systems of existing smart devices generally only support the sound of a single Bluetooth headset. In a multi-user scenario, the operating system cannot support multiple Bluetooth headsets of different users to sound at the same time, which cannot meet the needs of users and results in a poor user experience. Summary of the invention

[0004] In order to solve the above technical problems, the present disclosure provides a configuration method, device, equipment, medium and vehicle for playing audio by a Bluetooth device to support multiple Bluetooth playback devices to make sounds at the same time to meet the needs of users.

[0005] In a first aspect, an embodiment of the present disclosure provides a method for configuring a Bluetooth device to play audio, comprising:

[0006] Determine the first routing device information corresponding to the first Bluetooth device in the audio management center;

[0007] In response to a configuration operation by a user, second routing device information corresponding to each of the at least one second Bluetooth device is defined in the audio management center;

[0008] According to the first routing device information and the second routing device information, the first routing device is used to support the first Bluetooth device to play the first audio, and the second routing device is used to support the second Bluetooth device to play the second audio.

[0009] In some embodiments, determining the first routing device information corresponding to the first Bluetooth device originally in the audio management center includes:

[0010] Determine a first routing device and a first hardware abstraction layer that are originally corresponding to the first Bluetooth device in the audio management center, wherein the first hardware abstraction layer interacts with the first routing device;

[0011] In response to the configuration operation of the user, second routing device information corresponding to each of the at least one second Bluetooth device is defined in the audio management center, including:

[0012] A second routing device and a second hardware abstraction layer are defined in the audio management center according to the Bluetooth audio transmission protocol, wherein the second hardware abstraction layer is used to interact with the second routing device.

[0013] In some embodiments, according to the first routing device information and the second routing device information, supporting the first Bluetooth device to play the first audio through the first routing device, and supporting the second Bluetooth device to play the second audio through the second routing device, includes:

[0014] Calling the audio playback interface to send the data of the first audio to the first hardware abstraction layer, and sending the data of the second audio to the second hardware abstraction layer;

[0015] Sending the first audio data to the Bluetooth protocol stack through the first hardware abstraction layer, and sending the second audio data to the Bluetooth protocol stack through the second hardware abstraction layer;

[0016] The data of the first audio is sent to the first Bluetooth device through the Bluetooth protocol stack, and the data of the second audio is sent to the second Bluetooth device, so that the first Bluetooth device plays the first audio and the second Bluetooth device plays the second audio.

[0017] In some embodiments, after defining, in response to the configuration operation of the user, second routing device information corresponding to each of the at least one second Bluetooth device in the audio management center, the method further includes:

[0018] In response to a first connection request from a first Bluetooth device, enabling the first routing device; and / or

[0019] In response to a second connection request from a second Bluetooth device, the second routing device is enabled.

[0020] In some embodiments, the first Bluetooth device is any one of the co-pilot seat Bluetooth player and the rear-seat Bluetooth player, and the second Bluetooth device is the other one of the co-pilot seat Bluetooth player and the rear-seat Bluetooth player except the first Bluetooth device.

[0021] In a second aspect, an embodiment of the present disclosure provides a configuration device for playing audio by a Bluetooth device, including:

[0022] A determination module, used to determine the first routing device information corresponding to the first Bluetooth device in the audio management center;

[0023] A definition module, configured to define, in response to a configuration operation of a user, second routing device information corresponding to each of the at least one second Bluetooth device in the audio management center;

[0024] The playing module is used to support the first Bluetooth device to play the first audio through the first routing device and support the second Bluetooth device to play the second audio through the second routing device according to the first routing device information and the second routing device information.

[0025] In some embodiments, the apparatus further comprises:

[0026] an enabling module 44, configured to enable the first routing device in response to a first connection request from a first Bluetooth device; and / or

[0027] In response to a second connection request from a second Bluetooth device, the second routing device is enabled.

[0028] In a third aspect, an embodiment of the present disclosure provides an electronic device, including:

[0029] Memory;

[0030] Processor; and

[0031] Computer programs;

[0032] The computer program is stored in the memory and is configured to be executed by the processor to implement the method as described in the first aspect.

[0033] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the method described in the first aspect.

[0034] In a fifth aspect, an embodiment of the present disclosure provides a vehicle, comprising the device, electronic device or computer-readable storage medium as described above.

[0035] The configuration method, apparatus, device, medium and vehicle for playing audio by a Bluetooth device provided in the embodiments of the present disclosure define new second routing device information in an audio management center, so that a second routing device other than the native first routing device can be provided in the audio management center to support the audio playback of the second Bluetooth device, while not affecting the native first routing device's support for the audio playback of the first Bluetooth device, so that the terminal can support different Bluetooth devices to make sounds at the same time, meet user needs in multi-user scenarios, and improve user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0038] Figure 1 A flow chart of a configuration method for playing audio on a Bluetooth device provided in an embodiment of the present disclosure;

[0039] Figure 2 A schematic diagram of an application scenario provided by an embodiment of the present disclosure;

[0040] Figure 3 A flow chart of a configuration method for playing audio on a Bluetooth device provided by another embodiment of the present disclosure;

[0041] Figure 4 A schematic diagram of the structure of a configuration device for playing audio on a Bluetooth device provided in an embodiment of the present disclosure;

[0042] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0043] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0044] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0045] The disclosed embodiment provides a method for configuring a Bluetooth device to play audio, which is described below in conjunction with a specific embodiment.

[0046] Figure 1 A flowchart of a method for configuring a Bluetooth device to play audio provided in an embodiment of the present disclosure. The method can be applied to Figure 2The application scenario shown includes a terminal 21, a first Bluetooth device 22, and a second Bluetooth device 23. The terminal 21 can be a car computer, a smart phone, a PDA, a tablet computer, a laptop, an all-in-one machine, an intelligent driving device, etc. It can be understood that the configuration method for playing audio by a Bluetooth device provided in the embodiment of the present disclosure can also be applied in other scenarios.

[0047] Combine the following Figure 2 The application scenario shown is Figure 1 The configuration method of playing audio on a Bluetooth device shown in the figure is introduced, and the specific steps of the method are as follows:

[0048] S101: Determine first routing device information corresponding to a first Bluetooth device in an audio management center.

[0049] An operating system is running in the terminal 21. Taking the Android system as an example, AudioPolicy provides a center for audio input and output management, called the audio management center. The corresponding AudioPolicyService is responsible for the connection status of audio input and output devices, and the audio policy scheduling is the switching strategy of audio devices (such as local CODEC, Bluetooth A2DP, Headset).

[0050] The audio management center includes the original first routing device for providing routing services for the first Bluetooth device, and also includes other preset data supporting the first routing device to implement the routing function, collectively referred to as the first routing device information.

[0051] When the first Bluetooth device is connected to the terminal, the terminal can implement a routing function for the first Bluetooth device through the first routing device, so that the first Bluetooth device can play corresponding audio.

[0052] S102: In response to a configuration operation by the user, second routing device information corresponding to each of the at least one second Bluetooth device is defined in the audio management center.

[0053] A new second routing device information is defined in the audio management center. The second routing device complies with the Bluetooth audio transmission protocol (Advanced Audio Distribution Profile, A2DP), is distinguished from the original first routing device, and is used to support routing services of different Bluetooth devices. That is, the first routing device is used to support routing services of the first Bluetooth device, and the second routing device is used to support routing services of the second Bluetooth device.

[0054] The number of second Bluetooth devices is not limited, and the second routing device information corresponds to the second Bluetooth devices one by one. S103: According to the first routing device information and the second routing device information, the first routing device supports the first Bluetooth device to play the first audio, and the second routing device supports the second Bluetooth device to play the second audio.

[0055] When the first Bluetooth device needs to play the first audio and the second Bluetooth device needs to play the second audio, the terminal can support the first Bluetooth device to play the first audio through the first routing device according to the first routing device information, and support the second Bluetooth device to play the second audio through the second routing device according to the second routing device information.

[0056] The disclosed embodiment determines the first routing device information corresponding to the first Bluetooth device originally in the audio management center; in response to the user's configuration operation, defines the second routing device information corresponding to each of the at least one second Bluetooth device in the audio management center; based on the first routing device information and the second routing device information, supports the first Bluetooth device to play the first audio through the first routing device, and supports the second Bluetooth device to play the second audio through the second routing device. By defining new second routing device information in the audio management center, there can be a second routing device in the audio management center in addition to the native first routing device to support the audio playback of the second Bluetooth device, and at the same time, it does not affect the native first routing device to support the audio playback of the first Bluetooth device, so that the terminal can support different Bluetooth devices to make sounds at the same time, meet the user needs in multi-user scenarios, and improve the user experience.

[0057] Figure 3 This is a flow chart of a configuration method for playing audio on a Bluetooth device provided by another embodiment of the present disclosure. Figure 3 As shown, the method includes the following steps:

[0058] S301. Determine a first routing device and a first hardware abstraction layer that are originally corresponding to a first Bluetooth device in an audio management center, wherein the first hardware abstraction layer interacts with the first routing device.

[0059] The hardware abstraction layer is an interface layer between the operating system kernel and the hardware circuit, and its purpose is to abstract the hardware. It hides the hardware interface details of a specific platform and provides a virtual hardware platform for the operating system, making it hardware-independent and portable on multiple platforms. From the perspective of software and hardware testing, the testing of software and hardware can be completed based on the hardware abstraction layer, making it possible to conduct software and hardware testing in parallel.

[0060] As described above, the first routing device in the terminal audio management center is used to support audio playback of the first Bluetooth device. Specifically, the first routing device interacts with the first hardware abstraction layer to support audio playback of the first Bluetooth device.

[0061] S302: Define a second routing device and a second hardware abstraction layer in the audio management center according to the Bluetooth audio transmission protocol, wherein the second hardware abstraction layer is used to interact with the second routing device.

[0062] In addition to defining the second routing device according to the Bluetooth audio transmission protocol in the audio management center, it is also necessary to define a second hardware abstraction layer in addition to the first hardware abstraction layer. The second hardware abstraction layer is used to interact with the second routing device to achieve support for audio playback of the second Bluetooth device.

[0063] S303: Call an audio playback interface to send the first audio data to the first hardware abstraction layer, and send the second audio data to the second hardware abstraction layer.

[0064] S304: Send the first audio data to the Bluetooth protocol stack through the first hardware abstraction layer, and send the second audio data to the Bluetooth protocol stack through the second hardware abstraction layer.

[0065] S305. Send the data of the first audio to the first Bluetooth device through the Bluetooth protocol stack, and send the data of the second audio to the second Bluetooth device, so that the first Bluetooth device plays the first audio and the second Bluetooth device plays the second audio.

[0066] The first audio data and / or the second audio data may be pulse code modulation (PCM) data. PCM audio data is an uncompressed audio sample data stream, which is a standard digital audio data converted from an analog signal through sampling, quantization, and encoding.

[0067] There is an audio playback interface (such as AudioFlinger) in the terminal operating system. When the first Bluetooth device needs to play the first audio, the terminal selects the first Bluetooth device through the audio playback policy in audiopolicy, and then sends the data of the first audio to the first hardware abstraction layer through the audio playback interface. Similarly, when the second Bluetooth device needs to play the second audio, the terminal selects the second Bluetooth device through the audio playback policy in audiopolicy, and then sends the data of the second audio to the second hardware abstraction layer through the audio playback interface.

[0068] Furthermore, the terminal sends the audio data to the Bluetooth protocol stack through the hardware abstraction layer, and further sends it to the corresponding Bluetooth device for playback. The Bluetooth protocol stack includes the Physical layer (PHY layer), which is used to specify the wireless frequency band, modulation and demodulation mode and method used by Bluetooth; the Link Layer (LL layer) is used to execute some baseband protocols and the underlying data packet management protocol; the Host controller interface (HCL) is the host control interface layer; the Generic access profile (GAP layer) simply specifies and defines the LL layer payload (valid data packet), and is currently mainly used for broadcasting, scanning and initiating connections; the Logical Link and Adapter Protocol layer (L2CAP) simply encapsulates the LL; SMP (Secure manager protocol) is used to ensure the security of the Bluetooth connection. In addition, the Bluetooth protocol stack also includes ATT (Attribute protocol) and the attribute protocol layer (generic attribute profile, GATT).

[0069] Specifically, the terminal sends the data of the first audio to the Bluetooth protocol stack through the first hardware abstraction layer, and sends the data of the first audio to the first Bluetooth device through the Bluetooth protocol stack, so that the first Bluetooth device plays the first audio; at the same time, the terminal sends the data of the second audio to the Bluetooth protocol stack through the second hardware abstraction layer, and sends the data of the second audio to the second Bluetooth device through the Bluetooth protocol stack, so that the second Bluetooth device plays the second audio.

[0070] The disclosed embodiment defines a new second routing device and a corresponding second hardware abstraction layer in the audio management center, so that in addition to the native first routing device, there can be a second routing device in the audio management center to support the audio playback of the second Bluetooth device, while not affecting the native first routing device's support for the audio playback of the first Bluetooth device, so that the terminal can support different Bluetooth devices to make sounds at the same time, meet user needs in multi-user scenarios, and improve user experience.

[0071] Based on the above embodiment, after defining the second routing device information corresponding to each of the at least one second Bluetooth device in the audio management center in response to the user's configuration operation, the method also includes: enabling the first routing device in response to the first connection request of the first Bluetooth device; and / or enabling the second routing device in response to the second connection request of the second Bluetooth device.

[0072] When the first Bluetooth device initiates a connection with the terminal, in response to the connection request of the first Bluetooth device, the terminal enables the first routing device through the audiopolicy policy selection; when the second Bluetooth device initiates a connection with the terminal, in response to the connection request of the second Bluetooth device, the terminal enables the second routing device through the audiopolicy policy selection. When both the first Bluetooth device and the second Bluetooth device initiate a connection with the terminal, the terminal enables the first routing device and the second routing device.

[0073] Based on the above embodiment, the first Bluetooth device is any one of the co-pilot seat Bluetooth player and the rear seat Bluetooth player, and the second Bluetooth device is the other one of the co-pilot seat Bluetooth player and the rear seat Bluetooth player except the first Bluetooth device.

[0074] Taking the first Bluetooth device as the co-pilot Bluetooth player (such as the co-pilot Bluetooth headset) and the second Bluetooth device as the rear-seat Bluetooth player (such as the rear-seat Bluetooth headset) as an example, when the co-pilot Bluetooth player initiates a connection with the terminal (such as the car computer), the terminal enables the first routing device through the audiopolicy policy selection; when the rear-seat Bluetooth headset initiates a connection with the terminal, the terminal enables the second routing device.

[0075] When the co-pilot seat Bluetooth player needs to play the first audio (for example, when the co-pilot seat screen plays a video), audiopolicy can select the co-pilot seat Bluetooth player, and the first audio data to be played is sent to the first hardware abstraction layer through audioflinger, sent to the Bluetooth protocol stack through the first hardware abstraction layer, and then sent to the co-pilot seat Bluetooth player for playback.

[0076] When the rear-seat Bluetooth player needs to play the second audio (for example, when the rear-seat screen plays a video), audiopolicy can select the rear-seat Bluetooth player, and the second audio data to be played is sent to the second hardware abstraction layer through audioflinger, sent to the Bluetooth protocol stack through the second hardware abstraction layer, and then sent to the rear-seat Bluetooth player for playback.

[0077] When the co-pilot seat Bluetooth player needs to play the first audio, and the rear-seat Bluetooth player needs to play the second audio (for example, when both the co-pilot seat screen and the rear-seat screen need to play videos), the first audio data to be played is sent to the first hardware abstraction layer through audioflinger, sent to the Bluetooth protocol stack through the first hardware abstraction layer, and then sent to the co-pilot seat Bluetooth player for playback; at the same time, the second audio data to be played is sent to the second hardware abstraction layer through audioflinger, sent to the Bluetooth protocol stack through the second hardware abstraction layer, and then sent to the rear-seat Bluetooth player for playback.

[0078] For the vehicle system, the passenger in the front passenger seat and the passengers in the back row can simultaneously connect to Bluetooth headsets to listen to music or watch movies and other entertainment activities, thereby meeting the needs of users in multi-user scenarios and effectively improving the user experience.

[0079] Figure 4 A schematic diagram of the structure of a device for configuring a Bluetooth device to play audio provided in an embodiment of the present disclosure. The device for configuring a Bluetooth device to play audio may be a terminal as described in the above embodiment, or the device for configuring a Bluetooth device to play audio may be a component or assembly in the terminal. The device for configuring a Bluetooth device to play audio provided in an embodiment of the present disclosure may execute the processing flow provided in the embodiment of the method for configuring a Bluetooth device to play audio, such as Figure 4 As shown, the configuration device 40 for playing audio by a Bluetooth device includes: a determination module 41, a definition module 42, and a playback module 43; wherein the determination module 41 is used to determine the first routing device information corresponding to the first Bluetooth device originally in the audio management center; the definition module 42 is used to define the second routing device information corresponding to each of the second Bluetooth devices in at least one second Bluetooth device in the audio management center in response to the user's configuration operation; the playback module 43 is used to support the first Bluetooth device to play the first audio through the first routing device according to the first routing device information and the second routing device information, and at the same time support the second Bluetooth device to play the second audio through the second routing device.

[0080] Optionally, the determination module 41 is used to determine the first routing device and the first hardware abstraction layer corresponding to the first Bluetooth device in the audio management center, wherein the first hardware abstraction layer interacts with the first routing device; the definition module 42 is used to define the second routing device and the second hardware abstraction layer in the audio management center according to the Bluetooth audio transmission protocol, wherein the second hardware abstraction layer is used to interact with the second routing device.

[0081] Optionally, the configuration device 40 for playing audio by a Bluetooth device also includes a sending module 44, and the sending module 44 includes a first sending unit 441, a second sending unit 442, and a third sending unit 443; wherein the first sending unit 441 is used to call the audio playback interface to send the data of the first audio to the first hardware abstraction layer, and send the data of the second audio to the second hardware abstraction layer; the second sending unit 442 is used to send the data of the first audio to the Bluetooth protocol stack through the first hardware abstraction layer, and send the data of the second audio to the Bluetooth protocol stack through the second hardware abstraction layer; the third sending unit 443 is used to send the data of the first audio to the first Bluetooth device through the Bluetooth protocol stack, and send the data of the second audio to the second Bluetooth device; the playing module 43 is used to enable the first Bluetooth device to play the first audio, and at the same time enable the second Bluetooth device to play the second audio.

[0082] Optionally, the configuration device 40 for playing audio on a Bluetooth device further includes an enabling module 45 for enabling the first routing device in response to a first connection request from a first Bluetooth device; and / or enabling the second routing device in response to a second connection request from a second Bluetooth device.

[0083] Optionally, the first Bluetooth device is any one of the co-pilot seat Bluetooth player and the rear seat Bluetooth player, and the second Bluetooth device is the other one of the co-pilot seat Bluetooth player and the rear seat Bluetooth player except the first Bluetooth device.

[0084] Figure 4 The configuration device for playing audio on a Bluetooth device in the illustrated embodiment can be used to execute the technical solution of the above method embodiment, and its implementation principle and technical effect are similar and will not be described in detail here.

[0085] In addition, an embodiment of the present disclosure also provides a vehicle, which includes a configuration device for playing audio by a Bluetooth device as described in the above embodiment.

[0086] Figure 5 The electronic device provided in the embodiment of the present disclosure can execute the processing flow provided in the configuration method of the Bluetooth device playing audio, such as Figure 5 As shown, the electronic device 50 includes: a memory 51, a processor 52, a computer program and a communication interface 53; wherein the computer program is stored in the memory 51 and is configured so that the processor 52 executes the configuration method for playing audio by a Bluetooth device as described above.

[0087] In addition, an embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored. The computer program is executed by a processor to implement the configuration method for playing audio by a Bluetooth device as described in the above embodiment.

[0088] In addition, an embodiment of the present disclosure further provides a computer program product, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the configuration method for playing audio by a Bluetooth device as described above is implemented.

[0089] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0090] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0091] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0092] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0093] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0094] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for configuring a Bluetooth device to play audio, characterized in that: The method comprises: Determine the first routing device information corresponding to the first Bluetooth device in the audio management center; In response to a configuration operation by a user, second routing device information corresponding to each of the at least one second Bluetooth device is defined in the audio management center; According to the first routing device information and the second routing device information, the first routing device is used to support the first Bluetooth device to play the first audio, and the second routing device is used to support the second Bluetooth device to play the second audio.

2. The method according to claim 1, characterized in that The determining of the first routing device information corresponding to the first Bluetooth device in the audio management center includes: Determine a first routing device and a first hardware abstraction layer that are originally corresponding to the first Bluetooth device in the audio management center, wherein the first hardware abstraction layer interacts with the first routing device; In response to the configuration operation of the user, second routing device information corresponding to each of the at least one second Bluetooth device is defined in the audio management center, including: In response to the user's configuration operation, a second routing device and a second hardware abstraction layer are defined in the audio management center according to the Bluetooth audio transmission protocol, wherein the second hardware abstraction layer is used to interact with the second routing device.

3. The method according to claim 2, characterized in that The method of supporting the first Bluetooth device to play the first audio through the first routing device and supporting the second Bluetooth device to play the second audio through the second routing device according to the first routing device information and the second routing device information includes: Calling the audio playback interface to send the data of the first audio to the first hardware abstraction layer, and sending the data of the second audio to the second hardware abstraction layer; Sending the first audio data to the Bluetooth protocol stack through the first hardware abstraction layer, and sending the second audio data to the Bluetooth protocol stack through the second hardware abstraction layer; The data of the first audio is sent to the first Bluetooth device through the Bluetooth protocol stack, and the data of the second audio is sent to the second Bluetooth device, so that the first Bluetooth device plays the first audio and the second Bluetooth device plays the second audio.

4. The method according to claim 1, characterized in that: After defining, in response to the configuration operation of the user, second routing device information respectively corresponding to each of the at least one second Bluetooth device in the audio management center, the method further includes: In response to a first connection request from a first Bluetooth device, enabling the first routing device; and / or In response to a second connection request from a second Bluetooth device, the second routing device is enabled.

5. The method according to claim 1, characterized in that The first Bluetooth device is any one of the Bluetooth player in the co-pilot seat and the Bluetooth player in the back row, and the second Bluetooth device is the other one of the Bluetooth player in the co-pilot seat and the Bluetooth player in the back row except the first Bluetooth device.

6. A configuration device for playing audio on a Bluetooth device, characterized in that: The device comprises: A determination module, used to determine the first routing device information corresponding to the first Bluetooth device in the audio management center; A definition module, configured to define, in response to a configuration operation of a user, second routing device information corresponding to each of the at least one second Bluetooth device in the audio management center; The playing module is used to support the first Bluetooth device to play the first audio through the first routing device and support the second Bluetooth device to play the second audio through the second routing device according to the first routing device information and the second routing device information.

7. The device according to claim 6, characterized in that The device also includes: an enabling module, configured to enable the first routing device in response to a first connection request from a first Bluetooth device; and / or In response to a second connection request from a second Bluetooth device, the second routing device is enabled.

8. An electronic device, characterized in that: include: Memory; processor; as well as Computer programs; The computer program is stored in the memory and is configured to be executed by the processor to implement the method according to any one of claims 1 to 5.

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

10. A vehicle comprising: The configuration device for playing audio of a Bluetooth device as claimed in claim 6 or 7; or the electronic device as claimed in claim 8; Or, the computer readable storage medium of claim 9.