Audio sharing method, device, system and readable storage medium

Establish a private link and monitoring connection between the headphone box and the headphone pair, and use the headphone box to process audio data, realizing the music sharing function through existing Bluetooth technology, solving the problem of insufficient support for LE Audio, and improving the efficiency of mode switching , improves the user experience.

CN115002734BActive Publication Date: 2024-12-24BESTECHNIC SHANGHAI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210476106.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-29
Publication Date
2024-12-24
Estimated Expiration
2042-04-29

AI Technical Summary

Technical Problem

The existing technology requires mobile phones that support LE Audio technology to realize Bluetooth music sharing function, and switching between audio sharing mode and monitoring mode requires additional time-consuming and reducing user experience.

Method used

Establish a private link and monitoring connection between headphone boxes and headphone pairs. Use the headphone boxes as intermediate stations to decode and encode audio data to realize audio sharing, and seamlessly switch the audio sharing mode and monitoring mode when needed to avoid establishing Adds extra time to connection.

Benefits of technology

Through existing Bluetooth technology, users can use Bluetooth music sharing function, overcome the shortcomings of mobile phones that need to support LE Audio technology to share functions, and improve the user experience, achieving seamless switching between audio sharing mode and monitoring mode.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115002734B_ABST
    Figure CN115002734B_ABST
Patent Text Reader

Abstract

The present application proposes an audio sharing method, device, system and readable storage medium, the method comprising: establishing a private link and monitoring connection between an earphone box and a first earphone pair; according to the monitoring connection, monitoring the connection information between the earphone box and the first terminal through the first earphone pair, so that the first earphone pair enters the audio playing state; after receiving the audio sharing request, the earphone box sends the broadcast information to the second earphone pair, so that the second earphone pair receives the broadcast data according to the broadcast information, and synchronizes to the audio playing state of the first earphone pair; wherein the broadcast information is synchronized to the first earphone pair through the earphone box according to the private link. The present application can enable users to use the Bluetooth music sharing function through the existing Bluetooth technology, overcoming the defect that the existing technology requires a mobile phone that supports LE Audio technology to realize the Bluetooth music sharing function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of audio communication technology, and in particular to an audio sharing method, device, system and readable storage medium. Background Art

[0002] LE Audio (Low Energy Audio) technology, as a new generation of Bluetooth audio technology, brings new audio experience functions, including enhanced audio performance, added audio sharing function and hearing aid support. The audio sharing function allows users to share their music with other users. For example, if user A wants to share the music on his mobile phone with headset user B, user B only needs to use his mobile phone to scan the audio broadcast information of user A's mobile phone, and then select the audio broadcast he wants on the mobile phone and transmit it to user B's headset. If user A's audio content is encrypted, user A needs to share the BoardCast_Code (broadcast key) with user B's mobile phone, and user B's mobile phone will then synchronize with its headset to decrypt the broadcast content, thereby completing the audio sharing function.

[0003] However, in the process of conceiving and implementing this application, the inventors found that there are at least the following problems: since LE Audio is an audio technology that has only begun to be promoted in recent years, and basically no mobile phones on the market support this technology, users need to use mobile phones that support LE Audio technology to experience the audio sharing function, which brings high costs to replace mobile phones, which is not conducive to users' experience of the audio sharing function of LE Audio technology; on the other hand, since the audio sharing function is one-way, when the user needs to switch between music sharing mode and monitoring mode, the existing technology needs to stop the broadcast before establishing the classic connection, or disconnect the classic connection and then establish the broadcast, which results in additional time required to establish the connection, reducing the user experience.

[0004] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the invention

[0005] In response to the above technical problems, the present application provides an audio sharing method, device, system and readable storage medium, which can enable users to use the Bluetooth music sharing function through existing Bluetooth technology, overcoming the defect that the existing technology requires a mobile phone that supports LE Audio technology to realize the Bluetooth music sharing function.

[0006] In order to solve the above technical problems, the first aspect of the present application provides an audio sharing method, the method comprising:

[0007] Establishing a private link between the earphone box and the first earphone pair, and establishing a monitoring connection between the first earphone pair and the earphone box;

[0008] According to the monitoring connection, monitoring the connection information between the earphone box and the first terminal through the first earphone pair, so that the first earphone pair enters the audio playing state;

[0009] After receiving the audio sharing request initiated by the first terminal, the earphone box sends the broadcast information to the second earphone pair, so that the second earphone pair receives the broadcast data according to the broadcast information and synchronizes it with the audio playback status of the first earphone pair; wherein the broadcast information is synchronized to the first earphone pair through the earphone box according to the private link.

[0010] Optionally, after the broadcast information is synchronized to the first earphone pair through the earphone box according to the private link, the method further includes:

[0011] receiving, through the earphone box, audio data sent by the first terminal, and successively decoding and encoding the audio data;

[0012] The first earphone pair plays audio data decoded and encoded by the earphone box based on the broadcast information.

[0013] Optionally, before the earphone box receives the audio sharing request, the method further includes:

[0014] The broadcast information is encrypted by the first terminal to generate encrypted broadcast information.

[0015] Optionally, after the second terminal scans the audio sharing broadcast source of the first terminal, sending the broadcast information to the second earphone pair specifically includes:

[0016] If the broadcast information is encrypted broadcast information, sending the broadcast key to the second earphone pair through the second terminal, so that the second earphone pair decrypts the broadcast information according to the broadcast key;

[0017] After the second terminal scans the audio sharing broadcast source of the first terminal, the broadcast information is received and decrypted through the second earphone.

