A short-range communication method and apparatus with anti-interference capability
By negotiating the channel coding method and code rate, and encoding data packets according to the strength of wireless link interference, the anti-interference problem of Bluetooth technology in complex interference scenarios is solved, and the data transmission efficiency and stability are improved.
Patent Information
- Application Number
- CN201980102417.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-11-28
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2039-11-28
AI Technical Summary
Existing Bluetooth technology is not strong enough to resist interference in complex interference scenarios, resulting in problems such as music stuttering, intermittent sound, and slow data transmission.
By negotiating the channel coding method and code rate between the transmitting and receiving devices, the data packets are channel coded according to the interference intensity in the space where the wireless link is located. This includes coding methods such as polar codes, low-density parity-check codes, and error-correcting codes, thereby improving the gain and anti-interference capability of the wireless link.
It improves the anti-interference capability and data transmission efficiency of the Bluetooth communication link, ensuring stable and reliable data transmission in complex interference environments.
Smart Images

Figure CN114731501B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of wireless communication, in particular to a short-distance communication method and device with anti-interference capability. BACKGROUND
[0002] Bluetooth (BT) technology, as a successful short-distance communication protocol, has been widely used in vehicle-mounted, earphone, remote control and other aspects. In the BT4.0 protocol, Bluetooth low energy (BLE) technology is proposed, since then, Bluetooth includes classic BT and BLE. Among them, BLE has the advantages of low power consumption, low cost and low complexity compared with classic BT. However, the low bandwidth and low rate of classic BT and BLE have been difficult to meet people's requirements. In view of this, wide-band Bluetooth (WBT) technology appears. Compared with classic BT and BLE, wide-band Bluetooth increases the data transmission rate due to the increase of bandwidth.
[0003] However, the anti-interference capability of classic Bluetooth, Bluetooth low energy or wide-band Bluetooth is slightly insufficient in complex interference scenes, and problems such as music lag, intermittent sound and slow transmission data may occur. SUMMARY
[0004] The present application provides a short-distance communication method and device with anti-interference capability to solve the weak anti-interference capability of Bluetooth in the prior art and improve the anti-interference capability of classic Bluetooth, Bluetooth low energy or wide-band Bluetooth.
[0005] In a first aspect, the embodiments of the present application provide a short-distance communication method with anti-interference capability, which can be executed by a communication device as a sender or by a chip or software or hardware device with data transmission function. The method comprises: a sending device and a receiving device establish a wireless link based on a short-distance communication protocol; the sending device determines a code rate of channel coding according to the interference intensity of the space where the wireless link is located; the sending device and the receiving device negotiate a channel coding mode; the sending device performs channel coding on the data packet by using the negotiated channel coding mode and the code rate; and the sending device sends the channel-coded data packet to the receiving device through the wireless link.
[0006] Based on the scheme, when the sending device and the receiving device transmit a data packet, the code rate of channel coding can be selected according to the interference intensity of the space where the wireless link is located, and after the sending device and the receiving device negotiate the channel coding mode of the data packet, the negotiated channel coding mode and the determined code rate are used to code the data packet to be transmitted, so that the gain and anti-interference capability of the wireless link can be improved.
[0007] In a possible implementation, the sending device negotiates the channel coding mode with the receiving device, including:
[0008] The sending device sends a request message to the receiving device, and the request message carries a channel coding mode; the request message is used to request the receiving device to accept that the sending device uses the channel coding mode to perform channel coding on a data packet to be transmitted; and the sending device receives an agreement response message sent by the receiving device in response to the request message. Based on this scheme, the sending device can negotiate the channel coding mode with the receiving device through the request message and the agreement response message, and use the negotiated channel coding mode to perform channel coding on the data packet to be transmitted, which can improve the anti-interference capability of a short-distance communication link, such as a Bluetooth communication link.
[0009] In a possible implementation, before the sending device sends the channel-coded data packet to the receiving device through the wireless link, the sending device further includes: sending, by the sending device, the code rate to the receiving device. Based on this scheme, the sending device sends the code rate of the channel coding determined according to the interference intensity of the space where the wireless link is located to the receiving device, so that the receiving device can accurately decode the received data packet according to the code rate of the channel coding to obtain the valid data in the data packet.
[0010] In a possible implementation, before the sending device sends the channel-coded data packet to the receiving device through the wireless link, the sending device further includes: sending, by the sending device, a time point for switching the communication mode to the receiving device; and the sending device and the receiving device use the channel coding mode to perform communication after reaching the time point. In this way, before the sending device performs channel coding on the data packet, the sending device further includes: determining, by the sending device, to reach the time point. Based on this scheme, the sending device sends the time point to the receiving device, so that the sending device and the receiving device can synchronously switch the communication mode to using the channel coding mode to perform communication.
[0011] In a possible implementation, the data packet can include a plurality of data segments, and the sending device performs channel coding on the data packet by using the channel coding manner and the code rate, specifically including: for any data segment, the sending device segments the data segment to obtain at least one code block; and the sending device performs channel coding on the at least one code block by using the channel coding manner and the code rate. Based on this scheme, the data of each data segment is segmented to obtain at least one code block, and the at least one code block is channel coded by using the channel coding manner agreed upon and the code rate determined according to the interference intensity of the space where the wireless link is located, which can improve the anti-interference capability of the wireless link when transmitting any data segment.
[0012] In a possible implementation, the plurality of data segments can include a preamble data segment, an access code data segment, a packet header data segment, a payload header data segment, and a payload data segment. In a possible implementation, the sending device segments the data segment to obtain at least one code block, which can include: the sending device segments the data segment to obtain a plurality of code blocks; the plurality of code blocks include a first code block and a second code block, where the data amount of the second code block is not greater than the data amount of the first code block; the first code block is located before the second code block; and the data amounts of the plurality of code blocks are not completely same.
[0013] Based on this scheme, when any data segment is segmented, non-uniform segmentation is used, so that the data amounts of the code blocks obtained by segmentation decrease in turn, which can improve the anti-interference capability of the wireless link while meeting the delay requirement of the wireless link.
[0014] In a possible implementation, when the bandwidth of the wireless link is a first bandwidth, the code rate can be a first code rate; and when the bandwidth of the wireless link is a second bandwidth, the code rate can be a second code rate; where the first bandwidth is lower than the second bandwidth, and the first code rate is greater than the second code rate.
[0015] Based on this scheme, when the bandwidth is narrow, the sensitivity of the wireless link is high, and the anti-interference capability is strong, but the transmission rate of data is low, so a higher code rate can be used to perform channel coding on the data packet, which can improve the transmission rate of the data packet and the anti-interference capability of the wireless link. When the bandwidth is high, the sensitivity of the wireless link decreases, and the anti-interference capability is low, so a lower code rate can be used to perform channel coding on the data packet, which can improve the anti-interference capability of the wireless link.
[0016] In another possible implementation, the code rate can be a high code rate when the interference intensity of the space where the wireless link is located is weak, and the code rate can be a low code rate when the interference intensity of the space where the wireless link is located is strong. The strength of the interference intensity can be determined by a threshold. For example, the interference intensity is strong when the interference intensity is greater than a specified value, and the interference intensity is weak when the interference intensity is less than or equal to the specified value. The specified value can be determined according to an empirical value in advance. Alternatively, the high and low of the code rate can also be measured by a threshold. For example, a code rate is a high code rate when the code rate is greater than a preset value, and the code rate is a low code rate when the code rate is less than or equal to the preset value. The preset value can also be determined according to an empirical value in advance, for example, 1 / 2, or also 2 / 3, etc.
[0017] Based on the scheme, when the interference intensity of the space where the wireless link is located is weak, a high code rate can be used to improve the transmission rate of the data packet, and when the interference intensity of the space where the wireless link is located is strong, a low code rate can be used to improve the anti-interference ability of the wireless link.
[0018] In another possible implementation, the code rate can be a third code rate when the interference intensity of the space where the wireless link is located is less than or equal to a first preset threshold, the code rate can be a fourth code rate when the interference intensity of the space where the wireless link is located is greater than the first preset threshold and less than or equal to a second preset threshold, and the code rate can be a fifth code rate when the interference intensity of the space where the wireless link is located is greater than the second preset threshold. The third code rate is greater than the fourth code rate, and the fourth code rate is greater than the fifth code rate. Here, the third code rate, the fourth code rate, and the fifth code rate can not be specific code rate values, but a certain type of code rate. For example, the third code rate can be a code rate greater than or equal to 5 / 6, the fourth code rate can be a code rate greater than 1 / 2 and less than 5 / 6, and the fifth code rate can be a code rate less than or equal to 1 / 2. The first preset threshold and the second preset threshold can be determined according to an empirical value in advance.
[0019] Based on the scheme, the code rate of the channel coding is selected according to the interference intensity of the space where the wireless link is located, which can improve the anti-interference ability of the wireless link while ensuring the transmission rate of the data packet.
[0020] In addition, in another possible implementation, the interference intensity is less than an interference threshold, and the channel coding mode can also be a no-channel coding mode. The interference threshold can be determined according to an empirical value in advance.
[0021] Based on the scheme, when the interference intensity of the space where the wireless link is located is less than or equal to the interference threshold, it indicates that the interference intensity is weak and has no effect on the transmission of the data packet, and the sending device can not encode the data packet, thereby improving the transmission rate of the data packet.
[0022] In a second aspect, the application provides another short-distance communication method with anti-interference capability, which can be executed by a communication device as a receiving party or by a chip or software or hardware device with the function of receiving data. The method comprises: a receiving device and a sending device establishing a wireless link based on a short-distance communication protocol; the receiving device and the sending device negotiating a channel coding mode; the receiving device receiving a data packet sent by the sending device; the data packet being obtained by the sending device using the negotiated channel coding mode for channel coding.
[0023] In a possible implementation, the receiving device and the sending device negotiating the channel coding mode comprises:
[0024] The receiving device receives a request message sent by the sending device; the request message carrying a channel coding mode; the request message being used to request the receiving device to accept the sending device using the channel coding mode for channel coding on a data packet to be transmitted; and the receiving device sending an agreement reply message to the sending device when accepting the sending device using the channel coding mode for channel coding on the data packet to be transmitted.
[0025] In a possible implementation, before the receiving device receives the data packet sent by the sending device, the method further comprises: the receiving device receiving a code rate of channel coding sent by the sending device; the code rate of channel coding being determined by the sending device according to the interference intensity of a space where the wireless link is located; and after the receiving device receives the data packet sent by the sending device, the method further comprises: the receiving device decoding the data packet using the channel coding mode and the code rate.
[0026] In a possible implementation, before the receiving device receives the data packet sent by the sending device, the method further comprises: the receiving device receiving a time point of switching communication mode sent by the sending device; and the sending device and the receiving device using the channel coding mode for communication after reaching the time point. In this way, before the receiving device receives the data packet sent by the sending device, the method further comprises: the receiving device determining to switch to using the channel coding mode for communication when reaching the time point.
[0027] In a possible implementation, the data packet can comprise a plurality of data segments; specifically, the data packet can comprise: a preamble data segment, an access code data segment, a packet header data segment, a payload header data segment, and a payload data segment.
[0028] In a possible implementation, each of the data segments can include a plurality of code blocks; the plurality of code blocks can include a first code block and a second code block. The data amount of the second code block is not greater than the data amount of the first code block; the first code block is located before the second code block; the data amounts of the plurality of code blocks are not completely same; and each of the code blocks is encoded by using the channel coding mode.
[0029] In a possible implementation, when the bandwidth of the wireless link is a first bandwidth, the code rate can be a first code rate; when the bandwidth of the wireless link is a second bandwidth, the code rate can be a second code rate; the first bandwidth is lower than the second bandwidth, and the first code rate is greater than the second code rate.
[0030] In another possible implementation, when the interference intensity of the space where the wireless link is located is weak, the code rate can be a high code rate; when the interference intensity of the space where the wireless link is located is strong, the code rate can be a low code rate.
[0031] In still another possible implementation, when the interference intensity of the space where the wireless link is located is less than or equal to a first preset threshold, the code rate can be a third code rate; when the interference intensity of the space where the wireless link is located is greater than the first preset threshold and less than or equal to a second preset threshold, the code rate can be a fourth code rate; when the interference intensity of the space where the wireless link is located is greater than the second preset threshold, the code rate can be a fifth code rate; the third code rate is greater than the fourth code rate, and the fourth code rate is greater than the fifth code rate.
[0032] In addition, in still another possible implementation, when the interference intensity of the space where the wireless link is located is less than an interference threshold, the channel coding mode can also be a no-channel coding mode.
[0033] In a third aspect, an embodiment of the present application further provides a sending device, which can be used to perform operations in the first aspect and any possible implementation of the first aspect. For example, the sending device can include a module or unit for performing each operation in the first aspect or any possible implementation of the first aspect. For example, the sending device includes a processing unit and a communication unit.
[0034] In a fourth aspect, an embodiment of the present application further provides a receiving device, which can be used to perform operations in the second aspect and any possible implementation of the second aspect. For example, the receiving device can include a module or unit for performing each operation in the second aspect or any possible implementation of the second aspect. For example, the receiving device includes a processing unit and a communication unit.
[0035] In a fifth aspect, the embodiments of the present application further provide a communication system, comprising the sending device of the third aspect and the receiving device of the fourth aspect.
[0036] In a sixth aspect, the embodiments of the present application provide a chip system, comprising a processor and optionally a memory; wherein the memory is configured to store a computer program, and the processor is configured to call and run the computer program from the memory, so that the communication device installed with the chip system can execute any method in the first aspect or any possible implementation manner of the first aspect; or so that the communication device installed with the chip system executes any method in the second aspect or any possible implementation manner of the second aspect.
[0037] In a seventh aspect, the embodiments of the present application provide a computer program product, comprising: computer program code, when the computer program code is run by the processor of the communication device, so that the communication device can execute any method in the first aspect or any possible implementation manner of the first aspect; and / or, so that the communication device can execute any method in the second aspect or any possible implementation manner of the second aspect.
[0038] In an eighth aspect, the embodiments of the present application provide a computer readable storage medium, which stores a computer program, when the computer program is run by the processor of the communication device, so that the communication device (for example, the sending device) can execute any method in the first aspect or any possible implementation manner of the first aspect; and / or, so that the communication device (for example, the receiving device) can execute any method in the second aspect or any possible implementation manner of the second aspect. BRIEF DESCRIPTION OF DRAWINGS
[0039] Figure 1 One of the application scenarios provided by the present application;
[0040] Figure 2 The communication system provided by the present application;
[0041] Figure 3 One of the flowcharts of the short-distance communication method with anti-interference capability provided by the present application;
[0042] Figure 4 The data packet structure provided by the present application;
[0043] Figure 5 One of the flowcharts of the short-distance communication method with anti-interference capability provided by the present application;
[0044] Figure 6 One of the application scenarios provided by the present application;
[0045] Figure 7 This is one of the application scenario diagrams provided for this application;
[0046] Figure 8 This is one of the application scenario diagrams provided for this application;
[0047] Figure 9 A schematic diagram of a terminal provided for this application;
[0048] Figure 10 Schematic diagram of the network equipment provided for this application. DETAILED DESCRIPTION
[0049] Currently, Bluetooth technology includes classic BT, BLE and broadband Bluetooth technology. Figure 1 The figure shows a schematic diagram of a Bluetooth technology application scenario. Figure 1 The terminal 100 and the terminal 101 in the figure can represent a Bluetooth device, that is, a device with Bluetooth communication capability. The Bluetooth device provided in this application can also be a car Bluetooth, a Bluetooth headset, a Bluetooth gateway, or a Bluetooth on a handheld mobile terminal.
[0050] like Figure 1 As shown, classic BT and BLE only have a bandwidth of 1 or 2 Mbps. This narrow bandwidth results in low data transmission rates, making them unsuitable for communication scenarios requiring high latency or data transmission quality. Wideband Bluetooth offers a bandwidth of up to 4 Mbps, significantly increasing data transmission rates. However, this increased bandwidth also reduces its anti-interference capabilities, making it unsuitable for communication scenarios with complex interference or high interference mitigation requirements. Therefore, current Bluetooth technology cannot simultaneously improve both data transmission rates and anti-interference capabilities.
[0051] In view of the above technical problems, the present application provides a short-range communication method with anti-interference capability. The technical solution provided in the embodiments of the present application can be used in a short-range wireless communication system, which may include, for example, a communication system based on wireless local area network technology, Bluetooth technology such as classic BT, BLE and broadband Bluetooth technology, and future Bluetooth technology such as Bluetooth 6.0 technology.
[0052] In order to improve the anti-interference capability of the communication device, the embodiment of the present application provides a short-distance communication method with anti-interference capability. Through the method, after the sending device and the receiving device establish a wireless link, the sending device can determine the code rate of channel coding according to the interference intensity of the space where the wireless link is located. The sending device sends a request message carrying a channel coding mode to the receiving device. When the sending device receives an agreement response message of the receiving device for the request message, the sending device uses the aforementioned channel coding mode and the code rate to perform channel coding on the data packet. The sending device sends the channel coded data packet to the receiving device through the wireless link. Therefore, the sending device uses the channel coding mode negotiated by the sending device and the receiving device, and the code rate of channel coding determined according to the interference intensity of the space where the wireless link is located to perform channel coding on the data packet to be sent, which can improve the data transmission efficiency and also improve the anti-interference capability. The channel coding mode can include polar coding, low density party check (LDPC) coding, bose ray-chaudhuri hocquenghem (BCH) coding, etc. Since the method performs channel coding on the data packet when transmitting the data packet, the transmission efficiency of the data packet can be improved. In addition, since the code rate of channel coding determined according to the interference intensity of the space where the wireless link is located is used to perform channel coding on the data packet, the anti-interference capability of the communication can also be improved.
[0053] The technical scheme provided by the embodiment of the present application can be used for communication between terminal devices, or can also be used for communication between a terminal device and a network device.
[0054] The network device can be a device with wireless transceiver function or a chip that can be disposed in the network device, and the network device includes but is not limited to: an evolved Node B (eNB), a radio network controller (RNC), a Node B (NB), a base station controller (BSC), a base transceiver station (BTS), a home base station (for example, a home evolved Node B or a home Node B, HNB), a baseband unit (BBU), an access point (AP) in a wireless fidelity (WIFI) system, a wireless relay node, a wireless backhaul node, a transmission and reception point (TRP or TP), and the like. The network device can also be a gNB or a transmission point (TRP or TP) in a 5G (for example, a NR) system, one or a group of antenna panels (including multiple antenna panels) of a base station in a 5G system, or a network node constituting a gNB or a transmission point, such as a baseband unit (BBU) or a distributed unit (DU).
[0055] The terminal device can also be referred to as a user equipment (UE), an access terminal, a user unit, a user station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent, or a user apparatus. The terminal device in the embodiments of the present application can be a mobile phone, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical treatment, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, and the like. The embodiments of the present application do not limit the application scenarios. The terminal device with wireless transceiver function and the chip that can be disposed in the terminal device are collectively referred to as a terminal device in the present application.
[0056] It should be understood that the network device or the terminal device mentioned in the embodiments of the present application can also include a plurality of components (for example, a processor, a modulator, a multiplexer, a demodulator, or a demultiplexer, etc.) related to signal transmission and reception.
[0057] To facilitate understanding of the embodiments of the present application, first, the communication system shown in Figure 2 application scenarios to which the embodiments of the present application are applied, which is introduced by taking an example of a communication system in which both the sending device and the receiving device are terminal devices. As shown in Figure 2 , the communication system includes a sending device 200 and a receiving device 201. The sending device 200 encrypts the sending data packet (TX payload). Among them, there are two encryption paths. The first one is to add a cyclic redundancy check (CRC) code for CRC in the data packet, and then perform E0 encryption. E0 encryption is a Bluetooth link layer encryption algorithm, which belongs to a stream encryption mode, that is, the data stream is XORed with the key bit stream. The second one is to add a CRC code after performing Advanced Encryption Standard-Counter with Cipher Block Chaining-Message Authentication Code (AES-CCM) encryption on the data packet. Among them, the sending device 200 can negotiate the encryption mode with the receiving device 201, so as to select the encryption path corresponding to the negotiated encryption mode. Taking the second encryption path as an example, the sending device 200 performs whitening processing on the encrypted data packet, and then the sending device 200 performs channel encoding on the whitened data packet. Among them, the channel encoding mode is determined in advance with the receiving device 201, and the code rate of the channel encoding is determined by the sending device 200 according to the interference intensity of the space where the wireless link established with the receiving device 201 is located. The sending device 200 modulates the channel-encoded data packet to a high frequency, and then mixes it to a high frequency through a radio frequency (RF) interface to send.
[0058] The receiving device 201 receives the data packet, demodulates the received data packet to a baseband, decodes the data packet according to the channel coding mode and the channel coding code rate determined through negotiation with the sending device 200, wherein the channel coding mode can be the coding mode agreed through negotiation between the sending device 200 and the receiving device 201, and the channel coding code rate can be determined by the sending device 200 according to the interference intensity of the space where the wireless link established between the sending device 200 and the receiving device 201 is located, and then notified to the receiving device 201 by the sending device 200. After the receiving device 201 performs de-whitening processing on the decoded data packet, the receiving device 201 performs CRC check and AES-CCM decoding in sequence to obtain a received data packet (RX paylaod). Correspondingly, the decryption path of the receiving device 201 also includes two decryption paths. The first decryption path is to perform CRC check after performing E0 decryption on the data packet. The second decryption path is to perform AES-CCM decryption after performing CRC check on the data packet. The sending device 200 selects which encryption path, and the receiving device 201 also selects the corresponding decryption path accordingly.
[0059] The network architecture and service scenarios described in the embodiments of the present application are used to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art can know that, with the evolution of network architecture and the appearance of new service scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems. It should be understood that, Figure 2 The communication system can also include other receiving devices or can also include sending devices for the convenience of understanding, Figure 2 which are not shown in the figure.
[0060] The following explains some technical terms involved in the embodiments of the present application to facilitate easier understanding of the embodiments of the present application.
[0061] 1) Data segment, refers to different functional data in a data packet. For example, the function of the payload header in the data packet can be to indicate the data amount of the payload, and the function of the payload is to transmit pure information. The payload header and the payload can be referred to as different data segments.
[0062] 2) Code block, a resource block obtained after a data packet or a data segment is segmented.
[0063] 3) Channel coding mode, refers to the coding mode used when a data packet is channel coded. The channel coding mode in the embodiments of the present application can include block codes such as polar coding, LDPC coding, BCH coding, etc.
[0064] 4) the code rate of channel coding, refers to the ratio of the effective data amount to the total data amount involved in coding after a code block is channel coded using the code rate of channel coding. For example, if a code block is coded using a code rate of 1 / 2, then the ratio of the effective data amount of the code block after coding to the total data amount involved in coding is 1 / 2.
[0065] It should be noted that the code rate in the embodiments of the present application is not the code rate of each code block, but the code rate of any data segment. For example, the code rate of channel coding is 1 / 2, and the sending device divides the payload data segment into three code blocks. When each code block is channel coded, the data amount of the code block 1 after channel coding is 1024 bits, and the effective data amount of the code block 1 after channel coding is 512 bits. The effective data amount is 1 / 2 of the data amount of the code block 1. The data amount of the code block 2 after channel coding is 512 bits, and the effective data amount of the code block 2 after channel coding is 250 bits. The ratio of the effective data amount to the data amount of the code block 2 is close to 1 / 2. The data amount of the code block 3 after channel coding is 512 bits, and the effective data amount of the code block 3 after channel coding is 258 bits. The ratio of the effective data amount to the data amount of the code block 3 is close to 1 / 2. Therefore, the code rate of channel coding of the data segment containing the three code blocks is about 1 / 2. It can be seen that in the embodiments of the present application, the ratio of the effective data amount of each code block after channel coding to the data amount of the code block is within a preset range from the offset of the code rate. The preset range can be, for example, [-0.01, 0.01], or can also be, for example, [-0.1, 0.1], and the present application is not limited in this regard.
[0066] In addition, the terms "system" and "network" in the embodiments of the present application can be used interchangeably. "At least one" means one or more, and "multiple" means two or more. "And / or" describes the association relationship of the associated objects, which means that there can be three kinds of relationships, for example, A and / or B, which can represent the cases of A alone, A and B together, and B alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects. At least one (or similar expressions) refers to any combination of these items, including any combination of single (or plural) items. For example, at least one of a, b, or c can represent a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c can be single or multiple.
[0067] Unless otherwise stated, the ordinal numbers "first", "second", and the like mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the order, time sequence, priority, or importance of the multiple objects.
[0068] In addition, the terms "comprising" and "having" in the embodiments and claims and drawings of the present application are not exclusive. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, and can also include steps or modules that are not listed.
[0069] Through the introduction of the above application scenarios in the embodiments of the present application, the process of communication between the sending device and the receiving device will be specifically introduced.
[0070] As shown in Figure 3 the flowchart of a short-distance communication method with anti-interference capability provided by the present application can include the following steps:
[0071] Step 301: The sending device and the receiving device establish a wireless link based on a short-distance communication protocol. For example, the link can be established based on a Bluetooth communication protocol, or can be established based on a wireless local area network protocol.
[0072] Step 302: The sending device determines the code rate of channel coding according to the interference intensity of the space where the wireless link is located.
[0073] In a possible implementation, after the sending device establishes a wireless link with the receiving device, the sending device can scan the interference intensity of the space where the wireless link is located through a self-scanning manner. Alternatively, the sending device can also measure the channel quality of the wireless link through channel measurement. The channel quality is inversely proportional to the interference intensity.
[0074] In an exemplary manner, based on the interference intensity of the space where the wireless link is located obtained through scanning, when the interference intensity of the space where the wireless link is located is weak, the code rate can be determined as a high code rate; when the interference intensity of the space where the wireless link is located is strong, the code rate can be determined as a low code rate. The strength of the interference intensity can be determined through a threshold value. For example, when the interference intensity is greater than a specified value, it indicates that the interference intensity is strong, and when the interference intensity is less than or equal to the specified value, it indicates that the interference intensity is weak. The specified value can be determined according to an empirical value in advance. Alternatively, the high and low of the code rate can also be determined through a threshold value. For example, when a certain code rate is greater than a preset value, it can indicate that the code rate is a high code rate, and when a certain code rate is less than or equal to the preset value, it can indicate that the code rate is a low code rate. The preset value can be 1 / 2, or can also be 2 / 3, etc. The preset value can also be determined according to an empirical value in advance.
[0075] For example, when the interference intensity is greater than or equal to the specified value, the code rate can be greater than 1 / 2, such as 2 / 3, 3 / 4, or 5 / 6, etc.; when the interference intensity is less than the specified value, the code rate can be less than or equal to 1 / 2, such as 1 / 2. For another example, when the interference intensity is greater than the specified value, the code rate can be greater than 1 / 2, such as 2 / 3, 3 / 4, or 5 / 6, etc.; when the interference intensity is less than or equal to the specified value, the code rate can be less than or equal to 1 / 2, such as 1 / 2.
[0076] For another example, when the channel quality is less than or equal to the specified value, the code rate can be greater than 1 / 2, such as 2 / 3, 3 / 4, or 5 / 6; when the channel quality is greater than the specified value, the code rate can be less than or equal to 1 / 2, such as 1 / 2.
[0077] For another example, based on the interference intensity of the space where the wireless link is located obtained by scanning, when the interference intensity of the space where the wireless link is located is less than or equal to a first preset threshold, the code rate can be a third code rate; when the interference intensity of the space where the wireless link is located is greater than the first preset threshold and less than or equal to a second preset threshold, the code rate can be a fourth code rate; when the interference intensity of the space where the wireless link is located is greater than the second preset threshold, the code rate can be a fifth code rate; wherein the third code rate is greater than the fourth code rate, and the fourth code rate is greater than the fifth code rate. Wherein the first preset threshold is less than the second preset threshold.
[0078] Here, the third code rate, the fourth code rate, and the fifth code rate can not be specific code rate values, but a certain type of code rate. For example, the third code rate can be a code rate greater than or equal to 5 / 6, the fourth code rate can be a code rate greater than 1 / 2 and less than 5 / 6, and the fifth code rate can be a code rate less than or equal to 1 / 2. For another example, the third code rate can be a code rate greater than or equal to 3 / 4, the fourth code rate can be a code rate greater than 2 / 3 and less than 3 / 4, and the fifth code rate can be a code rate less than or equal to 2 / 3. For another example, the third code rate can be a code rate greater than 3 / 4, the fourth code rate can be a code rate less than or equal to 3 / 4 and greater than 1 / 2, and the fifth code rate can be a code rate less than or equal to 1 / 2.
[0079] For example, when the interference intensity is less than the first preset threshold, the code rate is the third code rate; when the interference intensity is greater than or equal to the first preset threshold and less than the second preset threshold, the code rate can be the fourth code rate; when the interference intensity is greater than or equal to the second preset threshold, the code rate can be the fifth code rate.
[0080] For example, when the channel quality is greater than or equal to a first preset threshold, the code rate can be a third code rate; when the channel quality is less than the first preset threshold and greater than or equal to a second preset threshold, the code rate can be a fourth code rate; and when the channel quality is less than the second preset threshold, the code rate can be a fifth code rate. The first preset threshold is greater than the second preset threshold.
[0081] As can be seen from the above description, the interference intensity of the space where the wireless link is located is inversely proportional to the code rate, that is, the greater the interference intensity, the smaller the code rate. When the interference intensity of the wireless link is large, the code rate of the channel coding is reduced, which can improve the anti-interference capability of the sending device and the receiving device. When the interference intensity is small, the code rate of the channel coding is increased, which can improve the transmission rate of the data packet, thereby being able to improve the transmission rate of the data packet while ensuring the anti-interference capability of the sending device and the receiving device.
[0082] In another possible implementation, the code rate of the channel coding can have a corresponding relationship with the bandwidth of the wireless link. For example, when the bandwidth of the wireless link is a first bandwidth, the code rate can be a first code rate; and when the bandwidth of the wireless link is a second bandwidth, the code rate can be a second code rate. The first bandwidth can be the bandwidth of the classic BT and BLE, for example, 1M or 2M; and the second bandwidth can be the bandwidth of the wideband Bluetooth technology, for example, 3M, 4M, etc. Alternatively, the first bandwidth can be a bandwidth less than or equal to a bandwidth threshold, for example, the bandwidth threshold can be 1M or 2M, etc., and the first bandwidth is less than or equal to 1M, or the first bandwidth is less than or equal to 2M; and the second bandwidth can be a bandwidth greater than the bandwidth threshold, for example, the second bandwidth can be greater than 1M, or the second bandwidth can be greater than 2M. Alternatively, the first bandwidth can be a bandwidth less than the bandwidth threshold, for example, the first bandwidth is less than 2M, or the first bandwidth is less than 3M; and the second bandwidth can be a bandwidth greater than or equal to the bandwidth threshold, for example, the second bandwidth is greater than or equal to 2M, or the second bandwidth is greater than or equal to 3M.
[0083] The first code rate can be a code rate greater than or equal to a code rate threshold, for example, the code rate threshold can be 1 / 2 or 2 / 3, etc. The first code rate is greater than or equal to 2 / 3, or the first code rate can be greater than or equal to 5 / 6; and the second code rate can be a code rate less than the code rate threshold, for example, the second code rate can be less than 2 / 3, or the second code rate can be less than 5 / 6. Alternatively, the first code rate can be a code rate greater than the code rate threshold, for example, the first code rate is greater than 1 / 2, or the first code rate is greater than 2 / 3; and the second code rate can be a code rate less than or equal to the code rate threshold, for example, the second code rate is less than or equal to 1 / 2, or the second code rate is less than or equal to 2 / 3.
[0084] For example, the wireless link is established based on a BLE communication protocol or a classic Bluetooth communication protocol, and the sending device can determine, according to the bandwidth of the wireless link, that the code rate of the channel coding is greater than or equal to 2 / 3, such as 2 / 3, 3 / 4, 5 / 6, and the like. For another example, the wireless link is established based on a wideband Bluetooth communication protocol, and the sending device can determine, according to the bandwidth of the wireless link, that the code rate of the channel coding is less than 2 / 3, such as 1 / 2.
[0085] It can be seen that when the bandwidth of the wireless link is high, the interference of the wireless link is large, and the anti-interference capability of the sending device and the receiving device is low, at this time, a lower code rate is selected, which can improve the gain of the data packet, thereby achieving the purpose of improving the anti-interference capability. When the bandwidth of the wireless link is low, the interference of the wireless link is small, and at this time, a higher code rate can be selected, which can improve the transmission rate of the data.
[0086] Step 303: The sending device negotiates the channel coding mode with the receiving device.
[0087] In a possible implementation, the sending device can send a request message to the receiving device. The request message carries the channel coding mode to be adopted by the sending device, and the request message is used to request the receiving device to accept that the sending device adopts the channel coding mode to perform channel coding on the data packet to be transmitted. The receiving device accepts that the sending device adopts the channel coding mode to perform channel coding on the data packet to be transmitted, and sends an acknowledge character (ACK) to the sending device. Here, the process in which the sending device sends the request message carrying the channel coding mode to the receiving device is equivalent to the process of starting the negotiation between the sending device and the receiving device on the channel coding mode to be adopted by both parties.
[0088] In an example, when the receiving device does not agree that the sending device adopts the channel coding mode to perform channel coding on the data packet to be transmitted, a negative-acknowledgment (NACK) can be sent to the sending device. When the sending device receives the NACK, the sending device can negotiate the channel coding mode with the receiving device again after a preset period. The preset period can be 15s, 30s, and the like, and can be determined in advance according to an empirical value. Alternatively, when the sending device receives the NACK, the sending device can keep the previous channel coding mode to perform data packet transmission with the receiving device. The previous channel coding mode can be the channel coding mode before the sending device sends the request message to the receiving device, for example, can be a polar code coding mode, or can also be a channel coding-free mode, and the like.
[0089] The channel coding mode carried by the request message will be described in detail below.
[0090] In an example, the request message can carry the channel coding mode supported by both the sending device and the receiving device. When the request message carries the channel coding mode supported by both the sending device and the receiving device, the agreement response message indicates that the receiving device accepts the sending device to use the channel coding mode to channel code the data packet to be transmitted.
[0091] In the process of establishing the wireless link between the sending device and the receiving device, the sending device and the receiving device communicate the channel coding modes supported by themselves. For example, the sending device sends to the receiving device the channel coding modes supported by itself, including 1, 2 and 3, and the receiving device sends to the sending device the channel coding mode supported by itself, which is 2. Then the sending device determines that the channel coding mode supported by both sides is 2, and the channel coding mode carried in the request message is 2.
[0092] When the channel coding modes supported by both the sending device and the receiving device are two or more, the channel coding mode carried in the request message can be the channel coding mode with the highest priority. For example, the sending device determines that the channel coding modes supported by both sides are 2 and 3, and according to the priority of the channel coding mode preset in advance, the sending device carries the channel coding mode with the highest priority 2 in the request message.
[0093] In another example, the request message can carry the channel coding mode supported by itself. For example, the sending device supports the channel coding modes 1, 2 and 3, and can carry the channel coding modes 1, 2 and 3 in the request message. When the request message carries the channel coding mode supported by the sending device, the receiving device can carry the channel coding mode supported by the receiving device in the agreement response message. The sending device can use the channel coding mode supported by both the sending device and the receiving device to channel code the data packet. For example, the request message carries the channel coding modes 1, 2 and 3, and the receiving device carries the channel coding mode 2 in the agreement response message, and then the sending device uses the channel coding mode 2 to channel code the data packet. When the channel coding modes supported by the receiving device are two or more, the sending device can carry the channel coding mode with the highest priority in the request message according to the priority of the channel coding mode preset in advance, and send the request message to the receiving device again. When the agreement response message of the receiving device is received in response to the request message, the sending device uses the channel coding mode with the highest priority to channel code the data packet.
[0094] In another possible implementation, the sending device can further send the channel coding mode determined in step 302 to the receiving device. In an example, the channel coding mode and the code rate of the channel coding determined in step 302 can be carried in a request message. In another example, when the code rate of the channel coding is not carried in the request message, the sending device can separately send signaling carrying the code rate of the channel coding to the receiving device. After receiving the signaling carrying the code rate, the receiving device can send an acknowledgement signaling for the signaling carrying the code rate to the sending device.
[0095] In another possible implementation, the sending device can further send a time point for switching the communication mode to the receiving device. After reaching the time point, the sending device and the receiving device can use the channel coding mode for communication. The sending device can carry the channel coding mode and the time point for switching the communication mode in a request message. When the time point is not carried in the request message, the sending device can separately send signaling carrying the time point to the receiving device. After receiving the signaling carrying the time point, the receiving device can send an acknowledgement signaling for the signaling carrying the time point to the sending device. Based on this scheme, the sending device sends the time point to the receiving device, so that the sending device and the receiving device can synchronize switching the communication mode to using the channel coding mode for communication.
[0096] For example, after sending the request message carrying the channel coding mode and the code rate of the channel coding to the receiving device, the sending device can further send first signaling carrying the time point to the receiving device. For another example, after sending the request message carrying the channel coding mode to the receiving device, the sending device can further send first signaling carrying the code rate of the channel coding to the receiving device, and can further send second signaling carrying the time point to the receiving device.
[0097] For another example, after sending the request message carrying the channel coding mode and the time point to the receiving device, the sending device can further send third signaling carrying the code rate of the channel coding to the receiving device. For another example, after sending the request message carrying the channel coding mode to the receiving device, the sending device can further send fourth signaling carrying the code rate of the channel coding and the time point to the receiving device. The present application does not make any limitation herein.
[0098] It should be noted that in the embodiments of the present application, step 302 can be performed before step 303, or step 303 can be performed before step 302, or step 302 and step 303 can be performed simultaneously, and the present application does not make any limitation herein.
[0099] Step 304: When the time point is reached, the sending device and the receiving device switch to use the negotiated channel coding mode to communicate. Of course, this step is an optional step. The sending device and the receiving device monitor whether the time point is reached and then switch to use the negotiated channel coding mode to communicate again, only to better synchronize the sending device and the receiving device to use the same communication mode to communicate.
[0100] Step 305: The sending device uses the negotiated channel coding mode and the determined channel coding rate in steps 302-304 to channel-code the data packet to be sent to the receiving device. The method of channel-coding the data packet by the sending device is described below.
[0101] In a possible implementation, the data packet to be transmitted can include multiple data segments. As shown in FIG. 2, a structure diagram of the data packet to be transmitted provided by an embodiment of the present application is shown. The data packet can include a preamble data segment, an access code data segment, a packet header data segment, a payload header data segment, and a payload data segment. Figure 4
[0102] When the sending device channel-codes the data packet, all data segments can be channel-coded, or any data segment can be selected to be channel-coded. For example, the sending device can channel-code the preamble data segment, the packet header data segment, the payload header data segment, and the payload data segment.
[0103] In another possible implementation, the code rates when multiple data segments are coded can be the same or different. For example, the payload header data segment is coded at a code rate of 1 / 4, and the payload data segment is coded at a code rate of 1 / 2. Optionally, the code rates when the preamble data segment, the packet header data segment, and the payload header data segment are channel-coded can be default code rates. For example, when the sending device codes the data packet, the code rate of the preamble data segment can be a default code rate of 1 / 4, the code rate of the header data segment can be a default code rate of 1 / 3, the code rate of the payload header data segment can be a default code rate of 1 / 3, and the code rate of the payload data segment can be determined according to the interference intensity of the space where the wireless link is located.
[0104] In one encoding mode, when a sending device performs channel encoding on a data packet, for any data segment, the sending device can split the data segment to obtain at least one code block. The sending device can uniformly split any data segment, and the data amount of each code block is equal. For example, for a payload data segment, the sending device uniformly splits the payload data segment, and the data amount of each code block is 512 bits. The sending device performs channel encoding on each code block obtained by splitting. Based on this scheme, splitting any data segment to obtain at least one code block and performing channel encoding on the at least one code block can improve the anti-interference capability of the sending device and a receiving device.
[0105] In another encoding mode, the sending device non-uniformly splits any data segment. For example, the sending device splits any data segment to obtain a plurality of code blocks, the plurality of code blocks include a first code block and a second code block, the data amount of the second code block is not greater than the data amount of the first code block, the first code block is located before the second code block, and the data amounts of the plurality of code blocks are not completely equal.
[0106] For example, the sending device non-uniformly splits a payload data segment of a data packet to obtain six code blocks. The data amount of code block 1 is 1024 bits, the data amount of code block 2 is 502 bits, the data amount of code block 3 is 500 bits, the data amount of code block 4 is 264 bits, the data amount of code block 5 is 256 bits, and the data amount of code block 6 is 64 bits.
[0107] For another example, when the channel encoding mode in the embodiment of the present application is polar encoding, the sending device non-uniformly splits a payload data segment of a data packet to obtain five code blocks. The data amount of code block 1 is 502 bits, the data amount of code block 2 is 250 bits, the data amount of code block 3 is 250 bits, the data amount of code block 4 is 109 bits, and the data amount of code block 5 is 60 bits. It should be noted that, when polar encoding, the data amount of each code block after encoding needs to satisfy 2 n For example, the data amount of code block 1 after encoding can be 1024 bits, the data amount of code block 2 after encoding can be 512 bits, the data amount of code block 3 after encoding is 512 bits, the data amount of code block 4 after encoding is 128 bits, and the data amount of code block 5 after encoding is 64 bits.
[0108] Based on this scheme, the sending device adopts a non-uniform splitting mode when splitting a data segment, and the data amount of each code block decreases from front to back, which can improve the anti-interference capability of the sending device and a receiving device while meeting the transmission delay requirement of Bluetooth technology.
[0109] In another encoding method, the transmitting device does not perform channel coding on the data packet. When the interference intensity in the space where the wireless link resides is less than the interference threshold, the interference intensity is weak and has minimal impact on the wireless link. In this case, when the transmitting device sends the data packet to the receiving device for transmission, it may not perform channel coding on the data packet and send the uncoded data packet to the receiving device. For example, if the transmitting device determines that the channel quality of the wireless link exceeds a preset channel quality threshold, the transmitting device may send the uncoded data packet to the receiving device.
[0110] Based on this solution, when the interference intensity in the space where the wireless link is located is very small, channel coding is not performed on the data packet, which can increase the transmission rate of the data packet.
[0111] Step 306: The sending device sends the data packet after channel coding to the receiving device through the wireless link established in step 301.
[0112] Step 307: The receiving device receives the data packet sent by the sending device, and decodes the data packet using the channel coding method and the code rate.
[0113] Through the above process, since the transmitting and receiving devices utilize a negotiated and agreed-upon channel coding method to channel code the data packets during communication, the gain of the data packets can be increased, thereby enhancing the anti-interference capabilities of the transmitting and receiving devices during communication. Furthermore, channel coding the data packets using a channel coding rate determined based on the interference intensity in the space within which the wireless link established between the transmitting and receiving devices resides can improve the anti-interference capabilities of communication between the transmitting and receiving devices while also selecting the effective data volume of the channel-coded data packets, thereby increasing the data packet transmission rate.
[0114] In the short-distance communication method with anti-interference capability provided by an embodiment of the present application, when the transmitting device and the receiving device use a channel coding communication method, the transmitting device can periodically determine the interference intensity of the space where the wireless link is located. For example, the period can be set to 5 minutes, 15 minutes, etc., where the period can be predetermined based on an empirical value. In one possible implementation, when the transmitting device determines that the interference intensity of the space where the wireless link is located has changed, for example, the interference intensity is greater than the interference intensity at the time of the last measurement, or the interference intensity is less than the interference intensity at the time of the last measurement, etc., it can send a request signaling for switching the code rate to the receiving device.
[0115] like Figure 5 As shown, one of the flow diagrams of a short-range communication method with anti-interference capability provided in an embodiment of the present application may include the following steps:
[0116] Step 501: After the transmitting device sends the channel-encoded data packet to the receiving device, the transmitting device scans the interference intensity of the space where the wireless link is located when a specified period is reached.
[0117] Step 502: The transmitting device determines that the interference intensity of the space where the current wireless link is located is different from the interference intensity measured last time, and sends a handover request message to the receiving device.
[0118] For example, the interference intensity different from the interference intensity measured last time can be greater than the interference intensity measured last time, or can also be less than the interference intensity measured last time.
[0119] For another example, it can also be that the difference between the interference intensity measured last time and the interference intensity measured this time exceeds a specified range. The specified range is determined according to an empirical value in advance.
[0120] The handover request message can carry a code rate for which handover is requested, and the handover request message is used to request the receiving device to accept that the transmitting device uses the code rate to channel-encode data packets to be transmitted.
[0121] Alternatively, the handover request message can also carry a time point for which the code rate is switched, and the transmitting device and the receiving device use the switched code rate to communicate when the time point is reached.
[0122] Step 503: The receiving device accepts that the transmitting device uses the code rate to channel-encode data packets to be transmitted, and sends a handover response message to the transmitting device.
[0123] Step 504: The transmitting device uses the code rate carried in the handover request message to channel-encode data packets to be transmitted.
[0124] Step 505: The transmitting device sends the channel-encoded data packet to the receiving device.
[0125] Step 506: The receiving device uses the code rate carried in the handover request message to decode the received data packet.
[0126] In another possible implementation, after the transmitting device sends the channel-coded data packet to the receiving device, it may scan the interference intensity of the space where the wireless link is located when a specified period is reached. When the transmitting device determines that the current interference intensity is less than the interference threshold, it may send a message to the receiving device to switch to a communication mode without channel coding, as well as the time point for switching to the communication mode without channel coding. The transmitting device may send the message for switching to the communication mode without channel coding and the time point for switching to the communication mode without channel coding to the receiving device via the same request message, and upon receiving the request message, the receiving device may send a response message to the receiving device. Alternatively, the transmitting device may send the message for switching to the communication mode without channel coding and the time point for switching to the communication mode without channel coding to the receiving device separately. For example, the transmitting device sends a first request to the receiving device containing the request to switch to the communication mode without channel coding, and the receiving device sends a first response to the first request to the transmitting device. The transmitting device sends a second request to the receiving device containing the time point for switching to the communication mode without channel coding, and the receiving device sends a second response to the second request to the transmitting device. When the time point is reached, the sending device and the receiving device switch to a communication mode without channel coding. When the sending device sends a data packet to be transmitted to the receiving device, the sending device does not perform channel coding on the data packet.
[0127] The following further describes the short-distance communication method with anti-interference capability provided by the embodiments of the present application in conjunction with specific embodiments.
[0128] Example 1:
[0129] like Figure 6 FIG2 is a schematic diagram of an application scenario of a short-range communication method with anti-interference capability provided by an embodiment of the present application. In this scenario, it is assumed that both device A and device B are Bluetooth devices. Device A and device B support classic BT, BLE, and broadband Bluetooth technologies.
[0130] Device A and device B can establish a wireless link based on the BLE communication protocol. After device A and device B establish a BLE wireless link, they can switch to a wireless link using the broadband Bluetooth communication protocol. Alternatively, device A and device B establish a wireless link based on the broadband Bluetooth communication protocol. Device A determines through scanning that the interference intensity in the space where the wireless link is located is weak, thereby determining that the channel coding rate should be less than or equal to 2 / 3, such as 1 / 2, 1 / 3, etc. Device A selects the highest priority channel coding rate of 1 / 2 among several code rates based on the priority of the preset channel coding code rates. Device A and device B negotiate and determine that the channel coding method is polar coding. Device A performs uneven division on the data segments in the data packet to be sent to device B, and performs channel coding on each code block of each data segment using a code rate of 1 / 2 and polar coding. Device A sends the channel-coded data packet to device B.
[0131] When device B sends a data packet to device A, device B also uses a code rate of 1 / 2 and a polar coding method to channel code the data packet, and then sends the channel-coded data packet to device A. Alternatively, when device B sends a data packet to device A, device B can serve as a new sending device and device A can serve as a new receiving device. Device B and device A can re-determine the code rate and channel coding method for channel coding using the short-range communication method with anti-interference capability provided in this application. Device B uses the newly determined code rate and channel coding method to channel code the data packet to be sent to device A, and then sends it to device A.
[0132] Example 2:
[0133] like Figure 7 As shown, it is one of the application scenario schematic diagrams of a short-range communication method with anti-interference capability provided by an embodiment of the present application. Assume that the scenario includes device A, device B, device C, and device D. Among them, device A and device B establish a wireless link based on the classic BT communication protocol. Device B and device C establish a wireless link based on the BLE communication protocol. Device C and device D establish a wireless link based on the broadband Bluetooth communication protocol. Device A and device D establish a wireless link based on the BLE communication protocol, and device D monitors device B.
[0134] The interference intensity of the space where each wireless link is located can be determined by a preset interference intensity threshold. For example, based on the preset interference intensity threshold, it is determined that the interference intensity of the space where the wireless link between device A and device B is located is very weak, the interference intensity of the space where the wireless link between device B and device C is located is strong; the interference intensity of the space where the wireless link between device C and device D is located is very strong; the interference intensity of the space where the wireless link between device D and device A is located is weak, and the interference intensity of the space where the wireless link between device D and device B is located is medium.
[0135] Therefore, when devices A and B transmit data packets, they do not need to encode the data packets. When devices B and C transmit data packets, they can use a bit rate of 2 / 3. When devices C and D transmit data packets, they can use a bit rate of 1 / 2. When devices A and D transmit data packets, they can use a bit rate of 5 / 6.
[0136] Device D, through its wireless link with device A, obtains link establishment parameters such as the time of data packet transmission and reception between them, the packet encryption method, the frequency hopping method, the channel coding method, and the channel coding bit rate. For example, after transmitting a data packet with device A, device D determines that device B and device A transmit a data packet at time k without encoding. At time k, device D then monitors the data packet sent by device B to device A. However, because the interference intensity in the space where the wireless link between devices A and B is located is weak, while the interference intensity in the space where the wireless link between devices B and D is located is moderate, device D's monitoring performance of device B is poor. Device D can then negotiate with device A, instructing A to initiate a request to communicate with device B using channel coding, including the desired channel coding method and bit rate. Device A is then notified of the channel coding method and bit rate to be used. For example, device D may notify device A to use polar coding with a bit rate of 3 / 4 when transmitting data packets with device B. Device A sends a request message to device B. After receiving the consent response message from device B, it uses polar coding and a 3 / 4 code rate to channel encode the data packet.
[0137] Device D, through its wireless link with device C, obtains link establishment parameters such as the time points for data packet transmission and reception between devices B and C, the data packet encryption method, the frequency hopping method, the data packet channel coding method, and the channel coding code rate. For example, by transmitting a data packet with device C, device D determines that devices B and C transmit data packets at time m, and that the channel coding method is LDCH coding and the code rate is 2 / 3. Device D then listens for the data packet sent by device B to device C at time m, decodes the data packet using the LDCH coding method and the 2 / 3 code rate, and obtains valid data. Since the interference intensity between devices B and D is medium, the 2 / 3 code rate already meets the transmission requirements under this interference. Therefore, device D does not need to negotiate with device C and allows device C to initiate a channel coding code rate change request to device B.
[0138] Example 3:
[0139] like Figure 8FIG2 is a schematic diagram of an application scenario of a short-distance communication method with anti-interference capability provided by an embodiment of the present application. Assume that the scenario includes device A, device B0, device B1, device C0, device C1, device C2, and device C3.
[0140] Among them, the B0 device and the B1 device are receiving devices for the broadcast signal of the A device; the C0 device and the C1 device are receiving devices for the broadcast signal of the B0 device; the C2 device and the C3 device are receiving devices for the broadcast signal of the B1 device.
[0141] Device A scans the interference intensity of its environment and determines that the interference intensity is less than a first preset threshold. When device A broadcasts a data packet to device B0 and device B1, it may use a 5 / 6 code rate to perform channel coding on the data packet.
[0142] Device B0 scans the interference intensity of its environment and determines that the interference intensity is greater than a first preset threshold and less than a second preset threshold. When device B0 broadcasts a data packet to device C0 and device C1, it may use a 2 / 3 code rate to perform channel coding on the data packet.
[0143] The B1 device scans the interference intensity of its environment and determines that the interference intensity is greater than the second preset threshold. Then, when the B1 device broadcasts the data packet to the C2 device and the C3 device, it can use a 1 / 2 code rate to perform channel coding on the data packet.
[0144] Based on the above embodiments, Figure 9 As shown, the embodiment of the present application further provides a terminal, which can be a sending device or a receiving device in the embodiment of the present application. The terminal includes a processor 900, a memory 901, and a transceiver 902;
[0145] The processor 900 is responsible for managing the bus architecture and general processing, and the memory 901 can store data used by the processor 900 when performing operations. The transceiver 902 is used to receive and send data packets under the control of the processor 900.
[0146] The bus architecture can include any number of interconnected buses and bridges, specifically linking various circuits such as one or more processors represented by processor 900 and memory represented by memory 901. The bus architecture can also link various other circuits such as peripherals, voltage regulators, and power management circuits, all of which are well known in the art and are not further described herein. The bus interface provides an interface. Processor 900 is responsible for managing the bus architecture and general processing, while memory 901 can store data used by processor 900 when performing operations.
[0147] The flow disclosed by the embodiments of the present application can be applied to the processor 900 or implemented by the processor 900. In the implementation process, the steps of the communication flow can be completed by the integrated logic circuit of the hardware in the processor 900 or the instructions in the form of software. The processor 900 can be a general processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the disclosed methods, steps and logic block diagrams in the embodiments of the present application. The general processor can be a microprocessor or any conventional processor. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied by the hardware processor for execution or by the combination of the hardware and software modules in the processor for execution. The software module can be located in a mature storage medium in the field, such as random access memory, flash memory, read only memory, programmable read only memory, electrically erasable programmable read only memory, register, etc. The storage medium is located in the memory 901, and the processor 900 reads the information in the memory 901 and combines the hardware to complete the steps of the communication flow.
[0148] The processor 900 is used to read the program in the memory 901 and execute the steps of any anti-interference short distance communication method in the embodiments of the present application.
[0149] As shown in Figure 10 , the network device of the present application can be a sending device or a receiving device in the embodiments of the present application. Wherein, the network device comprises a processor 1000, a memory 1001 and a communication interface 1002.
[0150] The processor 1000 is responsible for managing the bus architecture and general processing, and the memory 1001 can store the data used by the processor 1000 in the execution operation. The transceiver communication interface 1002 is used to receive and send data under the control of the processor 1000 and communicate with the memory 1001.
[0151] The processor 1000 can be a central processing unit (CPU), a network processor (NP), or a combination thereof. The processor 1000 can further include a hardware chip. The hardware chip can be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof. The memory 11001 can include a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes.
[0152] The processor 1000, the memory 1001, and the communication interface 1002 are connected to each other. Optionally, the processor 1000, the memory 1001, and the communication interface 1002 can be connected to each other through a bus 1003. The bus 1003 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience, Figure 10 In the figure, only one thick line is used to represent the bus, but it does not mean that there is only one bus or only one type of bus.
[0153] Specifically, the processor 1000 is configured to read a program in the memory 1001 and execute the steps of any anti-interference short-distance communication method in the embodiments of the present application.
[0154] The present application also provides a communication system, which includes one or more sending devices and one or more receiving devices.
[0155] It should be noted that the processor in the embodiments of the present application can be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method embodiment can be completed by hardware integrated logic circuits in the processor or software instructions. The above processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The various methods, steps, and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of the present application can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0156] It is to be appreciated that the memory in the embodiments of the application can be a volatile memory or a nonvolatile memory, or can include both volatile and nonvolatile memory. Where the nonvolatile memory is a Read-Only Memory (ROM), Programmable ROM (PROM), Erasable PROM (EPROM), Electrically EPROM (EEPROM), or flash memory. The volatile memory can be a Random Access Memory (RAM), which is used as the external cache. By way of example, and not limitation, many forms of RAM are available, for example, Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DR RAM). It is to be appreciated that the memory described herein is intended to include, without being limited to, these and any other suitable types of memory.
[0157] The embodiments of the application further provide a computer readable medium, which has stored thereon a computer program, and the computer program is executed by a computer to implement the short distance communication method with anti-interference capability as described in any of the method embodiments.
[0158] The embodiments of the application further provide a computer program product, which is executed by a computer to implement the short distance communication method with anti-interference capability as described in any of the method embodiments.
[0159] In the embodiments described above, the implementation can be wholly or partially through software, hardware, firmware, or any combination thereof. When implemented by software, the implementation can be wholly or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are wholly or partially generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another, for example, the computer instructions can be transferred from one website, computer, server, or data center to another through wired (for example, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (for example, infrared, wireless, microwave, etc.) manner. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a high-density digital video disc (Digital Video Disc, DVD)), or a semiconductor medium (for example, a solid state disk (Solid State Disk, SSD)), etc.
[0160] The embodiments of the present application also provide a processing device, including a processor and an interface; the processor is used to execute the short-distance communication method with anti-interference capability described in any of the method embodiments.
[0161] It should be understood that the processing device described above can be a chip, and the processor can be implemented by hardware or software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented by software, the processor can be a general-purpose processor, which is implemented by reading software codes stored in a memory. The memory can be integrated in the processor or located outside the processor and exist independently.
[0162] It should be understood that the term "one embodiment" or "an embodiment" as used herein means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the application. The appearances of the phrase "in one embodiment" or "in an embodiment" in various places in the specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that the sequential arrangement of processes described above does not mean the execution sequence of the processes, and the execution sequence of the processes should be determined according to the functions and inherent logic of the processes, and should not constitute any limitation on the implementation process of the embodiments of the application.
[0163] In addition, the terms "system" and "network" are often used interchangeably herein. The term "and / or", used herein, merely describes an associated relationship, which means that there can be three relationships, for example, A and / or B, which means that A exists alone, A and B exist together, and B exists alone. In addition, the character " / " generally represents an "or" relationship between the front and rear associated objects.
[0164] It should be understood that in the embodiments of the application, "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that the determination of B according to A does not mean that B is determined only according to A, but B can also be determined according to A and / or other information.
[0165] Those skilled in the art can appreciate that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be realized by electronic hardware, computer software or a combination of both. In order to clearly illustrate the interchangeability of hardware and software, the components and steps of the examples have been described in the above description in general. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the application.
[0166] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be described here.
[0167] In several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other manners. For example, the division of the above-described device embodiments is only a logical function division, and there can be another division manner for actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed coupling or direct coupling or communication connection between the units can be indirect coupling or communication connection through some interfaces, devices or units, and can also be electrical, mechanical or other forms of connection.
[0168] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they can be located in one place or distributed on multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiments of the present application.
[0169] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically, or two or more units can be integrated into one unit. The integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0170] Those skilled in the art can clearly understand that the present application can be implemented by hardware, firmware or any combination thereof. When implemented in software, the above-described functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on the computer-readable medium. The computer-readable medium includes computer storage media and communication media including any medium that facilitates the transfer of a computer program from one place to another. The storage media can be any available media that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. In addition, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray® disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0171] In conclusion, the above description is merely the preferred embodiment of the technical scheme of the present application, and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A short distance communication method having interference resistance, characterized by, The method comprises: a sending device and a receiving device establish a wireless link based on a short-distance communication protocol; the sending device determines a code rate of channel coding according to an interference intensity of a space where the wireless link is located; the sending device and the receiving device negotiate a channel coding mode; the sending device performs channel coding on a data packet by using the negotiated channel coding mode and the code rate; the sending device sends the channel-coded data packet to the receiving device through the wireless link; wherein the data packet comprises a plurality of data segments, and the sending device performs channel coding on the data packet by using the channel coding mode and the code rate, which comprises: for any data segment, the sending device divides the data segment to obtain a plurality of code blocks; the plurality of code blocks comprise a first code block and a second code block, a data amount of the second code block is not greater than a data amount of the first code block; the first code block is located before the second code block; data amounts of the plurality of code blocks are not completely same; and the sending device performs channel coding on the plurality of code blocks by using the channel coding mode and the code rate.
2. The method of claim 1, wherein, The sending device and the receiving device negotiate the channel coding mode, which comprises: the sending device sends a request message to the receiving device, the request message carrying a channel coding mode; the request message is used to request the receiving device to accept that the sending device performs channel coding on a transmitted data packet by using the channel coding mode; the sending device receives a consent response message sent by the receiving device in response to the request message.
3. The method according to claim 1 or 2, characterized in that, Before the sending device sends the channel-coded data packet to the receiving device through the wireless link, the method further comprises: the sending device sends the code rate to the receiving device.
4. The method according to claim 1 or 2, characterized in that, Before the sending device sends the channel-coded data packet to the receiving device through the wireless link, the method further comprises: the sending device sends a time point for switching a communication mode to the receiving device; the sending device and the receiving device use the channel coding mode to communicate after reaching the time point.
5. The method of claim 1, wherein, The plurality of data segments comprise a preamble data segment, an access code data segment, a packet header data segment, a payload header data segment, and a payload data segment.
6. The method according to any of claims 1, 2, 5, characterized by, When a bandwidth of the wireless link is a first bandwidth, the code rate is a first code rate; when the bandwidth of the wireless link is a second bandwidth, the code rate is a second code rate; the first bandwidth is lower than the second bandwidth, and the first code rate is greater than the second code rate.
7. The method of any of claims 1, 2, 5, wherein, When an interference intensity of a space where the wireless link is located is weak, the code rate is a high code rate; when the interference intensity of the space where the wireless link is located is strong, the code rate is a low code rate; wherein when the interference intensity of the space where the wireless link is located is greater than a specified value, it means that the interference intensity is strong; when the interference intensity of the space where the wireless link is located is less than or equal to the specified value, it means that the interference intensity is weak; when the code rate of channel coding is greater than a preset value, it means that the code rate is high; and when the code rate of channel coding is less than or equal to the preset value, it means that the code rate is low.
8. The method of any of claims 1, 2, 5, wherein, when the interference intensity of the space where the wireless link is located is less than or equal to a first preset threshold, the code rate is a third code rate; The code rate is a fourth code rate when the interference intensity of the space where the wireless link is located is greater than a first preset threshold and less than or equal to a second preset threshold. The code rate is a fifth code rate when the interference intensity of the space where the wireless link is located is greater than the second preset threshold. The third code rate is greater than the fourth code rate, and the fourth code rate is greater than the fifth code rate.
9. The method according to any of claims 1, 2, 5, characterized by, The channel coding mode is a non-channel coding mode when the interference intensity is less than an interference threshold.
10. A short distance communication method having interference resistance, characterized by, Comprise: The receiving device and the sending device establish a wireless link based on a short-distance communication protocol; The receiving device and the sending device negotiate a channel coding mode; The receiving device receives a data packet sent by the sending device; The data packet is obtained by channel coding of the sending device using the negotiated channel coding mode; The data packet comprises a plurality of data segments, and any data segment comprises a plurality of code blocks; the plurality of code blocks comprise a first code block and a second code block, the data amount of the second code block is not greater than the data amount of the first code block; the first code block is located before the second code block; and the data amounts of the plurality of code blocks are not completely identical.
11. The method of claim 10, wherein, The receiving device and the sending device negotiate a channel coding mode, comprising: The receiving device receives a request message sent by the sending device; the request message carries a channel coding mode; and the request message is used to request the receiving device to accept channel coding of the sending device on a data packet to be transmitted using the channel coding mode; The receiving device sends an agreement reply message to the sending device when accepting channel coding of the sending device on the data packet to be transmitted using the channel coding mode.
12. The method according to claim 10 or 11, characterized in that, Before the receiving device receives the data packet sent by the sending device, it further comprises: The receiving device receives a channel coding code rate sent by the sending device; the channel coding code rate is determined by the sending device according to the interference intensity of the space where the wireless link is located; After the receiving device receives the data packet sent by the sending device, it further comprises: The receiving device decodes the data packet using the channel coding mode and the code rate.
13. The method of claim 10 or 11, wherein, Before the receiving device receives the data packet sent by the sending device, it further comprises: The receiving device receives a time point for switching a communication mode sent by the sending device; the sending device and the receiving device use the channel coding mode for communication after reaching the time point.
14. A transmitting device, comprising: Comprise a processing unit and a communication unit; The communication unit is used to establish a wireless link with a receiving device based on a short-distance communication protocol; The processing unit is used to determine a channel coding code rate according to the interference intensity of the space where the wireless link is located; The communication unit is further used to negotiate a channel coding mode with the receiving device; The processing unit is further used to channel code a data packet using the negotiated channel coding mode and the code rate; The sending device sends the channel coded data packet to the receiving device through the wireless link; and The receiving device receives the data packet sent by the sending device. The data packet includes a plurality of data segments; the processing unit adopts the negotiated channel coding mode and the code rate to perform channel coding on the data packet, and specifically performs segmentation on any data segment to obtain a plurality of code blocks; the plurality of code blocks include a first code block and a second code block, the data amount of the second code block is not greater than the data amount of the first code block; the first code block is located before the second code block; the data amounts of the plurality of code blocks are not completely same; and the plurality of code blocks are channel coded by using the channel coding mode and the code rate.
15. The transmitting device of claim 14, wherein, The communication unit is further configured to: send a request message to the receiving device, the request message carrying a channel coding mode; the request message is used to request the receiving device to accept that the sending device performs channel coding on a transmitted data packet by using the channel coding mode; receive a consent response message sent by the receiving device in response to the request message.
16. The transmitting device of claim 14 or 15, wherein, The communication unit is further configured to: send the code rate to the receiving device.
17. The transmitting device of claim 14 or 15, wherein, The communication unit is further configured to: send a time point of switching a communication mode to the receiving device; the sending device and the receiving device use the channel coding mode to communicate after reaching the time point.
18. The transmitting device of claim 14, wherein, The plurality of data segments include a preamble data segment, an access code data segment, a header data segment and a payload data segment.
19. The transmitting device of any of claims 14, 15, 18, wherein, When the bandwidth of the wireless link is a first bandwidth, the code rate is a first code rate; when the bandwidth of the wireless link is a second bandwidth, the code rate is a second code rate; the first bandwidth is lower than the second bandwidth, and the first code rate is greater than the second code rate.
20. The transmitting device of any of claims 14, 15, 18, wherein, When the interference intensity of the space where the wireless link is located is weak, the code rate is a high code rate; when the interference intensity of the space where the wireless link is located is strong, the code rate is a low code rate. When the interference intensity of the space where the wireless link is located is greater than a specified value, it is indicated that the interference intensity is strong; when the interference intensity of the space where the wireless link is located is less than or equal to the specified value, it is indicated that the interference intensity is weak; when the code rate of channel coding is greater than a preset value, it is indicated that the code rate is high; and when the code rate of channel coding is less than or equal to the preset value, it is indicated that the code rate is low.
21. The transmitting device of any of claims 14, 15, 18, wherein, When the interference intensity of the space where the wireless link is located is less than or equal to a first preset threshold, the code rate is a third code rate; When the interference intensity of the space where the wireless link is located is greater than the first preset threshold and less than or equal to a second preset threshold, the code rate is a fourth code rate; When the interference intensity of the space where the wireless link is located is greater than the second preset threshold, the code rate is a fifth code rate; The third code rate is greater than the fourth code rate, and the fourth code rate is greater than the fifth code rate.
22. The transmitting device of any of claims 14, 15, 18, wherein, When the interference intensity is less than an interference threshold, the channel coding mode is a no-channel coding mode.
23. A receiving device, comprising: It includes: a communication unit; the communication unit is configured to establish a wireless link with a sending device based on a short-distance communication protocol, negotiate a channel coding mode with the sending device, and receive a data packet sent by the sending device; the data packet is obtained by channel coding of the sending device by using the channel coding mode. The data packet comprises a plurality of data segments, and any data segment comprises a plurality of code blocks; the plurality of code blocks comprise a first code block and a second code block, the data amount of the second code block is not greater than that of the first code block; the first code block is located before the second code block; and the data amounts of the plurality of code blocks are not completely identical.
24. The receiving device of claim 23, wherein, The communication unit is further configured to: receive a request message sent by the sending device, the request message carrying a channel coding mode, the request message being used to request the receiving device to accept that the sending device uses the channel coding mode to perform channel coding on a data packet to be transmitted; when accepting that the sending device uses the channel coding mode to perform channel coding on the data packet to be transmitted, send an agreement reply message to the sending device.
25. The receiving device of claim 23 or 24, wherein, The communication unit is further configured to: receive a channel coding code rate sent by the sending device, the channel coding code rate being determined by the sending device according to the interference intensity of a space where the wireless link is located; The receiving device further comprises a processing unit, The processing unit is configured to use the channel coding mode and the code rate to perform decoding on the data packet.
26. The receiving device of claim 23 or 24, wherein, The communication unit is further configured to: receive a time point for switching a communication mode sent by the sending device, the sending device and the receiving device using the channel coding mode to perform communication after reaching the time point.
27. A computer-readable storage medium, characterized in that, The computer executable instructions are used to make a computer execute the method in any one of claims 1 to 9, or execute the method in any one of claims 10 to 13.
28. A computer program product, characterised in that, The computer executable instructions are used to make a computer execute the method in any one of claims 1 to 9, or execute the method in any one of claims 10 to 13.
Citation Information
Patent Citations
Method and system for achieving wireless projection
CN108900878A
Method and apparatus for reducing interference between heterogeneous wireless communication systems
KR101404058B1