A wireless earphone device and communication method thereof
By using the SIFS interval and preset time period mechanisms in wireless headsets, the problems of high power consumption and poor reliability in true wireless stereo headset transmission are solved, achieving low power consumption and efficient audio data transmission.
Patent Information
- Application Number
- CN202111666279.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-31
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-12-31
AI Technical Summary
Existing true wireless stereo headphones consume high power and have poor reliability when transmitting between smart devices and headphones. They cannot support high-performance or lossless music transmission, and the distance is limited.
By introducing the mechanism of SIFS interval and preset time period into the wireless headset, the first headset sends an ACK frame after receiving the wireless frame of the smart device, and the second headset sends a confirmation frame to the first headset within the preset time period to ensure the accuracy of the ACK frame. Modify and resend to improve transmission reliability.
It achieves low-power and reliable transmission between smart devices and wireless headsets, improves the reliability and efficiency of transmission, and supports higher-quality audio data transmission.
Smart Images

Figure CN114339520B
Abstract
Description
Technical Field
[0001] The present disclosure belongs to the technical field of earphones and communication methods thereof, and particularly relates to a wireless earphone device and a communication method thereof. Background Art
[0002] Wired headphones have been widely used in daily life. However, the headphone wires in wired headphones may get tangled and pulled during use. True wireless stereo headphones eliminate the connection between the headphones and smart devices, and between the left and right ears, so that they can be adapted to different sports occasions. Existing true wireless stereo headphones are connected to smart devices via Bluetooth to receive music or make calls. The existing true wireless stereo headphones have limited bandwidth between smart devices and cannot support high-performance or lossless music. The distance between the true wireless stereo headphones and smart devices that can be supported is also limited. At the same time, the transmission between smart devices and true wireless stereo headphones consumes large power and has poor reliability. Summary of the invention
[0003] In response to the above-mentioned technical problems existing in the prior art, the present disclosure provides a wireless headset device and a communication method thereof, wherein the first headset sends an ACK frame to a smart device after a SIFS interval, and the second headset sends a second wireless frame to the first headset within a preset time period. The first headset determines whether to modify the ACK frame being sent based on the situation in which the first headset and the second headset receive the first wireless frame, so as to ensure that the smart device sends the next wireless frame or retransmits the wireless frame, thereby realizing low-power and reliable transmission between the smart device and the wireless headset.
[0004] In a first aspect of the present disclosure, a wireless headset device comprises a first headset and a second headset, wherein the first headset is configured to: receive a first wireless frame from a smart device; after correctly receiving the first wireless frame, send an ACK frame to the smart device after a SIFS interval; and the second headset is configured to: listen to the first wireless frame from the smart device;
[0005] After listening to the first wireless frame from the smart device, sending a second wireless frame to the first headset within a preset time period, the second wireless frame indicating whether the second headset correctly receives the first wireless frame, and the preset time period is greater than the SIFS interval and less than the sum of the SIFS interval and the time period for the first headset to send the ACK frame;
[0006] The first earphone is further configured to: receive the second wireless frame within the preset time period; if the second wireless frame is not received within the preset time period or the received second wireless frame indicates that the second earphone has not correctly received the first wireless frame, modify the ACK frame being sent, and the modified ACK frame is used to inform the smart device to resend the wireless frame.
[0007] According to a second aspect of the present disclosure, a communication method for a wireless headset device includes a first headset and a second headset, and the communication method includes: the first headset receives a first wireless frame from a smart device, and the second headset listens to the first wireless frame from the smart device; the first headset, after correctly receiving the first wireless frame, sends an ACK frame to the smart device after a SIFS interval; the second headset, after listening to the first wireless frame from the smart device, sends a second wireless frame to the first headset within a preset time period, the second wireless frame indicating whether the second headset has correctly received the first wireless frame, the preset time period being greater than the SIFS interval and less than the sum of the SIFS interval and the time period for the first headset to send the ACK frame; the first headset receives the second wireless frame within the preset time period; the first headset, if the second wireless frame is not received within the preset time period or the received second wireless frame indicates that the second headset has not correctly received the first wireless frame, modifies the ACK frame being sent to inform the smart device to resend the wireless frame.
[0008] Compared with the prior art, the embodiments of the present disclosure have the following beneficial effects:
[0009] The present disclosure sets a SIFI interval before the first earphone sends the first wireless frame to the smart device, which is used to space the ACK frame of the immediate response. At the same time, the preset time period for the second earphone to send the second wireless frame to the first earphone is greater than SIFS and less than the sum of the SIFS interval and the time period for the first earphone to send the ACK frame, so as to provide sufficient time for the first earphone to modify the ACK frame being sent, so as to ensure that the smart device retransmits the first wireless frame after receiving the modified ACK frame. This mechanism ensures that the wireless earphone can reliably receive the first wireless frame from the smart device, and improves the reliability of transmission between the smart device and the earphone. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In the drawings, which are not necessarily drawn to scale, the same reference numerals may describe similar parts in different views. The same reference numerals with letter suffixes or different letter suffixes may represent different instances of similar parts. The accompanying drawings generally illustrate various embodiments by way of example and not limitation, and together with the specification and claims, are used to illustrate the disclosed embodiments. When appropriate, the same reference numerals are used throughout the drawings to refer to the same or similar parts. Such embodiments are illustrative and are not intended to be exhaustive or exclusive embodiments of the present apparatus or method.
[0011] FIG. 1( a ) shows a schematic diagram of communication connections between earphones of a wireless earphone device and between the earphones and a smart device according to an embodiment of the present disclosure;
[0012] FIG1( b ) is a block diagram showing the communication principle between the various earphones of the wireless earphone device and between the earphones and the smart device according to an embodiment of the present disclosure;
[0013] FIG. 2( a ) is a block diagram showing a communication mode of each earphone of a wireless earphone device according to an embodiment of the present disclosure;
[0014] FIG2( b ) is a schematic diagram showing different communication units of the wireless headset device and between the headsets and the smart device communicating through different frequency bands according to an embodiment of the present disclosure;
[0015] Figure 3 A schematic diagram showing a communication mode between different communication units and a smart device when the smart device sends audio data of different qualities;
[0016] Figure 4 A schematic diagram showing the principle of each earphone of a wireless earphone device processing music data according to an embodiment of the present disclosure; and
[0017] Figure 5 A flow chart of a communication method of a wireless headset device according to an embodiment of the present disclosure is shown.
[0018] The components indicated by the reference numerals in the figures are:
[0019] 1-smart device; 2-first earphone; 3-second earphone; 4-first communication unit; 5-second communication unit. DETAILED DESCRIPTION
[0020] In order to enable those skilled in the art to better understand the technical solution of the present disclosure, the present disclosure is described in detail below in conjunction with the drawings and specific implementation methods. The embodiments of the present disclosure are further described in detail below in conjunction with the drawings and specific implementation methods, but are not intended to limit the present disclosure.
[0021] The words "first", "second" and similar words used in this disclosure do not indicate any order, quantity or importance, but are only used to distinguish parts. The words "include" or "comprise" and similar words mean that the elements before the word include the elements listed after the word, and do not exclude the possibility of including other elements. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0022] In the present disclosure, when a specific device is described as being located between a first device and a second device, there may or may not be an intermediate device between the specific device and the first device or the second device. When a specific device is described as being connected to other devices, the specific device may be directly connected to the other device without an intermediate device, or may not be directly connected to the other device but have an intermediate device.
[0023] All terms (including technical terms or scientific terms) used in the present disclosure have the same meanings as those understood by ordinary technicians in the field to which the present disclosure belongs, unless otherwise specifically defined. It should also be understood that terms defined in general dictionaries should be interpreted as having meanings consistent with their meanings in the context of the relevant technology, and should not be interpreted in an idealized or extremely formal sense, unless explicitly defined as such here. Techniques, methods and equipment known to ordinary technicians in the relevant field may not be discussed in detail, but where appropriate, the techniques, methods and equipment should be considered as part of the specification.
[0024] Figure 1(a) shows a schematic diagram of the communication connection between the various earphones of the wireless earphone device and between it and a smart device according to an embodiment of the present disclosure. Figure 1(b) shows a schematic block diagram of the communication principle between the various earphones of the wireless earphone device and between it and a smart device according to an embodiment of the present disclosure.
[0025] The wireless headset device includes a first headset 2 and a second headset 3, wherein the first headset 2 is configured to receive a first wireless frame from a smart device 1. The smart device 1 may be any portable smart terminal, such as the smart device shown in FIG1(a), including but not limited to a smart phone, a tablet computer, a laptop computer, a personal computer, a smart home, and a wearable smart device. As shown in FIG1(b), after correctly receiving the first wireless frame, the first headset 2 sends an ACK frame to the smart device after a SIFS interval. The SIFS is the shortest time segment used to space frames that require an immediate response, such as control frames (RTS / CTS / ACK), etc. Specifically, for example, the SIFS is 16us for 802.11a and 10us for 802.11g. Using the shortest interval between two transmissions in the frame exchange sequence can prevent other stations waiting for the medium from attempting to use the medium.
[0026] After the smart device 1 correctly receives the ACK frame sent by the first earphone 2, it sends the next first wireless frame, otherwise, it resends the previous first wireless frame. For example, when the first earphone 2 does not correctly receive the first wireless frame sent by the smart device 1, the ACK frame received by the smart device 1 is incorrect, and the smart device 1 can know that the first earphone 2 did not correctly receive the first wireless frame, so as to resend the first wireless frame. Secondly, after the first earphone 2 does not correctly receive the first wireless frame, the ACK frame may not be sent to the smart device 1. A certain preset time may be set. Once the preset time is exceeded, the smart device 1 has not received the ACK frame sent by the first earphone 2. The smart device 1 can determine that the first earphone 2 did not correctly receive the first wireless frame, so as to resend the previous first wireless frame. In the specific implementation process, when the first earphone 2 finds that the first wireless frame sent by the smart device 1 is received incorrectly, it can also choose to encode the ACK frame, etc., to inform the smart device 1 to resend the first wireless frame.
[0027] As shown in FIG. 1( b), the second earphone 3 is configured to intercept the first wireless frame from the smart device 1, and the first earphone 2 can transmit relevant communication parameters to the second earphone 3 so that the second earphone 3 can intercept the first wireless frame from the smart device 1 using the relevant communication parameters. The relevant communication parameters can be transmitted directly to the second earphone 3, or transmitted to the second earphone 3 via a repeater, which can be a wireless repeater or an optical repeater, or any one of a charging box, a smart device 1, a wired circuit, or a combination thereof. In some embodiments, the relevant communication parameters include but are not limited to the communication link address of the smart device 1, the encryption parameter information of the communication connection, etc., so that the second earphone 3 does not need to perform pairing and establishment of the communication connection, but can be disguised as the first earphone 2 to intercept and receive the first wireless frame sent by the smart device 1. By intercepting the smart device 1 by the second earphone 3, information transmission between the smart device 1 and the first earphone 2 and the second earphone 3 can be efficiently realized.
[0028] Further, as shown in FIG1(b), after intercepting the first wireless frame from the smart device 1, the second earphone 3 sends a second wireless frame to the first earphone 2 within a preset time period, and the second wireless frame indicates whether the second earphone 3 has correctly received the first wireless frame. After the above communication connection is established, the second earphone 3 sends the second wireless frame to the first earphone 2 in response to the first earphone 2 based on the intercepted first wireless frame. The first earphone 2 determines whether the second earphone 3 has correctly received the first wireless frame based on the second wireless frame. For example, if the second earphone 3 correctly receives the first wireless frame sent by the smart device 1, the correct information can be written in a certain field, for example, "1" is written in a certain field, and the first earphone 2 receives the field information of "1", then it is considered that the second earphone 3 has correctly received the first wireless frame sent by the smart device 1. If the second earphone 3 does not correctly receive the first wireless frame, "0" can be written, and the first earphone 2 receives the field information containing "0", then it is considered that the second earphone 3 has not correctly received the first wireless frame.
[0029] The preset time period is greater than the SIFS interval, so that the second wireless frame can be easily correctly received by the first earphone 2, and is less than the sum of the SIFS interval and the time period for the first earphone 2 to send the ACK frame (as shown in Figure 1 (b)), so that the first earphone 2 can receive the second wireless frame before the ACK frame is sent, so that the first earphone 2 has sufficient time to modify the ACK frame being sent. In some embodiments, the SIFS duration is shorter. In order to make the second wireless frame have better reception performance, the second wireless frame needs to have a longer synchronization sequence. Therefore, the preset time period is greater than the SIFS interval. For example, when the second wireless frame is a Bluetooth frame, its frame length is greater than 72μs, and when it is a low-power Bluetooth frame, its frame length is greater than 35μs, so both are much greater than SIFS.
[0030] In addition, in some embodiments, the ACK frame adopts a lower data rate, which is lower than the preset data rate 1, such as 1Mbps, 2Mbps, 6Mbps, etc., so that the preset time period is less than the sum of SIFS and the time period for the first earphone 2 to send the ACK frame, so that the first earphone 2 can modify the ACK frame being sent.
[0031] In some embodiments, the first earphone 2 is further configured to receive the second wireless frame within the preset time period. As described in the above embodiment, the preset time period is greater than the SIFS interval and less than the sum of the SIFS interval and the time period for the first earphone 2 to send the ACK frame, so that the first earphone 2 can respond to the ACK frame before the ACK frame is sent. Specifically, within the preset time period, if the first earphone 2 does not receive the second wireless frame sent by the second earphone 3 to the first earphone 2, or the second wireless frame received by the first earphone 2 indicates that the second earphone 3 has not correctly received the first wireless frame, the ACK frame being sent is modified, and the modified ACK frame is used to inform the smart device 1 to resend the wireless frame. If the first earphone 2 correctly receives the second wireless frame, the ACK frame is not intervened. After the smart device 1 correctly receives the ACK frame, it continues to send the next first wireless frame, thereby achieving stable and continuous data transmission. Of course, if the first earphone 2 does not correctly receive the second wireless frame, it means that the second earphone 3 has not correctly received the first wireless frame sent from the smart device 1. At this time, the first earphone 2 intervenes and modifies the ACK frame before the ACK frame is sent.
[0032] There is no specific limitation on the method of modifying the ACK frame by the first earphone 2, as long as the smart device 1 does not receive the ACK frame correctly, and thus retransmits the wireless frame accordingly. Specific modification methods include, for example, modifying the FCS (frame check sequence) at the end of the ACK frame so that it cannot pass the frame check. Alternatively, modify other data in the ACK frame, such as address information, etc. Or, the subsequent content of the ACK is no longer sent, making the ACK incomplete. After the ACK frame is modified and intervened, the smart device 1 cannot receive the ACK frame correctly, and thus retransmits the previous first wireless frame. At this time, the second earphone 3 can receive the retransmitted first wireless frame again.
[0033] Through the above mechanism, it is ensured that both the first earphone 2 and the second earphone 3 can reliably receive the first wireless frame from the smart device 1. If one of the two earphones does not receive it correctly, the smart device 1 will resend the first wireless frame, effectively improving the reliability of data transmission between the wireless earphone device and the smart device.
[0034] FIG2(a) shows a communication mode block diagram of each earphone of the wireless earphone device according to an embodiment of the present disclosure, wherein each of the first earphone 2 and the second earphone 3 has a first communication unit 4 and a second communication unit 5. The first communication unit 4 is used to realize the communication between the smart device 1 and the first earphone 2 and the second earphone 3, and the second communication unit 5 is used to realize the communication between the first earphone 2 and the second earphone 3. The two communication units cooperate with each other to realize efficient transmission between the smart terminal 1 and the wireless earphone device. Among them, the first communication unit 4 and the second communication unit 5 can be the same or different. Further, as shown in FIG2(b), the first communication unit 4 is configured to communicate with the smart device 1 in a first frequency band, and the second communication unit 5 is at least configured to communicate between the first earphone 2 and the second earphone 3 in a second frequency band separated from the first frequency band by a predetermined frequency band or more. Specifically, the first earphone 2 and the second earphone 3 receive the first wireless frame in the first frequency band where the first communication unit 4 is located, the first earphone 2 sends an ACK frame to the smart device 1 in the first frequency band, and the second earphone 3 sends a second wireless frame to the first earphone 2 in the second frequency band where the second communication unit 5 is located. The first radio frame and the ACK frame use a different frequency band from the second radio frame to reduce mutual interference between the two, thereby further improving the reliability of data transmission.
[0035] For example, there is a partial overlap in the time when the first earphone 2 transmits the ACK frame and receives the second wireless frame. At least for a period of time, the first earphone 2 transmits the ACK frame and receives the second wireless frame. The transmission and reception of the first earphone 2 are easy to interfere with each other in the radio frequency, affecting the reception and transmission performance of the first earphone 2. In the above embodiment, the transmission of the ACK frame and the reception of the second wireless frame are respectively in different frequency bands. In some cases, the interval between the first frequency band and the second frequency band is more than 1 GHz, which is conducive to reducing the mutual interference between reception and transmission, thereby improving the efficiency and reliability of data transmission.
[0036] Specifically, for example, when the first wireless frame and the second wireless frame are WIFI and Bluetooth respectively, WIFI works in the 5.8G frequency band and Bluetooth works in the 2.4G frequency band, so that the two can work simultaneously without interfering with each other.
[0037] In some embodiments, the first communication unit 4 adopts a WIFI communication mode, and the second communication unit 5 adopts a communication mode based on Bluetooth, or a communication mode other than a communication mode based on Bluetooth, for example, a Bluetooth mode, a non-Bluetooth mode or an improved version of Bluetooth. WiFi, also known as "mobile hotspot", is a trademark of the Wi-Fi Alliance manufacturer as a brand certification for products. It is a wireless local area network technology created based on the IEEE 802.11 standard. The IEEE802.11 standard includes IEEE802.11a, 802.11b, 802.11g, 802.11n, 802.11ac, WIFI6, etc.
[0038] The smart device 1 sends the first wireless frame to the first headset 2, and the first headset 2 receives the first wireless frame. The WIFI communication mode is adopted, which can meet the bandwidth requirements of the process and improve the transmission rate. Relatively speaking, the second headset 3 sends the second wireless frame to the second headset 2, which occupies a low amount of data and adopts a Bluetooth-based communication mode. On the one hand, the Bluetooth-based communication mode can meet the transmission requirements of the second wireless frame. On the other hand, the WIFI communication mode and the Bluetooth-based communication mode are respectively adopted for the first wireless frame and the second wireless frame. The synergy between the two is conducive to reducing the transmission power consumption between the smart device and the wireless headset device and improving the transmission efficiency. For example, Bluetooth 5.0 can have faster transmission capabilities and high transmission rates in low power consumption mode. Using it to send the second wireless frame can reduce power consumption.
[0039] Alternatively, the first communication unit 4 and the second communication unit 5 both adopt the WIFI communication mode, but communicate on a frequency band that is spaced apart from each other by more than a predetermined frequency band, so as to reduce communication interference between each other and improve communication reliability and efficiency. For example, the first communication unit 4 and the second communication unit 5 both adopt the WIFI communication mode, wherein the first communication unit 4 operates in the 5.8G frequency band, and the second communication unit 5 operates in the 2.4G frequency band, wherein the 2.4G frequency band range is: 2412-2472MHz, approximately 60MHz, and the 5.8G frequency band range is: 5725-5850MHz, approximately 125MHz, and the interval between the two different frequency bands is more than 1G, which can achieve effective data transmission and reduce communication interference.
[0040] Figure 3The figure shows a schematic diagram of the communication mode between different communication units and the smart device when the smart device sends audio data of different qualities. The data transmission speed when the first communication unit 4 performs communication is faster than the data transmission speed when the second communication unit 5 performs communication. For example, when the first communication unit 4 adopts the WIFI communication mode and the second communication unit 5 adopts the Bluetooth communication mode, 2.4G Bluetooth, such as BT5.0, BT5.2, etc., including classic Bluetooth and low-power Bluetooth and LE audio, has a transmission rate of only 1Mbps, 2Mbps, 3Mbps, etc., and the sound quality of the transmission is poor. The mainstream WIFI standards IEEE802.11n, 802.11ac, and WIFI6 can provide a transmission rate of 300Mbps, which is faster than Bluetooth.
[0041] In some embodiments, each of the first earphone 2 and the second earphone 3 is configured to use the first communication unit 4 to perform communication with the smart device 1 when receiving high-quality audio data from the smart device 1, and to use the second communication unit 5 to perform communication with the smart device 1 when receiving ordinary-quality audio data from the smart device 1. The data transmission speed of the second communication unit 5 is low, which means that the second communication unit 5 can have lower power consumption than the first communication unit 4. When receiving ordinary-quality audio data from the smart device 1, using the second communication unit 5 is conducive to saving power consumption.
[0042] Common music with different sound qualities include music with bit rates of 64Kb / s, 128Kb / s, 192Kb / s, 320Kb / s, etc. The sound quality of 320Kb / s is widely recognized as high-quality music, that is, the high-quality audio data. For example, when the second communication unit 5 adopts the Bluetooth communication mode and the first communication mode 4 adopts the WIFI communication mode, it is difficult for ordinary Bluetooth to achieve reliable high-quality music transmission due to multiple retransmissions in Bluetooth transmission. Since the transmission capacity of WIFI far exceeds that of the Bluetooth system, using WIFI to transmit high-quality audio between the wireless headset device and the smart device 1 greatly improves the quality of the music played by the headset. Two communication modes with different transmission speeds are used to transmit audio data of different qualities. The cooperation between the two can not only ensure the high-quality transmission of audio data, improve the quality of the played music, enhance the customer experience, but also reduce power consumption.
[0043] In some embodiments, the privacy of the second communication unit 5 when performing communication is better than the privacy of the first communication unit 4 when performing communication, and the battery life of the second communication unit 5 when performing communication is better than the battery life of the first communication unit 4 when performing communication. From the perspective of privacy and battery life, the first earphone 2 and the second earphone 3 are further configured, and when receiving call data from the smart device 1, the second communication unit 5 is used to perform communication with the smart device 1 to ensure the privacy of call data and call latency. For example, the second communication unit 5 uses a Bluetooth communication module. Compared with other communication methods, Bluetooth has better privacy and battery life, and better protects communication privacy. When receiving a call signal from the smart device 1, using the Bluetooth communication module is, on the one hand, conducive to saving power consumption, and on the other hand, Bluetooth receives calls within the specified time slot through HFP, ensuring the call latency.
[0044] Figure 4 A schematic diagram showing the principle of each earphone of the wireless earphone device processing music data according to an embodiment of the present disclosure is shown, the battery life performance of the second communication unit 5 when performing communication is better than the battery life performance of the first communication unit 4 when performing communication, and at least one of the first earphone 2 and the second earphone 3 further includes a buffer and a processor.
[0045] Figure 4 As shown, the processor is configured to cache the music data that has been received but not yet played in the buffer when the at least one earphone receives the music data to be played using the first communication unit 4, so that the processor can call the music data for playing at any time. As shown in step 401, after caching, the first earphone 2 or the second earphone 3 determines the amount of the cached music data, and indicates the next working state of the earphone and the smart device 1 based on the amount of the cached data.
[0046] In some embodiments, as shown in step 402, when the amount of cached music data determined is greater than a first threshold, step 403 is performed, that is, the first communication unit 4 of the at least one headset is controlled to send a first flag frame to the smart device 1 and enter a sleep state, and the first flag frame indicates that the first communication unit 4 of the at least one headset is to enter a sleep state or temporarily not receive music data, so as to solve the problem of poor battery life and high energy consumption of the first communication unit 4.
[0047] For example, when the first earphone 2 uses the first communication unit 4 to receive and play music, the first earphone 2 can send a first flag frame 1 to the smart device 1 according to the size of the cached music to be played (not yet played) that has been received by the first earphone 2. When the cached music to be played is greater than a certain threshold 1, the first earphone 2 can send a first flag frame 1 to the smart device 1. The flag frame 1 indicates that the first earphone 2 is about to enter a sleep state or temporarily not receive a music data frame state. When the smart device 1 receives the flag frame 1, it will not send the first wireless frame containing music data to the first earphone 2, and the first earphone 2 can enter a sleep state for a period of time.
[0048] If it is less than the first threshold, proceed to step 404 to determine whether the amount of cached data is less than the second threshold. As shown in step 405, when the amount of cached music data is less than the second threshold, control the first communication unit 4 of the at least one headset to send a second flag frame to the smart device 1 and exit the sleep state. The second flag frame indicates that the first communication unit 4 of the at least one headset is to exit the sleep state or to resume the state of receiving music data, so as to continue to realize the data transmission between the smart device 1 and the headset. Otherwise, as shown in step 406, the first communication unit 4 continues to be in the sleep state or temporarily does not receive music data. Specifically, after the first headset 2 enters the sleep state for a period of time, the length of the period is based on the first threshold and / or the second threshold. The second threshold indicates that when the cached music to be played is less than the second threshold, the first headset 2 exits the sleep state and sends a second flag frame to the smart device 1. The second flag frame indicates that the first headset 2 can receive music data frames.
[0049] The first threshold value may be the music data storage size corresponding to the music playing time of 500ms, 300ms, 200ms, 100ms, etc., and the second threshold value may be the music data storage size corresponding to the music playing time of 150ms, 100ms, 50ms, 20ms, 10ms, etc. The first threshold value is greater than the second threshold value, which can ensure effective data transmission between the smart device 1 and the headset, improve the sensitivity of the headset to respond to the music data cache amount, and help reduce power consumption and solve the problem of poor battery life of the first communication unit 4.
[0050] In addition, in some embodiments, when the second earphone 3 does not correctly receive the first wireless frame sent from the smart device 1, the second earphone 3 sends a second wireless frame to the first earphone 2 to inform the first earphone 2 that the second earphone 3 did not correctly receive the first wireless frame. At this time, the first earphone 2 sends a modified ACK frame to the smart device 1, the smart device 1 retransmits the first wireless frame, and the first earphone 2 receives the retransmitted wireless frame from the smart device 1. Specifically, the first earphone 2 sends an ACK frame to the smart device 1 when the retransmitted wireless frame or any wireless frame whose payload corresponds to the retransmitted wireless frame is correctly received from the smart device 1.
[0051] The retransmitted wireless frame is the same as the first wireless frame sent last time by the smart device 1, and the effective load carries valid data information, which is used to transmit the same data information as the first wireless frame sent last time to the first earphone 2 and the second earphone 3. For example, when the first earphone 2 correctly receives the first wireless frame sent from the smart device 1 for the first time, and the second earphone 3 does not correctly receive the first wireless frame, the first earphone 2 sends a modified ACK frame to the smart device 1, and the smart device 1 retransmits the wireless frame, that is, sends the first wireless frame for the second time. At this time, if the second earphone 3 still does not correctly receive the retransmitted wireless frame, it will still instruct the first earphone 2 to send the modified ACK frame to the smart device 1, and enter the next cycle process to ensure that both the first earphone 2 and the second earphone 3 can correctly receive the first wireless frame. Of course, in the above process, after the smart device 1 retransmits the wireless frame, the second earphone 3 correctly receives the retransmitted wireless frame, but the first earphone 2 does not correctly receive the retransmitted wireless frame. However, since the retransmitted wireless frame corresponds to the first wireless frame received by the first earphone 2 for the first time, that is, the first earphone 2 has correctly received the first wireless frame, at this time, even if the first earphone 2 does not correctly receive the retransmitted wireless frame during the retransmission process, the first earphone 2 still sends an ACK frame to the smart device 1, informing the smart device 1 that it can continue to send the next first wireless frame, thereby realizing continuous and efficient transmission of data.
[0052] In some embodiments, the second earphone 3 is configured to send a third wireless frame to the first earphone 2 when the retransmitted wireless frame or any wireless frame whose payload corresponds to the retransmitted wireless frame is correctly received from the smart device 1, and the third wireless frame indicates that the second earphone 3 has correctly received the retransmitted wireless frame or any wireless frame whose payload corresponds to the retransmitted wireless frame from the smart device, and the first earphone 2 does not interfere with the sending of an ACK frame to the smart device 1 when the third wireless frame from the second earphone 3 is correctly received.
[0053] For example, it is assumed that when the first earphone 2 and the second earphone 3 correctly receive the first wireless frame sent from the smart device 1, it is recorded as "1", and when it is not correctly received, it is recorded as "0". When the smart device 1 sends the first wireless frame for the first time, the second earphone 3 correctly receives the first wireless frame and sends the second wireless frame containing "1" information to the first earphone 2, but the first earphone 2 does not correctly receive the first wireless frame. At this time, the smart device 1 retransmits the wireless frame. During the retransmission process, the first earphone 2 correctly receives the retransmitted wireless frame, and the second earphone 3 does not correctly receive the retransmitted wireless frame. However, the second earphone 3 has sent the second wireless frame containing "1" information, which means that the second earphone 3 has correctly received the first wireless frame, and the first wireless frame is the wireless frame corresponding to the retransmitted wireless frame.
[0054] In this case, even if the second earphone 3 does not correctly receive the retransmitted wireless frame, the third wireless frame is sent to the first earphone 2 to indicate that the second earphone 3 has correctly received the retransmitted wireless frame or any wireless frame whose payload corresponds to the retransmitted wireless frame from the smart device. Based on the above embodiment, when the first earphone 2 correctly receives the third wireless frame, it does not interfere with the sending of the ACK frame to the smart device 1. At this time, it means that the first earphone 2 and the second earphone 3 have correctly received one of the frames with the same content of the corresponding retransmitted frame. Smart device 1 correctly receives the ACK frame and no longer retransmits the frame. This mechanism effectively reduces the retransmission of wireless frames by smart devices, improves transmission performance, improves audio transmission efficiency, can reduce audio jams, and can also reduce power consumption of headphones and smart devices.
[0055] Figure 5 A flow chart of a communication method of a wireless headset device according to an embodiment of the present disclosure is shown, and the communication method is applicable to the wireless headset device according to various embodiments of the present disclosure. Specifically, the communication method may include:
[0056] In step 501, the first earphone 2 receives the first wireless frame from the smart device 1, and the second earphone 3 listens to the first wireless frame from the smart device 1. The second earphone 3 listens to the first wireless frame, which can efficiently realize the information transmission between the smart device 1 and the two earphones and reduce the time difference between the information received by the first earphone 2 and the second earphone 3, improve the synchronization, and ensure that the preset time period for the second earphone 3 to send the second wireless frame to the first earphone 2 is within a reasonable range.
[0057] In step 502, after correctly receiving the first wireless frame, the first headset 2 sends an ACK frame to the smart device 1 after a SIFS interval, for sending an indication to the smart device 1 whether the first wireless frame is correctly received.
[0058] In step 503, after listening to the first wireless frame from the smart device 1, the second earphone 3 sends a second wireless frame to the first earphone 2 within a preset time period, and the second wireless frame indicates whether the second earphone 3 has correctly received the first wireless frame. The preset time period is greater than the SIFS interval and less than the sum of the SIFS interval and the time period for the first earphone 2 to send the ACK frame, so as to ensure that the first earphone 2 has sufficient time to modify the ACK frame being sent.
[0059] In step 504, the first headset 2 receives the second wireless frame within the preset time period, and if the first headset 2 does not receive the second wireless frame within the preset time period or the received second wireless frame indicates that the second headset 3 has not correctly received the first wireless frame, the ACK frame being sent is modified to inform the smart device to resend the wireless frame. Based on the above process, the transmission efficiency between the smart device 1 and the headset can be improved and the power consumption can be reduced, and the reliability of data transmission between the smart device 1 and the headset can be promoted.
[0060] In some embodiments, each of the first earphone 2 and the second earphone 3 has a first communication unit 4 and a second communication unit 5, and the data transmission speed of the first communication unit 4 when performing communication is faster than the data transmission speed of the second communication unit 5 when performing communication. When the first earphone 2 and the second earphone 3 are to receive high-quality audio data from the smart device 1, the first communication unit 4 is used to perform communication with the smart device 1, and when the ordinary quality audio data is to be received from the smart device 1, the second communication unit 5 is used to perform communication with the smart device 1. Among them, through the efficient cooperation between the two communication units with different transmission speeds, the first communication unit 4 with a fast data transmission speed is used to receive high-quality audio data, and the second communication unit 5 with a relatively slow data transmission speed receives ordinary quality audio data, which can not only improve the efficiency of audio data transmission but also effectively reduce power consumption.
[0061] In some embodiments, the communication method also includes the first earphone 2 sending a modified ACK frame to the smart device 1, the first earphone 2 receiving a retransmitted wireless frame from the smart device 1, and when the retransmitted wireless frame or any wireless frame whose payload corresponds to the retransmitted wireless frame is correctly received from the smart device 1, the first earphone 2 sends an ACK frame to the smart device 1.
[0062] Furthermore, when the second earphone 3 correctly receives the retransmitted wireless frame or any wireless frame whose payload corresponds to the retransmitted wireless frame from the smart device 1, the second earphone 3 sends a third wireless frame to the first earphone 2, and the third wireless frame indicates that the second earphone 3 correctly receives the retransmitted wireless frame or any wireless frame whose payload corresponds to the retransmitted wireless frame from the smart device 1. When the first earphone 2 correctly receives the third wireless frame from the second earphone 3, it does not interfere with the sending of the ACK frame to the smart device, thereby effectively reducing the retransmission of wireless frames by the smart device 1, improving transmission performance, improving audio transmission efficiency, reducing audio freezes, and reducing power consumption of the earphones and smart devices.
[0063] Note that the contents of the communication method described in conjunction with the wireless headset device in various embodiments of the present disclosure can be combined here and will not be repeated here.
[0064] In addition, although exemplary embodiments have been described herein, the scope includes any and all embodiments based on the present disclosure with equivalent elements, modifications, omissions, combinations (e.g., various embodiments intersecting schemes), adaptations or changes. The elements in the claims will be interpreted broadly based on the language adopted in the claims, and are not limited to the examples described in this specification or during the implementation of this application, and the examples will be interpreted as non-exclusive. Therefore, this specification and examples are intended to be considered as examples only, and the true scope and spirit are indicated by the following claims and the full scope of their equivalents.
[0065] The above description is intended to be illustrative rather than restrictive. For example, the above examples (or one or more of them) can be used in combination with each other. For example, a person of ordinary skill in the art can use other embodiments when reading the above description. In addition, in the above-mentioned specific embodiments, various features can be grouped together to simplify the present disclosure. This should not be interpreted as an intention that a disclosed feature that is not required to be protected is necessary for any claim. On the contrary, the subject matter of the present disclosure may be less than all the features of a specific disclosed embodiment. Thus, the following claims are incorporated into the specific embodiments as examples or embodiments, wherein each claim is independently used as a separate embodiment, and it is considered that these embodiments can be combined with each other in various combinations or arrangements. The scope of the present disclosure should be determined with reference to the attached claims and the full scope of equivalent forms granted by these claims.
[0066] The above embodiments are only exemplary embodiments of the present disclosure and are not intended to limit the present disclosure. The protection scope of the present disclosure is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present disclosure within the essence and protection scope of the present disclosure, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present disclosure.
Claims
1. A wireless earphone device, comprising a first earphone and a second earphone, characterized in that: The first earphone is configured as follows: receiving a first wireless frame from a smart device; After correctly receiving the first wireless frame, after a SIFS interval, sending an ACK frame to the smart device; The second earphone is configured as follows: Listening to a first wireless frame from the smart device; After listening to the first wireless frame from the smart device, sending a second wireless frame to the first headset within a preset time period, the second wireless frame indicating whether the second headset correctly receives the first wireless frame, and the preset time period is greater than the SIFS interval and less than the sum of the SIFS interval and the time period for the first headset to send the ACK frame; The first earphone is further configured as follows: Receiving the second wireless frame within the preset time period; When the second wireless frame is not received within the preset time period or the received second wireless frame indicates that the second headset has not correctly received the first wireless frame, the ACK frame being sent is modified, and the modified ACK frame is used to inform the smart device to resend the wireless frame.
2. The wireless headset device according to claim 1, characterized in that: Each of the first earphone and the second earphone has a first communication unit and a second communication unit, The first communication unit is configured as: Communicating with the smart device in a first frequency band; The second communication unit is at least configured as: Communication is performed between the first earphone and the second earphone in a second frequency band spaced apart from the first frequency band by a predetermined frequency band or more.
3. The wireless headset device according to claim 2, characterized in that: The first communication unit adopts a WIFI communication mode, and the second communication unit adopts a Bluetooth-based communication mode, or a communication mode other than a Bluetooth-based communication mode; or The first communication unit and the second communication unit both adopt the WIFI communication mode, but communicate with each other at frequency bands that are spaced apart from each other by more than a predetermined frequency band.
4. The wireless headset device according to claim 1, characterized in that: Each of the first earphone and the second earphone has a first communication unit and a second communication unit, and the data transmission speed when the first communication unit performs communication is faster than the data transmission speed when the second communication unit performs communication; Each of the first earphone and the second earphone is configured as: When high-quality audio data is to be received from the smart device, performing communication with the smart device using the first communication unit; When normal quality audio data is to be received from the smart device, communication with the smart device is performed using the second communication unit.
5. The wireless earphone device according to claim 2 or 3, characterized in that: The data transmission speed when the first communication unit performs communication is faster than the data transmission speed when the second communication unit performs communication; Each of the first earphone and the second earphone is configured as: When high-quality audio data is to be received from the smart device, performing communication with the smart device using the first communication unit; When normal quality audio data is to be received from the smart device, communication with the smart device is performed using the second communication unit.
6. The wireless headset device according to claim 1, characterized in that: Each of the first earphone and the second earphone has a first communication unit and a second communication unit, the privacy of the second communication unit when performing communication is better than the privacy of the first communication unit when performing communication, and the battery life performance of the second communication unit when performing communication is better than the battery life performance of the first communication unit when performing communication; Each of the first earphone and the second earphone is configured as: When call data is to be received from the smart device, communication with the smart device is performed using the second communication unit.
7. The wireless earphone device according to claim 2 or 3, characterized in that: The privacy of the second communication unit when performing communication is better than the privacy of the first communication unit when performing communication, and the battery life performance of the second communication unit when performing communication is better than the battery life performance of the first communication unit when performing communication; Each of the first earphone and the second earphone is configured as: When call data is to be received from the smart device, communication with the smart device is performed using the second communication unit.
8. The wireless earphone device according to claim 2 or 3, characterized in that: The battery life performance of the second communication unit when performing communication is better than the battery life performance of the first communication unit when performing communication; At least one of the first earphone and the second earphone further comprises a buffer and a processor, The processor is configured to: When the at least one earphone receives music data to be played using the first communication unit, the music data that has been received but not played is cached in the buffer; Determining the data amount of cached music data; When the determined amount of cached music data is greater than a first threshold, the first communication unit of the at least one earphone is controlled to send a first flag frame to the smart device and enter a sleep state, wherein the first flag frame indicates that the first communication unit of the at least one earphone is to enter a sleep state or a state of temporarily not receiving music data.
9. The wireless headset device according to claim 8, characterized in that: The processor is further configured to: When the determined amount of cached music data is less than a second threshold, the first communication unit of the at least one earphone is controlled to send a second flag frame to the smart device and exit the sleep state, wherein the second flag frame indicates that the first communication unit of the at least one earphone is to exit the sleep state or to resume receiving music data.
10. The wireless earphone device according to claim 9, characterized in that: The first threshold is greater than the second threshold.
11. The wireless headset device according to any one of claims 1 to 3, characterized in that: The first earphone is further configured as follows: Sending a modified ACK frame to the smart device; receiving a retransmitted wireless frame from the smart device; When the retransmitted wireless frame or any wireless frame whose payload corresponds to the retransmitted wireless frame is correctly received from the smart device, an ACK frame is transmitted to the smart device.
12. The wireless headset device according to any one of claims 1 to 3, characterized in that: The second earphone is further configured as: When the retransmitted wireless frame or any wireless frame whose payload corresponds to the retransmitted wireless frame is correctly received from the smart device, a third wireless frame is sent to the first headset, wherein the third wireless frame indicates that the second headset has correctly received the retransmitted wireless frame or any wireless frame whose payload corresponds to the retransmitted wireless frame from the smart device; The first earphone is further configured as follows: When the third wireless frame from the second headset is correctly received, the sending of the ACK frame to the smart device is not interfered with.
13. A communication method for a wireless headset device, the wireless headset device comprising a first headset and a second headset, characterized in that: The communication method comprises: The first earphone receives a first wireless frame from a smart device, and the second earphone listens to the first wireless frame from the smart device; After correctly receiving the first wireless frame, the first headset sends an ACK frame to the smart device after a SIFS interval; The second earphone, after listening to the first wireless frame from the smart device, sends a second wireless frame to the first earphone within a preset time period, wherein the second wireless frame indicates whether the second earphone has correctly received the first wireless frame, and the preset time period is greater than a SIFS interval and less than a sum of a SIFS interval and a time period for the first earphone to send the ACK frame; Receiving the second wireless frame by the first headset within the preset time period; The first earphone, when the second wireless frame is not received within the preset time period or the received second wireless frame indicates that the second earphone has not correctly received the first wireless frame, modifies the ACK frame being sent to inform the smart device to resend the wireless frame.
14. The communication method of a wireless headset device as claimed in claim 13, characterized in that: Each of the first earphone and the second earphone has a first communication unit and a second communication unit; The data transmission speed when the first communication unit performs communication is faster than the data transmission speed when the second communication unit performs communication; When the first earphone and the second earphone are to receive high-quality audio data from the smart device, the first communication unit is used to perform communication with the smart device; When normal quality audio data is to be received from the smart device, communication with the smart device is performed using the second communication unit.
15. The communication method of a wireless headset device as claimed in claim 13, characterized in that: The first headset sends the modified ACK frame to the smart device; The first earphone receives a retransmitted wireless frame from the smart device; In case the retransmitted wireless frame or any wireless frame whose payload corresponds to the retransmitted wireless frame is correctly received from the smart device, the first headset sends an ACK frame to the smart device.
16. The communication method of a wireless headset device as claimed in claim 13, characterized in that: When the second headset correctly receives the retransmitted wireless frame or any wireless frame whose payload corresponds to the retransmitted wireless frame from the smart device, the second headset sends a third wireless frame to the first headset, wherein the third wireless frame indicates that the second headset correctly receives the retransmitted wireless frame or any wireless frame whose payload corresponds to the retransmitted wireless frame from the smart device; When the first earphone correctly receives the third wireless frame from the second earphone, the first earphone does not interfere with the sending of the ACK frame to the smart device.
