Audio sharing method and device and medium

By generating shared audio requests and adding new audio devices to the connection synchronization group, the problem that different types of devices in the prior art cannot play the same Bluetooth audio simultaneously is solved, and the shared playback of audio devices is realized.

CN119893738APending Publication Date: 2025-04-25BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311396275.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-25
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

Existing LE Audio-UMS solutions cannot simultaneously add devices of the same type or different types with different coordination set identifications to the same connection synchronization group, resulting in these devices being unable to play the same Bluetooth audio simultaneously.

Method used

By detecting access to a new audio device, a shared audio request is generated, adding the new audio device to the connection synchronization group, even if its device identification is different from the one that has been added. Receive a response message and perform corresponding operations based on instructions for consent or disagreement.

Benefits of technology

It is implemented to add devices of the same type or different types of devices with different CSIs to the same connection synchronization group, so that audio devices in the same group can play the same audio and achieve the effect of audio sharing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119893738A_ABST
    Figure CN119893738A_ABST
Patent Text Reader

Abstract

The invention relates to an audio sharing method, an audio sharing device and a medium, belongs to the field of wireless audio, and can play the same audio by different audio devices to realize audio sharing. The audio sharing method comprises the following steps: in response to detection of access of new audio equipment, generating an audio sharing request which is used for requesting to add the new audio equipment into a connection synchronization group, the device identifier of the new audio device is different from the device identifier of the added audio device in the connection synchronization group; receiving a response message to the audio sharing request; and if the response message indicates that the new audio equipment is agreed to be added into the connection synchronization group, adding the new audio equipment into the connection synchronization group.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of wireless audio, and in particular to an audio sharing method, device and medium. Background Art

[0002] LE Audio is a low-power wireless audio technology launched by the Bluetooth Alliance in 2020. It has the characteristics of low latency, low bit rate, and high-quality multi-channel synchronous transmission. From a connection-oriented perspective, it can be divided into Broadcast Media Sender (BMS) and Unicast Media Sender (UMS).

[0003] In the related art, for the LE Audio-UMS solution, devices of the same type (for example, two pairs of headphones of the same model) or devices of different types (for example, headphones of different models) with different coordinated set identifications (CSI) cannot play the same Bluetooth audio at the same time. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present disclosure provides an audio sharing method, device and medium.

[0005] According to a first aspect of an embodiment of the present disclosure, there is provided an audio sharing method, comprising: in response to detecting that a new audio device has been connected, generating a shared audio request, wherein the shared audio request is used to request that the new audio device be added to a connection synchronization group, wherein the device identifier of the new audio device is different from the device identifier of the audio device already added to the connection synchronization group; receiving a response message to the shared audio request; if the response message indicates agreement to add the new audio device to the connection synchronization group, then adding the new audio device to the connection synchronization group.

[0006] According to a second aspect of an embodiment of the present disclosure, an audio sharing device is provided, comprising: a generating module, for generating a shared audio request in response to detecting that a new audio device has been connected, the shared audio request being used to request that the new audio device be added to a connection synchronization group, wherein the device identifier of the new audio device is different from the device identifier of the audio device already added to the connection synchronization group; a receiving module, for receiving a response message to the shared audio request; and a joining module, for adding the new audio device to the connection synchronization group if the response message indicates agreement to add the new audio device to the connection synchronization group.

[0007] According to a third aspect of an embodiment of the present disclosure, an audio sharing device is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the steps of any one of the methods described in the first aspect.

[0008] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the audio sharing method provided in the first aspect of the present disclosure are implemented.

[0009] By adopting the above technical solution, since it is possible to generate a shared audio request in response to detecting that a new audio device has been connected, the shared audio request is used to request that the new audio device be added to the connection synchronization group, and the device identifier of the new audio device is different from the device identifier of the audio device already added to the connection synchronization group, and a response message to the shared audio request is received. If the response message indicates that the new audio device is agreed to be added to the connection synchronization group, the new audio device is added to the connection synchronization group. Therefore, it is possible to add devices of the same type with different CSIs or devices of different types to the same connection synchronization group, so that the audio devices in the same connection synchronization group can play the same audio, thereby playing the role of shared audio.

[0010] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] 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.

[0012] Figure 1 This is a schematic diagram of the LE Audio–UMS solution in the related technology.

[0013] Figure 2 The present invention is a flowchart of an audio sharing method according to an exemplary embodiment.

