Communication method, device, equipment, and storage medium
By establishing a wireless link on the audio gateway and sending connection parameters, the problem of limited battery capacity of true wireless stereo headphones is solved, and the power consumption of audio output devices is saved and user experience is improved.
Patent Information
- Application Number
- CN202110013625.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-06
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2041-01-06
Smart Images

Figure CN114727371B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to communication technology, and relate to but are not limited to communication methods and devices, equipment, and storage media. Background Art
[0002] True Wireless Stereo (TWS) headphones have gradually become a mainstream consumer trend because they are free from the constraints of traditional cables, easy to operate and carry. However, due to the size of the headphones, the battery capacity is limited. Therefore, under the limited battery capacity, saving the power consumption of the headphones is very important to improve the user experience. Summary of the invention
[0003] In view of this, the communication method, device, equipment, and storage medium provided in the embodiments of the present application can save the power consumption of true wireless headphones and improve the user experience. The communication method, device, equipment, and storage medium provided in the embodiments of the present application are implemented as follows:
[0004] An embodiment of the present application provides a communication method applied on an audio gateway, the method comprising: establishing a first wireless link with an audio source; sending connection parameters of the first wireless link to a first audio output device and a second audio output device, the connection parameters enabling the first audio output device and the second audio output device to receive audio information sent by the audio source.
[0005] An embodiment of the present application provides a communication method applied on an audio output device, the method comprising: receiving connection parameters from an audio gateway, wherein the connection parameters are connection parameters of a first wireless link established between the audio gateway and the audio source; and receiving audio information sent by the audio source according to the connection parameters.
[0006] A communication device for use on an audio gateway provided in an embodiment of the present application includes: an establishment module for establishing a first wireless link with an audio source; a sending module for sending connection parameters of the first wireless link to a first audio output device and a second audio output device, wherein the connection parameters enable the first audio output device and the second audio output device to receive audio information sent by the audio source.
[0007] An embodiment of the present application provides a communication device for use on an audio output device, comprising: a receiving module, configured to: receive connection parameters from an audio gateway; wherein the connection parameters are connection parameters of a first wireless link established between the audio gateway and the audio source; and receive audio information sent by the audio source according to the connection parameters.
[0008] An audio gateway provided in an embodiment of the present application includes: a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, the steps corresponding to the audio gateway in the embodiment of the present application are implemented.
[0009] The audio output device provided in the embodiment of the present application includes a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, the steps corresponding to the audio output device in the embodiment of the present application are implemented.
[0010] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps corresponding to the audio gateway in any embodiment are implemented, or when the computer program is executed by a processor, the steps corresponding to the first audio output device or the second audio output device in any embodiment are implemented.
[0011] In an embodiment of the present application, a communication method applied on an audio gateway is provided, in which an audio gateway is introduced, and the audio gateway is responsible for sending connection parameters with an audio source to a first audio output device and a second audio output device, so that the first audio output device and the second audio output device can receive audio information sent by the audio source; in this way, under the premise of ensuring that the audio source is not changed, the first audio output device and the second audio device do not need to establish a connection link between them, and both can receive audio information, thereby saving power consumption of these devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application.
[0013] Figure 1 Schematic diagram of the structure of the wireless audio system 100 according to an embodiment of the present application;
[0014] Figure 2 Schematic diagram of the structure of the wireless audio system 200 according to an embodiment of the present application;
[0015] Figure 3 Schematic diagram of the structure of the wireless audio system 300 according to an embodiment of the present application;
[0016] Figure 4 Schematic diagram of the structure of the wireless audio system 400 according to an embodiment of the present application;
[0017] Figure 5 Schematic diagram of the timing of nine different scenarios 501 to 509 between two consecutive time slots N and time slot N+1 of the wireless audio system 400 according to the embodiment of the present application;
[0018] Figure 6 is a structural schematic diagram of a related wireless audio system;
[0019] Figure 7 A schematic diagram of the structure of a wireless audio system 700 according to an embodiment of the present application;
[0020] Figure 8 This is a schematic diagram of the structure of a communication device 800 applied on an audio gateway according to an embodiment of the present application;
[0021] Fig. 9 It is a structural schematic diagram of a communication device 900 applied on a first audio output device or a second audio output device according to an embodiment of the present application;
[0022] Fig.10 A schematic diagram of a hardware entity of the audio gateway 101 according to an embodiment of the present application;
[0023] Fig.11 FIG. 1 is a schematic diagram of a hardware entity of the audio output device 110 according to an embodiment of the present application. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the specific technical solution of the present application will be further described in detail below in conjunction with the drawings in the embodiments of the present application. The following embodiments are used to illustrate the present application, but are not used to limit the scope of the present application.
[0025] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0026] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0027] It should be pointed out that the terms "first\second\third" involved in the embodiments of the present application are used to distinguish similar or different objects, and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.
[0028] The present application provides a wireless audio system. Figure 1 Schematic diagram of the structure of the wireless audio system of the present application embodiment. Figure 1As shown, the wireless audio system 100 includes: an audio gateway 101, a first audio output device 102, a second audio output device 103 and an audio source 104; wherein the first audio output device 102 has no wireless communication link with the second audio output device 103; the audio gateway 101 establishes a first wireless link 105 with the audio source 104, and sends a connection parameter 106 of the first wireless link 105 to the first audio output device 102 and the second audio output device 103; the first audio output device 102 and the second audio output device 103 receive the connection parameter 106, and receive the audio information 107 sent by the audio source 104 according to the connection parameter 106.
[0029] In some embodiments, the audio gateway 101 broadcasts the connection parameters 106 , thereby sending the connection parameters 106 to the first audio output device 102 and the second audio output device 103 .
[0030] The first audio output device 102 and the second audio output device 103 can each configure their transceivers according to the connection parameters 106 to receive audio information 107 from the audio source 104, establish a one-way wireless communication path 108 from the audio source 104 to 102, and a one-way wireless communication path 109 from the audio source 104 to 103. The communication path 108 enables the first audio output device 102 to spy, listen, or otherwise capture the audio information 107 sent by the audio source 104 through the communication path 108. The same is true for the communication path 109, enabling the second audio output device 103 to spy, listen, or otherwise capture the audio information 107 sent by the audio source 104 through the communication path 109.
[0031] It should be noted that the first wireless link 105 can be a connection of various protocol types. For example, the first wireless link 105 is a Bluetooth connection link, a proprietary protocol connection link, a point-to-point connection link, or a WiFi connection link. The so-called proprietary protocol refers to any wireless protocol other than a standard wireless protocol.
[0032] The connection parameters 106 enable the first audio output device 102 and the second audio output device 103 to receive the audio information 107 sent by the audio source 104. Taking the Bluetooth connection link as an example, the connection parameters 106 include but are not limited to the Bluetooth device address of the audio source 104, the local clock of the audio source 104, the logical transmission address and clock offset of the audio gateway 101, and the encryption parameters of the first wireless link 105 (such as a link key).
[0033] The present application embodiment further provides a wireless audio system, Figure 2 Schematic diagram of the structure of the wireless audio system of the present application embodiment. Figure 2As shown, the wireless audio system 200 includes: an audio gateway 101, a first audio output device 102, a second audio output device 103 and an audio source 104; and the wireless audio system 200 and Figure 1 The wireless audio system 100 shown in the figure is similar, and the similarities are not repeated here. Wherein, the connection parameter 106 is the connection parameter 201; the audio gateway 101 sends the connection parameter 106 of the first wireless link 105 to the first audio output device 102 and the second audio output device 103, including:
[0034] The audio gateway 101 sends the connection parameter 201 to the first audio output device 102 through the second wireless link 202 with the first audio output device 102; and sends the connection parameter 201 to the second audio output device 103 through the third wireless link 203 with the second audio output device 103; the connection parameter 201 enables the first audio output device 102 to extract the first channel information (CH1) in the audio information 204 (i.e., an example of the audio information 107) sent by the audio source 104, and the connection parameter 201 enables the second audio output device 103 to extract the second channel information (CH2) in the audio information 204.
[0035] The first audio output device 102 and the second audio output device 103 receive the audio information 204 sent by the audio source 104 according to the connection parameter 201; and the first audio output device 102 extracts the first channel information (CH1) from the audio information 204 according to the connection parameter 201, and the second audio output device 103 extracts the second channel information (CH2) from the audio information 204 according to the connection parameter 201;
[0036] The audio gateway 101 determines, via the second wireless link 202 , whether the first audio output device 102 receives the audio information 204 ;
[0037] The audio gateway 101 determines whether the second audio output device 103 receives the audio information 204 through the third wireless link 203;
[0038] When the audio gateway 101 determines that the first audio output device 102 and the second audio output device 103 have received the audio information 204, the audio gateway 101 sends a third ACK information 205 to the audio source 104 through the first wireless link 105 in the next time slot of the current transmission time slot (recorded as time slot N+1, N is an arbitrary integer).
[0039] The audio source 104 receives the third ACK information 205 in the time slot N+1. At this point, a complete transceiver process is completed. The audio source 104 can send new audio information in the time slot N+2, or send new audio information in the idle time of the time slot N+1.
[0040] In some embodiments, the audio gateway 101 receives an indication corresponding to whether the first audio output device 102 has received the audio information 204 through the second wireless link 202 to determine whether the first audio output device 102 has received the audio information 204. For example, if the audio gateway 101 receives NACK information returned by the first audio output device 102, it is determined that the device 102 has not received the audio information 204. On the contrary, if the audio gateway 101 receives ACK information returned by the device 102, it is determined that the device 102 has received the audio information 204. For another example, if the audio gateway 101 does not receive ACK information returned by the first audio output device 102 within a predetermined time, it is determined that the device 102 has not received the audio information 204. On the contrary, if the audio gateway 101 receives ACK information returned by the device 102 within the predetermined time, it is determined that the device 102 has received the audio information 204.
[0041] In some embodiments, the audio gateway 101 receives an indication corresponding to whether the second audio output device 103 has received the audio information 204 through the third wireless link 203 to determine whether the second audio output device 103 has received the audio information 204. For example, if the audio gateway 101 receives NACK information returned by the second audio output device 103, it is determined that the device 103 has not received the audio information 204. On the contrary, if the audio gateway 101 receives ACK information returned by the device 103, it is determined that the device 103 has received the audio information 204. For another example, if the audio gateway 101 does not receive ACK information returned by the second audio output device 103 within a predetermined time, it is determined that the device 103 has not received the audio information 204. On the contrary, if the audio gateway 101 receives ACK information returned by the device 103 within the predetermined time, it is determined that the device 103 has received the audio information 204.
[0042] It should be noted that the second wireless link 202 can be a connection of various protocol types, for example, the second wireless link 202 is a Bluetooth connection link, a proprietary protocol connection link, a point-to-point connection link or a WiFi connection link.
[0043] Similarly, the third wireless link 203 may also be a connection of various protocol types. For example, the third wireless link 203 is a Bluetooth connection link, a proprietary protocol connection link, a point-to-point connection link, or a WiFi connection link. The so-called proprietary protocol refers to any wireless protocol other than a standard wireless protocol.
[0044] In some embodiments, the audio gateway 101 can automatically establish a connection with 102 and 103 according to the pre-saved connection information with 102 and 103 (e.g., Bluetooth pairing information) after 102 and 103 are powered on, that is, establish a second wireless link 202 with the first audio output device 102, and establish a third wireless link 203 with the second audio output device 103.
[0045] It can be understood that, since in the wireless audio system 200, the audio output devices 102 and 103 only establish one wireless link, their behaviors are consistent, and no distinction is made between a master device and a slave device. Thus, on the one hand, the power consumption of the two devices when working is lower; on the other hand, since the behaviors of the audio output devices 102 and 103 are completely consistent, when one audio output device stops working, the other audio output device can continue to work without any switching.
[0046] The present application embodiment further provides a wireless audio system, Figure 3 Schematic diagram of the structure of the wireless audio system of the present application embodiment. Figure 3 As shown, the wireless audio system 300 includes: an audio gateway 101, a first audio output device 102, a second audio output device 103 and an audio source 104; and the wireless audio system 300 and Figure 2 The wireless audio system 200 shown is similar, and the similarities are not repeated here. The difference is that when the audio gateway 101 determines that the first audio output device 102 and / or the second audio output device 103 have not received the audio information 204, it sends a NACK message 301 to the audio source 104 through the first wireless link 105 in the next time slot (i.e., time slot N+1) of the current transmission time slot.
[0047] The audio source 104 receives the NACK information 301 in the time slot N+1, and thus completes a complete transceiver process. The audio source 104 can resend the audio information 204 in the time slot N+2, or send new audio information in the idle time of the time slot N+1.
[0048] It should be noted that the audio gateway 101 described in the embodiment of the present application can be various electronic devices with wireless communication capabilities, for example, the audio gateway 101 is a charging box for audio output devices 102 and 103, a wearable device (such as a smart bracelet, a smart watch, or smart glasses, etc.), or another device of the same type that is not the same device as the audio source (such as another mobile phone), etc.
[0049] The audio source 104 may be any electronic device that has wireless communication capabilities and can transmit audio information, for example, the audio source 104 is any mobile phone, portable game console, portable media player (such as MP3 player, MP4 player, etc.), an audio / video (A / V) receiver as part of a home entertainment or home theater system, a tablet computer, a personal computer or a laptop computer, etc. For example, an A / V receiver may have wireless and wired speakers.
[0050] Audio output devices 102 and 103 can be wireless rear channel speakers or something similar. Audio output devices 102 and 103 are configured as any type of electroacoustic transducer for converting audio information into sound, such as home or professional speakers, headphones, earphones, or car headphones. The present application is not limited to any specific physical format or size of the audio source and audio output device configuration. The first audio output device 102 can be a left channel speaker, and the second audio output device 103 can be a right channel speaker, or vice versa. Any of the speakers can be configured as any stereo channel.
[0051] The present application embodiment further provides a wireless audio system, Figure 4 Schematic diagram of the structure of the wireless audio system of the present application embodiment. Figure 4 As shown, the wireless audio system 400 includes: an audio gateway 101, a first audio output device 102, a second audio output device 103 and an audio source 104; and the wireless audio system 400 and Figure 1 The wireless audio system 100 shown in FIG. 1 is similar in manner, and the similarities are not described again here. For the sake of simplicity, the connection parameter 201 is not shown in the figure, and can be referred to as Figure 3 .
[0052] When the first audio output device 102 receives the audio information 204 in the second predetermined part 401 of the current transmission time slot (recorded as time slot N), the first ACK information 402 corresponding to the audio information 204 is sent to the audio gateway 101 through the second wireless link 202 in the first predetermined part 403 of the current transmission time slot; wherein the first ACK information 402 indicates that the first audio output device 102 has received the audio information 204;
[0053] When the audio gateway 101 receives the first ACK information 402 corresponding to the audio information 204 in the first predetermined part 403 of the current transmission time slot through the second wireless link 202, it is determined that the first audio output device 102 has received the audio information 204; of course, if the audio gateway 101 does not receive the first ACK information 402 in the first predetermined part 403 through the second wireless link 202, it is determined that the first audio output device 102 has not received the audio information 204; for example, the audio gateway 101 receives the NACK information sent by the first audio output device 102 in the first predetermined part 403, then it is determined that the device 102 has not received the audio information 204; for another example, if the audio gateway 101 does not receive any information from the device 102 in the first predetermined part 403, then it is determined that the device 103 has not received the audio information 204.
[0054] Similarly, when the second audio output device 103 receives the audio information 204 in the second predetermined part 401 of the current transmission time slot (recorded as time slot N), the second ACK information 404 corresponding to the audio information 204 is sent to the audio gateway 101 through the third wireless link 203, in the third predetermined part 405 after the first predetermined part 403 of the current transmission time slot; wherein the second ACK information 404 indicates that the second audio output device 103 has received the audio information 204;
[0055] When the audio gateway 101 receives the second ACK information 404 corresponding to the audio information 204 in the third predetermined part 405 through the third wireless link 203, it is determined that the second audio output device 103 has received the audio information 204; of course, when the audio gateway 101 does not receive the second ACK information 404 corresponding to the audio information 204 in the third predetermined part 405 through the third wireless link 203, it is determined that the second audio output device 103 has not received the audio information 204; for example, the audio gateway 101 receives the NACK information sent by the second audio output device 103 in the third predetermined part 405, then it is determined that the device 103 has not received the audio information 204; for another example, the audio gateway 101 does not receive any information from the device 103 in the third predetermined part 405, then it is determined that the device 103 has not received the audio information 204. Among them, the timing relationship between the second predetermined part 401, the first predetermined part 403 and the third predetermined part 405 is as follows: Figure 5 shown.
[0056] When the audio gateway 101 receives the first ACK information 402 and the second ACK information 404, it sends the third ACK information 205 to the audio source 104 in the time slot N+1 through the first wireless link 105. The audio source 104 receives the third ACK information 205 in the time slot N+1, and thus completes a complete transceiver process. The audio source 104 can send new audio information in the time slot N+2, or send new audio information in the idle time of the time slot N+1.
[0057] Of course, if the audio gateway 101 does not receive the first ACK information 402 and / or the second ACK information 404, the NACK information 301 is sent to the audio source 104 through the first wireless link 105 in the next time slot of the current transmission time slot (that is, time slot N+1). The scene of sending the NACK information 301 is not shown in the figure. The audio source 104 receives the NACK information 301 in the time slot N+1 through the first wireless link 105. At this point, a complete transceiver process is completed. The audio source 104 can resend the audio information 204 in the time slot N+2, or send new audio information in the idle time of the time slot N+1.
[0058] In some embodiments, the audio source 104 may wirelessly transmit an audio stereo information stream in the form of one or more packets. Each packet incorporates stereo audio information in the form of compressed or uncompressed stereo samples. The stereo audio information includes stereo samples of first channel information and second channel information (such as left and right channels or the like).
[0059] Figure 5 501 to 509 are timing diagrams of nine different scenarios of the wireless audio system 400 between two consecutive time slots N and time slot N+1, as shown in FIG. Figure 5 As shown, wherein, scene 501, the scene 501 is that both audio output devices 102 and 103 can receive audio information sent by the audio source. In the scene 501, during slot N (i.e., the second predetermined part 401 of the current transmission slot), the audio source sends dual-channel stereo wireless audio information, at which time the audio gateway may not receive the audio information, and the audio output devices 102 and 103 receive the audio information by monitoring, and during the remaining idle time of slot N, during the first predetermined part 403 of the current transmission slot, the first audio output device sends the first ACK information to the audio gateway, and during the third predetermined part 405 of the current transmission slot, the second audio output device sends the second ACK information to the audio gateway, and when the audio gateway receives the ACK information sent by the audio output devices 102 and 103 during these two periods, during the next slot N+1, the audio gateway sends the third ACK information to the audio source, thus completing a complete transceiver process.
[0060] For abnormal scenarios, that is, scenarios 502 to 509; in scenario 502, both audio output devices 102 and 103 can receive audio information, and both send ACK information to the audio gateway after receiving the audio information, but the audio gateway only receives the second ACK information sent by the second audio output device. In this scenario, the audio gateway sends a NACK message to the audio source during the next time slot N+1.
[0061] Scenario 503 is that both audio output devices 102 and 103 can receive audio information, and after receiving the audio information, both send ACK information to the audio gateway, but the audio gateway only receives the ACK information sent by the first audio output device. In this scenario, the audio gateway sends a NACK message to the audio source during the next time slot N+1.
[0062] Scenario 504 is that both audio output devices 102 and 103 can receive audio information, and after receiving the audio information, both send ACK information to the audio gateway, but the audio gateway does not receive ACK information from any headset. In this scenario, the audio gateway sends NACK information to the audio source during the next time slot N+1.
[0063] Scenario 505 is that only the second audio output device receives the audio information. After receiving the audio information, the second audio output device sends a second ACK information to the audio gateway, and the audio gateway receives the second ACK information sent by the second audio output device. In this scenario, the audio gateway sends a NACK message to the audio source during the next time slot N+1.
[0064] Scenario 506 is that only the first audio output device receives the audio information, and the first audio output device sends a first ACK message to the audio gateway after receiving the audio information, and the audio gateway receives the first ACK message sent by the first audio output device. In this scenario, the audio gateway sends a NACK message to the audio source during the next time slot N+1.
[0065] Scenario 507 is that only the second audio output device receives the audio information. After receiving the audio information, the second audio output device sends a second ACK message to the audio gateway, but the audio gateway does not receive the second ACK message sent by the second audio output device. In this scenario, the audio gateway sends a NACK message to the audio source during the next time slot N+1.
[0066] Scenario 508 is that only the first audio output device receives the audio information, and the first audio output device sends the first ACK information to the audio gateway after receiving the audio information, but the audio gateway does not receive the first ACK information sent by the first audio output device. In this scenario, the audio gateway sends a NACK message to the audio source during the next time slot N+1.
[0067] Scenario 509 is an abnormal scenario in which both audio output devices do not receive the audio information sent by the audio source. If the audio gateway does not receive the ACK information returned by the two audio output devices during 510 and 511, the audio gateway sends a NACK message to the audio source during the next time slot N+1.
[0068] Abnormal scenarios are not listed here, and other abnormal scenarios can be permutations and combinations of the above abnormal scenarios. In short, the scenario where the audio gateway does not receive ACK information during at least one of the agreed 510 period and 511 period is an abnormal scenario. In this scenario, the audio gateway sends NACK information to the audio source during the next time slot N+1.
[0069] In some embodiments, after receiving the NACK information, the audio source may resend the audio information sent last time in the next time slot N+1 or the next time slot N+2 of the next time slot.
[0070] Related TWS technologies, such as Figure 6 As shown, two earphones are distinguished as a main earphone 61 and an auxiliary earphone 62, and simultaneously monitor the wireless audio information sent by the audio source 63. The main earphone 61 establishes a two-way auxiliary wireless link with the audio source 63 to receive and confirm the receipt of the audio information. The main earphone 61 and the auxiliary earphone 62 communicate with each other via the main wireless link. The audio source 63 transmits the audio information to the main earphone 61 via the auxiliary wireless link configured according to the standard wireless protocol. The main earphone 61 confirms the successful reception of the audio information via the auxiliary wireless link.
[0071] However, the main earphone 61 has to connect to two wireless links at the same time, acting as both a master and a slave, which consumes more power, resulting in a large difference in power consumption between the main earphone 61 and the slave earphone 62.
[0072] Moreover, before the main earphone 61 is inserted into the charging box, it is necessary to switch roles with the auxiliary earphone 62, which makes the design more complicated.
[0073] Based on this, an exemplary application of an embodiment of the present application in a practical application scenario will be described below.
[0074] In the embodiment of the present application, an audio gateway is introduced for the audio transmission mode of TWS earphones. It can be an earphone charging box or a wearable device (such as a smart watch or bracelet). The audio gateway can save the pairing information with the two earphones at the factory, such as Figure 7In the wireless audio system 700 shown, once the two headphones 701 and 702 are powered on, the audio gateway 101 automatically establishes a connection with the two headphones. The audio gateway 101 will establish a second wireless link 202 (the second wireless link) with the headphone 701, that is, the speaker 1 (LOUDSPEAKER1, an example of the first audio output device 102), and establish a third wireless link 203 (the third wireless link) with the headphone 702, that is, the speaker 2 (LOUDSPEAKER2, an example of the second audio output device 103). Once the audio gateway 101 establishes a connection with the two headphones, it also automatically establishes a connection with the audio source (audio source) 104 (such as a mobile phone), that is, the first wireless link 105 (the first wireless link). After the audio gateway 101 and the audio source 104 establish a connection, the audio gateway 101 passes the connection parameters with the wireless link 105 (the parameters include but are not limited to the Bluetooth device address (BD ADDR) of the audio source 104 and the local clock (CLKN) of the audio source 104, the logical transmission address (LT ADDR) and clock offset of the audio gateway 101, and the encryption parameters of the link between the audio gateway 101 and the audio source 104, such as the link key, etc.) to the earphone 701 and the earphone 702 through the wireless link 202 and the wireless link 203. Thereafter, when the audio source 104 sends a stereo audio data packet, the earphone 701 and the earphone 702 both receive the stereo audio data packet through wireless monitoring, and each plays the audio of one of the channels.
[0075] When the headset 701 receives the audio data packet, it sends an ACK packet to the audio gateway 101 at a fixed time in the remaining idle time of the current time slot. Similarly, when the headset 702 receives the audio data packet, it also sends an ACK packet to the audio gateway 101 at another fixed time in the remaining idle time of the current time slot. After the audio gateway 101 receives two ACK packets, it sends an ACK packet to the audio source 104 in the next time slot. A complete sending and receiving process is completed.
[0076] In the embodiment of the present application, the audio gateway is introduced. On the one hand, it can ensure that the left and right earphones only establish an asynchronous connectionless (ACL) link, and the behaviors are consistent, so theoretically the power consumption should be basically the same. Moreover, compared with the relevant wireless audio system, the wireless audio system provided in the embodiment of the present application does not distinguish between the primary and secondary earphones, so it is more power-saving.
[0077] On the other hand, the left earphone and the right earphone of the embodiment of the present application behave in exactly the same way. When one earphone is placed in the charging box, the other earphone can continue to work without any switching.
[0078] In the embodiment of the present application, an audio gateway is introduced, which communicates with the mobile phone as an intermediary to ensure that there is only one wireless link with the mobile phone, thereby ensuring that no compatibility changes are required on the mobile phone side, and the audio gateway is responsible for passing the relevant parameters connected to the mobile phone to the left and right earphones, allowing the left and right earphones to monitor the audio data, and then sending an ACK packet to the audio gateway, which returns the ACK packet to the mobile phone as an intermediary. The advantage of this method is that it unifies the implementation methods of the left and right earphones, reduces the power consumption of the left and right earphones, and entrusts the work of synchronizing with the mobile phone to the audio gateway device with higher power consumption.
[0079] The key point of the technical solution of this application is to introduce an audio gateway. Step A is to establish a wireless link between the audio gateway and the audio source. Step B is to establish a wireless link between the audio gateway and the left earphone and the right earphone respectively, so as to synchronize the wireless link parameters established with the audio source to the left earphone and the right earphone, so that the left and right earphones can monitor the audio data sent by the audio source.
[0080] In some embodiments, step B can be replaced by step B', where B' means that the audio gateway can also notify the left earphone and the right earphone of the wireless link parameters established by the audio gateway and the audio source by broadcasting without establishing a wireless link, so that the left earphone and the right earphone can monitor the audio data sent by the audio source.
[0081] Based on the foregoing embodiments, the present application embodiment provides a communication device applied on an audio gateway, Figure 8 This is a schematic diagram of the structure of a communication device applied on an audio gateway in an embodiment of the present application, such as Figure 8 As shown, the apparatus 800 includes an establishing module 801 and a sending module 802, wherein: the establishing module 801 is used to establish a first wireless link with an audio source; the sending module 802 is used to send connection parameters of the first wireless link to a first audio output device and a second audio output device, wherein the connection parameters enable the first audio output device and the second audio output device to receive audio information sent by the audio source; wherein the first audio output device does not have a wireless communication link with the second audio output device.
[0082] In some embodiments, Figure 8As shown, the device 800 also includes a receiving module 803, and the module 802 is used to: determine whether the first audio output device receives the audio information through a second wireless link with the first audio output device; determine whether the second audio output device receives the audio information through a third wireless link with the second audio output device.
[0083] In some embodiments, the receiving module 803 is used to: receive, through the second wireless link, an indication corresponding to whether the first audio output device has received the audio information, so as to determine whether the first audio output device has received the audio information.
[0084] In some embodiments, the receiving module 803 is used to: when first ACK information corresponding to the audio information is received through the second wireless link, determine that the first audio output device has received the audio information; when the first ACK information corresponding to the audio information is not received through the second wireless link, determine that the first audio output device has not received the audio information.
[0085] In some embodiments, the receiving module 803 is used to: receive the first ACK information in a first predetermined part of a current transmission time slot through the second wireless link; wherein the first predetermined part is after the second predetermined part of the current transmission time slot, and the first audio output device receives the audio information in the second predetermined part.
[0086] In some embodiments, the second wireless link includes one of the following: a Bluetooth connection link, a proprietary protocol connection link, a point-to-point connection link, and a WiFi connection link.
[0087] In some embodiments, the receiving module 803 is further used to: receive, through the third wireless link, an indication corresponding to whether the second audio output device has received the audio information, so as to determine whether the second audio output device has received the audio information.
[0088] In some embodiments, the receiving module 803 is further used to: when second ACK information corresponding to the audio information is received through the third wireless link, determine that the second audio output device has received the audio information; when second ACK information corresponding to the audio information is not received through the third wireless link, determine that the second audio output device has not received the audio information.
[0089] In some embodiments, the receiving module 803 is further used to: receive the second ACK information in a third predetermined part of the current transmission time slot through the third wireless link; wherein the third predetermined part is after the first predetermined part.
[0090] In some embodiments, the third wireless link includes one of the following: a Bluetooth connection link, a proprietary protocol connection link, a point-to-point connection link, and a WiFi connection link.
[0091] In some embodiments, the sending module 802 is further configured to: when it is determined that the first audio output device and / or the second audio output device has not received the audio information, send NACK information to the audio source through the first wireless link.
[0092] In some embodiments, the sending module 802 is used to: send the NACK information to the audio source in a time slot next to the current transmission time slot via the first wireless link.
[0093] In some embodiments, the sending module 802 is further configured to: when it is determined that the first audio output device and the second audio output device have received the audio information, send third ACK information to the audio source through the first wireless link.
[0094] In some embodiments, the sending module 802 is configured to: send the third ACK information to the audio source in a time slot next to the current transmission time slot via the first wireless link.
[0095] In some embodiments, the audio information includes first channel information and second channel information, wherein the connection parameters enable the first audio output device to extract the first channel information, and the connection parameters enable the second audio output device to extract the second channel information.
[0096] In some embodiments, the first wireless link includes one of the following: a Bluetooth connection link, a proprietary protocol connection link, a point-to-point connection link, or a WiFi connection link.
[0097] In some embodiments, the sending module 802 is used to: broadcast the connection parameters.
[0098] In some embodiments, the sending module 802 is used to: send the connection parameters to the first audio output device via a second wireless link with the first audio output device; send the connection parameters to the second audio output device via a third wireless link with the second audio output device.
[0099] The embodiment of the present application provides a communication device applied on a first audio output device or a second audio output device, Fig. 9 is a schematic diagram of the structure of the communication device, such as Fig. 9As shown, the communication device 900 includes: a receiving module 901; the receiving module 901 is used to receive connection parameters from an audio gateway, wherein the connection parameters are connection parameters of a first wireless link established between the audio gateway and the audio source; and according to the connection parameters, receive the audio information sent by the audio source.
[0100] In some embodiments, the receiving module 901 is used to: receive the audio information in a second predetermined part of the current transmission time slot according to the connection parameter; and Fig. 9 As shown, the communication device 900 also includes a sending module 902, which is used to: when the audio information is received, send ACK information to the audio gateway in the remaining time after the second predetermined part of the current transmission time slot to notify the audio gateway that the audio information has been received.
[0101] In some embodiments, the receiving module 901 is used to: receive the connection parameters from the audio gateway via a wireless link.
[0102] In some embodiments, the wireless link includes one of the following: a Bluetooth connection link, a proprietary protocol connection link, a point-to-point connection link, and a WiFi connection link.
[0103] In some embodiments, Fig. 9 As shown, the communication device 900 further includes an extraction module 903, which is used to extract channel information from the audio information according to the connection parameters.
[0104] The description of the above device embodiment is similar to the description of the above system embodiment, and has similar beneficial effects as the system embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0105] It should be noted that the division of modules by the communication device in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated in a processing unit, or may exist physically separately, or two or more units may be integrated in one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software functional unit. It may also be implemented in the form of a combination of software and hardware.
[0106] It should be noted that in the embodiment of the present application, if the above-mentioned communication device is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to make the audio gateway or audio output device perform all or part of the functions related to each embodiment of the present application. And the aforementioned storage medium includes: various media that can store program codes, such as U disk, mobile hard disk, read-only memory (Read Only Memory, ROM), disk or optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.
[0107] The present application embodiment provides an audio gateway, Fig.10 This is a hardware entity diagram of the audio gateway of the embodiment of the present application, such as Fig.10 As shown, the audio gateway 101 includes a memory 1011 and a processor 1012, the processor 1012 is a processor with a transceiver function, the memory 1011 stores a computer program that can be run on the processor 1012, and the processor 1012 implements the steps related to the audio gateway 101 in the above embodiment when executing the program.
[0108] It should be noted that the memory 1011 is configured to store instructions and applications executable by the processor 1012, and can also cache data to be processed or processed by the processor 1012 and each module in the audio gateway 101 (for example, image data, audio data, voice communication data, and video communication data), which can be implemented through flash memory (FLASH) or random access memory (Random Access Memory, RAM).
[0109] The present application embodiment provides an audio output device, Fig.11 Schematic diagram of the hardware entity of the audio output device of the embodiment of the present application, such as Fig.11 As shown, the audio output device 110 includes a memory 111 and a processor 112. The memory 111 stores a computer program that can be run on the processor 112. When the processor 112 executes the program, the steps corresponding to the audio output device 110 in the embodiment of the present application are implemented. The audio output device 110 may include a first audio output device 102 and / or a second audio output device 103.
[0110] It should be noted that the memory 111 is configured to store instructions and applications executable by the processor 112, and can also cache data to be processed or processed by the processor 112 and each module in the first audio output device 102 / second audio output device 103 (for example, image data, audio data, voice communication data, and video communication data), which can be implemented through flash memory (FLASH) or random access memory (Random Access Memory, RAM).
[0111] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps corresponding to the audio gateway in the above-mentioned embodiment are implemented, or when the computer program is executed by a processor, the steps corresponding to the first audio output device or the second audio output device in any embodiment are implemented.
[0112] An embodiment of the present application provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the steps corresponding to the audio gateway in the above-mentioned embodiment, or, when the computer program is executed by a processor, implements the steps corresponding to the first audio output device or the second audio output device in any embodiment.
[0113] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above system embodiment, and has similar beneficial effects as the system embodiment. For technical details not disclosed in the storage medium, storage medium and device embodiments of this application, please refer to the description of the system embodiment of this application for understanding.
[0114] It should be understood that "one embodiment" or "an embodiment" or "some embodiments" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in one embodiment" or "in some embodiments" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments. The above description of each embodiment tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. For the sake of brevity, this article will not repeat them.
[0115] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, object A and / or object B can represent three situations: object A exists alone, object A and object B exist at the same time, and object B exists alone.
[0116] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0117] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as: multiple modules or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or modules can be electrical, mechanical or other forms.
[0118] The modules described above as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules; they may be located in one place or distributed on multiple network units; some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0119] In addition, all functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may be a separate unit, or two or more modules may be integrated into one unit; the above-mentioned integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0120] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above embodiments; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, and other media that can store program codes.
[0121] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or partly contribute to the relevant technology in the form of a software product, which is stored in a storage medium, including several instructions for the audio gateway or audio output device to execute all or part of the various embodiments of the present application related thereto. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks or optical disks.
[0122] The features disclosed in several system embodiments provided in this application can be arbitrarily combined without conflict to obtain new system embodiments.
[0123] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0124] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0125] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A communication method applied on an audio gateway, characterized in that: The method comprises: establishing a first wireless link with an audio source; and The connection parameters of the first wireless link are sent to a first audio output device and a second audio output device; wherein the connection parameters enable the first audio output device and the second audio output device to respectively establish wireless communication paths with the audio source, so as to receive audio information sent by the audio source through the wireless communication paths established respectively.
2. The method according to claim 1, characterized in that The method further comprises: determining, through a second wireless link with the first audio output device, whether the first audio output device receives the audio information; and It is determined whether the second audio output device receives the audio information through a third wireless link with the second audio output device.
3. The method according to claim 2, characterized in that The determining, through the second wireless link with the first audio output device, whether the first audio output device receives the audio information comprises: An indication corresponding to whether the first audio output device has received the audio information is received through the second wireless link to determine whether the first audio output device has received the audio information.
4. The method according to claim 3, characterized in that The step of receiving, through the second wireless link, an indication corresponding to whether the first audio output device has received the audio information, so as to determine whether the first audio output device has received the audio information, comprises: When first ACK information corresponding to the audio information is received through the second wireless link, determining that the first audio output device has received the audio information; When first ACK information corresponding to the audio information is not received through the second wireless link, it is determined that the first audio output device has not received the audio information.
5. The method according to claim 4, characterized in that The first ACK information is received in a first predetermined portion of a current transmission time slot via the second wireless link; wherein the first predetermined portion is after a second predetermined portion of the current transmission time slot, and the first audio output device receives the audio information in the second predetermined portion.
6. The method according to claim 5, characterized in that The determining, through a third wireless link with the second audio output device, whether the second audio output device receives the audio information comprises: An indication corresponding to whether the second audio output device has received the audio information is received through the third wireless link to determine whether the second audio output device has received the audio information.
7. The method according to claim 6, characterized in that The step of receiving, through the third wireless link, an indication corresponding to whether the second audio output device has received the audio information, so as to determine whether the second audio output device has received the audio information, comprises: When second ACK information corresponding to the audio information is received through the third wireless link, determining that the second audio output device has received the audio information; When second ACK information corresponding to the audio information is not received through the third wireless link, it is determined that the second audio output device has not received the audio information.
8. The method according to claim 7, characterized in that The second ACK information is received in a third predetermined part of the current transmission time slot via the third wireless link; wherein the third predetermined part is after the first predetermined part.
9. The method according to claim 2, characterized in that: The first wireless link, the second wireless link and the third wireless link include one of the following: a Bluetooth connection link, a proprietary protocol connection link, a point-to-point connection link, and a WiFi connection link.
10. The method according to any one of claims 1 to 9, characterized in that: The method further comprises: When it is determined that the first audio output device and / or the second audio output device has not received the audio information, NACK information is sent to the audio source through the first wireless link.
11. The method according to claim 10, characterized in that The sending NACK information to the audio source through the first wireless link includes: The NACK information is sent to the audio source via the first wireless link in a time slot next to the current transmission time slot.
12. The method according to any one of claims 1 to 9, characterized in that: The method further comprises: When it is determined that the first audio output device and the second audio output device receive the audio information, third ACK information is sent to the audio source through the first wireless link.
13. The method according to claim 12, characterized in that The sending third ACK information to the audio source through the first wireless link includes: The third ACK information is sent to the audio source via the first wireless link in a time slot next to the current transmission time slot.
14. The method according to claim 1, characterized in that The audio information includes first channel information and second channel information, wherein the connection parameter enables the first audio output device to extract the first channel information, and the connection parameter enables the second audio output device to extract the second channel information.
15. The method according to claim 1, characterized in that The sending the connection parameter of the first wireless link to the first audio output device and the second audio output device comprises: broadcasting the connection parameters; or, sending the connection parameters to the first audio output device via a second wireless link; and sending the connection parameters to the second audio output device via a third wireless link.
16. A communication method applied on an audio output device, characterized in that: The method comprises: The first audio output device receives a connection parameter from the audio gateway, wherein the connection parameter is a connection parameter of a first wireless link established between the audio gateway and the audio source; and The second audio output device receives the connection parameter from the audio gateway; The first audio output device and the second audio output device respectively establish wireless communication paths with the audio source according to the connection parameters, so as to receive audio information sent by the audio source through the wireless communication paths respectively established.
17. The method according to claim 16, characterized in that Receiving audio information sent by the audio source according to the connection parameters includes: receiving the audio information in a second predetermined portion of a current transmission time slot according to the connection parameters; and the method further includes: When receiving the audio information, the first audio output device or the second audio output device sends an ACK message to the audio gateway in the remaining time after the second predetermined part of the current transmission time slot to notify the audio gateway that the audio information has been received.
18. The method according to claim 16, characterized in that The receiving connection parameters from the audio gateway includes: The connection parameters are received from the audio gateway over a wireless link.
19. The method according to claim 18, characterized in that The wireless link includes one of the following: a Bluetooth connection link, a proprietary protocol connection link, a point-to-point connection link, and a WiFi connection link.
20. The method according to claim 16, characterized in that The method further comprises: The first audio output device and the second audio output device respectively extract channel information from the audio information according to the connection parameters.
21. A communication device applied on an audio gateway, characterized in that: include: An establishing module, configured to establish a first wireless link with an audio source; as well as A sending module, used to send connection parameters of the first wireless link to a first audio output device and a second audio output device; wherein the connection parameters enable the first audio output device and the second audio output device to respectively establish wireless communication paths with the audio source, so as to receive audio information sent by the audio source through the wireless communication paths established respectively.
22. A communication device applied to an audio output device, characterized in that: include: The receiving module of the first audio output device is used for: Receive connection parameters from the audio gateway; wherein the connection parameters are connection parameters of a first wireless link established between the audio gateway and the audio source; and receiving audio information sent by the audio source according to the connection parameters; The receiving module of the second audio output device is used to: receive the connection parameters from the audio gateway; and receive the audio information sent by the audio source according to the connection parameters.
23. An audio gateway, characterized in that: include: A memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, the steps in the method according to any one of claims 1 to 15 are implemented.
24. A first audio output device and a second audio output device, characterized in that: Each audio output device includes a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, the steps corresponding to the audio output device in any one of the methods of claims 16 to 20 are implemented.
25. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 15 is implemented; or, when the computer program is executed by a processor, the method according to any one of claims 16 to 20 is implemented.
Citation Information
Patent Citations
Wireless communication method, terminal, audio component, wireless communication apparatus and storage medium
CN109547992A
Signal transmission method of a wireless earphone and a wireless earphone system
CN109819377A
Wireless earphone and communication method of wireless earphone
CN110351696A