[0018] Optionally, after sending the broadcast key to the second earphone pair through the second terminal so that the second earphone pair decrypts the broadcast information according to the broadcast key, the method further includes:

[0019] Writing the broadcast information source to the second earphone pair through the second terminal, so that when the second earphone scans the audio sharing broadcast source, it starts synchronous broadcasting according to the decrypted broadcast information;

[0020] After receiving the broadcast key request initiated by the second earphone pair through the second terminal, the broadcast key is written into the second earphone pair, so that the second earphone pair decrypts the broadcast information according to the broadcast key.

[0021] Optionally, after the audio sharing is completed, the method further includes:

[0022] After receiving a request to switch to the monitoring mode, closing the private link between the earphone box and the first earphone pair, and determining the master earphone and the slave earphone in the first earphone pair;

[0023] Establishing a Bluetooth connection between the master headset and the first terminal, and establishing a monitoring connection between the slave headset and the first terminal;

[0024] The first earphone pair completes audio monitoring and audio transmission of the first terminal according to the Bluetooth connection and monitoring connection.

[0025] Optionally, after completing the audio monitoring and audio transmission of the first terminal through the first earphone pair according to the Bluetooth connection and the monitoring connection, the method further includes:

[0026] After receiving the request to switch to audio sharing, closing the Bluetooth connection between the master headset and the first terminal, and closing the monitoring connection between the slave headset and the first terminal;

[0027] Re-establishing a private link between the earphone box and the first earphone pair, and establishing a monitoring connection between the first earphone pair and the earphone box;

[0028] monitoring the connection information between the earphone box and the first terminal through the first earphone pair according to the monitoring connection; monitoring the connection information between the earphone box and the first terminal through the first earphone pair according to the monitoring connection, so that the first earphone pair enters the audio playing state;

[0029] After receiving the audio sharing request, the earphone box sends the broadcast information to the second earphone pair after the second terminal scans the audio sharing broadcast source of the first terminal, so that the second earphone pair receives the broadcast data according to the broadcast information and synchronizes to the audio playback status of the first earphone pair to complete the audio sharing; wherein, the broadcast information is synchronized to the first earphone pair through the earphone box according to the private link.

[0030] Accordingly, a second aspect of the present application provides an audio sharing device, comprising:

[0031] a connection establishing module, used to establish a private link between the earphone box and the first earphone pair, and to establish a monitoring connection between the first earphone pair and the earphone box;

[0032] an audio playing module, configured to monitor, through the first earphone pair, connection information between the earphone box and the first terminal according to the monitoring connection, so that the first earphone pair enters an audio playing state;

[0033] An audio sharing module is used for the earphone box to send the broadcast information to the second earphone pair after receiving the audio sharing request initiated by the first terminal, so that the second earphone pair receives the broadcast data according to the broadcast information and synchronizes with the audio playback status of the first earphone pair; wherein the broadcast information is synchronized to the first earphone pair through the earphone box according to the private link.

[0034] The third aspect of the present application also provides an audio sharing system, including an earphone box and a first earphone pair, the earphone box is used to establish a private link with the first earphone pair, and after receiving an audio sharing request, the second terminal scans the audio sharing broadcast source of the first terminal and then sends the broadcast information to the second earphone pair, so that the second earphone pair receives the broadcast data according to the broadcast information, synchronizes to the audio playback state of the first earphone pair, and completes the audio sharing; wherein the broadcast information is synchronized to the first earphone pair through the earphone box according to the private link; the first earphone pair is used to establish a monitoring connection with the earphone box, and enters the audio playback state after monitoring the connection information between the earphone box and the first terminal according to the monitoring connection.

[0035] The fourth aspect of the present application further proposes a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above-mentioned audio sharing methods when executing the computer program.

[0036] A fifth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above-mentioned audio sharing method are implemented.

[0037] Implementing the embodiments of the present invention has the following beneficial effects:

[0038] As described above, the present application provides an audio sharing method, device, system and readable storage medium, the method comprising: establishing a private link between an earphone box and a first earphone pair, and establishing a monitoring connection between the first earphone pair and the earphone box; according to the monitoring connection, monitoring the connection information between the earphone box and the first terminal through the first earphone pair, so that the first earphone pair enters the audio playback state; after receiving the audio sharing request initiated by the first terminal, the earphone box sends the broadcast information to the second earphone pair, so that the second earphone pair receives the broadcast data according to the broadcast information and synchronizes to the audio playback state of the first earphone pair; wherein the broadcast information is synchronized to the first earphone pair through the earphone box according to the private link. The audio sharing method of the present application first establishes a classic connection between the earphone box and the earphone pair, and at the same time the earphone pair establishes a monitoring connection to monitor the connection between the earphone box and the terminal. When the terminal plays music, the earphone box is used as an intermediate station to decode and encode the audio data, and the broadcast information is synchronized to the earphone pair for playback. When the current user needs to use the audio sharing function, other users only need to scan the audio sharing broadcast source of the current user's terminal through their own terminals, and then synchronize to the sharing user's broadcast channel for audio sharing, so that users can use the Bluetooth music sharing function through existing Bluetooth technology, overcoming the defect that the existing technology requires a mobile phone that supports LE Audio technology to realize the Bluetooth music sharing function; in addition, the present application can also realize seamless switching between audio sharing mode and monitoring mode, without adding extra time when establishing a connection, greatly improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.

[0040] Figure 1 It is a flowchart of a first implementation method of the audio sharing method provided in an embodiment of the present application;