[0014] Figure 3 4 is a schematic diagram of a user interface for sending a request for sharing audio to a user according to an embodiment of the present disclosure.

[0015] Figure 4 It is a schematic diagram of joining the same connection synchronization group according to an embodiment of the present disclosure.

[0016] Figure 5 This is another schematic diagram of joining the same connection synchronization group according to an embodiment of the present disclosure.

[0017] Figure 6 is another flow chart of an audio sharing method according to an embodiment of the present disclosure.

[0018] Figure 7 is a schematic diagram of state switching according to an embodiment of the present disclosure.

[0019] Figure 8 The invention is a block diagram showing an audio sharing device according to an exemplary embodiment.

[0020] Fig. 9 The invention is a block diagram showing a device for audio sharing according to an exemplary embodiment.

[0021] Fig.10 The invention is a block diagram showing a device for audio sharing according to an exemplary embodiment. DETAILED DESCRIPTION

[0022] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0023] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.

[0024] Figure 1 This is a schematic diagram of the LE Audio-UMS solution in the related art. Figure 1 As shown, two pairs of headphones (ie, UMR1 and UMR2) both want to connect to the same UMS for audio playback. If UMR1 and UMR2 are headphones of the same model but have different CSIs, or if UMR1 and UMR2 are headphones of different models, then UMR1 and UMR2 cannot be added to the same Connected Isochronous Group (CIG). That is, devices of the same type or different types with different CSIs cannot be added to the same CIG. Figure 1 As shown, UMR1 can only be added to CIG1, and UMR2 can only be added to CIG2, and CIG1 and CIG2 are two different CIGs. This results in different devices (e.g., devices of the same type with different CSIs, devices of different types, etc.) being unable to play the same Bluetooth audio at the same time.

[0025] Figure 2 1 is a flowchart of an audio sharing method according to an exemplary embodiment. The audio sharing method according to the embodiment of the present disclosure can be applied to an audio transmitter, wherein the audio transmitter refers to a device connected to an audio device so that the audio device plays the audio in the audio transmitter. For example, the audio transmitter can be a TV, a mobile phone, etc., and there is audio that needs to be played in the TV, the mobile phone, etc.; the audio device can be a headset, a speaker, etc.

[0026] like Figure 2 As shown, the audio sharing method may include the following steps S21 to S23.

[0027] In step S21, in response to detecting that a new audio device has been connected, a shared audio request is generated, wherein the shared audio request is used to request that the new audio device be added to a connection synchronization group, wherein the device identifier of the new audio device is different from the device identifier of the audio device already added to the connection synchronization group.

[0028] The device identifier is used to uniquely identify the audio device. For example, the device identifier can be a set identity resolving key (SIRK). For a set of audio devices, each audio device in the set has the same SIRK. For example, for a pair of headphones, the SIRK of the left headphone and the right headphone are the same.

[0029] In some embodiments, generating the audio sharing request may be implemented by presenting a user interface to the user, and asking the user in the user interface whether to agree to share the audio. Figure 3 is a schematic diagram of a user interface for sending a request to share audio to a user according to an embodiment of the present disclosure. If the user agrees to the request to share audio, the user can select Figure 3 If the user disagrees with the request to share the audio, they can select the "Agree" option in Figure 3 The "Cancel" option in the Figure 3 The user interface is for illustration only and does not constitute a limitation to the present disclosure.

[0030] In some embodiments, generating a shared audio request can also be achieved in the following manner: sending a shared audio request to a processor that processes the shared audio request, and the processor can process the shared audio request according to preset rules. For example, the number of package devices allowed in the same CIG group can be preset, and then, after receiving the shared audio request, the processor can first determine whether the number of package devices that have been added to the CIG group has reached the preset number. If the number of package devices that have been added to the CIG group has reached the preset number, the processor can reject the shared audio request. If the number of package devices that have been added to the CIG group has not reached the preset number, the processor can agree to the shared audio request. The processor can be located in the audio transmitter.

[0031] In step S22, a response message to the audio sharing request is received.

[0032] In some embodiments, when a request to share audio is sent to a user through a user interface, a response message to the request to share audio returned by the user through the user interface may be received.

[0033] In some embodiments, when the shared audio request is sent to a processor that processes the shared audio request, a response message to the shared audio request may be received from the processor.

[0034] In step S23, if the response message indicates that the new audio device is agreed to be added to the connection synchronization group, the new audio device is added to the connection synchronization group.

