Media access controller with codec error model
By combining MAC, majority voting and codec modules in communication equipment, uncorrectable errors are processed and error-corrected packets are generated, which solves the problems of frequent retransmissions and low bandwidth utilization caused by high error rates in wireless communications, and improves efficiency Communication link stability and audio quality.
Patent Information
- Application Number
- CN202080076809.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-11-12
- Filing Date
- 2020-09-29
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2040-09-29
AI Technical Summary
The existing media access controller (MAC) has a high error rate in wireless communications, resulting in frequent retransmissions, low bandwidth utilization efficiency, and a great impact on audio quality. It is difficult to match the instantaneous available bandwidth and affects the stability of the communication link. and waiting time.
A communication device is designed, including a media access control (MAC) module, a majority voting module and a codec module, which detects uncorrectable errors and generates error-corrected packets, allowing the codec module to override the MAC module to Prevent retransmission requests and improve bandwidth utilization and audio quality.
By reducing the number of retransmissions, the stability and bandwidth utilization of the communication link are improved, the impact on audio quality is reduced, the instantaneous bandwidth changes of the wireless link are adapted to, and the waiting time and communication quality are improved.
Smart Images

Figure CN114631280B_ABST
Abstract
Description
[0001] Priority claim
[0002] This patent application claims priority to application No. 16 / 681,404, filed on November 12, 2019, entitled “MEDIA ACCESS CONTROLLER WITHA CODEC ERROR MODEL,” which is assigned to the assignee of the present application and is hereby expressly incorporated herein by reference.
[0003] Public domain
[0004] The present disclosure relates generally to streaming data and, more particularly but not exclusively, to a media access controller for receiving streaming data.
[0005] background
[0006] The Media Access Control (MAC) is a sublayer of the Data Link Layer (DLL) in the seven-layer OSI Network Reference Model. The MAC sublayer is the layer that controls the hardware responsible for interacting with the wired, optical, or wireless transmission medium. The MAC sublayer and the Logical Link Control (LLC) sublayer together make up the Data Link Layer. Within the Data Link Layer, LLC provides flow control and multiplexing for logical links (i.e., Ethertype, 802.1Q VLAN tags, etc.), while MAC provides flow control and multiplexing for the transmission medium.
[0007] These two sublayers together correspond to layer 2 of the OSI model. In the hierarchy of the OSI model and the IEEE 802 standard, the MAC sublayer provides control abstraction of the physical layer, making the complexity of physical link control invisible to the LLC and upper layers of the network stack. Therefore, any LLC sublayer (and higher layers) can be used in conjunction with any MAC. In turn, the media access control block is formally connected to the PHY via a media-independent interface.
[0008] When sending data to another device on the network, the MAC sublayer encapsulates higher-level frames into frames suitable for the transmission medium (i.e., the MAC adds a synchronization word preamble and also adds padding (if necessary)), adds a frame check sequence to identify transmission errors, and then forwards the data to the physical layer once the appropriate channel access method allows it. For topologies with collision domains (bus, ring, mesh, point-to-multipoint topologies), it is necessary to control when to send data and when to wait to avoid collisions. In addition, the MAC is also responsible for compensating for collisions by initiating retransmissions if a jammed signal is detected. When receiving data from the physical layer, the MAC block ensures data integrity by verifying the sender's frame check sequence and stripping the sender's preamble and padding before passing the data to higher layers. However, the error rate in the air is also higher than that in wired, so the probability of packets being damaged is higher. Because of this, most MAC protocols also implement positive acknowledgment and MAC-level retransmission to avoid losing packets in the air - a MAC acknowledgment scheme.
[0009] The principle is simple: every time a device receives a packet, it immediately sends a short message (ack) back to the transmitter to indicate that it has successfully received the packet without errors. If the transmitter does not receive an ack after sending a packet, the transmitter knows that the packet has been lost, so it will retransmit the packet (after contending for the medium again, similar to Ethernet). Most MAC protocols use a stop and go mechanism; they transmit the next packet in the queue only if the current packet has been correctly acknowledged (there is no sliding window mechanism like in the transmission control protocol). The basic reason is that it makes the protocol simpler, minimizes latency and avoids deserializing packets.
[0010] Typically, the MAC acknowledgement scheme does not acknowledge packets until the number of bit errors has been reduced to zero and there is a good cyclic redundancy check (CRC). As a result, the source will keep sending packets until the maximum retry has been reached, and therefore the available bandwidth is used quickly. The wireless channel may suffer from a decay period that reduces the bandwidth it can support. If the bandwidth required exceeds the bandwidth that the channel can support, the channel latency will be increased, and the quality of service (QoS) of other communication links sharing the same controller will also be affected. When low latency audio is needed, any additional delay may cause audio to be discarded. Typically, there is a lag between the time when the source will encode the audio packet and the time when the audio packet is sent across the wireless medium. This lag makes it difficult for the source to reduce the bit rate of the encoded stream to match the instantaneous available bandwidth.
[0011] Accordingly, there exists a need for systems, devices, and methods that overcome the deficiencies of conventional approaches, including the methods, systems, and devices provided herein.
[0012] Overview
[0013] A simplified overview of one or more aspects and / or examples associated with each device and method disclosed herein is given below. As such, the following overview should neither be considered an exhaustive overview of all conceived aspects and / or examples, nor should the following overview be considered to identify key or decisive elements associated with all conceived aspects and / or examples or to depict the scope associated with any particular aspect and / or example. Accordingly, the following overview merely has the purpose of presenting certain concepts related to one or more aspects and / or examples of the device and method disclosed herein in a simplified form prior to the detailed description given below.
[0014] In one aspect, a communication device includes: a control unit, the control unit including: a media access control (MAC) module, which is configured to: send a negative acknowledgment response in response to detecting an uncorrectable second error in a second packet received via a synchronous link of a wireless communication medium, the negative acknowledgment response requesting retransmission of the second packet received on the synchronous link; a majority voting module, which is configured to: as a reaction to detecting the uncorrectable second error in the second packet, perform a majority vote on the second packet and a first packet with an uncorrectable first error received before receiving the second packet to generate an error-corrected packet; and a codec module, which is configured to: in response to detecting the uncorrectable second error in the second packet, determine whether the error-corrected packet is acceptable; wherein, when the error-corrected packet is acceptable, the codec module overrides the MAC module to prevent sending the response and configures the MAC module to send an acknowledgment response.
[0015] On the other hand, a communication device includes: a control unit, the control unit including: a device for controlling a media access control (MAC) layer, which is configured to: send a negative acknowledgment response in response to detecting an uncorrectable second error in a second packet received via a synchronous link of a wireless communication medium, the negative acknowledgment response requesting retransmission of the second packet received on the synchronous link; a device for combining packets, which is configured to: as a reaction to detecting the uncorrectable second error in the second packet, perform a majority vote on the second packet and a first packet with an uncorrectable first error received before receiving the second packet to generate an error-corrected packet; and a device for compression / decompression, which is configured to: determine whether the error-corrected packet is acceptable in response to detecting the uncorrectable second error in the second packet; wherein, when the error-corrected packet is acceptable, the device for compression / decompression overrides the device for controlling the MAC layer to prevent sending the response, and configures the device for controlling the MAC layer to send an acknowledgment response.
[0016] On the other hand, a method for acknowledging a packet includes: detecting, with a media access control (MAC) module, an uncorrectable second error in a second packet received via a synchronous link of a wireless communication medium; performing, with a majority voting module, a majority vote on the second packet and a first packet with an uncorrectable first error received before receiving the second packet in response to detecting the uncorrectable second error in the second packet to generate an error-corrected packet; determining, with a codec module, whether the error-corrected packet is acceptable in response to detecting the uncorrectable second error in the second packet; overriding the MAC module with the codec module to prevent sending the response when the error-corrected packet is acceptable; and sending an acknowledgment response by the MAC module when the error-corrected packet is acceptable.
[0017] Other features and advantages associated with the various devices and methods disclosed herein will be apparent to those skilled in the art based on the accompanying drawings and detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] A more complete appreciation of the various aspects of the present disclosure and its many attendant advantages will be readily obtained as it becomes better understood by reference to the following detailed description considered in conjunction with the accompanying drawings, which are presented for purposes of illustration only and do not constitute any limitation of the present disclosure, and wherein:
[0020] Figure 1 An exemplary block diagram illustrating two communication devices according to some examples of the present disclosure;
[0021] Figure 2 An exemplary block diagram illustrating a communication device according to some examples of the present disclosure;
[0022] Figure 3 illustrates an exemplary control unit in an access network according to some examples of the present disclosure;
[0023] Figure 4 Exemplary adaptive packaging schemes according to some examples of the present disclosure are illustrated;
[0024] Figure 5 Exemplary codecs according to some examples of the present disclosure are illustrated;
[0025] Figure 6 Another exemplary partial method for acknowledging a packet according to some examples of the present disclosure is illustrated;
[0026] Figure 7 An exemplary mobile device illustrating some examples according to the present disclosure; and
[0027] Figure 8Various electronic devices according to some examples of the present disclosure that may be integrated with any of the aforementioned integrated devices, semiconductor devices, integrated circuits, dies, interposers, packages, or packages-on-packages (PoPs) are illustrated.
[0028] As a matter of practice, the features depicted in the drawings may not be drawn to scale. Accordingly, the dimensions of the depicted features may be arbitrarily enlarged or reduced for clarity. As a matter of practice, certain drawings are simplified for clarity. Thus, the drawings may not depict all components of a particular device or method. In addition, similar reference numerals are used throughout the specification and drawings to indicate similar features.
[0029] Detailed Description
[0030] The exemplary methods, devices, and systems disclosed herein alleviate the deficiencies of conventional methods, devices, and systems, as well as other previously unidentified needs. The MAC may include a codec that is designed to tolerate bit errors, which allows the MAC acknowledgment scheme to consider the codec packet as "good" based on the error model of the codec. In other words, the codec can override the MAC layer acknowledgment scheme to reserve bandwidth. For example, bit errors may not have an impact on the audio, or in the worst case, the impact on the audio is very small. This has advantages in minimizing retransmissions, and in many cases, retransmissions may only attempt to correct the last bit. For example, after receiving two packets, if the number of errors is small, there is no need to wait for the third packet. In addition, by allowing more bit errors to be retained in the stream fed to the codec, audio quality can be compromised for wireless link bandwidth (usually the bandwidth reserved for packet repetition). This not only improves the achievable waiting time, but also improves the stability of the communication link.
[0031] Bluetooth TM The wireless communication specification, standard or protocol of Bluetooth uses a specific type of spread spectrum data communication called "frequency hopping" spread spectrum to achieve wireless communication. This frequency hopping spread spectrum divides the data to be communicated on the wireless communication medium into discrete parts and transmits each of these parts as a signal of up to 79 different frequencies. Typically, Bluetooth communication supports a maximum transmission distance of 10 meters (about 30 feet). Bluetooth TM Communication also provides synchronous connection-oriented links (on Bluetooth TM The Bluetooth SCO specification is referred to as "SCO" in which the first device connects to the second device (or "Bluetooth TM The connection is synchronous in that the two devices synchronize data communications between each other in terms of time to permit data to be transferred for time-sensitive or time-limited applications such as voice applications (including Voice over Internet Protocol (VoIP) and more standards), cellular telephone calls, and so on.
[0032] In Bluetooth TM In subsequent revisions of the specification, a new feature called Extended Synchronous Connection-Oriented Link (Extended Isochronous Connection-Oriented Link) was defined. TM Another form of link (referred to as "eSCO" in the specification) is to improve SCO. SCO does not allow communications to be retransmitted in response to errors detected in these transmissions, but only provides a limited form of error correction. When error correction fails, SCO replaces erroneous data communications with special communications that actually define silence. eSCO improves on SCO by enabling retransmissions of erroneous data communications that cannot be compensated for via the limited form of error correction. For practical purposes, eSCO limits retransmissions to two different retransmissions of an erroneous data communication.
[0033] According to one aspect of the various technologies of the present disclosure, such as Bluetooth TM The first device to implement Bluetooth for head-mounted devices TM The eSCO aspect of the specification or protocol is to request one or more retransmissions of a data communication received on an eSCO link between the head mounted device and a second device (such as a cellular or mobile phone). Thus, the head mounted device receives a first packet (or communication) on the eSCO link and performs error detection to determine whether the first packet includes an error. If the first packet includes an error, the head mounted device may first attempt to correct the error. However, assuming that the error cannot be corrected, the head mounted device requests a first retransmission of the first packet in response to detecting an error in the first packet received on the wireless communication medium (e.g., an eSCO link).
[0034] The head mounted device then receives another or second packet of the retransmission in response to the first request. The head mounted device determines whether the second packet received in response to the first retransmission request includes an error. In response to detecting another such uncorrectable error in the second packet, the head mounted device performs a bit-by-bit majority vote on the corresponding bits of the first and second packets to generate a packet that is at least partially corrected, rather than replacing the second packet in the output buffer with a special communication that specifies silence or otherwise performing packet loss tolerance. The head mounted device performs a bit-by-bit majority vote by comparing, for example, the first bit of the payload of each of the first and second packets (which may include bit values 1 and 1, respectively, for purposes of illustration). Since two 1s constitute a majority, the first device selects "1", thereby implementing a bit-by-bit majority vote to correct the assumed error in the packet. This majority process can be performed for each bit of the corresponding packet payload. As will be understood, majority voting typically includes an odd number of "votes" (such as from the first, second, and third packets containing errors rather than just two packets used in this example).
[0035] By performing this additional error correction step involving utilizing retransmission enhancement of eSCO to replace the second packet with a special communication that specifies silence, these techniques can significantly improve the quality of communications over the eSCO link compared to the quality experienced over the eSCO link implementing the standard eSCO replacement of the second packet with the special silence communication. In addition, the error correction techniques described in the present disclosure can be implemented to comply with existing Bluetooth TM protocol specification, and therefore does not require Bluetooth TM As a result, the technologies can be used in conjunction with Bluetooth TM capabilities in existing devices without encountering Bluetooth TM Compliance issues.
[0036] Although for illustrative purposes, the present disclosure focuses on Bluetooth TM The techniques are described in the protocol specification, but may be implemented for any form of communication that relies on retransmissions to overcome communications received with detected errors.In this and many other respects, the techniques should not be limited to the examples set forth below.
[0037] Figure 1 1 is a block diagram illustrating an example wireless communication system 10 that implements the techniques described in this disclosure. The wireless communication system 10 includes a mobile device 12 (communication device) and a wireless personal area network device 14 ("WPAN device 14"—another communication device). The mobile device 12 includes one or more of the following: a cellular telephone (including so-called "smart" phones), a wireless telephone, a laptop computer, a personal digital assistant (PDA), a so-called "netbook", a portable or personal media player (including so-called "MP3" players), or any other device of a portable nature that is capable of implementing wireless communication protocols or standards. Although described with respect to the mobile device 12, the techniques may be implemented with respect to non-mobile or less portable devices, such as desktop computers, workstations, non-portable media players (including wired media players such as digital video disc players, Blu-ray players, etc.), and wireless personal area network devices 14 ("WPAN device 14"—another communication device). TM optical disc players and audio / video receivers), televisions, or any other non-mobile or less portable device capable of implementing wireless communication protocols or standards.
[0038] WPAN devices 14 may include devices that implement WPAN protocols (such as Bluetooth TM For the purpose of illustration, it is assumed that the WPAN device 14 implements Bluetooth TM Bluetooth TMCommon WPAN devices 14 that use the WPAN protocol include wireless head-mounted devices, wireless computer pointing devices (such as a mouse, for example), wireless keyboards, and wireless stereo headphones.
[0039] The mobile device 12 includes a control unit 16 that implements the same WPAN protocol as implemented by the WPAN device 14, such as one of the Bluetooth specifications. More specifically, the control unit 16 includes a WPAN module 18 that implements the same WPAN protocol as implemented by the WPAN device 14, such as one of the Bluetooth specifications. TM The WPAN device 14 also includes a control unit 20 that implements the same WPAN protocol as implemented by the mobile device 12, such as Bluetooth TM Specifically, the control unit 20 includes a WPAN module 22 that implements the same WPAN protocol as implemented by the mobile device 12, such as Bluetooth TM specification.
[0040] Each of the mobile device 12 and the WPAN device 14 implements the same WPAN protocol to use Bluetooth TM The WPAN modules 18 and 22 are "paired" with each other according to the procedures set forth in the specification. "Pairing" involves establishing a wireless communication channel or link 24 between each of the WPAN modules 18 and 22. The wireless communication channel or link 24 represents a wireless communication medium. There are various different types of links that the WPAN modules 18 and 22 can establish, including asynchronous links and synchronous links. The WPAN modules 18 and 22 typically select the link type based on the requirements of a particular application. For example, for voice applications (such as Voice over Internet Protocol (VoIP) applications), the WPAN modules 18 and 22 typically establish a synchronous link 24. For purposes of illustration, it is assumed that the WPAN modules 18 and 22 establish a synchronous wireless communication link 24. However, the various techniques of the present invention should not be limited to synchronous wireless communication links 24.
[0041] Bluetooth TM The specification provides for different types of synchronous wireless communication links. The first type, called a synchronous connection-oriented (SCO) link, involves transmitting data units over the SCO link including limited error correction. In instances where the error correction for the SCO link is insufficient to correct errors, the SCO link provides for special "silent" data units to be used to replace erroneous data units. When applied to automatic data units, a "silent" data unit represents silence in an audio stream being communicated between two WPAN devices. Initially, silence was considered an improvement over erroneous data units. However, as described above, Bluetooth TM The specification was revised to include different types of synchronous wireless communication links, which are in the Bluetooth TM The specification calls it an extended synchronous connection-oriented (eSCO) link.
[0042] These eSCO links provide a retransmission mechanism to account for erroneous data communications, and silence is indicated only as a last resort. To illustrate, when an error is detected in a data unit in which limited error correction proves insufficient to correct the error, those WPAN devices that comply with the revised Bluetooth specification request a retransmission of the data unit. If the receiving WPAN device detects an uncorrectable error in the retransmitted data unit, the device will then request a retransmission of the data unit again. If the receiving WPAN device again detects an uncorrectable error in the retransmitted data unit, the WPAN device will then simply replace the data unit with a special "silent" data unit. Data units typically include packets containing audio data, but may include any other type of application layer data.
[0043] It is worth noting that the current version of Bluetooth TM The specification provides forward error correction (FEC) only for the header of a data unit, not for the actual payload in which the audio or other data is stored. For the payload, current versions of Bluetooth TM The specification only provides for error detection through the use of a cyclic redundancy check (CRC). TM The specification provides "limited" error correction, in that only errors in the header can be corrected, while errors in the payload can only be detected. TM specification, retransmission is the only way that errors in the payload can be "corrected", where this form of correction is very different from the dynamic correction of the same data unit enabled by FEC. That is, FEC actually corrects errors in the same data unit, while retransmission corrects errors in the current data unit by replacing the current data unit with another version of the data unit that may or may not include the errors.
[0044] Given the synchronous nature of these eSCO links, Bluetooth TM The specification provides a limited time window in which each data unit can be sent between the WPAN modules 18 and 22. Typically, this limited time window only permits two retransmissions of a data unit, which means that the WPAN module 22 can only request two retransmissions before the payload must be cleared from the queue, which may be the same as replacing the data unit with a special "quiet" data unit. In addition, once this time expires (or, in other words, a timer "timeout" occurs), the WPAN module 22 may not even be able to respond with an acknowledgment of the received data unit because the synchronous nature of the link 24 would require both the WPAN modules 18 and 22 to time out and remain synchronized at the same time.
[0045] According to the various technologies described in this disclosure, the WPAN device 14 (as described above, it can represent a Bluetooth TMHead-mounted devices) implement Bluetooth TM The eSCO aspect of the specification or protocol is to request up to two retransmissions of data units or communications received on the eSCO link between the WPAN device 14 and the mobile device 12 (which may represent a cellular or mobile phone). However, rather than simply replacing the last data communication with an uncorrectable error with a special silent data unit or otherwise performing packet loss tolerance, the WPAN device 14 performs a bit-by-bit majority vote on each bit of separate versions of the same data communication when appropriate. In addition, the control unit 16 and the control unit 20 may include a codec that can override the MAC module of the corresponding control unit in sending acknowledgments and negative acknowledgments, as will be described in detail below.
[0046] To illustrate these techniques, consider that the mobile device 12 is initially paired with the WPAN device 14 to establish a synchronous wireless communication link 24 (for ease of reference, the link is also referred to as an eSCO link 24). More specifically, the WPAN module 18 of the mobile device 12 is paired with the WPAN module 22 of the WPAN device 14. The mobile device 12 can initiate a voice telephone call over a cellular network or over a data network, where in the example of a data network, the call represents a VoIP call. Alternatively, the mobile device 12 can begin audio or video data playback or streaming audio or video data from a wireless network. In any case, the control unit 16 can access and decode the media content 26, where the control unit 16 stores the media content 22 to a memory or other storage medium ( Figure 1 ). The WPAN module 18 then begins transmitting the media content 26 to the WPAN module 22 of the WPAN device 14 via the eSCO link 24, which may include Figure 1 Other modules not shown in the figure are used to play back the received media content.
[0047] According to the Bluetooth specification, the WPAN module 18 divides the media content 22 into discrete data units, which are transmitted over the Bluetooth TM The specification refers to eSCO packets. Although described with respect to eSCO packets, the techniques may be applied to any data communication or data unit and should not be limited to eSCO packets. The WPAN device 14 (more specifically, the WPAN module 22 of the WPAN device 14) therefore receives the first eSCO packet on the eSCO link 24 and performs error correction / error detection to determine whether the first eSCO packet includes an error. If the first eSCO packet includes an error, the WPAN module 22 may first attempt to correct the error. However, assuming that the error cannot be corrected, the WPAN module 22 may, in response to detecting the error in the first eSCO packet received on the wireless communication medium (e.g., the eSCO link 24), perform an error correction / error detection to determine whether the first eSCO packet includes an error.TM The WPAN module 18 responds to the first retransmission request with another or second eSCO packet that is, from the perspective of the WPAN module 18, a copy or duplicate of the first eSCO packet.
[0048] The WPAN module 22 then receives another or second eSCO packet in response to the retransmission of the first request from the WPAN module 18. The WPAN module 22 determines whether the second eSCO packet received in response to the first retransmission request includes an error. Assuming that the second communication contains an error that cannot be corrected, the WPAN module 22 of the WPAN device 14 does not replace the second eSCO packet in the output buffer with a special communication that specifies silence, but instead calls the majority voting (MV) module 28 ("MV module 28") when appropriate, wherein the MV module 28 performs a bit-by-bit majority vote on the corresponding bits of the first, second, and third eSCO packets to generate an eSCO packet that is at least partially error-corrected. Next, the codec module determines whether the error-corrected packet is acceptable. This determination can be based on a dynamic quality target. The quality target can be, for example, audio quality, and can be based on the past history of the link between the two devices used in the code error model. For example, if there are few errors in the link transmission according to past history, the codec error model can set a quality target for few or no errors in the packet. On the other hand, if past history shows more errors in the link transmission, the codec error model can set quality targets for one or more errors per packet (i.e., more tolerant to errors) or the location of errors (i.e., apt-X encapsulation discussed below). The codec error model can also attempt to adjust the packet size, compression, etc. for future packet transmissions. However, when the packet parameters cannot be changed due to the short time frame for low latency transmission, the codec error model can adjust the quality target to increase the number of errors or the location of errors, which will still be determined to be acceptable for further processing and no retransmission or silence will be performed for this particular packet. The MV module 28 represents hardware or a combination of hardware and software modules (e.g., a processor executing software stored in a computer-readable storage medium) that implements various aspects of the bit-by-bit majority voting techniques described in the present disclosure.
[0049] The MV module 28 performs a bit-by-bit majority vote by comparing, for example, the first bit of the payload of each of the first and second (and third) eSCO packets (which, for illustrative purposes, may include bit values of 1 and 1 (and 0), respectively). Since two 1s constitute a majority, the MV module 28 selects "1", thereby implementing a bit-by-bit majority vote to correct the assumed error in the eSCO packet (the "0" in the third packet). The MV module 28 continues in the above manner on a bit-by-bit basis to evaluate and correct those bits using the majority voting techniques described above. If the partially error-corrected eSCO packet is determined to be acceptable to the codec module, it may then be forwarded to the media content 26', which may be stored in a buffer, memory, or other computer-readable storage medium. The media content 26' is represented by an apostrophe (') to suggest that it is a copy or a close copy of the media content 26 stored by the control unit 16 of the mobile device 12.
[0050] By performing these additional error correction steps involving utilizing eSCO's retransmission enhancement to replace special communications with designated silences for eSCO packets, these techniques can significantly improve the quality of communications over the eSCO link compared to the quality experienced over the eSCO link implementing standard eSCO silence substitution for the third eSCO packet in error. Furthermore, the error correction techniques described in the present disclosure are consistent with existing Bluetooth TM protocol specification, and therefore does not require Bluetooth TM As a result, the various technologies disclosed in this disclosure can be used in Bluetooth-enabled devices. TM capabilities in existing devices without encountering Bluetooth TM Compliance issues.
[0051] Figure 2 A more detailed explanation Figure 1 A block diagram of a WPAN device 14 is shown. Figure 2 As shown in FIG. 1 , the WPAN device 14 includes a control unit 20 including a WPAN module 22. As described above, the WPAN module 22 includes the MV module 28. However, the WPAN module 22 also includes a MAC module 30, an error management module 32 having a codec or decoder error model, a decoding unit 34, a packet loss tolerance module 35, and buffers 36A-36C. The MAC module 30 represents a management link (such as Figure 1 24) of the eSCO link 24 shown in FIG. 1 ) may be hardware or a combination of hardware and software (eg, a processor executing software stored in a computer-readable storage medium).
[0052] MAC module 30 includes a pairing module 38 and a retransmission module 40 ("retransmission module 40"). Pairing module 38 represents hardware or a combination of hardware and software (e.g., a processor executing software stored in a computer-readable storage medium) that "pairs" WPAN module 22 with WPAN module 18 to configure, establish, and maintain an asynchronous or synchronous link (e.g., eSCO link 24). Retransmission module 40 represents hardware or a combination of hardware and software (e.g., a processor executing software stored in a computer-readable storage medium) that issues a request to retransmit a data unit or communication (such as an eSCO packet).
[0053] The error management module 32 represents hardware or a combination of hardware and software (e.g., a processor executing software stored in a computer-readable storage medium) that performs error correction and error detection on received data units (such as eSCO packets) and determines whether the error-corrected packets are acceptable. The decoding unit 34 represents a module formed by hardware or a combination of hardware and software (e.g., a processor executing software stored in a computer-readable storage medium) that decodes the payload data stored in the payload of the eSCO packets to generate the media content 26'. The packet loss tolerance module 35 represents a hardware module or a combination of hardware and software modules that performs packet loss tolerance to tolerate lost or damaged packets. Although not described herein, the present invention further provides a method for facilitating the transmission of the received data units. Figure 2 , but the control unit 20 may include other modules (such as audio playback modules) for playing, rendering or otherwise playing back media content 26' for user consumption. These playback modules may include audio drivers, speakers and other audio playback components, as well as displays and other video playback components.
[0054] Buffers 36A-36C ("buffers 36") represent hardware modules for storing data, such as eSCO packets. Although shown as three separate buffers 36A-36C, a single memory module or disk drive may provide three separate logical (rather than physical) buffers. In this regard, buffers 36 represent any actual or logical partitioning of a memory or other computer-readable storage medium. Buffers 36 typically include a small, dedicated memory, such as flash memory, random access memory (RAM), static RAM (SRAM), dynamic RAM (DRAM), or any other form of static or dynamic memory.
[0055] Initially, a user or other operator of a WPAN device 14 communicates with a user interface ( Figure 2 The WPAN module 18 of the mobile device 12 may receive these query messages and, via the user interface of the mobile device 12 (which is also not shown), may interact with the pairing module 38 of the MAC module 30 to begin broadcasting or otherwise transmitting query messages on different frequencies. Figure 12) presents the device identified by the query message to the user or operator. The user can select which device the user wants to pair with the mobile device 12 from the list of devices learned via the query message. Assuming the user selects the WPAN device 14, the WPAN module 18 pairs with the WPAN module 22, wherein the pairing module 38 negotiates the pairing process to establish a link, such as the eSCO link 24.
[0056] Once paired, the WPAN module 18 of the mobile device 12 transmits the media content 26 via the established eSCO link 24 by dividing the media content 26 into discrete payloads and encapsulating the payloads with headers to form one or more eSCO packets. The WPAN module 18 then transmits the eSCO packets to the WPAN module 22 of the WPAN device 14 via the eSCO link 24. The MAC module 30 of the WPAN module 22 included in the WPAN device 14 receives the first eSCO packet 42 of the multiple eSCO packets sent by the WPAN module 18. The MAC module 30 stores the eSCO packet 42 in the buffer 36A and signals the error management module 32. The error management module 32 parses the header from the eSCO packet 42 stored in the buffer 36A and determines whether the header contains any bit errors. If the header includes only a few bit errors, the error management module 32 performs FEC to correct these errors. However, if the parsed header contains a number of errors that exceed the FEC threshold, error management module 32 may not be able to use FEC to correct these errors, but instead signals MAC module 30 that a retransmission of packet 42 may be requested. MAC module 30 calls retransmission module 40 to issue a request to retransmit eSCO packet 42.
[0057] However, assuming that the error management module 32 does not detect any errors in the header, the error management module 32 then determines whether the payload of the eSCO packet 42 contains any errors. Generally speaking, an eSCO packet, such as the eSCO packet 42, provides a CRC checksum that the error management module 32 uses to determine whether the eSCO packet contains errors. If the packet 42 does not include any errors, the error management module 32 writes the packet 42 to a buffer 44 of the decoding unit 34, whereby the decoding unit 34 decodes the packet 42 and stores the packet as part of the media content 26'. The buffer 44 may be substantially similar to the buffer 36. In some instances, the buffer 44 may be the same as the buffer 36A, since the buffer 36A is the buffer that the decoding unit 34 accesses to decode the packet. In any case, if the error management module 32 determines that the packet 42 contains errors using the CRC, the error management module 32 signals the MAC module 30, which calls the retransmission module 40 to request a retransmission of the eSCO packet 42.
[0058] For illustrative purposes, assuming that eSCO packet 42 contains payload bit errors and therefore retransmission module 40 requests retransmission of eSCO packet 42, WPAN module 18 of mobile device 12 retransmits eSCO packet 42, wherein this retransmitted copy or duplication of eSCO packet 42 is represented as eSCO packet 42'. MAC module 30 receives eSCO packet 42' and stores this eSCO packet 42' to buffer 36B. Error management module 32 then performs the above-described process to determine whether packet 42' includes any uncorrectable errors, which may include a number of bit errors in the header that exceed the FEC threshold and / or any bit errors in the payload (considering that the payload CRC does not permit correction). If there are no uncorrectable errors in packet 42', error management module 32 writes packet 42' to buffer 44 of decoding unit 34, whereby decoding unit 34 decodes packet 42' and stores the packet as part of media content 26'.
[0059] However, again assuming that the eSCO packet 42′ contains payload bit errors, the error management module 32 interacts with the MAC module 30 to signal or mark the uncorrectable errors. As described above, the MAC module 30 can call the retransmission module 40, which requests a retransmission of the packet 42. Alternatively, the error management model can skip the second retransmission and continue with a majority vote and determine whether the error-corrected packet is acceptable. In response to the second retransmission request, the WPAN module 18 of the mobile device 12 retransmits the eSCO packet 42, where the retransmitted copy or replication of the eSCO packet 42 is represented as eSCO packet 42". The MAC module 30 receives the eSCO packet 42" and stores this eSCO packet 42" to the buffer 36C. The error management module 32 then performs the above process to determine whether the packet 42" includes any uncorrectable errors. If no uncorrectable errors are found in packet 42", error management module 32 writes packet 42" to buffer 44 of decoding unit 34, whereby decoding unit 34 decodes packet 42" and stores the packet as part of media content 26'.
[0060] Assuming again for purposes of illustration that eSCO packet 42" is found to have at least one uncorrectable payload bit error, error management module 32 then determines whether each of packets 42, 42', and 42" is valid. Packets 42, 42', and 42" are valid if they contain only uncorrectable payload bit errors. For other uncorrectable errors (such as bit errors in the header that cannot be corrected using FEC or other error correction techniques), the error management module 32 may determine that it is inappropriate to apply a majority voting technique due to high-level errors (as indicated by the uncorrectable nature of the header bit errors). That is, high-level errors refer to uncorrectable errors in the header of the packet. Instead of calling the MV module 28 to apply the majority voting technique described in the present disclosure, the error management module 32 may signal packet loss and interact with the packet loss tolerance module 35 to tolerate the lost packets. For example, the packet loss tolerance module 35 may generate a special silent packet to tolerate the lost packet. Alternatively, the packet loss tolerance module 35 may generate a copy of a previous packet to tolerate the lost packet.
[0061] However, if each of packets 42, 42′, and 42″ is valid (e.g., does not contain uncorrectable header bit errors), error management module 32 may interact with MV module 28 to signal the uncorrectable status of all three payloads of packets 42, 42′, and 42″. MV module 28 then performs a bit-by-bit majority vote on each successive bit of packets 42, 42′, and 42″ to generate an at least partially error-free packet 43. Table 1 below provides an example of the application of a bit-by-bit majority voting technique employed by MV module 28 to generate packet 43:
[0062] Table 1 Example of bit-by-bit majority voting
[0063]
[0064] In Table 1 above, each of packets 42, 42', 42" and 43 includes bits 0-N. Packet 42 includes bits from 0 to N, whose values are 0110100...1. Packet 42' includes bits 0 to N, whose values are 0100110...0. Packet 42" includes bits 0 to N, whose values are 0100100...0. The MV module 28 performs a bit-by-bit majority vote by taking the value of each bit (such as bit-0) in each of packets 42, 42′, and 42″ and counting the number of bit values that are 0 and the number of bit values that are 1. For example, in the instance of bit-2, the majority bit value is 0 because there is only one bit-2 value equal to 1 and there are two or a majority of bit-2 values equal to 0. Therefore, the MV module 28 selects the majority bit-2 value 0 as the “correct” bit-2 value for packet 43. This value is “correct” only in the sense that this value represents a correct majority. Although statistically uncommon, this value may be an incorrect bit-2 value because both packets 42′ and 42″ may contain bit errors in exactly the same position. For this reason, packet 43 is referred to as an at least partially error-free packet.
[0065] Next, the codec module of error management module 32 determines whether error-corrected packet 43 is acceptable based on the quality target. If error-corrected packet 43 is deemed acceptable by the codec module, the codec module may override MAC module 30 to send an acknowledgment instead of a negative acknowledgment or a request for a retransmission.
[0066] In the event that the codec module determines that the packet 43 is acceptable, the MV module 28 writes the packet 43 to the buffer 44 of the decoding unit 34, which decodes the packet 43 and stores the packet as part of the media content 26'. The playback component described above can read the streaming media content 26' and reproduce the content 26' for consumption by the user. As mentioned above, the various techniques can significantly improve the quality of streaming audio playback while reducing bandwidth-consuming retransmissions.
[0067] Figure 3 An exemplary control unit in an access network is illustrated. As discussed above, typically, a MAC acknowledgment scheme does not acknowledge a packet until the number of bit errors is reduced to zero and a good CRC exists. As a result, the source will keep sending packets until the maximum retries have been reached, and thus the available bandwidth is used quickly. By employing a codec designed to tolerate bit errors, the MAC acknowledgment scheme can consider codec packets as "acceptable" based on the error model of the codec. Bit errors may have no effect on the audio, or in the worst case, have little effect on the audio. This has advantages in minimizing retransmissions, which in many cases may only attempt to correct the last bit. After receiving two packets, if the number of errors is small, there is no need to wait for the third packet.
[0068] Wireless communication media may suffer from a fading period that reduces the bandwidth it can support. If the bandwidth required exceeds the bandwidth that the medium can support, the channel latency will be increased, and the QoS of other communication links sharing the same controller will also be affected. When low latency audio is required, any additional delay may cause audio to be discarded. Since there is a lag between the time when the source will encode the audio packet and the time when the audio packet is sent across the medium, this lag makes it difficult for the source to reduce the bit rate of the encoded stream to match the instantaneous available bandwidth. By allowing more bit errors to be retained in the stream fed to the codec module, audio quality can be compromised for the wireless link bandwidth (usually the bandwidth reserved for packet repetition). This not only improves the latency that can be achieved, but also improves the stability of the communication link.
[0069] like Figure 3As shown in , the communication device 300 (e.g., WPAN device 14) may include a MAC module 310 (e.g., MAC module 30), a majority voting module 320 (e.g., MV module 28), a codec module 330 (e.g., error management module 32), and a decoder module 340 (e.g., decoding unit 34). For Bluetooth ESCO / BLE streaming, it is possible to schedule packets so that the receiver knows in what time slot the packet will be sent, and using the Advanced Audio Distribution Profile (A2DP), the address field can be protected with a CRC. This allows the communication device 300 to be sure that the packet 302 is addressed to it, even if there is a CRC error. The transmitter may attempt to send the packet 302 more than once while it is waiting for the MAC acknowledgment 304. For each transmission attempt received with a CRC error, the "majority vote" performed by the majority voting module 320 is then able to combine the received packets 302 to eliminate bit errors. This process can continue until an attempt with a valid CRC is received; the majority voting module 320 can combine these attempts until the maximum number of attempts is exhausted. In addition, if the packet 302 is encapsulated with apt-X adaptation, which has been designed to tolerate bit errors, the codec module 330 can be able to partially decode the bit stream when errors occur. This allows the bit error rate (BRE) to be compromised with the audio quality target 350. The MAC acknowledgment scheme can use the codec error model in the codec module 330 to relate the bit errors to the audio quality target 350. For interruptions in the sequencing cycle on the link, the average acknowledgment 304 rate will increase. To offset this increase, the audio quality target 350 is reduced, thereby reducing the average acknowledgment 304 rate of these sequencing cycles. Once the link has improved or the source has reacted, the audio quality target 350 can be increased again. The audio quality target 350 can be adjusted based on the channel quality estimate 306, which is determined using the past history of the link and the error rate on the link.
[0070] Figure 4 An exemplary adaptive packing scheme 400 is illustrated. As part of error resilience, data may be packed in 32-bit intervals, where the data is decoded from left to right, such as Figure 4 As indicated in Figure 4As shown in , data is packed into intervals, wherein the first interval 410 has the most important grouping. The first interval 410 may include a first frequency band 420, a second frequency band 430, a third frequency band 440, and a fourth frequency band 450, wherein the first frequency band 420 is more important than the second frequency band 430, and so on. When a bit error 460 occurs in the second interval 470, it will affect the extraction of the bit 480 after the bit error 460 in the second interval 470. This means that the data loss in the second interval 470 is similar to the code bit rate reduction. The decoder (e.g., decoder 340) may be able to self-correct bit errors in the most important frequency bands, the first frequency band 420, the second frequency band 430, and the third frequency band 440. A single bit error in any interval will not affect the audio if it is in a correctable area. If it is later in the packet, it will have the least impact on the unprotected fourth frequency band 450. Therefore, for MAC acknowledgement packets, the error model of the codec (e.g., codec module 333) can tolerate a maximum of 1 bit error in any 32-bit interval. Further refinements include that the bit error can be in the first 16 bits of the interval (because this will be protected by the parity check), and as the quality target (e.g., quality target 350) decreases, the scheme 400 allows single bit errors to move in from the right. Since the bands are packed in order of importance, the farther to the right of the interval, the higher the probability that the lost data is important data.
[0071] Figure 5 Exemplary codecs according to some examples of the present disclosure are illustrated. Figure 5As shown in, an exemplary packet 500 (e.g., an eSCO packet) that can be used as a codec based on a modified discrete cosine transform (MDCT) may include a header 510, range coded data 520, and raw bits 530. The range coded data 520 may store information that cannot be efficiently stored as raw binary (e.g., in 2^N states) data. In the range coded data 520, any data after a bit error cannot be read. The raw bits 530 may have a field of known size so that the impact of a bit error will be localized and have a lower impact on audio quality than other locations. Among them, the header 510 (which may include energy for a frequency bin) may be used to calculate the field size of both the range coded data 520 and the raw bits 530. Therefore, a bit error in the header 510 may mean that most of the data in the packet 500 is lost. The impact of the audio quality on the bit error in the range coded data 520 is proportional to the location of the error. As the location where the error occurs is closer to the end, the less data will be lost. The packet 500 may be packed back to the end of the range encoded data 520 in a first direction 540 for the original bits 530 starting from the end, and back to the beginning of the original bits 530 for the range encoded data 520 in a second direction 550 opposite to the first direction 540. This allows a decoder to quickly switch between decoding symbols using a range encoder and reading the original bits without interleaving the data in the packet 500.
[0072] Figure 6 An exemplary partial method for acknowledging a packet is illustrated. Figure 6 As shown in FIG. , the portion of the method 600 begins at block 602, detecting, with a media access control (MAC) module, an uncorrectable second error in a second packet received via a synchronous link of a wireless communication medium. The portion of the method 600 continues at block 604, performing, with a majority voting module, a majority vote on the second packet and a first packet with an uncorrectable first error received before receiving the second packet in response to detecting the uncorrectable second error in the second packet to generate an error-corrected packet. The portion of the method 600 continues at block 606, determining, with a codec module, whether the error-corrected packet is acceptable in response to detecting the uncorrectable second error in the second packet. The portion of the method 600 continues at block 608, overriding the MAC module with the codec module to prevent sending a response (e.g., a negative acknowledgment) when the error-corrected packet is acceptable. The portion of the method 600 ends at, with the MAC module sending an acknowledgment response when the error-corrected packet is acceptable, in block 610. Alternatively, the portion of method 600 may end in block 612 with the first packet being received by the MAC module via the synchronous link without the MAC module sending the response.
[0073] Figure 7An exemplary mobile device according to some examples of the present disclosure is illustrated. Figure 7 , depicts a block diagram of a mobile device configured according to exemplary aspects and generally designated as 700. In some aspects, the mobile device 700 may be configured as a wireless communication device. As shown, the mobile device 700 includes a processor 701, which may be configured to implement the methods described herein in some aspects. The processor 701 is shown to include an instruction pipeline 712, a buffer processing unit (BPU) 708, a branch instruction queue (BIQ) 711, and a choke 710, as is well known in the art. For clarity, other well-known details of these blocks (e.g., counters, entries, confidence fields, weighted sums, comparators, etc.) have been omitted from this view of the processor 701.
[0074] The processor 701 may be communicatively coupled to the memory 732 over a link, which may be a die-to-die or chip-to-chip link. The mobile device 700 also includes a display 728 and a display controller 726 , wherein the display controller 726 is coupled to the processor 701 and the display 728 .
[0075] In some respects, Figure 7 It may include: a codec (CODEC) 734 (e.g., an audio and / or voice CODEC) coupled to the processor 701; a speaker 736 and a microphone 738 coupled to the CODEC 734; and a wireless controller 740 (which may include a modem) coupled to a wireless antenna 742 and the processor 701.
[0076] In certain aspects, where one or more of the above blocks are present, the processor 701, display controller 726, memory 732, CODEC 734, and wireless controller 740 may be included in a system-in-package or system-on-chip device 722. The input device 730 (e.g., a physical or virtual keyboard), power source 744 (e.g., a battery), display 728, input device 730, speaker 736, microphone 738, wireless antenna 742, and power source 744 may be external to the system-on-chip device 722 and may be coupled to components of the system-on-chip device 722, such as an interface or controller.
[0077] It should be noted that although Figure 7 A mobile device is depicted, but the processor 701 and memory 732 may also be integrated into a set-top box, music player, video player, entertainment unit, navigation device, personal digital assistant (PDA), fixed location data unit, computer, laptop, tablet device, communication device, mobile phone, or other similar device.
[0078] Figure 8Various electronic devices that may be integrated with any of the aforementioned integrated devices, semiconductor devices, integrated circuits, dies, interposers, packages, or stacked packages (PoP) according to some examples of the present disclosure are illustrated. For example, a mobile phone device 802, a laptop device 804, and a fixed location terminal device 806 may include an integrated device 800 as described herein. The integrated device 800 may be, for example, any of the integrated circuits, dies, integrated devices, integrated device packages, integrated circuit devices, device packages, integrated circuit (IC) packages, and stacked package devices described herein. Figure 8 The devices 802, 804, 806 illustrated in the figure are merely exemplary. Other electronic devices can also feature the integrated device 800, including, but not limited to, a group of devices (e.g., electronic devices) including: mobile devices, handheld personal communication system (PCS) units, portable data units (such as personal digital assistants), devices enabled with a global positioning system (GPS), navigation devices, set-top boxes, music players, video players, entertainment units, fixed location data units (such as meter reading equipment), communication devices, smart phones, tablet computers, computers, wearable devices, servers, routers, electronic devices implemented in motor vehicles (e.g., autonomous vehicles), or any other device that stores or retrieves data or computer instructions, or any combination thereof.
[0079] It will be appreciated that the various aspects disclosed herein may be described as functional equivalents of structures, materials, and / or devices described and / or recognized by those skilled in the art. It should also be noted that the methods, systems, and apparatus disclosed in the present description or claims may be implemented by a device including means for performing the corresponding actions of the method. For example, in one aspect, a communication device (e.g., mobile device 12, WPAN device 14, communication device 300) may include: a control unit (e.g., control unit 16, control unit 20), the control unit including: means for controlling a media access control (MAC) layer (e.g., MAC module 30, MAC module 310), which is configured to: send a response (a negative acknowledgment response or an acknowledgment response in A2DP) in response to detecting an uncorrectable second error in a second packet received via a synchronous link of a wireless communication medium, the response requesting a retransmission of the second packet received on the synchronous link; means for combining packets (e.g., MV module 28, majority voting module 3 20), which is configured to: in response to detecting an uncorrectable second error in the second packet, perform a majority vote on the second packet and a first packet with an uncorrectable first error received before receiving the second packet to generate an error-corrected packet; and means for compressing / decompressing (e.g., error management module 32, codec error module 330), which is configured to: in response to detecting an uncorrectable second error in the second packet, determine whether the error-corrected packet is acceptable; wherein, when the error-corrected packet is acceptable, the means for compressing / decompressing overrides the means for controlling the MAC layer to prevent sending a negative acknowledgment response, and configures the means for controlling the MAC layer to send an acknowledgment response. It will be appreciated that the foregoing aspects are provided by way of example only, and that the various aspects claimed are not limited to the specific references and / or illustrations cited as examples.
[0080] Figure 1-8 One or more of the components, processes, features, and / or functions described herein may be rearranged and / or combined into a single component, process, feature, or function, or may be incorporated into several components, processes, or functions. Additional elements, components, processes, and / or functions may also be added without departing from the present disclosure. It should also be noted that Figure 1-8 and its corresponding description in this disclosure are not limited to die and / or IC. In some implementations, Figure 1-8 The invention and its corresponding description may be used to manufacture, create, provide, and / or produce an integrated device. In some implementations, the device may include a die, an integrated device, a die package, an integrated circuit (IC), a device package, an integrated circuit (IC) package, a wafer, a semiconductor device, a package-on-package (PoP) device, and / or an interposer.
[0081] As used herein, the terms "user equipment" (or "UE"), "user device", "user terminal", "client device", "communication device", "wireless device", "wireless communication device", "handheld device", "mobile device", "mobile terminal", "mobile station", "handset", "access terminal", "subscriber device", "subscriber terminal", "subscriber station", "terminal" and variations thereof may interchangeably refer to any suitable mobile or stationary device capable of receiving wireless communications and / or navigation signals. These terms include, but are not limited to, music players, video players, entertainment units, navigation devices, communication devices, smart phones, personal digital assistants, fixed location terminals, tablet computers, computers, wearable devices, laptop computers, servers, on-board devices in motor vehicles, and / or other types of portable electronic devices typically carried by an individual and / or having communication capabilities (e.g., wireless, cellular, infrared, short-range radio, etc.). These terms are also intended to include a device that communicates with another device that is capable of receiving wireless communications and / or navigation signals (such as through a short-range wireless, infrared, wired connection, or other connection), regardless of whether satellite signal reception, assistance data reception, and / or positioning-related processing occurs at the device or at the other device. In addition, these terms are intended to include all devices, including wireless and wired communication devices, which can communicate with the core network via a radio access network (RAN), and through the core network, the UE can connect to external networks (such as the Internet) and other UEs. Of course, other mechanisms for connecting to the core network and / or the Internet are also possible for the UE, such as on a wired access network, a wireless local area network (WLAN) (e.g., based on IEEE 802.11, etc.), etc. The UE can be implemented by any of several types of devices, including but not limited to a printed circuit (PC) card, a compact flash device, an external or internal modem, a wireless or wired phone, a smart phone, a tablet, a tracking device, an asset tag, etc. The communication link by which the UE can send signals to the RAN is called an uplink channel (e.g., a reverse traffic channel, a reverse control channel, an access channel, etc.). The communication link by which the RAN can send signals to the UE is called a downlink or forward link channel (e.g., a paging channel, a control channel, a broadcast channel, a forward traffic channel, etc.). As used herein, the term traffic channel (TCH) may refer to an uplink / reverse traffic channel or a downlink / forward traffic channel.
[0082] Wireless communication between electronic devices may be based on different technologies, such as code division multiple access (CDMA), W-CDMA, time division multiple access (TDMA), frequency division multiple access (FDMA), orthogonal frequency division multiplexing (OFDM), global system for mobile communications (GSM), 3GPP long term evolution (LTE), Bluetooth (BT), Bluetooth low energy (BLE), IEEE 802.11 (WiFi) and IEEE 802.15.4 (Zigbee / Thread), or other protocols that may be used in wireless communication networks or data communication networks. Bluetooth low energy (also known as Bluetooth LE, BLE, and Bluetooth Smart) is a wireless personal area network technology designed and marketed by the Bluetooth Special Interest Group that aims to provide significantly reduced power consumption and cost while maintaining a similar communication range. BLE was incorporated into the main Bluetooth standard in 2010, with the adoption of Bluetooth Core Specification Version 4.0 and updated in Bluetooth 5 (both of which are expressly incorporated herein in their entirety).
[0083] The word "exemplary" is used herein to mean "serving as an example, instance, or illustration." Any detail described herein as "exemplary" is not to be construed as trumping other examples. Likewise, the term "example" does not imply that all examples include the discussed features, advantages, or modes of operation. Furthermore, particular features and / or structures may be combined with one or more other features and / or structures. Furthermore, at least a portion of the apparatus described herein may be configured to perform at least a portion of the methods described herein.
[0084] The terms used herein are for the purpose of describing specific examples and are not intended to limit the examples of the present disclosure. As used herein, the singular forms of "a", "some", and "the" are intended to also include plural forms unless the context clearly indicates otherwise. It will be further understood that the terms "include", "have", "include", and / or "contain" when used herein indicate the presence of stated features, integers, actions, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integers, actions, operations, elements, components, and / or groups thereof.
[0085] It should be noted that the terms “connected”, “coupled” or any variations thereof mean any connection or coupling, direct or indirect, between elements, and may encompass the presence of intermediate elements between two elements via which the two elements are “connected” or “coupled” together.
[0086] Any reference to an element using designations such as "first," "second," etc. herein does not limit the quantity and / or order of those elements. Rather, these designations are used as a convenient method of distinguishing two or more elements and / or element instances. Likewise, unless otherwise stated, a set of elements may include one or more elements.
[0087] The various illustrative logic blocks, modules, and circuits described in conjunction with the various aspects disclosed herein may be implemented or executed with a general purpose processor, digital signal processor (DSP), application specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in an alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. The processor may also be implemented as a combination of computing devices (e.g., a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors in cooperation with a DSP core, or other such configurations). In addition, the sequences of actions described herein may be considered to be fully incorporated into any form of computer-readable storage medium, which stores a corresponding set of computer instructions that, when executed, will cause the associated processor to perform the functionality described herein. Thus, various aspects of the present disclosure may be incorporated in several different forms, all of which have been conceived to fall within the scope of the subject matter claimed for protection. In addition, for each example described herein, the corresponding form of any such example may be described herein as, for example, "logic configured to perform the described actions."
[0088] Nothing described or illustrated in this application is intended to confer upon the public any component, act, feature, benefit, advantage, or equivalent, regardless of whether such component, act, feature, benefit, advantage, or equivalent is recited in the claims.
[0089] In addition, those skilled in the art will appreciate that the various illustrative logic blocks, modules, circuits, and algorithmic actions described in conjunction with the examples disclosed herein can be implemented as electronic hardware, computer software, or a combination of the two. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and actions are generally described above in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the specific application and the design constraints imposed on the overall system. The technician can implement the described functionality in different ways for each specific application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
[0090] The methods, sequences and / or algorithms described in conjunction with the examples disclosed herein may be incorporated directly into hardware, in a software module executed by a processor, or in a combination of the two. The software module may reside in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art (including non-transient types of memory or storage medium). An exemplary storage medium is coupled to a processor so that the processor can read / write information from / to the storage medium. In an alternative, the storage medium may be integrated into the processor.
[0091] Although some aspects have been described in conjunction with the device, it is undoubted that these aspects also constitute the description of the corresponding method, and therefore the frame or component of the device should also be understood as the corresponding method action or the feature of the method action. Similarly, the various aspects described in conjunction with or as the method action also constitute the description of the corresponding block or details or features of the corresponding device. Some or all of the method actions can be performed by hardware devices (or using hardware devices), such as, for example, microprocessors, programmable computers or electronic circuits. In some examples, some or more of the most important method actions can be performed by such devices.
[0092] In the above detailed description, it can be seen that different features are grouped together in the examples. This disclosure should not be understood as reflecting the intention that the examples claimed for protection have more features than the features explicitly mentioned in the corresponding claims. On the contrary, the present disclosure may include less than all the features of the disclosed individual examples. Therefore, the attached claims should be considered to be incorporated into this description, wherein each claim itself may be a separate example. Although each claim itself may be a separate example, it should be noted that although the dependent claims in the claims may refer to a specific combination of one or more claims, other examples may also cover or include the combination of the dependent claims with the subject matter of any other dependent claims or any feature with other dependent and independent claims. Such combinations are proposed herein unless it is shown that a specific combination is not targeted. In addition, it is also intended that the features of the claims may be included in any other independent claim, even if the claim is not directly subordinate to the independent claim.
[0093] In addition, in some examples, an individual action may be subdivided into or include multiple sub-actions. Such sub-actions may be included in and may be part of the disclosure of the individual action.
[0094] Although the foregoing disclosure shows illustrative examples of the present disclosure, it should be noted that various changes and modifications may be made therein without departing from the scope of the present disclosure as defined in the appended claims. The functions and / or actions in the method claims of each example of the present disclosure described herein do not necessarily have to be performed in any particular order. In addition, well-known elements will not be described in detail or may be omitted to avoid blurring the relevant details of the various aspects and examples disclosed herein. In addition, although the elements of the present disclosure may be described or claimed in the singular, the plural number is also contemplated unless it is explicitly stated to be limited to the singular.
Claims
1. A communication device, comprising: A control unit, the control unit comprising: a medium access control (MAC) module configured to: send a response in response to detecting an uncorrectable second error in a second packet received via a synchronous link of a wireless communication medium, the response requesting a retransmission of the second packet received on the synchronous link; a majority voting module configured to: in response to detecting the uncorrectable second error in the second packet, perform a majority vote on the second packet and a first packet having an uncorrectable first error received prior to receiving the second packet to generate an error-corrected packet; and a codec module configured to: in response to detecting the uncorrectable second error in the second packet, determine whether the error-corrected packet is acceptable; Wherein, when the error-corrected packet is acceptable, the codec module overrides the MAC module to prevent sending the response and configures the MAC module to send an acknowledgment response.
2. The communication device according to claim 1, wherein: The MAC module is further configured to allow the MAC module to send the response when the error-corrected packet is unacceptable.
3. The communication device according to claim 1, wherein: The control unit further includes a pairing module that establishes the synchronization link over the wireless communication medium to communicatively couple the communication device with another device.
4. The communication device according to claim 1, wherein: The MAC module receives the first packet via the synchronous link without the MAC module sending the response.
5. The communication device according to claim 1, wherein: The first packet comprises a first version of a protocol packet, wherein the protocol packet complies with one of the Bluetooth specification, extended synchronous connection-oriented eSCO, advanced audio distribution profile A2DP, transmission control protocol TCP, WiFi protocol or ultra-wideband UWB protocol, and wherein the second packet comprises a second version of the protocol packet.
6. The communication device according to claim 5, wherein: The MAC module includes a pairing module, which is used to establish a link between the device and another device on the wireless communication medium; and wherein the MAC module receives the first version and the second version of the protocol packet from the other device on the link; wherein the MAC module includes a retransmission module, which is used to request retransmission of the protocol packet on the link.
7. The communication device according to claim 6, wherein: The protocol packet includes a header field and a payload field, wherein the payload field stores error detection data, the error detection data enabling detection of bit errors in data stored in the payload field, and wherein the uncorrectable first error and the uncorrectable second error each include one or more of: a bit error in the data stored in the header field that cannot be corrected using the error correction data, and a bit error in the data stored in the payload field that is detected using the error detection data.
8. The communication device according to claim 1, wherein: The control unit further comprises a decoding unit for decoding the payload data stored in the payload field of the error-corrected packet to generate media content.
9. The communication device according to claim 1, wherein: The communication device is included in a device selected from the group consisting of: a music player, a video player, an entertainment unit, a navigation device, a communication device, a mobile device, a mobile phone, a smart phone, a personal digital assistant, a fixed location terminal, a tablet computer, a computer, a wearable device, a laptop computer, a server, and a device in a motor vehicle.
10. A communication device, comprising: A control unit, the control unit comprising: means for controlling a medium access control, MAC, layer, configured to: send a response in reaction to detecting an uncorrectable second error in a second packet received via a synchronous link of a wireless communication medium, the response requesting a retransmission of the second packet received on the synchronous link; means for combining packets, configured to: in response to detecting the uncorrectable second error in the second packet, perform a majority vote on the second packet and a first packet having an uncorrectable first error received prior to receiving the second packet to generate an error-corrected packet; and means for compression / decompression configured to: in response to detecting the uncorrectable second error in the second packet, determine whether the error-corrected packet is acceptable; Wherein, when the error-corrected packet is acceptable, the means for compressing / decompressing overrides the means for controlling the MAC layer to prevent sending the response, and configures the means for controlling the MAC layer to send an acknowledgment response.
11. The communication device according to claim 10, wherein: The means for controlling the MAC layer is further configured to allow the means for controlling the MAC layer to send the response when the error-corrected packet is unacceptable.
12. The communication device according to claim 10, wherein: The control unit further includes means for pairing, the means for pairing establishing the synchronization link over the wireless communication medium to communicatively couple the communication device with another device.
13. The communication device according to claim 10, wherein: The means for controlling the MAC layer receives the first packet via the synchronization link without the means for controlling the MAC layer sending the response.
14. The communication device according to claim 10, wherein: The first packet comprises a first version of a protocol packet, wherein the protocol packet complies with one of the Bluetooth specification, extended synchronous connection-oriented eSCO, advanced audio distribution profile A2DP, transmission control protocol TCP, WiFi protocol, or ultra-wideband UWB protocol, and wherein the second packet comprises a second version of the eSCO packet.
15. The communication device according to claim 14, wherein: The means for controlling the MAC layer includes means for pairing, which is used to establish a link between the device and another device on the wireless communication medium; and wherein the means for controlling the MAC layer receives the first version and the second version of the protocol packet from the other device on the link; The means for controlling the MAC layer comprises a retransmission module, which is used to request retransmission of the protocol packet on the link.
16. The communication device according to claim 15, wherein: The protocol packet includes a header field and a payload field, wherein the payload field stores error detection data, the error detection data enabling detection of bit errors in data stored in the payload field, and wherein the uncorrectable first error and the uncorrectable second error each include one or more of: a bit error in the data stored in the header field that cannot be corrected using the error correction data, and a bit error in the data stored in the payload field that is detected using the error detection data.
17. The communication device according to claim 10, wherein: The control unit further comprises means for decoding payload data stored in a payload field of the error-corrected packet to generate media content.
18. The communication device according to claim 10, wherein: The communication device is included in a device selected from the group consisting of: a music player, a video player, an entertainment unit, a navigation device, a communication device, a mobile device, a mobile phone, a smart phone, a personal digital assistant, a fixed location terminal, a tablet computer, a computer, a wearable device, a laptop computer, a server, and a device in a motor vehicle.
19. A method for acknowledging a packet, the method comprising: detecting, with a medium access control (MAC) module, an uncorrectable second error in a second packet received via a synchronous link of the wireless communication medium; performing, with a majority voting module, a majority vote on the second packet and a first packet having an uncorrectable first error received prior to receiving the second packet to generate an error-corrected packet in response to detecting the uncorrectable second error in the second packet; determining, with a codec module, whether the error-corrected packet is acceptable in response to detecting the uncorrectable second error in the second packet; overriding the MAC module with the codec module to prevent sending a response when the error-corrected packet is acceptable; as well as When the error-corrected packet is acceptable, an acknowledgement response is sent by the MAC module.
20. The method for acknowledging a packet as claimed in claim 19, further comprising: The first packet is received by the MAC module via the synchronous link without the MAC module sending the response.