[0041] Figure 2 is a flowchart of a second implementation of the audio sharing method provided in an embodiment of the present application;

[0042] Figure 3 It is a flowchart of a third implementation method of the audio sharing method provided in the embodiment of the present application;

[0043] Figure 4is a flowchart of a fourth implementation of the audio sharing method provided in an embodiment of the present application;

[0044] Figure 5 is a flowchart of a fifth implementation of the audio sharing method provided in an embodiment of the present application;

[0045] Figure 6 is a flowchart of a sixth implementation of the audio sharing method provided in an embodiment of the present application;

[0046] Figure 7 is a flowchart of a seventh implementation of the audio sharing method provided in an embodiment of the present application;

[0047] Figure 8 is a structural diagram of an audio sharing device provided in an embodiment of the present application;

[0048] Fig. 9 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present application.

[0049] The realization of the purpose, functional features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. The above-mentioned drawings have shown clear embodiments of this application, which will be described in more detail later. These drawings and textual descriptions are not intended to limit the scope of the concept of this application in any way, but to illustrate the concept of this application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0050] 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, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0051] It should be noted that, in this article, the terms "include", "comprises" 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 includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.

[0052] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in this article, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this article, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination". Furthermore, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising" and "including" indicate the presence of the described features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the presence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or", "and / or", "including at least one of the following" used in this application, etc. can be interpreted as inclusive, or mean any one or any combination. For example, “comprising at least one of the following: A, B, C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”, and for another example, “A, B or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”. An exception to this definition will only occur when a combination of elements, functions, steps or operations are inherently mutually exclusive in some manner.

[0053] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are displayed in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and it can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0054] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.

[0055] It should be noted that in this article, step codes such as S10 and S20 are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence. When implementing the step, those skilled in the art may execute S20 first and then S10, etc., but these should all be within the scope of protection of this application.

[0056] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0057] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0058] First, the application scenarios that can be provided by this application are introduced, such as providing an audio sharing method, device, system and readable storage medium, which can enable users to use the Bluetooth music sharing function through existing Bluetooth technology, overcoming the defect that the existing technology requires a mobile phone that supports LE Audio technology to realize the Bluetooth music sharing function.

[0059] See also Figure 1 , Figure 1 1 is a flowchart of a first implementation of the audio sharing method provided in the embodiment of the present application. The method comprises:

[0060] S10. Establish a private link between the earphone box and the first earphone pair, and establish a monitoring connection between the first earphone pair and the earphone box.

[0061] Specifically, for step S10, first, a private link is established between the headphone box and the first headphone pair through the headphone box, such as a classic connection such as a Bluetooth connection. At the same time, a monitoring connection is established between the first headphone pair and the headphone box, so that the first headphone pair monitors the connection between the headphone box and the first terminal according to the monitoring connection. At this time, the left headphone and the right headphone in the first headphone pair are not in a master-slave relationship, and the connection between the headphone box and the first terminal is monitored by the left and right headphones at the same time, instead of only the terminal and the headphones being connected in the prior art.

[0062] S20. According to the monitoring connection, the connection information between the earphone box and the first terminal is monitored by the first earphone pair, so that the first earphone pair enters the audio playing state.

[0063] Specifically, in step S20, after the first terminal plays music, the music data is first decoded by the earphone box, and then encoded after decoding. Then, the earphone box will serve as a broadcast source (intermediate station) to synchronize the broadcast information to the first earphone pair. The first earphone pair monitors the connection information between the earphone box and the first terminal according to the monitoring connection, and plays the audio while monitoring the broadcast audio. At this time, the first earphone pair enters the audio playing state. The broadcast information includes but is not limited to information such as the broadcast address type, broadcast address, and broadcast ID.

[0064] S30. After receiving the audio sharing request initiated by the first terminal, the earphone box sends the broadcast information to the second earphone pair, so that the second earphone pair receives the broadcast data according to the broadcast information and synchronizes it to the audio playback status of the first earphone pair; wherein the broadcast information is synchronized to the first earphone pair through the earphone box according to the private link.

[0065] Specifically, for step S30, after receiving the audio sharing request initiated by the first terminal, the earphone box obtains the corresponding broadcast information after scanning the audio sharing broadcast source of the first terminal through the second terminal, and sends the broadcast information to the second earphone pair that needs to be shared in response to the audio sharing request information, so that the second earphone pair receives the broadcast data broadcast by the first terminal according to the received broadcast information, thereby synchronizing to the audio playback state of the first earphone pair, completing the synchronous audio playback of the first earphone pair and the second earphone pair, and completing the audio sharing. Among them, the broadcast information is synchronized to the first earphone pair through the earphone box according to the private link between the earphone box and the first earphone pair. It should be noted that, in this embodiment, the first terminal and the first earphone pair are in an exclusive pairing relationship, that is, the first earphone pair is the paired earphone of the first terminal; similarly, the second terminal and the second earphone pair are in an exclusive pairing relationship, that is, the second earphone pair is the paired earphone of the second terminal.

[0066] In the prior art, if user A wants to share the music on mobile phone A to the headphones of user B for simultaneous playback, both mobile phones need to support LE Audio technology. However, most mobile phones currently do not support LE Audio technology, which brings high costs for replacing mobile phones, and is not conducive to users' experience of the audio sharing function of LE Audio technology. In this embodiment, the headphone box is used as an intermediate station to establish a private link and monitoring connection between the headphone box and the headphone pair. When the terminal plays music, the audio data is decoded and encoded by the headphone box, and the broadcast information is synchronized to the headphone pair for playback. When the current user needs to use the audio sharing function, other users only need to scan the audio sharing broadcast source of the current user's terminal through their own terminals, and then synchronize to the sharing user's broadcast channel for audio sharing, so that users can use the Bluetooth music sharing function through the existing Bluetooth technology, overcoming the defect that the prior art requires a mobile phone that supports LE Audio technology to realize the Bluetooth music sharing function.