[0035] If the response message indicates that adding the new audio device to the connection synchronization group is not agreed, the new audio device is not added to the connection synchronization group.

[0036] By adopting the above technical solution, since it is possible to generate a shared audio request in response to detecting that a new audio device has been connected, the shared audio request is used to request that the new audio device be added to the connection synchronization group, and the device identification of the new audio device is different from the device identification of the audio device that has been added to the connection synchronization group, and receive a response message to the shared audio request. If the response message indicates that the new audio device is agreed to be added to the connection synchronization group, the new audio device is added to the connection synchronization group. Therefore, it is possible to add devices of the same type with different CSIs or devices of different types to the same CIG group, so that the audio devices in the same CIG group can play the same audio and play the role of shared audio. It should be noted that the audio here can be Bluetooth audio, or it can be wired or wireless audio. That is to say, the audio sharing method according to the embodiment of the present disclosure can be applied not only to the Bluetooth audio field, but also to other fields where audio sharing is required.

[0037] Figure 4 FIG. 1 is a schematic diagram of joining the same CIG group according to an embodiment of the present disclosure. Figure 4 As shown, two pairs of headphones (i.e., UMR1 and UMR2) both want to connect to the same UMS for audio playback, although UMR1 and UMR2 are headphones of the same model but have different CSIs, or although UMR1 and UMR2 are headphones of different models, by adopting the audio sharing method according to the embodiment of the present disclosure, UMR1 and UMR2 are added to the same CIG group (i.e., CIG3), that is, by adopting the audio sharing method according to the embodiment of the present disclosure, devices of the same type or devices of different types with different CSIs can all be added to the same CIG group. In this way, audio devices in the same CIG group can play the same audio, thereby playing the role of sharing audio.

[0038] Figure 5 FIG. 1 is another schematic diagram of joining the same CIG group according to an embodiment of the present disclosure. Figure 5As shown, UMR1 to UMR4 are speakers of different models with different CSIs. By adopting the audio sharing method according to the embodiment of the present disclosure, UMR1 to UMR4 are added to the same CIG group (i.e., CIG1). In this way, UMR1 to UMR4 can be used to play the right rear, left rear, right, and left channel audio of the UMS respectively, and the UMS itself can be used to play the middle channel audio to form a 5.1 channel. That is, a total of 5 independent connected isochronous streams (CIS) are created using UMR1 to UMR4 and the UMS itself. In this way, audio devices in the same CIG group can play the same audio and play the role of sharing audio.

[0039] Figure 6 FIG. 1 is another flow chart of an audio sharing method according to an embodiment of the present disclosure. Figure 6 As shown, the audio sharing method includes steps S61 to S66.

[0040] In step S61, it is detected whether a new audio device is connected.

[0041] For example, it can be detected whether a new audio device is connected to the audio transmitter. The audio transmitter refers to a device in which audio needs to be played. For example, the audio transmitter can be a television, a mobile phone, etc.

[0042] In some embodiments, whether a new audio device is connected can be detected by detecting whether an asynchronous connection-oriented link (ACL) is successfully connected.

[0043] In step S62, if it is detected that a new audio device is connected, the device identification of the new audio device is obtained, and it is determined whether there is an audio device that has been added in the connection synchronization group.

[0044] The device identifier is used to uniquely identify the audio device. For example, the device identifier can be a set identity resolving key (SIRK). For a set of audio devices, each audio device in the set has the same SIRK. For example, for a pair of headphones, the SIRK of the left headphone and the right headphone are the same.

[0045] In some embodiments, for an audio device and an audio transmitter connected via Bluetooth, after the audio device and the audio transmitter ACL are successfully connected, a Coordinated Set Identification Service (CSIS) can be obtained through a Generic Attribute Profile (GATT) protocol, and a device identification (e.g., SIRK) of the audio device can be obtained through CSIS.

[0046] In step S63, if it is determined that the added audio device exists in the connection synchronization group, it is determined whether the device identification of the added audio device is the same as the device identification of the new audio device.

[0047] For example, the device identification of the added audio device is compared with the device identification of the new audio device to determine whether the device identification of the added audio device is the same as the device identification of the new audio device.

[0048] In step S64, if it is determined that the device identification of the added audio device is different from the device identification of the new audio device, a shared audio request is generated, where the shared audio request is used to request that the new audio device be added to the connection synchronization group.

