Vehicle-mounted media play control method and device and electronic equipment
By creating an independent sound zone for Bluetooth headphones within the vehicle and binding audio focus, the dynamic routing switching and focus management issues between Bluetooth headphones and the vehicle's audio system speakers are resolved, enabling multiple users to independently use media within the vehicle and enhancing the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-25
- Publication Date
- 2026-03-20
AI Technical Summary
In existing technologies, Bluetooth headsets and car audio devices cannot achieve dynamic routing switching and focus management, which prevents multiple users from independently using media in the car, affecting the user experience.
When a Bluetooth headset is detected to be connected to an in-vehicle media device, its audio policy is registered with the in-vehicle audio system, an independent target sound zone is created, and the audio focus is bound to the target sound zone. The target in-vehicle media device is then controlled to play audio in the target sound zone according to the audio policy.
This allows multiple users in the car to independently use media via Bluetooth headsets, improving the user experience and reducing the need to stop playback during audio playback, thus reducing the resource consumption of the audio system.
Smart Images

Figure CN115472186B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of in-vehicle equipment, and particularly relates to an in-vehicle media playing control method and device and electronic equipment. BACKGROUND
[0002] With the continuous enrichment of the entertainment attribute of the car machine system, the demand of multiple users to use media individually is increasing, for example, when the rear passengers watch videos on the rear seat display screen, the driver can play music at the central control position, and multi-zone audio realizes this purpose by allowing different audio sources to play simultaneously in different audio zones of the vehicle. However, the related technology does not support the connection of a Bluetooth headset and a car machine media to realize a multi-audio-zone scheme, and cannot meet the dynamic routing switching and focus management of the Bluetooth headset and the car machine loudspeaker audio device, thereby affecting the user experience effect. SUMMARY
[0003] The present disclosure proposes an in-vehicle media playing control method and device and electronic equipment, which aims to at least solve one of the technical problems in the related art to some extent.
[0004] The first aspect embodiment of the present disclosure proposes an in-vehicle media playing control method, comprising: in the case of detecting that a Bluetooth headset is connected with a target in-vehicle media device, registering an audio strategy of the Bluetooth headset in an audio system in the vehicle; creating a target audio zone corresponding to the Bluetooth headset, and binding an audio focus of the audio system with the target audio zone; and according to the audio strategy, controlling the target in-vehicle media device to play audio in the target audio zone.
[0005] The second aspect embodiment of the present disclosure proposes an in-vehicle media playing control device, comprising: a registration module, configured to, in the case of detecting that a Bluetooth headset is connected with a target in-vehicle media device, register an audio strategy of the Bluetooth headset in an audio system in the vehicle; a creation module, configured to create a target audio zone corresponding to the Bluetooth headset, and bind an audio focus of the audio system with the target audio zone; and a control module, configured to, according to the audio strategy, control the target in-vehicle media device to play audio in the target audio zone.
[0006] The third aspect embodiment of the present disclosure proposes an electronic device, comprising: at least one processor; and a memory connected with the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the in-vehicle media playing control method of the embodiments of the present disclosure.
[0007] The fourth aspect embodiment of the present disclosure proposes a non-transitory computer readable storage medium storing computer instructions, the computer instructions being used to make the computer execute the in-vehicle media playing control method disclosed by the embodiments of the present disclosure.
[0008] In this embodiment, when a Bluetooth headset is detected to be connected to a target in-vehicle media device, the audio policy of the Bluetooth headset is registered to the in-vehicle audio system, a target sound zone corresponding to the Bluetooth headset is created, the audio focus of the audio system is bound to the target sound zone, and the target in-vehicle media device is controlled to play audio in the target sound zone according to the audio policy. This enables the creation of an independent target sound zone for the Bluetooth headset in the vehicle, realizing the audio playback control of the in-vehicle media device in the target sound zone. This achieves the goal of multiple users in the vehicle independently using media through Bluetooth headsets, improving the user experience.
[0009] Additional aspects and advantages of this disclosure 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 disclosure. Attached Figure Description
[0010] The above and / or additional aspects and advantages of this disclosure will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, in which:
[0011] Figure 1 This is a schematic flowchart of an in-vehicle media playback control method according to an embodiment of the present disclosure;
[0012] Figure 2 This is a schematic diagram of the in-vehicle media playback control process provided according to an embodiment of this disclosure;
[0013] Figure 3 This is a schematic diagram of the in-vehicle sound zone division according to an embodiment of the present disclosure;
[0014] Figure 4 This is a flowchart illustrating a vehicle media playback control method according to another embodiment of the present disclosure;
[0015] Figure 5 This is a schematic diagram of an in-vehicle media playback control device according to another embodiment of the present disclosure;
[0016] Figure 6 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure is shown. Detailed Implementation
[0017] Embodiments of this disclosure are described in detail below, examples of which are illustrated 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 are used only to explain this disclosure, and should not be construed as limiting this disclosure. Rather, embodiments of this disclosure include all variations, modifications, and equivalents falling within the spirit and scope of the appended claims.
[0018] It should be noted that the executing entity of the vehicle media playback control method in this embodiment can be a vehicle media playback control device. This device can be implemented by software and / or hardware. This device can be configured in an electronic device, which may include, but is not limited to, a terminal, a server, etc.
[0019] Figure 1 This is a flowchart illustrating a vehicle media playback control method according to an embodiment of the present disclosure, as shown below. Figure 1 As shown, the method includes:
[0020] S101: When a Bluetooth headset is detected to be connected to a target in-vehicle media device, the audio policy of the Bluetooth headset is registered to the in-vehicle audio system.
[0021] In this context, devices that support audio or video playback within the vehicle can be referred to as in-vehicle media devices. These include, for example, the passenger-side entertainment screen, the rear-seat entertainment screen, and any other possible audio-visual equipment, excluding the driver's center console screen; there are no restrictions on this. Furthermore, each in-vehicle media device can be controlled by the vehicle's audio system, which can be, for example, based on the Android operating system; there are no restrictions on this either.
[0022] Furthermore, the in-vehicle media device in this embodiment can be configured with Bluetooth headsets. For example, each in-vehicle media device can be configured with one pair of Bluetooth headsets, or each in-vehicle media device can be configured with multiple pairs of Bluetooth headsets; there is no limitation on this. An in-vehicle media device that successfully connects to a Bluetooth headset can be referred to as the target in-vehicle media device.
[0023] The in-vehicle media playback control method provided in this embodiment can be executed by the vehicle audio system, for example. In practical applications, the audio system can detect the connection status between the Bluetooth headset and the in-vehicle media device in real time. Figure 2 This is a schematic diagram of the in-vehicle media playback control process provided according to an embodiment of this disclosure, such as... Figure 2 As shown, the audio system can detect the device information of the Bluetooth device (i.e., the Bluetooth headset) through a callback function (corresponding to S201). After obtaining the device information of the Bluetooth headset, it can determine that the Bluetooth headset has successfully connected to the target in-vehicle media device.
[0024] For example, the device name of the Bluetooth headset configured by the co-driver entertainment screen is "BT HeadSetl", and the co-driver passenger can pair and connect the Bluetooth headset BT HeadSetl with the co-driver entertainment screen in the process of operating the co-driver entertainment screen. In this case, the audio system can detect the device information (for example, the device name) of the Bluetooth device (that is, the Bluetooth headset) through a callback function, and can determine that the co-driver entertainment screen is connected with the Bluetooth headset when the device name is detected, that is, the co-driver entertainment screen serves as the target vehicle media device.
[0025] Further, the audio system registers the audio policy of the Bluetooth headset in the audio system in the vehicle, that is, registers the Bluetooth headset.
[0026] In some embodiments, the audio policy can include a routing policy and a focus preemption policy of audio output and other any possible policies, without limitation.
[0027] The routing policy is used to control the target vehicle media device to output audio through the Bluetooth headset or through the car speaker, and the focus preemption policy is a preemption policy for multiple applications to apply for audio focus at the same time.
[0028] As shown in Figure 2 In the operation of registering the audio policy of the Bluetooth headset in the audio system in the vehicle, the audio policy can be registered in the audio system in the vehicle by constructing an AudioPolicyMix parameter (corresponding to S202). Specifically, first, the parameter of the audio policy is constructed, which can be represented as AudioPolicyMix; further, the constructed parameter AudioPolicyMix is registered in the audio system, thereby realizing the registration of the audio policy (corresponding to S203).
[0029] S102: Create a target sound zone corresponding to the Bluetooth headset, and bind the audio focus of the audio system to the target sound zone.
[0030] After the above registration of the audio policy in the audio system, further, the embodiment of the present disclosure can create a target sound zone corresponding to the Bluetooth headset, that is, allocate an audio zone for the Bluetooth headset.
[0031] In one specific example, Figure 3 is a structural schematic diagram of the in-vehicle sound zone division provided according to the embodiment of the present disclosure, as Figure 3As shown, in the case that the in-vehicle media device (e.g., the co-driver entertainment screen) is not connected with the Bluetooth earphone (i.e., Bluetooth is disconnected), the vehicle cabin is a main sound zone, which can be denoted as CarAusioZone0, that is, the main driver center screen and the co-driver entertainment screen are in the same sound zone CarAusioZone0, and the application (e.g., the music application MusicAPP) on the two entertainment screens has a focus occupation relationship, and the audio output route is the car speaker. In the case that the in-vehicle media device (e.g., the co-driver entertainment screen) is connected with the Bluetooth earphone, that is, the audio strategy of the Bluetooth earphone is registered in the audio system, the audio system can create a target sound zone for the Bluetooth earphone, for example, CarAusioZone1 in the audio system, and the Bluetooth earphone can exclusively occupy the target sound zone, that is, in this case, the main driver center screen occupies the main sound zone CarAusioZone0 of the car speaker, and the co-driver entertainment screen occupies the target sound zone CarAusioZone1 of the Bluetooth earphone, and the target sound zone CarAusioZone1 is independent of the main sound zone CarAusioZone0, thereby meeting the needs of the driver and the co-driver to independently use the main driver center screen and the co-driver entertainment screen. Figure 3
[0032] In some embodiments, the audio system can create a corresponding number of target sound zones according to the number of Bluetooth earphones.
[0033] For example, in the case that the target in-vehicle media device is a rear entertainment screen, the rear entertainment screen can be configured with two pairs of Bluetooth earphones, and the audio system can create two target sound zones for the two pairs of Bluetooth earphones for two passengers to use.
[0034] Further, the audio focus of the audio system can be bound to the target sound zone, that is, the target sound zone can exclusively occupy the audio focus for focus management of multiple applications.
[0035] S103: According to the audio strategy, the target in-vehicle media device is controlled to play audio in the target sound zone.
[0036] In some embodiments, the audio system can control the audio output route of the target in-vehicle media device in the target sound zone according to the audio strategy, as shown in Figure 2 In the case that the target in-vehicle media device (the co-driver entertainment screen) plays a sound stream, the audio system can decide the sound output channel (corresponding to S208-S209) according to the audio strategy AudioPolicyMix, for example, outputting audio through the Bluetooth earphone or outputting audio through the car speaker, which is not limited.
[0037] In other embodiments, the focus management of multiple applications in the target in-vehicle media device can also be controlled according to the audio strategy, which is not limited.
[0038] Specifically, after the target in-vehicle media device is controlled to play audio in the target sound area according to the audio policy, the audio system can determine a new application that newly applies for the audio focus on the target in-vehicle media device, and a current application that currently occupies the audio focus.
[0039] In this embodiment, there can be multiple applications on the target in-vehicle media device, for example, application 1, application 2, application 3,..., and application N. It can be understood that the multiple applications described above are applications that support audio playing, such as a music application, a video application, a game application, and any other possible application, and no limitation is made to this. The application that currently occupies the audio focus on the target in-vehicle media device can be referred to as a current application, and correspondingly, the application that newly applies for the audio focus can be referred to as a new application.
[0040] For example, the target in-vehicle media device is playing audio of application 1 in the target sound area, for example, the front passenger listens to music through a Bluetooth earphone, and then application 1 can be the current application. If the front passenger wants to watch a video on the target in-vehicle media device, the passenger can perform application switching on the target in-vehicle media device, for example, trigger application 2 to play a video, and in this case, the audio system can determine that application 2 is the new application that newly applies for the audio focus.
[0041] After the new application and the current application are determined, the audio system can perform audio focus arbitration on the new application and the current application, for example, perform audio focus arbitration according to a focus preemption policy in the audio policy, to determine that application 1 or application 2 can preempt the focus; further, according to a result of the audio focus arbitration, it is determined that the new application occupies the audio focus, or the current application continues to occupy the audio focus. Thus, this embodiment can implement focus preemption on the in-vehicle Bluetooth earphone, and improve the experience effect of the user.
[0042] In this embodiment, by registering the audio policy of the Bluetooth earphone into the audio system in the vehicle when it is detected that the Bluetooth earphone is connected to the target in-vehicle media device, creating a target sound area corresponding to the Bluetooth earphone, binding the audio focus of the audio system to the target sound area, and controlling the target in-vehicle media device to play audio in the target sound area according to the audio policy, an independent target sound area can be created for the Bluetooth earphone in the vehicle, audio playing control of the target in-vehicle media device in the target sound area is implemented, the purpose of independent use of media by multiple users in the vehicle through the Bluetooth earphone is achieved, and the experience effect of the user is improved.
[0043] Figure 4 is a flowchart of a method for controlling in-vehicle media playing according to another embodiment of the present disclosure, as shown in Figure 4 , the method comprises:
[0044] S401: In the case of detecting that the Bluetooth headset is connected with the target vehicle-mounted media device, register the audio strategy of the Bluetooth headset into the audio system in the vehicle.
[0045] The description of S401 can refer to the above embodiments for details, which will not be repeated here.
[0046] S402: Determine whether the application currently occupying the audio focus is the application on the target vehicle-mounted media device.
[0047] In actual application, before the audio focus is bound with the target audio zone, the audio focus can be occupied, for example, as shown in Figure 3 , the music application Music APP of the co-driver entertainment screen (co-driver screen) currently occupies the audio focus, or the music application Music APP of the main driver screen currently occupies the audio focus and outputs audio through the car speaker. In this case, the embodiment of the present disclosure first determines whether the application currently occupying the audio focus is the application on the target vehicle-mounted media device (corresponding to S204-S205, processing the audio focus of the main audio zone CarAusioZone0, determining whether the application holding the focus).
[0048] S403: If it is the application on the target vehicle-mounted media device, release the current audio focus occupation relationship and bind the audio focus with the target audio zone, otherwise directly bind the audio focus with the target audio zone (corresponding to S207).
[0049] In some embodiments, if the application on the target vehicle-mounted media device occupies the audio focus, the current audio focus is bound with the main audio zone CarAusioZone0, that is, the target vehicle-mounted media device currently outputs audio through the car speaker. In this case, as shown in Figure 2 , the embodiment can release the current audio focus occupation relationship, that is, release the binding relationship between the audio focus and the main audio zone CarAusioZone0, and bind the audio focus with the target audio zone CarAusioZone1 (corresponding to S206), that is, move the audio focus from the main audio zone to the target audio zone. Thus, the route of playing audio on the target vehicle-mounted media device can be transferred from the main audio zone to the target audio zone, ensuring that the audio can be normally played during the switching of the audio zone.
[0050] In another embodiment, when the application on the target vehicle-mounted media device does not occupy the audio focus, for example, the current audio focus is not occupied, that is, there is no audio playing. In this case, as shown in Figure 2 , the embodiment can directly bind the audio focus with the target audio zone.
[0051] Therefore, the embodiment can realize switching of the sound area in the process of audio playing or without audio playing, without terminating the playing of the audio, thereby improving the experience effect of the user.
[0052] S404: According to the audio policy, controlling the target vehicle media device to play audio in the target sound area.
[0053] The description of S404 can refer to the above embodiments, which will not be repeated here.
[0054] S405: In the case where the Bluetooth headset is disconnected from the target vehicle media device, the binding relationship between the audio focus and the target sound area is released, and the audio policy of the Bluetooth headset is unregistered.
[0055] As shown in Figure 2 In the case where the Bluetooth headset is disconnected from the target vehicle media device (i.e., Bluetooth is disconnected), the audio system in the embodiment can release the binding relationship between the audio focus and the target sound area (corresponding to S210), release all applications holding the audio focus of the target vehicle media device, and clear the audio focus of the target sound area; further, the audio policy AudioPolicyMix of the Bluetooth headset is unregistered (corresponding to S211). Therefore, in the case where the Bluetooth headset is disconnected, the target sound area and the audio focus can be processed in time, the audio can be normally played from the car speaker, and the resource occupation of the audio system is reduced.
[0056] In the embodiment, by registering the audio policy of the Bluetooth headset into the audio system in the car in the case where the Bluetooth headset is connected to the target vehicle media device, creating the target sound area corresponding to the Bluetooth headset, binding the audio focus of the audio system to the target sound area, and according to the audio policy, controlling the target vehicle media device to play audio in the target sound area, an independent target sound area for the Bluetooth headset can be created in the car, the audio playing control of the vehicle media device in the target sound area is realized, the purpose of independent use of the media by multiple users in the car through the Bluetooth headset is achieved, and the experience effect of the user is improved. In addition, the embodiment can realize switching of the sound area in the process of audio playing or without audio playing, without terminating the playing of the audio. In the case where the Bluetooth headset is disconnected, the target sound area and the audio focus can be processed in time, the audio can be normally played from the car speaker, and the resource occupation of the audio system is reduced.
[0057] In order to realize the above-mentioned embodiments, the disclosure further provides a vehicle media playing control device.
[0058] Figure 5 is a schematic diagram of a vehicle media playing control device according to another embodiment of the disclosure.
[0059] AsFigure 5 The vehicle-mounted media play control apparatus 50 shown in the figure comprises:
[0060] The registration module 501 is configured to register the audio strategy of the Bluetooth earphone into the audio system in the vehicle in the case that the Bluetooth earphone is detected to be connected with the target vehicle-mounted media device.
[0061] The creation module 502 is configured to create a target sound zone corresponding to the Bluetooth earphone, and bind the audio focus of the audio system with the target sound zone.
[0062] The control module 503 is configured to control the target vehicle-mounted media device to play audio in the target sound zone according to the audio strategy.
[0063] In some embodiments, the creation module 502 is specifically configured to:
[0064] determine whether the application currently occupying the audio focus is an application on the target vehicle-mounted media device; and
[0065] if the application currently occupying the audio focus is an application on the target vehicle-mounted media device, release the current audio focus occupation relationship and bind the audio focus with the target sound zone, otherwise directly bind the audio focus with the target sound zone.
[0066] In some embodiments, the apparatus 50 further comprises:
[0067] The first determination module is configured to determine a new application newly applying for the audio focus on the target vehicle-mounted media device, and a current application currently occupying the audio focus.
[0068] The arbitration module is configured to arbitrate the audio focus between the new application and the current application; and
[0069] The second determination module is configured to determine whether the new application occupies the audio focus or the current application occupies the audio focus according to the result of the arbitration of the audio focus.
[0070] In some embodiments, the apparatus 50 further comprises a disconnection module configured to, in the case that the Bluetooth earphone is detected to be disconnected with the target vehicle-mounted media device, release the binding relationship between the audio focus and the target sound zone, and unregister the audio strategy of the Bluetooth earphone.
[0071] In some embodiments, the creation module 502 is specifically configured to create a target sound zone corresponding to the number of Bluetooth earphones.
[0072] In the embodiment, by registering the audio strategy of the Bluetooth headset into the audio system in the vehicle when the Bluetooth headset is detected to be connected with the target vehicle media device, creating the target sound zone corresponding to the Bluetooth headset, binding the audio focus of the audio system with the target sound zone, and controlling the target vehicle media device to play audio in the target sound zone according to the audio strategy, an independent target sound zone for the Bluetooth headset can be created in the vehicle, the audio playing control of the vehicle media device in the target sound zone is realized, the purpose of independent use of the media by the multiple users in the vehicle through the Bluetooth headset is achieved, and the experience effect of the user is improved.
[0073] According to the embodiments of the present disclosure, the present disclosure further provides an electronic device, a readable storage medium and a computer program product.
[0074] In order to realize the above-mentioned embodiments, the present disclosure further provides a computer program product, when the instruction processor in the computer program product executes, the vehicle media playing control method as proposed in the above-mentioned embodiments of the present disclosure is executed.
[0075] Figure 6 A block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present disclosure is shown. Figure 6 The electronic device 12 shown is merely one example and should not be taken as limiting the scope of the functionality or use of embodiments of the present disclosure.
[0076] As shown in Figure 6 The electronic device 12 is in the form of a general-purpose computing device. Components of the electronic device 12 can include, but are not limited to, one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
[0077] The bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics bus, a processor or local bus using any of a variety of bus architectures including Industry Standard Architecture (ISA), Micro Channel Architecture (MCA), Enhanced ISA (EISA), Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
[0078] Electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that is accessible by electronic device 12 and includes both volatile and non- volatile media, removable and non-removable media.
[0079] Memory 28 can include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. Electronic device 12 can further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 can be provided for reading from and writing to a non-removable, non-volatile magnetic media (not shown and typically called a "hard drive"). Figure 6
[0080] Although Figure 6 not shown in FIG. 1, a disk drive can also be used to read from or write to a removable, non- volatile media such as a floppy disk, and an optical disk drive can be used to read from or write to a removable, non- volatile media such as an optical disc (e.g., a compact disc (CD-ROM), a DVD-ROM, or other optical media). In such instances, each drive can be connected to the bus 18 by one or more data media interfaces. The memory 28 can include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the disclosure.
[0081] Program / utility 40, having a set (at least one) of program modules 42, can be stored in memory 28 by way of example, such as an operating system, one or more application programs, other program modules, and program data, each or some combination thereof, which may
[0082] The electronic device 12 can also communicate with one or more external devices 14 such as a keyboard or a pointing device, a display 24, etc.; other devices that enable a user to interact with the electronic device 12; and / or any devices (e.g., a networking module, a modem, etc.) that enable the electronic device 12 to communicate with one or more other computing devices. Such communication can occur via the input / output (I / O) interface 22. Still yet, the electronic device 12 can communicate with one or more networks, such as a local area network (LAN), a wide area network (WAN), and / or the Internet, through a network adapter 20. As depicted, the network adapter 20 communicates with the other components of the electronic device 12 through the bus 18. It should be appreciated that the network adapter 20 and / or the other hardware and / or software components depicted in FIG. 1 can be utilized in combination with other computer systems, e.g., in a distributed computing environment, to perform the various functionality presented throughout this disclosure.
[0083] The processing unit 16 performs various functional applications by running programs stored in the system memory 28, such as implementing the in-vehicle media play control method mentioned in the foregoing embodiments.
[0084] Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the features disclosed herein. The disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure that come within known
[0085] It should be understood that the present disclosure is not limited to the precise structures described and illustrated in the foregoing description and accompanying drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
[0086] It should be noted that, in the description of the present disclosure, the terms "first", "second", etc. are used only for descriptive purposes and are not to be construed as indicating or implying relative importance. In addition, in the description of the present disclosure, the meaning of "a plurality of" is two or more unless otherwise specified.
[0087] Any procedural or methodological descriptions in flow charts or otherwise described herein can be understood to represent modules, segments, or portions of code that include executable instructions for performing specific logical functions or steps in the processes, and the scope of preferred embodiments of the present disclosure includes additional implementations that can perform functions in a different order, including substantially simultaneously or in reverse order, according to the functionality involved, as will be understood by those skilled in the art to which embodiments of the present disclosure pertain.
[0088] It should be understood that portions of the present disclosure can be implemented in hardware, software, firmware, or combinations thereof. In the above-described embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, and as in another embodiment, implementation can be in any one or a combination of the following technologies that are known in the art: discrete logic circuitry having logic gates for implementing logic functions upon an application of data signals, application specific integrated circuits having appropriate combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), and the like.
[0089] Those skilled in the art of the present technology can understand that all or part of the steps carried out by the above-described embodiments can be completed by programs instructing related hardware, and the programs can be stored in a computer-readable storage medium, and when executed, include one or a combination of steps of the method embodiments.
[0090] In addition, each functional unit in various embodiments of the present disclosure can be integrated into one processing module, or each unit can be physically present separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be realized in the form of hardware or in the form of a software function module. When the integrated module is realized in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0091] The above-mentioned storage medium can be a read-only memory, a magnetic disk or an optical disk, etc.
[0092] In the description of the present specification, the description of the terms "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" and the like means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present disclosure. In the present specification, the illustrative description of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0093] Although the embodiments of the present disclosure have been shown and described above, it is understood that the above-described embodiments are exemplary, and it is not construed that the present disclosure is limited to the above-described embodiments, and a person of ordinary skill in the art can make changes, modifications, replacements, and variations to the above-described embodiments within the scope of the present disclosure.
Claims
1. A method for controlling in-vehicle media playback, characterized in that, include: When a Bluetooth headset is detected to be connected to a target in-vehicle media device, the audio policy of the Bluetooth headset is registered to the in-vehicle audio system. The audio policy includes an audio output routing policy and a focus preemption policy. The routing policy is used to control the target in-vehicle media device to output audio through the Bluetooth headset or through the vehicle's speakers. The target in-vehicle media device is an in-vehicle media device that has successfully connected to the Bluetooth headset. Create a target sound zone corresponding to the Bluetooth headset, and bind the audio focus of the audio system to the target sound zone. The target sound zone is the exclusive sound zone of the Bluetooth headset and is independent of the sound zone corresponding to the car's speakers. According to the audio strategy, the target in-vehicle media device is controlled to play audio in the target audio zone.
2. The method as described in claim 1, characterized in that, The step of binding the audio focus of the audio system to the target sound region includes: Determine whether the application currently occupying the audio focus is an application on the target in-vehicle media device; and If the application is on the target in-vehicle media device, the current audio focus occupancy is released and the audio focus is bound to the target audio region; otherwise, the audio focus is directly bound to the target audio region.
3. The method as described in claim 1, characterized in that, After controlling the target in-vehicle media device to play audio in the target audio zone according to the audio strategy, the method further includes: Identify the new application that has recently applied for audio focus on the target in-vehicle media device, and the current application that currently occupies the audio focus; Perform audio focus arbitration on the new application and the current application; and Based on the result of the audio focus arbitration, it is determined whether the new application occupies the audio focus or the current application occupies the audio focus.
4. The method as described in claim 1, characterized in that, The method further includes: If the Bluetooth headset is detected to be disconnected from the target in-vehicle media device, the binding relationship between the audio focus and the target audio zone is released, and the audio policy of the Bluetooth headset is cancelled.
5. The method as described in claim 1, characterized in that, Creating the target audio region corresponding to the Bluetooth headset includes: Based on the number of Bluetooth headsets, create a corresponding number of target sound zones.
6. A vehicle-mounted media playback control device, characterized in that, The registration module is used to register the audio policy of the Bluetooth headset to the in-vehicle audio system when it is detected that the Bluetooth headset is connected to the target in-vehicle media device. The audio policy includes an audio output routing policy and a focus preemption policy. The routing policy is used to control the target in-vehicle media device to output audio through the Bluetooth headset or through the vehicle's speakers. The target in-vehicle media device is the in-vehicle media device that has successfully connected to the Bluetooth headset. A creation module is used to create a target sound zone corresponding to the Bluetooth headset and bind the audio focus of the audio system to the target sound zone. The target sound zone is the exclusive sound zone of the Bluetooth headset and is independent of the sound zone corresponding to the car speaker. as well as The control module is used to control the target in-vehicle media device to play audio in the target audio zone according to the audio strategy.
7. The apparatus as claimed in claim 6, characterized in that, The creation module is specifically used for: Determine whether the application currently occupying the audio focus is an application on the target in-vehicle media device; and If the application is on the target in-vehicle media device, the current audio focus occupancy is released and the audio focus is bound to the target audio region; otherwise, the audio focus is directly bound to the target audio region.
8. The apparatus as claimed in claim 6, characterized in that, The device further includes: The first determining module is used to determine the new application that has recently applied for audio focus on the target in-vehicle media device, and the current application that currently occupies the audio focus; and The arbitration module is used to perform audio focus arbitration between the new application and the current application; The second determining module is used to determine, based on the result of the audio focus arbitration, whether the new application occupies the audio focus or the current application occupies the audio focus.
9. The apparatus as claimed in claim 6, characterized in that, The device further includes: The disconnect module is used to release the binding relationship between the audio focus and the target audio zone and cancel the audio policy of the Bluetooth headset when it is detected that the Bluetooth headset has disconnected from the target in-vehicle media device.
10. The apparatus as claimed in claim 6, characterized in that, The creation module is specifically used for: Based on the number of Bluetooth headsets, create a corresponding number of target sound zones.
11. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-5.
Citation Information
Patent Citations
Method, device and system for multi-sound-area audio playing management
CN113407762A
Control method and device of vehicle-mounted multimedia equipment, vehicle and storage medium
CN113672195A
Intelligent cockpit domain multi-tone-area Bluetooth audio playing method and device
CN114501234A