[0067] Optionally, in some embodiments, Figure 2 As shown, after the broadcast information is synchronized to the first earphone pair through the earphone box according to the private link, the method may further include:

[0068] S21 receives the audio data sent by the first terminal through the headset box, and decodes and encodes the audio data successively;

[0069] S22. Play the audio data decoded and encoded by the earphone box according to the broadcast information through the first earphone pair.

[0070] In a specific embodiment, in step S20, after the first earphone pair monitors the connection information between the earphone box and the first terminal according to the monitoring connection pair, the earphone box will synchronize the broadcast information to the first earphone pair according to the private link between the earphone box and the first earphone pair, and the first earphone pair starts to monitor the broadcast audio; at the same time, after the first terminal plays music, the earphone box first decodes the audio data (for example, streaming media data in A2DP format) sent by the first terminal, and then performs encoding after the decoding is completed, for example, encoding into LC3 / LC3+ format. After the encoding is completed, the first earphone pair listens to the audio data after encoding by the earphone box according to the synchronized broadcast information, and the first earphone pair enters the audio playback state.

[0071] Optionally, in some embodiments, before the earphone box receives the audio sharing request, the method may further include:

[0072] The broadcast information is encrypted by the first terminal to generate encrypted broadcast information.

[0073] Specifically, before receiving the audio sharing request through the earphone box in step S30, the audio sharing method further includes encrypting the broadcast information through the first terminal to generate encrypted broadcast information, and the encryption method includes but is not limited to digital password and QR code encryption. By encrypting the broadcast information, the security and privacy of audio sharing can be improved to avoid leakage of audio data.

[0074] Correspondingly, when the current broadcast information is encrypted, such as Figure 3 As shown, in step S30, after the second terminal scans the audio sharing broadcast source of the first terminal, sending the broadcast information to the second earphone pair may specifically include:

[0075] S31. If the broadcast information is encrypted broadcast information, the broadcast key is sent to the second headset pair through the second terminal so that the second headset pair decrypts the broadcast information according to the broadcast key;

[0076] S32. After the second terminal scans the audio sharing broadcast source of the first terminal, the broadcast information is received and decrypted through the second headset.

[0077] In a specific embodiment, after the user initiates a request to encrypt the broadcast, the broadcast information is encrypted by the first earphone pair. After the encryption is completed, when the audio sharing request initiated by the second terminal is received, the second earphone pair is first used to determine whether the broadcast key input by the second terminal is correct. When it is determined that the input broadcast key is correct, the second earphone pair decrypts the broadcast information sent by the first terminal according to the broadcast key. After the second terminal scans the audio sharing broadcast source of the first terminal, it is synchronized to its paired second earphone pair. The audio sharing broadcast source is also the broadcast channel between the first terminal and the earphone box. The second earphone pair receives the broadcast data according to the decrypted broadcast information and plays the audio, thereby completing the audio sharing between the first earphone pair and the second earphone pair.

[0078] Optionally, in some embodiments, Figure 3 As shown, after step S31, the method may further include:

[0079] S311. The broadcast information source is written to the second earphone pair through the second terminal, so that when the second earphone scans the audio sharing broadcast source, it starts synchronous broadcasting according to the decrypted broadcast information;

[0080] S312. After receiving the broadcast key request initiated by the second earphone pair through the second terminal, write the broadcast key into the second earphone pair, so that the second earphone pair decrypts the broadcast information according to the broadcast key.

[0081] Specifically, in step S31, after the second terminal sends the broadcast information to the second earphone pair, the broadcast information source obtained after decryption is first written into the second earphone pair through the second terminal, so that the second earphone pair starts to synchronize the broadcast information according to the decrypted broadcast information. After writing the broadcast information source, the second terminal receives the broadcast key request initiated by the second earphone pair, and writes the broadcast key to the second earphone pair, so that the second earphone pair can decrypt the broadcast information according to the written broadcast key, and the second earphone pair can scan the designated broadcast source, start synchronous broadcasting according to the decrypted broadcast information, and receive broadcast data.

[0082] Optionally, in some embodiments, Figure 4 As shown, after step S40, the method may further include:

[0083] S41. After receiving a request to switch to the monitoring mode, close the private link between the earphone box and the first earphone pair, and determine the master earphone and the slave earphone in the first earphone pair;

[0084] S42 establishes a Bluetooth connection between the master headset and the first terminal, and establishes a monitoring connection between the slave headset and the first terminal;

[0085] S43. Complete the audio monitoring and audio transmission of the first terminal through the first earphone pair according to the Bluetooth connection and the monitoring connection.