[0049] In step S65, a response message to the audio sharing request is received.

[0050] In step S66, if the response message indicates that the new audio device is agreed to be added to the connection synchronization group, the new audio device is added to the connection synchronization group.

[0051] By adopting the above technical solution, since it is possible to generate a shared audio request when it is determined that the device identifier of the already added audio device is different from the device identifier of the new audio device, the shared audio request is used to request that the new audio device be added to the connection synchronization group, and a response message to the shared audio request is received. If the response message indicates that the new audio device is agreed to be added to the connection synchronization group, the new audio device is added to the connection synchronization group. Therefore, it is possible to add devices of the same type with different CSIs or devices of different types to the same CIG group. In this way, audio devices in the same CIG group can play the same audio, thereby playing the role of shared audio.

[0052] Further references Figure 6According to the embodiment of the present disclosure, the audio sharing method may further include step S67: if it is determined that the device identifier of the added audio device is the same as the device identifier of the new audio device, the new audio device is added to the connection synchronization group.

[0053] For example, for a pair of headphones, the left earphone has been added to the connection synchronization group before, and then after the right earphone is connected to the audio transmitter, it can be determined that the device identifier of the newly connected right earphone is the same as the device identifier of the left earphone that has been added to the connection synchronization group before, so the newly connected right earphone can be directly added to the same connection synchronization group as the left earphone.

[0054] By adopting the above technical solution, when it is determined that the device identifier of the added audio device is the same as the device identifier of the new audio device, the new audio device can be directly added to the connection synchronization group without generating a shared audio request.

[0055] Further references Figure 6 According to the embodiment of the present disclosure, the audio sharing method may further include step S68: if it is determined that there is no audio device that has been added in the connection synchronization group, then the new audio device is added to the connection synchronization group. In this way, the new audio device can be directly added to the connection synchronization group without generating a shared audio request.

[0056] In some embodiments, the audio sharing method according to the embodiment of the present disclosure may further include: if the response message indicates that the new audio device is agreed to be added to the connection synchronization group, updating the number of members in the connection synchronization group.

[0057] When the number of members in the connection synchronization group is updated, the number of members in the connection synchronization group can be updated according to the number of devices in the set to which the audio device belongs. For example, a set of headphones usually has two left and right headphones, that is, the number of devices in a set of audio devices is 2. If the audio device to be added to the same connection synchronization group is a headphone, the number of members in the connection synchronization group is increased by 2.

[0058] In some embodiments, the updating of the number of members in the connection synchronization group may include: switching the state of the audio transmitter to a member configuration state, the audio transmitter being a device connected to the audio device so that the audio device plays the audio in the audio transmitter; in the member configuration state, updating the number of members in the connection synchronization group. That is, the number of members in the connection synchronization group needs to be updated when the audio transmitter is in the member configuration state.

[0059] In some embodiments, switching the state of the audio transmitter to the member configuration state includes: if the current state of the audio transmitter is a QoS configuration state, directly switching from the QoS configuration state to the member configuration state. The QoS configuration state is a state for configuring the quality of service (QoS) of the audio transmitter.

[0060] In some embodiments, switching the state of the audio transmitter to the member configuration state includes: if the current state of the audio transmitter is a streaming state, switching from the streaming state to the QoS configuration state, and switching from the QoS configuration state to the member configuration state. The streaming state is a state of performing streaming (e.g., audio playback, video playback, etc.).

[0061] Figure 7 : is a state switching schematic diagram according to an embodiment of the present disclosure. Generally, the initial state of the audio transmitter may be one of the streaming playback state and the QoS configuration state. If the initial state of the audio transmitter is the streaming playback state, the audio transmitter needs to switch from the streaming playback state to the QoS configuration state and then to the member configuration state to configure the number of members in the connection synchronization group. If the initial state of the audio transmitter is the QoS configuration state, the audio transmitter needs to switch from the QoS configuration state to the member configuration state to configure the number of members in the connection synchronization group.

[0062] In addition, after the number of members is configured, if the audio transmitter needs to switch to the QoS configuration state, it can directly switch from the member configuration state to the QoS configuration state; if the audio transmitter needs to switch to the streaming playback state, it needs to first switch from the member configuration state to the QoS configuration state, and then from the QoS configuration state to the enabled state, and then from the enabled state to the streaming playback state.