[0086] In a specific embodiment, after audio sharing is completed in step S40, the present embodiment also provides a method for switching the audio sharing mode to the monitoring mode. For example, when there is an incoming call on the first terminal, it is necessary to close the current audio sharing mode and switch to the monitoring mode at the same time. First, the private link between the earphone box and the first earphone pair is closed, and the master ear and the slave ear of the current first earphone pair are determined, and the data sending function of the master ear is turned on. At the same time, the data transmission channel between the earphone box and the first terminal is closed to complete the master-slave switching. Then, a Bluetooth connection is established between the master ear and the first terminal, and a monitoring connection is established between the slave ear and the first terminal. After switching to the monitoring mode, audio is transmitted to the first terminal through the master ear according to the Bluetooth connection, and the audio data between the first terminal and the master ear is monitored by the slave ear according to the monitoring connection, so as to realize seamless switching between the audio sharing mode and the monitoring mode and improve the user experience.

[0087] Optionally, in some embodiments, Figure 4 As shown, after step S43, the method may further include:

[0088] S44. After receiving the request to switch to audio sharing, close the Bluetooth connection between the master headset and the first terminal, and close the monitoring connection between the slave headset and the first terminal;

[0089] S45. Re-establishing a private link between the headset box and the first headset pair, and establishing a monitoring connection between the first headset pair and the headset box;

[0090] S46. Monitoring the connection information between the headphone box and the first terminal through the first headphone pair according to the monitoring connection; monitoring the connection information between the headphone box and the first terminal through the first headphone pair according to the monitoring connection, so that the first headphone pair enters the audio playback state;

[0091] S47. After receiving the audio sharing request, the earphone box sends the broadcast information to the second earphone pair after the second terminal scans the audio sharing broadcast source of the first terminal, so that the second earphone pair receives the broadcast data according to the broadcast information and synchronizes to the audio playback status of the first earphone pair to complete the audio sharing; wherein, the broadcast information is synchronized to the first earphone pair through the earphone box according to the private link.

[0092] Correspondingly, the present embodiment also provides a method for seamlessly switching from the monitoring mode to the audio sharing mode. For example, when the call of the first terminal is ended, it is necessary to immediately switch back to the audio sharing mode. First, the Bluetooth connection between the master earphone in the first earphone pair and the first terminal is closed, and the monitoring connection between the slave earphone in the first earphone pair and the first terminal is closed to complete the master-slave switching of the first earphone pair, switch to the audio sharing mode, and re-establish the private link and monitoring connection between the earphone box and the first earphone pair. After switching back to the audio sharing mode, the audio data of the music played by the first terminal is re-acquired through the earphone box, and the music data is decoded and processed again through the earphone box. After decoding, it is encoded. Then, the earphone box will act as a broadcast source (intermediate station) to synchronize the broadcast information to the first earphone pair. The first earphone pair monitors the connection information between the earphone box and the first terminal according to the monitoring connection, and plays audio while monitoring the broadcast audio. At this time, the first earphone pair enters the audio playback state. The second terminal sends the previously acquired broadcast information to the shared second earphone pair, so that the second earphone pair receives the broadcast data broadcast by the first terminal again according to the received broadcast information, thereby synchronizing to the audio playback state of the first earphone pair, completing the synchronized audio playback of the first earphone pair and the second earphone pair again, and continuing audio sharing, realizing seamless switching between the monitoring mode and the audio sharing mode, reducing the time spent in establishing a connection, and improving the user experience.

[0093] like Figure 5As shown, the embodiment of the present application also provides a fifth implementation method of the audio sharing method. When audio sharing is needed, the broadcast source is first written to the left ear and the right ear of the second earphone pair respectively through the mobile phone terminal. Then the left ear and the right ear start scanning and synchronously broadcasting according to the broadcast information, and start receiving the broadcast data. When the audio broadcast has been encrypted, it is necessary to initiate a broadcast key request to the mobile phone through the left ear and the right ear. After the mobile phone receives the broadcast key request, the broadcast key is written to the left ear and the right ear respectively through the mobile phone, so that the left ear and the right ear can decrypt the audio broadcast according to the broadcast key and then receive the broadcast data.

[0094] like Figure 6 As shown, the embodiment of the present application also provides a sixth implementation method of the audio sharing method, firstly, the mobile phone and the earphone box establish a classic Bluetooth connection, respectively establish a private link between the earphone box and the left ear and the right ear of the first earphone pair, and respectively establish a monitoring connection between the left ear and the earphone box, and between the right ear and the earphone box through the earphone box; send the first audio data to the earphone box through the mobile phone, wherein the first audio data can be A2DP data, A2DP (Advanced Audio Distribution Profile) is a Bluetooth audio transmission model protocol; use the earphone box as a transfer station, decode and encode the first audio data, and then encode it into the second audio data and send it to the left ear and the right ear, the second audio data can be BIS data, BIS is a Bluetooth headset authentication protocol. When there is an incoming call, it is necessary to turn off the audio sharing, that is, stop the broadcast source function, decide the current master ear and slave ear of the left and right ears, turn on the data transmission function, and at the same time turn off the data transmission connection between the earphone box and the mobile phone, stop broadcasting, initiate master-slave switching, and after the master-slave switching is completed, realize the seamless switching between the broadcast sharing mode and the monitoring mode.

[0095] like Figure 7 As shown, the embodiment of the present application also provides a seventh implementation method of the audio sharing method, establishing a private link between the earphone box and the left ear and the right ear, establishing a classic Bluetooth connection between the mobile phone and the left ear (master ear), establishing a monitoring connection between the mobile phone and the earphone box, and establishing a monitoring connection between the earphone box and the right ear (slave ear). When it is necessary to switch back to BIS mode from monitoring mode and use the music sharing function, it is necessary to turn off the master ear data transmission function in the left and right ears, and turn on the data transmission connection between the mobile phone and the earphone box. The box starts broadcasting as a broadcast stream, initiates master-slave switching, establishes a Bluetooth connection between the mobile phone and the earphone box, establishes a monitoring connection between the mobile phone and the left ear, and uses the earphone box as a transfer station to decode the first audio data sent by the mobile phone and then encode it, and encode it as the second audio data and send it to the left and right ears, completing the switching of the monitoring mode to the audio sharing mode.

[0096] As can be seen from the above, the audio sharing method provided in the embodiment of the present application includes: establishing a private link between the headphone box and the first headphone pair, and establishing a monitoring connection between the first headphone pair and the headphone box; according to the monitoring connection, monitoring the connection information between the headphone box and the first terminal through the first headphone pair, so that the first headphone pair enters the audio playback state; after receiving the audio sharing request, the headphone box sends the broadcast information to the second headphone pair, so that the second headphone pair receives the broadcast data according to the broadcast information, synchronizes to the audio playback state of the first headphone pair, and completes the audio sharing; wherein, the broadcast information is synchronized to the first headphone pair through the headphone box according to the private link. The audio sharing method of the present application first establishes a classic connection between the earphone box and the earphone pair, and at the same time the earphone pair establishes a monitoring connection to monitor the connection between the earphone box and the terminal. When the terminal plays music, the earphone box is used as an intermediate station to decode and encode the audio data, and the broadcast information is synchronized to the earphone pair for playback. When the current user needs to use the audio sharing function, other users only need to scan the audio sharing broadcast source of the current user's terminal through their own terminals, and then synchronize to the sharing user's broadcast channel for audio sharing, so that users can use the Bluetooth music sharing function through existing Bluetooth technology, overcoming the defect that the existing technology requires a mobile phone that supports LEAudio technology to realize the Bluetooth music sharing function; in addition, the present application can also realize seamless switching between audio sharing mode and monitoring mode, without adding extra time when establishing a connection, greatly improving the user experience.

[0097] Accordingly, the present application embodiment also provides an audio sharing device, see Figure 5 , Figure 5 Schematic diagram of the structure of the audio sharing device provided in an embodiment of the present application, which may specifically include a connection establishment module 100, an audio playback module 200 and an audio sharing module 300.

[0098] The connection establishing module 100 is used to establish a private link between the earphone box and the first earphone pair, and to establish a monitoring connection between the first earphone pair and the earphone box.

[0099] Specifically, for the connection establishment module 100, a private link is first established between the headphone box and the first headphone pair through the headphone box, such as a classic connection such as a Bluetooth connection. At the same time, a monitoring connection is established between the first headphone pair and the headphone box, so that the first headphone pair monitors the connection between the headphone box and the first terminal according to the monitoring connection. At this time, the left headphone and the right headphone in the first headphone pair are not in a master-slave relationship, and the connection between the headphone box and the first terminal is monitored simultaneously through the left and right headphones.

[0100] The audio playing module 200 is used to monitor the connection information between the earphone box and the first terminal through the first earphone pair according to the monitoring connection, so that the first earphone pair enters the audio playing state.

[0101] Specifically, for the audio playback module 200, after the first terminal plays music, the music data is first decoded and processed by the earphone box, and then encoded. Then, the earphone box will act as a broadcast source (intermediate station) to synchronize the broadcast information to the first earphone pair. The first earphone pair monitors the connection information between the earphone box and the first terminal according to the monitoring connection, and plays audio while monitoring the broadcast audio. At this time, the first earphone pair enters the audio playback state.

[0102] The audio sharing module 300 is used for the earphone box to send the broadcast information to the second earphone pair after receiving the audio sharing request initiated by the first terminal, so that the second earphone pair receives the broadcast data according to the broadcast information and synchronizes it to the audio playback status of the first earphone pair; wherein the broadcast information is synchronized to the first earphone pair through the earphone box according to the private link.

[0103] Specifically, for the audio sharing module 300, after receiving the audio sharing request initiated by the first terminal, the earphone box scans the audio sharing broadcast source of the first terminal through the second terminal to obtain the corresponding broadcast information, and sends the broadcast information to the second earphone pair that needs to be shared through the second terminal, so that the second earphone pair receives the broadcast data broadcast by the first terminal according to the received broadcast information, thereby synchronizing to the audio playback state of the first earphone pair, completing the synchronous audio playback of the first earphone pair and the second earphone pair, and completing audio sharing. Among them, the broadcast information is synchronized to the first earphone pair through the earphone box according to the private link between the earphone box and the first earphone pair.

[0104] Optionally, in some embodiments, the audio sharing device may further include a mode switching module, which is used to, after receiving a request to switch to the monitoring mode, close the private link between the earphone box and the first earphone pair, and determine the master earphone and the slave earphone in the first earphone pair; establish a Bluetooth connection between the master earphone and the first terminal, and establish a monitoring connection between the slave earphone and the first terminal; and complete audio monitoring and audio transmission of the first terminal through the first earphone pair based on the Bluetooth connection and the monitoring connection.

[0105] Optionally, in some embodiments, the audio sharing device may further include a broadcast encryption module, which is used to encrypt the broadcast information through the first terminal to generate encrypted broadcast information.