[0063] In addition, metadata can be updated in both the enabled state and the streaming state. Moreover, the release operation can be used to enter the release state from the QoS configuration state, the streaming state, or the enabled state. If the audio transmitter is currently in the idle state, it can directly switch from the idle state to the member configuration state to configure the number of members in the connection synchronization group.

[0064] By adopting the above technical solution, when the response message indicates that the new audio device is agreed to be added to the connection synchronization group, the number of members in the connection synchronization group is updated, thereby reducing the performance overhead in the non-audio sharing state. For example, in the Bluetooth audio sharing scenario, the Bluetooth performance overhead in the non-audio sharing state is reduced.

[0065] Figure 8 is a block diagram of an audio sharing device according to an exemplary embodiment. Figure 8 The audio sharing device 8 includes: a generating module 81, which is used to generate a shared audio request in response to detecting that a new audio device has been connected, wherein the shared audio request is used to request that the new audio device be added to a connection synchronization group, and the device identifier of the new audio device is different from the device identifier of the audio device already added to the connection synchronization group; a receiving module 82, which is used to receive a response message to the shared audio request; and a joining module 82, which is used to add the new audio device to the connection synchronization group if the response message indicates that the new audio device is agreed to be added to the connection synchronization group.

[0066] By adopting the above technical solution, since it is possible to generate a shared audio request in response to detecting that a new audio device has been connected, the shared audio request is used to request that the new audio device be added to the connection synchronization group, and the device identification of the new audio device is different from the device identification of the audio device that has been added to the connection synchronization group, and receive a response message to the shared audio request. If the response message indicates that the new audio device is agreed to be added to the connection synchronization group, the new audio device is added to the connection synchronization group. Therefore, it is possible to add devices of the same type with different CSIs or devices of different types to the same CIG group, so that the audio devices in the same CIG group can play the same audio and play the role of shared audio. It should be noted that the audio here can be Bluetooth audio, or it can be wired or wireless audio. That is to say, the audio sharing device according to the embodiment of the present disclosure can be applied not only to the Bluetooth audio field, but also to other fields where audio sharing is required.

[0067] Optionally, the audio sharing device 8 may further include:

[0068] an acquisition module, configured to acquire a device identification of the new audio device and determine whether the added audio device exists in the connection synchronization group;

[0069] a determination module, configured to determine whether a device identifier of the added audio device is the same as a device identifier of the new audio device if it is determined that the added audio device exists in the connection synchronization group;

[0070] The generating module 81 is further configured to generate the audio sharing request if it is determined that the device identification of the added audio device is different from the device identification of the new audio device.

[0071] Optionally, the adding module 82 is further configured to: if it is determined that the device identifier of the already added audio device is the same as the device identifier of the new audio device, add the new audio device to the connection synchronization group.

[0072] Optionally, the audio sharing device 8 further comprises a configuration module, which is used to update the number of members in the connection synchronization group if the response message indicates that the new audio device is agreed to be added to the connection synchronization group.

[0073] Optionally, the configuration module updates the number of members in the connection synchronization group, including:

[0074] Switching the state of the audio transmitter to a member configuration state, the audio transmitter being a device connected to the audio device so that the audio device plays the audio in the audio transmitter;

[0075] In the member configuration state, the number of members in the connection synchronization group is updated.

[0076] Optionally, the configuration module switches the state of the audio transmitter to a member configuration state, including:

[0077] If the current state of the audio transmitter is the QoS configuration state, the QoS configuration state is directly switched to the member configuration state.

[0078] Optionally, the configuration module switches the state of the audio transmitter to a member configuration state, including:

[0079] If the current state of the audio transmitter is a streaming playback state, the streaming playback state is switched to a QoS configuration state, and then the QoS configuration state is switched to the member configuration state.

[0080] The specific implementation of the operations performed by each module in the audio sharing device according to the embodiment of the present disclosure has been described in detail in the relevant method, and will not be repeated here.

[0081] The present disclosure also provides an audio sharing device, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to implement the steps of any method described in the present disclosure.

[0082] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, and the program instructions, when executed by a processor, implement the steps of any method described in the present disclosure.

[0083] Fig. 98 is a block diagram of an apparatus 800 for audio sharing according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0084] Reference Fig. 9 , the device 800 may include one or more of the following components: a first processing component 802 , a first memory 804 , a first power supply component 806 , a multimedia component 808 , an audio component 810 , a first input / output interface 812 , a sensor component 814 , and a communication component 816 .