[0106] To summarize, the audio sharing device provided in the embodiment of the present application first establishes a private link between the headphone box and the first headphone pair through the connection establishment module 100, and establishes a monitoring connection between the first headphone pair and the headphone box; then the audio playback module 200 monitors the connection information between the headphone box and the first terminal through the first headphone pair according to the monitoring connection, so that the first headphone pair enters the audio playback state; finally, the audio sharing module 300 sends the broadcast information to the second headphone pair after receiving the audio sharing request through the headphone box and scanning the audio sharing broadcast source of the first terminal at the second terminal, so that the second headphone pair receives the broadcast data according to the broadcast information, synchronizes to the audio playback state of the first headphone pair, and completes the audio sharing. In this embodiment, a classic connection is first established between the earphone box and the earphone pair, and at the same time, the earphone pair establishes a monitoring connection to monitor the connection between the earphone box and the terminal. After the terminal plays music, the earphone box is used as an intermediate station to decode and encode the audio data, and the broadcast information is synchronized to the earphone pair for playback. When the current user needs to use the audio sharing function, other users only need to scan the audio sharing broadcast source of the current user's terminal through their own terminals, and then synchronize to the sharing user's broadcast channel for audio sharing, so that users can use the Bluetooth music sharing function through existing Bluetooth technology, overcoming the defect that the existing technology requires a mobile phone that supports LE Audio technology to realize the Bluetooth music sharing function; in addition, the present application can also realize seamless switching between audio sharing mode and monitoring mode, without adding extra time when establishing a connection, greatly improving the user experience.

[0107] An embodiment of the present application also provides an audio sharing system, including an earphone box and a first earphone pair, wherein the earphone box is used to establish a private link with the first earphone pair, and after receiving an audio sharing request, the second terminal scans the audio sharing broadcast source of the first terminal and then sends the broadcast information to the second earphone pair, so that the second earphone pair receives the broadcast data according to the broadcast information, synchronizes to the audio playback state of the first earphone pair, and completes the audio sharing; wherein the broadcast information is synchronized to the first earphone pair through the earphone box according to the private link; the first earphone pair is used to establish a monitoring connection with the earphone box, and enters the audio playback state after monitoring the connection information between the earphone box and the first terminal according to the monitoring connection.

[0108] The present application also provides a computer device in an embodiment. The computer device may be a server. Figure 6As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor designed by the computer is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store data such as audio sharing methods. The network interface of the computer device is used to communicate with an external terminal through a network connection.

[0109] When the computer program is executed by a processor, an audio sharing method is implemented. The audio sharing method includes: establishing a private link between an earphone box and a first earphone pair, and establishing a monitoring connection between the first earphone pair and the earphone box; according to the monitoring connection, the connection information between the earphone box and the first terminal is monitored by the first earphone pair, so that the first earphone pair enters an audio playing state; after receiving an audio sharing request, the earphone box sends the broadcast information to the second earphone pair after the second terminal scans the audio sharing broadcast source of the first terminal, so that the second earphone pair receives the broadcast data according to the broadcast information, synchronizes to the audio playing state of the first earphone pair, and completes audio sharing; wherein, the broadcast information is synchronized to the first earphone pair through the earphone box according to the private link.

[0110] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, an audio sharing method is implemented, comprising the steps of: establishing a private link between an earphone box and a first earphone pair, and establishing a monitoring connection between the first earphone pair and the earphone box; according to the monitoring connection, monitoring the connection information between the earphone box and the first terminal through the first earphone pair, so that the first earphone pair enters an audio playback state; after receiving an audio sharing request, the earphone box sends the broadcast information to the second earphone pair after the second terminal scans the audio sharing broadcast source of the first terminal, so that the second earphone pair receives the broadcast data according to the broadcast information, synchronizes to the audio playback state of the first earphone pair, and completes the audio sharing; wherein the broadcast information is synchronized to the first earphone pair through the earphone box according to the private link.

[0111] In the above-mentioned audio sharing method, the embodiment of the present application first establishes a classic connection between the earphone box and the earphone pair, and at the same time, the earphone pair establishes a monitoring connection to monitor the connection between the earphone box and the terminal. After the terminal plays music, the earphone box is used as an intermediate station to decode and encode the audio data, and the broadcast information is synchronized to the earphone pair for playback. When the current user needs to use the audio sharing function, other users only need to scan the audio sharing broadcast source of the current user terminal through their own terminals, and then synchronize to the sharing user's broadcast channel for audio sharing, so that users can use the Bluetooth music sharing function through the existing Bluetooth technology, overcoming the defect that the existing technology requires a mobile phone that supports LE Audio technology to realize the Bluetooth music sharing function; in addition, the present application can also realize the seamless switching between the audio sharing mode and the monitoring mode, without adding extra time when establishing a connection, greatly improving the user experience. .

[0112] It is understood that the above scenarios are only examples and do not constitute a limitation on the application scenarios of the technical solutions provided in the embodiments of the present application. The technical solutions of the present application can also be applied to other scenarios. For example, it is known to those skilled in the art that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0113] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0114] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.

[0115] The units in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.

[0116] In the present application, the same or similar terminology concepts, technical solutions and / or application scenario descriptions are generally described in detail only the first time they appear. When they appear again later, they are generally not repeated for the sake of brevity. When understanding the technical solutions and other contents of the present application, for the same or similar terminology concepts, technical solutions and / or application scenario descriptions that are not described in detail later, reference can be made to the previous related detailed descriptions.

[0117] In the present application, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0118] The various technical features of the technical solution of the present application can be arbitrarily combined. In order to make the description concise, not all possible combinations of the various technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of the present application.

[0119] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to execute the method of each embodiment of the present application.

[0120] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integrated. The available medium can be a magnetic medium, (e.g., a floppy disk, a storage disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state storage disk Solid State Disk (SSD)), etc.

[0121] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. An audio sharing method, characterized in that: The method comprises: Establishing a private link between the earphone box and the first earphone pair, and establishing a monitoring connection between the first earphone pair and the earphone box; According to the monitoring connection, the connection information between the earphone box and the first terminal is monitored by the first earphone pair, so that the first earphone pair enters an audio playing state; After receiving the audio sharing request initiated by the first terminal, the earphone box scans the audio sharing broadcast source of the first terminal through the second terminal to obtain the corresponding broadcast information, and sends the broadcast information to the second earphone pair in response to the audio sharing request information, so that the second earphone pair receives the broadcast data according to the broadcast information and synchronizes it to the audio playback status of the first earphone pair; wherein the broadcast information is synchronized to the first earphone pair through the earphone box according to the private link.

2. The audio sharing method according to claim 1, characterized in that: After the broadcast information is synchronized to the first earphone pair through the earphone box according to the private link, the method further includes: receiving, through the earphone box, audio data sent by the first terminal, and successively decoding and encoding the audio data; The first earphone pair plays audio data decoded and encoded by the earphone box based on the broadcast information.

3. The audio sharing method according to claim 1, characterized in that: Before the earphone box receives the audio sharing request, the method further includes: The broadcast information is encrypted by the first terminal to generate encrypted broadcast information.

4. The audio sharing method according to claim 1, characterized in that: The method of obtaining corresponding broadcast information after scanning the audio sharing broadcast source of the first terminal by the second terminal, and sending the broadcast information to the second earphone pair in response to the audio sharing request information specifically includes: If the broadcast information is encrypted broadcast information, sending the broadcast key to the second earphone pair through the second terminal, so that the second earphone pair decrypts the broadcast information according to the broadcast key; After the second terminal scans the audio sharing broadcast source of the first terminal, the broadcast information is received and decrypted through the second earphone.

5. The audio sharing method according to claim 4, characterized in that: After sending the broadcast key to the second earphone pair through the second terminal so that the second earphone pair decrypts the broadcast information according to the broadcast key, the method further includes: Writing the broadcast information source to the second earphone pair through the second terminal, so that when the second earphone scans the audio sharing broadcast source, it starts synchronous broadcasting according to the decrypted broadcast information; After receiving the broadcast key request initiated by the second earphone pair through the second terminal, the broadcast key is written into the second earphone pair, so that the second earphone pair decrypts the broadcast information according to the broadcast key.

6. The audio sharing method according to claim 1, characterized in that: After the audio sharing is completed, the method further includes: After receiving a request to switch to the monitoring mode, closing the private link between the earphone box and the first earphone pair, and determining the master earphone and the slave earphone in the first earphone pair; Establishing a Bluetooth connection between the master headset and the first terminal, and establishing a monitoring connection between the slave headset and the first terminal; The first earphone pair completes audio monitoring and audio transmission of the first terminal according to the Bluetooth connection and monitoring connection.

7. The audio sharing method according to claim 6, characterized in that: After completing the audio monitoring and audio transmission of the first terminal through the first earphone pair according to the Bluetooth connection and the monitoring connection, the method further includes: After receiving the request to switch to audio sharing, closing the Bluetooth connection between the master headset and the first terminal, and closing the monitoring connection between the slave headset and the first terminal; Re-establishing a private link between the earphone box and the first earphone pair, and establishing a monitoring connection between the first earphone pair and the earphone box; monitoring the connection information between the earphone box and the first terminal through the first earphone pair according to the monitoring connection; monitoring the connection information between the earphone box and the first terminal through the first earphone pair according to the monitoring connection, so that the first earphone pair enters the audio playing state; After receiving the audio sharing request, the earphone box sends the broadcast information to the second earphone pair after the second terminal scans the audio sharing broadcast source of the first terminal, so that the second earphone pair receives the broadcast data according to the broadcast information and synchronizes to the audio playback status of the first earphone pair to complete the audio sharing; wherein, the broadcast information is synchronized to the first earphone pair through the earphone box according to the private link.

8. An audio sharing device, characterized in that: include: A connection establishing module, used to establish a private link between the earphone box and the first earphone pair, and to establish a monitoring connection between the first earphone pair and the earphone box; an audio playing module, configured to monitor, through the first earphone pair, connection information between the earphone box and the first terminal according to the monitoring connection, so that the first earphone pair enters an audio playing state; An audio sharing module is used for the earphone box to obtain corresponding broadcast information after scanning the audio sharing broadcast source of the first terminal through the second terminal after receiving the audio sharing request initiated by the first terminal, and send the broadcast information to the second earphone pair in response to the audio sharing request information, so that the second earphone pair receives the broadcast data according to the broadcast information and synchronizes with the audio playback status of the first earphone pair; wherein the broadcast information is synchronized to the first earphone pair through the earphone box according to the private link.

9. An audio sharing system, characterized in that: It includes an earphone box and a first earphone pair, the earphone box is used to establish a private link with the first earphone pair, after receiving an audio sharing request, the earphone box obtains corresponding broadcast information after scanning the audio sharing broadcast source of the first terminal through a second terminal, and sends the broadcast information to the second earphone pair in response to the audio sharing request information, so that the second earphone pair receives the broadcast data according to the broadcast information, synchronizes to the audio playback state of the first earphone pair, and completes audio sharing; wherein the broadcast information is synchronized to the first earphone pair through the earphone box according to the private link; the first earphone pair is used to establish a monitoring connection with the earphone box, and enters the audio playback state after monitoring the connection information between the earphone box and the first terminal according to the monitoring connection.

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