[0085] The first processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The first processing component 802 may include one or more first processors 820 to execute instructions to complete all or part of the steps of the above-mentioned audio sharing method. In addition, the first processing component 802 may include one or more modules to facilitate the interaction between the first processing component 802 and other components. For example, the first processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the first processing component 802.

[0086] The first memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The first memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0087] The first power source component 806 provides power to various components of the device 800. The first power source component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 800.

[0088] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0089] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the first memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0090] The first input / output interface 812 provides an interface between the first processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0091] The sensor assembly 814 includes one or more sensors for providing various aspects of the status assessment of the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0092] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0093] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-mentioned audio sharing method.

[0094] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a first memory 804 including instructions, and the instructions can be executed by the first processor 820 of the device 800 to complete the above audio sharing method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0095] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program that can be executed by a programmable device. The computer program has a code portion for executing the above audio sharing method when executed by the programmable device.

[0096] Fig.10 1 is a block diagram of a device 1900 for audio sharing according to an exemplary embodiment. For example, the device 1900 may be provided as a server. Fig.10 , the device 1900 includes a second processing component 1922, which further includes one or more processors, and a memory resource represented by a second memory 1932 for storing instructions executable by the second processing component 1922, such as an application. The application stored in the second memory 1932 may include one or more modules each corresponding to a set of instructions. In addition, the second processing component 1922 is configured to execute instructions to perform the above-mentioned audio sharing method.

[0097] The device 1900 may also include a second power supply component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and a second input / output interface 1958. The device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server 2000. TM , MacOS X TM , Unix TM , Linux TM , FreeBSD TM or similar.

[0098] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0099] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. An audio sharing method, characterized in that: include: In response to detecting that a new audio device has been connected, generating a shared audio request, the shared audio request being used to request that the new audio device be added to a connection synchronization group, wherein a device identifier of the new audio device is different from a device identifier of an audio device that has been added to the connection synchronization group; Receiving a response message to the audio sharing request; If the response message indicates that the new audio device is agreed to be added to the connection synchronization group, the new audio device is added to the connection synchronization group.

2. The audio sharing method according to claim 1, characterized in that: The step of generating a shared audio request in response to detecting that a new audio device is connected comprises: Obtaining a device identifier of the new audio device, and determining whether the added audio device exists in the connection synchronization group; If it is determined that the added audio device exists in the connection synchronization group, determining whether the device identification of the added audio device is the same as the device identification of the new audio device; If it is determined that the device identification of the added audio device is different from the device identification of the new audio device, the audio sharing request is generated.

3. The audio sharing method according to claim 2, characterized in that: The audio sharing method further includes: If it is determined that the device identification of the added audio device is the same as the device identification of the new audio device, the new audio device is added to the connection synchronization group.

4. The audio sharing method according to any one of claims 1 to 3, characterized in that: The audio sharing method further includes: If the response message indicates that the new audio device is agreed to be added to the connection synchronization group, the number of members in the connection synchronization group is updated.

5. The audio sharing method according to claim 4, characterized in that: The updating of the number of members in the connection synchronization group includes: Switching the state of the audio transmitter to a member configuration state, the audio transmitter being a device connected to the audio device so that the audio device plays the audio in the audio transmitter; In the member configuration state, the number of members in the connection synchronization group is updated.

6. The audio sharing method according to claim 5, characterized in that: The switching of the state of the audio transmitter to the member configuration state comprises: If the current state of the audio transmitter is the QoS configuration state, the QoS configuration state is directly switched to the member configuration state.

7. The audio sharing method according to claim 5, characterized in that: The switching of the state of the audio transmitter to the member configuration state comprises: If the current state of the audio transmitter is a streaming playback state, the streaming playback state is switched to a QoS configuration state, and then the QoS configuration state is switched to the member configuration state.

8. An audio sharing device, characterized in that: include: A generating module, configured to generate a shared audio request in response to detecting that a new audio device is connected, wherein the shared audio request is used to request that the new audio device be added to a connection synchronization group, wherein a device identifier of the new audio device is different from a device identifier of an audio device already added to the connection synchronization group; A receiving module, configured to receive a response message to the shared audio request; A adding module is configured to add the new audio device to the connection synchronization group if the response message indicates that the new audio device is agreed to be added to the connection synchronization group.

9. An audio sharing device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the steps of the method according to any one of claims 1 to 8.

10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 8 are implemented.