CN114731501A - Short-distance communication method and device with anti-interference capability - Google Patents

Short-distance communication method and device with anti-interference capability Download PDF

Info

Publication number
CN114731501A
CN114731501A CN201980102417.XA CN201980102417A CN114731501A CN 114731501 A CN114731501 A CN 114731501A CN 201980102417 A CN201980102417 A CN 201980102417A CN 114731501 A CN114731501 A CN 114731501A
Authority
CN
China
Prior art keywords
code rate
channel coding
sending
equipment
receiving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201980102417.XA
Other languages
Chinese (zh)
Inventor
陈桐
张泽宏
余展
杨玉飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN114731501A publication Critical patent/CN114731501A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a short-distance communication method and device with anti-jamming capability, which are used for improving the anti-jamming capability of communication equipment and relate to the technical field of wireless communication. In the method, a sending device and a receiving device determine the code rate of channel coding according to the interference intensity of the space where a wireless link is located, and negotiate the channel coding mode with the receiving device; the channel coding scheme may be a non-uniform segmented block code. When transmitting data packet to receiving device, transmitting device carries out channel coding on data packet by adopting non-uniform segmented block code and code rate. Based on the scheme, when the sending equipment and the receiving equipment transmit the data packet, the code rate of the channel coding can be selected according to the interference strength of the space where the wireless link is located, and the data packet to be transmitted is coded by adopting the negotiated channel coding mode and the determined code rate, so that the gain and the anti-interference capability of the wireless link established based on the short-distance communication protocol can be improved.

Description

Short-distance communication method and device with anti-interference capability Technical Field
The present application relates to the field of wireless communications technologies, and in particular, to a short-range communication method and apparatus with interference rejection capability.
Background
Bluetooth (BT) technology has been widely used as a short-range communication protocol that has been successfully popularized in vehicle-mounted devices, earphones, remote controls, and the like. In the BT4.0 protocol, Bluetooth Low Energy (BLE) technology is proposed, and from this point on, bluetooth includes classic BT and BLE. Wherein, BLE has advantages such as low-power consumption, low-cost and low complexity compared with classic BT. However, the low bandwidth and low rate of the classic BT and BLE have been difficult to meet the requirement, and in view of this, Wideband Bluetooth (WBT) technology has appeared. Broadband bluetooth improves the transmission rate of data due to the increased bandwidth compared to classical BT and BLE.
However, the anti-interference capability of either the classic bluetooth, the low power bluetooth or the broadband bluetooth is slightly insufficient in the scene with complex interference, and the problems of music jamming, sound interruption and slow data transmission occur.
Disclosure of Invention
The application provides a short-distance communication method and device with anti-jamming capability, which are used for solving the problem that Bluetooth in the prior art is weak in anti-jamming capability and improving the anti-jamming capability of classic Bluetooth, low-power Bluetooth or broadband Bluetooth.
In a first aspect, the present embodiments provide a short-range communication method with interference resistance capability, which may be performed by a communication device as a sending party, or may be performed by a chip or a software or hardware apparatus having a function of sending data. The method comprises the following steps: the sending equipment and the receiving equipment establish a wireless link based on a short-distance communication protocol; the sending equipment determines the code rate of channel coding according to the interference intensity of the space where the wireless link is located; the sending equipment and the receiving equipment negotiate a channel coding mode; the sending equipment carries out channel coding on the data packet by adopting a negotiated channel coding mode and the code rate; and the sending equipment sends the data packet subjected to channel coding to the receiving equipment through the wireless link.
Based on the scheme, when the sending equipment and the receiving equipment transmit the data packet, the code rate of the channel coding can be selected according to the interference intensity of the space where the wireless link is located, and after the sending equipment and the receiving equipment negotiate the consistent channel coding mode of the data packet, the negotiated channel coding mode and the determined code rate are adopted to code the data packet to be transmitted, so that the gain and the anti-interference capability of the wireless link can be improved.
In a possible implementation manner, the negotiating a channel coding scheme between the sending device and the receiving device includes:
the sending equipment sends a request message to the receiving equipment, wherein the request message carries a channel coding mode; the request message is used for requesting the receiving equipment to receive the channel coding of the transmitted data packet by the sending equipment in the channel coding mode; and the sending equipment receives an agreement response message which is sent by the receiving equipment and aims at the request message. Based on the scheme, the sending device and the receiving device can negotiate a channel coding mode through the request message and the agreement response message, and perform channel coding on the data packet to be transmitted by adopting the channel coding mode consistent with the negotiation, so that the anti-interference capability of a short-distance communication link, such as a Bluetooth communication link, can be better improved.
In a possible implementation manner, before the sending device sends the channel-coded data packet to the receiving device through the wireless link, the method further includes: and the sending equipment sends the code rate to the receiving equipment. Based on the scheme, the sending equipment 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 equipment, so that the receiving equipment can accurately decode the received data packet according to the code rate of the channel coding to obtain effective data in the data packet.
In a possible implementation manner, before the sending device sends the channel-coded data packet to the receiving device through the wireless link, the method further includes: the sending equipment sends a time point for switching the communication mode to the receiving equipment; and the sending equipment and the receiving equipment use the channel coding mode to communicate after reaching the time point. Thus, before the sending device performs channel coding on the data packet, the method further includes: the transmitting device determines that the point in time is reached. Based on the scheme, the sending device sends the time point to the receiving device, so that the sending device and the receiving device synchronously switch the communication mode to the communication mode by using the channel coding mode.
In a possible implementation manner, the data packet may include a plurality of data segments, and the sending device performs channel coding on the data packet by using the channel coding method and the code rate, which may specifically include: for any data segment, the sending equipment divides the data segment to obtain at least one code block; and the sending equipment respectively carries out channel coding on the at least one code block by adopting the channel coding mode and the code rate. Based on the scheme, the data of each data segment is respectively segmented to obtain at least one code block, and the at least one code block is subjected to channel coding by adopting the channel coding mode with consistent negotiation and the code rate determined according to the interference strength of the space where the wireless link is located, so that the anti-interference capability of the wireless link during the transmission of any data segment can be improved.
In one possible implementation, the plurality of data segments may include a preamble data segment, an access code data segment, a packet header data segment, a payload data segment, and the like. In a possible implementation manner, the segmenting, by the sending device, the any data segment to obtain at least one code block may include: the sending equipment divides 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, wherein the amount of data of the second code block is not greater than the amount of data 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 identical.
Based on the scheme, non-uniform segmentation is adopted when any data segment is segmented, so that the data volume of each segmented code block is sequentially decreased progressively, the anti-interference capability of a wireless link can be improved, and the time delay requirement of the wireless link can be met.
In a possible implementation manner, when the bandwidth of the wireless link is a first bandwidth, the code rate may be a first code rate; when the bandwidth of the wireless link is a second bandwidth, the code rate may be a second code rate; wherein the first bandwidth is lower than the second bandwidth, and the first code rate is greater than the second code rate.
Based on the scheme, the wireless link has high sensitivity and strong anti-interference capability when the bandwidth is narrow, but the transmission rate of data is low, and the data packet can be subjected to channel coding by adopting a high code rate, so that the transmission rate of the data packet can be improved, and the anti-interference capability of the wireless link can be improved. The sensitivity of the wireless link is reduced when the bandwidth is high, the anti-interference capability is low, the data packet can be subjected to channel coding by adopting a low code rate, and the anti-interference capability of the wireless link can be improved.
In another possible implementation manner, when the interference strength of the space where the wireless link is located is weak, the code rate may be a high code rate; when the interference strength of the space where the wireless link is located is strong, the code rate may be a low code rate. The strength of the interference intensity can be determined by a threshold value. For example, the interference strength is strong when the interference strength is greater than a specified value, and weak when the interference strength is less than or equal to the specified value, which may be predetermined based on an empirical value. Alternatively, the code rate may be measured by a threshold. For example, when a certain code rate is greater than a preset value, the code rate may be represented as a high code rate, and when the certain code rate is less than or equal to the preset value, the code rate may be represented as a low code rate. The preset value may also be predetermined according to an empirical value, such as 1/2, or 2/3.
Based on the scheme, when the interference intensity of the space where the wireless link is located is weak, the high code rate can be adopted 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, the low code rate can be adopted to improve the anti-interference capability of the wireless link.
In another possible implementation manner, when the interference strength of the space where the wireless link is located is less than or equal to a first preset threshold, the code rate may be a third code rate; when the interference strength 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 may be a fourth code rate; when the interference strength of the space where the wireless link is located is greater than a second preset threshold, the code rate may 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. Here, the third, fourth, and fifth code rates may not be values of a specific code rate but a certain type of code rate. For example, the third code rate may refer to a code rate greater than or equal to 5/6, the fourth code rate may refer to a code rate greater than 1/2 and less than 5/6, and the fifth code rate may refer to a code rate less than or equal to 1/2. The first preset threshold and the second preset threshold may be predetermined according to an empirical value.
Based on the scheme, the code rate during channel coding is selected according to the interference intensity of the space where the wireless link is located, so that the anti-interference capability of the wireless link can be improved, and meanwhile, the transmission rate of the data packet can be ensured.
In another possible implementation manner, when the interference strength is smaller than the interference threshold, the channel coding manner may also be a non-channel coding manner. Wherein the interference threshold may be predetermined based on empirical values.
Based on the scheme, when the interference strength of the space where the wireless link is located is smaller than or equal to the interference threshold, it indicates that the interference strength is weak and has no influence on the transmission of the data packet, and the sending device may not perform data coding on the data packet, thereby improving the transmission rate of the data packet.
In a second aspect, the present application provides another short-range communication method with interference rejection capability, which may be performed by a communication device as a receiving party, or by a chip or software or hardware device having a function of receiving data. The method comprises the following steps: the receiving equipment and the sending equipment establish a wireless link based on a short-distance communication protocol; the receiving equipment and the sending equipment negotiate a channel coding mode; the receiving equipment receives the data packet sent by the sending equipment; the data packet is obtained by the sending device performing channel coding in a negotiated channel coding mode.
In a possible implementation manner, the negotiating a channel coding scheme between the receiving device and the sending device includes:
the receiving equipment receives a request message sent by the sending equipment; the request message carries a channel coding mode; the request message is used for requesting the receiving equipment to receive the channel coding of the data packet to be transmitted by the sending equipment in the channel coding mode; and the receiving equipment sends an agreement response message to the sending equipment when receiving that the sending equipment adopts the channel coding mode to carry out channel coding on the data packet to be transmitted.
In a possible implementation manner, before the receiving device receives the data packet sent by the sending device, the method further includes: the receiving device receives the code rate of the channel coding sent by the sending device; the code rate of the channel coding is determined by the sending equipment 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, the method further includes: and the receiving equipment decodes the data packet by adopting the channel coding mode and the code rate.
In a possible implementation manner, before the receiving device receives the data packet sent by the sending device, the method further includes: the receiving equipment receives the time point of switching the communication mode sent by the sending equipment; and the sending equipment and the receiving equipment use the channel coding mode to carry out 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 includes: and the receiving equipment switches to the communication by using the channel coding mode when determining that the time point is reached.
In one possible implementation, the data packet may include a plurality of data segments; the method specifically comprises the following steps: a preamble data section, an access code data section, a packet header data section, a payload header data section, and a payload data section.
In one possible implementation, each of the data segments may include a plurality of code blocks; the plurality of code blocks may include a first code block and a second code block. Wherein 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 identical; and each code block is coded by adopting the channel coding mode.
In a possible implementation manner, when the bandwidth of the wireless link is a first bandwidth, the code rate may be a first code rate; when the bandwidth of the wireless link is a second bandwidth, the code rate may be a second code rate; wherein the first bandwidth is lower than the second bandwidth, and the first code rate is greater than the second code rate.
In another possible implementation manner, when the interference strength of the space where the wireless link is located is weak, the code rate may be a high code rate; when the interference strength of the space where the wireless link is located is strong, the code rate may be a low code rate.
In another possible implementation manner, when the interference strength of the space where the wireless link is located is less than or equal to a first preset threshold, the code rate may be a third code rate; when the interference strength 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 may be a fourth code rate; when the interference strength of the space where the wireless link is located is greater than a second preset threshold, the code rate may 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.
In addition, in another possible implementation manner, when the interference strength of the space where the wireless link is located is smaller than the interference threshold, the channel coding manner may also be a non-channel coding manner.
In a third aspect, an embodiment of the present application further provides a sending device, where the sending device may be configured to perform operations in any possible implementation manner of the first aspect and the first aspect. For example, the sending may comprise means or elements for performing the respective operations in the first aspect or any possible implementation of the first aspect. Including for example processing units and communication units.
In a fourth aspect, an embodiment of the present application further provides a receiving device, where the receiving device may be configured to perform the operations in the second aspect and any possible implementation manner of the second aspect. For example, the receiving device may comprise means or units for performing the respective operations in the second aspect or any possible implementation of the second aspect. For example comprising a processing unit and a communication unit.
In a fifth aspect, an embodiment of the present application further provides a communication system, including the transmitting device in the third aspect and the receiving device in the fourth aspect.
In a sixth aspect, an embodiment of the present application provides a chip system, including a processor, and optionally a memory; the memory is used for storing a computer program, and the processor is used for calling and running the computer program from the memory, so that the communication device with the chip system installed therein can execute any method in the first aspect or any possible implementation manner of the first aspect; or cause a communication device on which the chip system is mounted to perform any of the methods of the second aspect or any possible implementation of the second aspect.
In a seventh aspect, an embodiment of the present application provides a computer program product, where the computer program product includes: computer program code which, when executed by a processor of a communication device, causes the communication device to perform any of the methods of the first aspect or any possible implementation of the first aspect; and/or to enable a communication device to perform any of the methods of the second aspect or any possible implementation of the second aspect.
In an eighth aspect, embodiments of the present application provide a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor of a communication device, the computer program may cause the communication device (e.g., a sending device) to perform any one of the methods of the first aspect or any possible implementation manner of the first aspect; and/or cause a communication device (e.g., a receiving device) to perform any of the methods of the second aspect or any possible implementation of the second aspect described above.
Drawings
Fig. 1 is one of application scenarios provided in the present application;
FIG. 2 is a communication system provided herein;
fig. 3 is a schematic flowchart of a short-range communication method with interference rejection capability according to the present application;
FIG. 4 is a schematic diagram of a data packet structure provided herein;
fig. 5 is a schematic flowchart of a short-range communication method with interference rejection capability according to the present application;
fig. 6 is one of application scenarios provided in the present application;
FIG. 7 is a schematic diagram of an application scenario provided by the present application;
FIG. 8 is a schematic diagram of an application scenario provided by the present application;
fig. 9 is a schematic diagram of a terminal provided in the present application;
fig. 10 is a schematic diagram of a network device provided in the present application.
Detailed Description
Currently, bluetooth technologies include classic BT, BLE, and broadband bluetooth technologies. Fig. 1 is a schematic diagram of an application scenario of bluetooth technology. The terminal 100 and the terminal 101 in fig. 1 may represent a bluetooth device, that is, a device with bluetooth communication capability, and the bluetooth device provided in this application may also be bluetooth in a vehicle, a bluetooth headset, a bluetooth gateway, or bluetooth in a handheld mobile terminal, etc.
As shown in fig. 1, the bandwidths of the classical BT and BLE are only 1M or 2M, so that the bandwidths are narrow, the data transmission rate is low, and the method cannot be applied to a communication scenario with high delay requirement and high data transmission quality requirement. The bandwidth of the broadband Bluetooth can reach 4M, and the data transmission rate is improved. However, due to the increase of the bandwidth, the anti-interference capability of the broadband bluetooth is reduced, and the broadband bluetooth cannot be applied to communication scenes with complex interference or high requirements on anti-interference. Therefore, the current bluetooth technology cannot improve the data transmission rate and the anti-interference capability.
In view of the above technical problems, the present application provides a short-range communication method with interference resistance. The technical solution provided in the embodiment of the present application may be used in a short-range wireless communication system, and the short-range wireless communication system may include a communication system constructed based on, for example, a wireless local area network technology, a bluetooth technology, such as a classic BT, BLE and broadband bluetooth technology, a future bluetooth technology, such as a bluetooth 6.0 technology, and the like.
In order to improve the anti-interference capability of the communication device, the embodiment of the application provides a short-distance communication method with the anti-interference capability. The sending equipment sends a request message carrying a channel coding mode to the receiving equipment, and when an agreement response message of the receiving equipment for the request message is received, the sending equipment carries out channel coding on the data packet by adopting the channel coding mode and the code rate. And the transmitting equipment transmits the data packet subjected to channel coding to the receiving equipment through a wireless link. Therefore, the sending equipment adopts a channel coding mode negotiated by the sending equipment and the receiving equipment and carries out channel coding on the data packet to be sent according to the code rate of the channel coding determined by the interference intensity of the space where the wireless link is located, so that the data transmission efficiency can be improved, and meanwhile, the anti-interference capability can also be improved. The channel coding method may include polar code coding, Low Density Parity Check (LDPC) coding, and/or code-error correction (BCH) coding. In addition, because the code rate of the channel coding determined according to the interference intensity of the space where the wireless link is positioned is adopted to carry out the channel coding on the data packet, the anti-interference capability of communication can also be improved.
The technical scheme provided by the embodiment of the application can be used for communication between terminal devices, or can also be used for communication between the terminal devices and network devices.
The network device may be a device with a wireless transceiving function or a chip that can be disposed on the network device, and the network device includes but is not limited to: evolved Node B (eNB), Radio Network Controller (RNC), Node B (NB), Base Station Controller (BSC), Base Transceiver Station (BTS), home base station (e.g., home evolved Node B, or home Node B, HNB), baseband unit (BBU), wireless fidelity (WIFI) system Access Point (AP), wireless relay Node, wireless backhaul Node, transmission point (TRP or transmission point, TP), etc., and may also be 5G, such as NR, a gbb in the system, or a transmission point (TRP or TP), a set (including multiple antennas) of a base station in the 5G system, or a panel of a base station (including multiple antennas, or a BBU) in the 5G system, or a Distributed Unit (DU), etc.
A terminal device may also be referred to as a User Equipment (UE), an access terminal, a subscriber unit, a subscriber station, a mobile station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent, or a user equipment. The terminal device in the embodiment of the present application may be a mobile phone (mobile phone), a tablet computer (Pad), a computer with a wireless transceiving function, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in self driving (self driving), a wireless terminal in remote medical (remote medical), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), and the like. The embodiments of the present application do not limit the application scenarios. In the present application, a terminal device having a wireless transceiving function and a chip that can be installed in the terminal device are collectively referred to as a terminal device.
It should be understood that the network device or the terminal device mentioned in the embodiments of the present application may further include a plurality of components (e.g., a processor, a modulator, a multiplexer, a demodulator, a demultiplexer, or the like) related to signal transmission and reception.
For the convenience of understanding the embodiment of the present application, a communication scenario to which the embodiment of the present application is applied is first described in detail by taking the communication system shown in fig. 2 as an example, and the communication scenario is introduced by taking both the sending device and the receiving device as an example. As shown in fig. 2, the communication system includes a transmitting apparatus 200 and a receiving apparatus 201. The transmitting device 200 encrypts a transmission data packet (TX payload). Two encryption paths are included. The first is to add a Cyclic Redundancy Check (CRC) code to the data packet, followed by E0 encryption. The E0 encryption is an encryption algorithm of the bluetooth link layer, and belongs to a stream encryption mode, i.e. performing xor operation on a data stream and a key bit stream. The second one is to add CRC Code after encrypting the data packet with Advanced Encryption Standard (Advanced Encryption Standard-Counter with Cipher Block Chain-ing-Message Authentication Code, AES-CCM). The sending device 200 may negotiate an encryption scheme with the receiving device 201, and thereby select an encryption path corresponding to the negotiated encryption scheme. Taking the second encryption path as an example, after the transmitting device 200 performs whitening (framing) processing on the encrypted data packet, the transmitting device 200 performs channel coding (encoding) on the whitened data packet. The channel coding method is determined in advance with the receiving device 201, and the code rate of the channel coding is determined by the transmitting device 200 according to the interference strength of the space where the wireless link established with the receiving device 201 is located. The transmitting device 200 modulates (modulates) the channel-coded data packet to a high frequency, and mixes the modulated data packet to the high frequency through a Radio Frequency (RF) interface to transmit the modulated data packet.
The receiving device 201 receives the data packet, and after demodulating (de-modulation) the received data packet to the baseband, performs decoding (decoding) according to a channel coding mode and a code rate of the channel coding, which are determined by negotiation with the sending device 200, where the channel coding mode may be a coding mode in which the sending device 200 and the receiving device 201 agree through interactive negotiation, and the code rate of the channel coding may be determined by the sending device 200 according to the interference strength of a space where a wireless link established with the receiving device 201 is located by the sending device 200, and then the sending device 200 notifies the receiving device 201. The receiving device 201 performs de-whitening (de-whitening) processing on the decoded data packet, and then sequentially performs CRC check and AES-CCM decoding to obtain a received data packet (RX payiod). Accordingly, the decryption path of the receiving device 201 also includes two decryption paths. The first is to perform a CRC check after E0 decryption of the packet. And the second one is to perform AES-CCM decryption after performing CRC check on the data packet. The transmitting device 200 selects which encryption path, and the receiving device 201 also selects the corresponding decryption path accordingly.
The network architecture and the service scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application, and as a person of ordinary skill in the art knows that along with the evolution of the network architecture and the appearance of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems. It should be appreciated that fig. 2 is a simplified schematic diagram of an example for ease of understanding only, and that other receiving devices or also transmitting devices may be included in the communication system, which are not shown in fig. 2.
In the following, some technical terms related to the embodiments of the present application are explained so that the embodiments of the present application can be more easily understood.
1) And the data segments indicate different functional data in the data packet. For example, the payload header in a data packet may function to indicate the amount of data in the payload, the payload may function to transmit pure information, and the payload header and payload may be referred to as different data segments.
2) The code block is a resource block obtained by dividing a data packet or a data segment.
3) The channel coding scheme is a coding scheme used when channel coding is performed on a packet. The channel coding method in the embodiment of the present application may include block codes such as polar coding, LDPC coding, BCH coding, and the like.
4) The code rate of channel coding refers to the ratio of the effective data volume to the total data volume participating in coding after a certain code block is subjected to channel coding by adopting the code rate of the channel coding. For example, a code block is coded with 1/2 code rate, and the ratio of the effective data amount of the coded code block to the total data amount participating in coding is 1/2.
It should be noted that the code rate in the embodiment of the present application is not a code rate for each code block, but a code rate for any data segment. For example, code rate 1/2 for channel coding, the transmitting device divides the payload data segment into 3 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. Here, the effective data amount is 1/2 of the data amount of code block 1. The data amount of code block 2 after channel coding is 512 bits, and the effective data amount of code block 2 after channel coding is 250 bits. Where the ratio of the effective data amount to the data amount of code block 2 is close to 1/2. The data volume of the channel-coded code block 3 is 512 bits, and the effective data volume of the channel-coded code block 3 is 258 bits. Wherein the ratio of the effective data amount to the data amount of code block 3 is close to 1/2. Therefore, the code rate of channel coding of the data segment containing the 3 code blocks is about 1/2. It can be seen that, in the embodiment 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 and the offset of the code rate are within a preset range. The preset range may be, for example, [ -0.01, 0.01], or may also be, for example, [ -0.1, 0.1], and the like, and the present application is not particularly limited.
In addition, the terms "system" and "network" in the embodiments of the present application may be used interchangeably. "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated object, indicating that there may be three relationships, for example, a and/or B, which may indicate: a exists alone, A and B exist simultaneously, and B exists alone, wherein, A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. At least one of the following items or the like, refers to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
Unless stated to the contrary, the embodiments of the present application refer to the ordinal numbers "first", "second", etc., for distinguishing between a plurality of objects and not for defining the sequence, timing, priority or importance of a plurality of objects.
Furthermore, the terms "comprising" and "having" in the description of the embodiments and claims of the present application and the drawings are not intended to be exclusive. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to only those steps or modules listed, but may include other steps or modules not listed.
By introducing the application scenario in the embodiment of the present application, a process of communicating between the sending device and the receiving device is specifically described below.
As shown in fig. 3, a flowchart of a short-range communication method with interference rejection capability provided by the present application may include the following steps:
step 301: the transmitting device and the receiving device establish a wireless link based on a short-range communication protocol. For example, it may be a link established based on a bluetooth communication protocol, or it may be a link established based on a wireless local area network protocol.
Step 302: and the sending equipment determines the code rate of the channel coding according to the interference intensity of the space where the wireless link is positioned.
In a possible implementation manner, after the sending device establishes the wireless link with the receiving device, the sending device may scan the interference strength of the space where the wireless link is located in a self-scanning manner. Alternatively, the transmitting device may also measure the channel quality of the wireless link through channel measurements. Wherein, the channel quality is in inverse proportion to the interference strength.
For example, based on the interference strength of the space where the wireless link is located obtained by scanning, when the interference strength of the space where the wireless link is located is weak, it is determined that the code rate may be a high code rate; and when the interference strength of the space where the wireless link is located is strong, determining that the code rate can be a low code rate. The strength of the interference can be determined by a threshold value. For example, the interference strength is strong when the interference strength is greater than a predetermined value, and weak when the interference strength is less than or equal to the predetermined value. Wherein the specified value may be predetermined based on empirical values. Optionally, the code rate may be determined by a threshold. For example, a certain code rate may be a high code rate when the code rate is greater than a preset value, and may be a low code rate when the code rate is less than or equal to the preset value. The preset value may be 1/2, or may also be 2/3, etc. The preset value may also be predetermined based on empirical values.
For example, when the interference strength is greater than or equal to the specified value, the code rate may be greater than 1/2, such as 2/3, 3/4, or 5/6; when the interference strength is less than the specified value, the code rate may be less than or equal to 1/2, such as 1/2. For another example, when the interference strength is greater than the specified value, the code rate may be greater than 1/2, such as 2/3, 3/4, or 5/6; the code rate may be less than or equal to 1/2 when the interference strength is less than or equal to a specified value.
For another example, the code rate may be greater than 1/2, such as 2/3, 3/4, or 5/6, when the channel quality is less than or equal to a specified value; the code rate may be less than or equal to 1/2, such as 1/2, when the channel quality is greater than a specified value.
For another example, based on the interference strength of the space where the wireless link is located obtained by scanning, when the interference strength of the space where the wireless link is located is less than or equal to a first preset threshold, the code rate may be a third code rate; when the interference strength 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 may be a fourth code rate; when the interference strength of the space where the wireless link is located is greater than a second preset threshold, the code rate may 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. The first preset threshold is smaller than the second preset threshold.
Here, the third, fourth, and fifth code rates may not be values of a specific code rate but a certain type of code rate. For example, the third code rate may be a code rate greater than or equal to 5/6, the fourth code rate may be a code rate greater than 1/2 and less than 5/6, and the fifth code rate may be a code rate less than or equal to 1/2. For another example, the third code rate may be a code rate greater than or equal to 3/4, the fourth code rate may be a code rate greater than 2/3 and less than 3/4, and the fifth code rate may be a code rate less than or equal to 2/3. For another example, the third code rate may be a code rate greater than 3/4, the fourth code rate may be a code rate less than or equal to 3/4 and greater than 1/2, and the fifth code rate may be a code rate less than or equal to 1/2.
For example, when the interference strength is smaller than a first preset threshold, the code rate is a third code rate; when the interference strength is greater than or equal to a first preset threshold and less than a second preset threshold, the code rate may be a fourth code rate; when the interference strength is greater than or equal to a second preset threshold, the code rate may be a fifth code rate.
For another example, when the channel quality is greater than or equal to the first preset threshold, the code rate may be a third code rate; when the channel quality is less than the first preset threshold and greater than or equal to the second preset threshold, the code rate may be a fourth code rate; when the channel quality is less than the second preset threshold, the code rate may be a fifth code rate. The first preset threshold is larger than the second preset threshold.
In the above description, it can be seen that the interference strength of the space where the wireless link is located is inversely proportional to the code rate, that is, the larger the interference strength is, the smaller the code rate is, the code rate of the channel coding is reduced when the interference strength of the wireless link is large, and the interference resistance of the transmitting device and the receiving device can be improved. When the interference intensity is small, the code rate of the channel coding is improved, and the transmission rate of the data packet can be improved, so that the anti-interference capability of the sending equipment and the receiving equipment can be ensured, and meanwhile, the transmission rate of the data packet can be improved well.
In yet another possible implementation, the code rate of the channel coding may 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 may be a first code rate; the code rate may be a second code rate when the bandwidth of the wireless link is a second bandwidth. Wherein the first bandwidth may be a bandwidth of classical BT and BLE, e.g. 1M or 2M; the second bandwidth may be a bandwidth of broadband bluetooth technology, e.g., 3M, 4M, etc. Alternatively, the first bandwidth may be a bandwidth less than or equal to a bandwidth threshold, for example, the bandwidth threshold may be 1M or 2M, and the like, and then the first bandwidth is a bandwidth less than or equal to 1M, or the first bandwidth is a bandwidth less than or equal to 2M; the second bandwidth may be a bandwidth greater than a bandwidth threshold, e.g., the second bandwidth may be a bandwidth greater than 1M, or the second bandwidth may be a bandwidth greater than 2M. Still alternatively, the first bandwidth may be a bandwidth less than a bandwidth threshold, e.g., the first bandwidth is a bandwidth less than 2M, or the first bandwidth is a bandwidth less than 3M; the second bandwidth may be a bandwidth greater than or equal to a bandwidth threshold, for example, the second bandwidth is a bandwidth greater than or equal to 2M, or the second bandwidth is a bandwidth greater than or equal to 3M.
The first code rate may be a code rate greater than or equal to a code rate threshold, for example, the code rate threshold may be 1/2, 2/3, or the like. The first code rate is greater than or equal to 2/3, or the first code rate may also be greater than or equal to 5/6; the second code rate may be a code rate less than a code rate threshold, e.g., the second code rate may be less than 2/3, or the second code rate may be less than 5/6. Still alternatively, the first code rate may be a code rate greater than a code rate threshold, for example, the first code rate is greater than 1/2, or the first code rate is greater than 2/3; the second code rate is a code rate less than or equal to a 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.
For example, the wireless link is established based on BLE communication protocol or based on the classic bluetooth communication protocol, and the transmitting device may determine that the code rate of the channel coding is greater than or equal to 2/3, such as 2/3, 3/4, 5/6, etc., according to the bandwidth of the wireless link. For another example, the wireless link is established based on a broadband bluetooth communication protocol, and the transmitting device may determine that the code rate of the channel coding is less than 2/3, such as 1/2, according to the bandwidth of the wireless link.
Therefore, when the bandwidth of the wireless link is high, the interference of the wireless link is large, the anti-interference capability of the sending equipment and the receiving equipment is low, and at the moment, a low code rate is selected, so that the gain of the data packet can be improved, and the aim of improving the anti-interference capability is fulfilled. When the bandwidth of the wireless link is low and the interference of the wireless link is small, a high code rate can be selected at the moment, and the transmission rate of data can be improved.
Step 303: the transmitting device negotiates a channel coding scheme with the receiving device.
In one possible embodiment, the sending device may send a request message to the receiving device. The request message carries a channel coding mode to be adopted by the sending equipment, and the request message is used for requesting the receiving equipment to receive the channel coding mode adopted by the sending equipment for the data packet to be transmitted. The receiving device receives the channel coding of the data packet to be transmitted by the sending device in the channel coding mode, and sends an acknowledge message (ACK) to the sending device. Here, the process of the sending device sending the request message carrying the channel coding scheme to the receiving device is equivalent to a process of starting a channel coding scheme adopted by both parties negotiated between the sending device and the receiving device.
In an example, when the receiving device does not agree with the sending device to perform channel coding on the data packet to be transmitted by using the channel coding method, a negative-acknowledgement (NACK) message may be sent to the sending device. When the transmitting device receives the NACK, it may negotiate the channel coding scheme with the receiving device again after a preset period. The preset period may be 15s, 30s, etc., and may be predetermined according to an empirical value. Alternatively, when the transmitting device receives NACK, the transmitting device maintains the previous channel coding scheme to transmit the data packet with the receiving device. The previous channel coding scheme here may be a channel coding scheme before the sending device sends the request message to the receiving device, and may be, for example, a polar code coding scheme, or may also be a non-channel coding scheme.
The following describes a specific channel coding method carried by the request message.
In one example, the request message may carry a channel coding scheme supported by both the sending device and the receiving device. When the request message carries the channel coding modes supported by both the sending device and the receiving device, the agreement response message indicates that the receiving device accepts the channel coding of the data packet to be transmitted by the sending device in the channel coding mode.
When the sending device and the receiving device establish a wireless link, the sending device and the receiving device communicate with each other according to the channel coding scheme supported by the sending device and the receiving device, for example, the sending device sends the channel coding scheme supported by the sending device to the receiving device, where the channel coding scheme supported by the sending device includes 1, 2, and 3, and the receiving device sends the channel coding scheme supported by the receiving device to the sending device, 2. 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.
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 may be the channel coding mode with the highest priority. For example, if the sending device determines that the channel coding schemes supported by both are 2 and 3, the sending device sets the channel coding scheme carried in the request message to be the channel coding scheme 2 with high priority according to the preset priority of the channel coding scheme.
In another example, the request message may carry a channel coding scheme supported by itself. For example, if the channel coding schemes supported by the sending device are 1, 2, and 3, the request message may carry the channel coding schemes 1, 2, and 3. When the request message carries the channel coding mode supported by the sending device, the receiving device may carry the channel coding mode supported by the receiving device in the agreement response message. The sending device may perform channel coding on the data packet by using a channel coding mode supported by both the sending device and the receiving device. For example, the request message carries channel coding modes 1, 2, and 3, and the receiving device carries channel coding mode 2 in the agreement response message, and then the sending device performs channel coding on the data packet by using channel coding mode 2. When the channel coding modes supported by the receiving device are two or more, the sending device may carry the channel coding mode with the higher priority in the request message according to the priority of the preset channel coding mode, and send the request message to the receiving device again, and when receiving the response message of the receiving device for the request message, the sending device performs channel coding on the data packet by using the channel coding mode with the higher priority and performs channel coding on the data packet by using the channel coding mode with the higher priority.
In another possible implementation manner, the sending device may further send the channel coding method determined in step 302 to the receiving device. For example, the channel coding mode and the code rate of the channel coding determined in step 302 may be simultaneously carried in the request message. In another example, when the request message does not carry the code rate of the channel coding, the sending device may separately send a signaling carrying the code rate of the channel coding to the receiving device. After receiving the signaling carrying the code rate, the receiving device may send a response signaling for the signaling carrying the code rate to the sending device.
In another possible implementation manner, the sending device may further send a time point for switching the communication manner to the receiving device. And the sending equipment and the receiving equipment use the channel coding mode to carry out communication after the time point is reached. The sending device may carry the channel coding mode and the time point of switching the communication mode in the request message. If the request message does not carry the time point, the sending device may send the signaling carrying the time point to the receiving device separately. After receiving the signaling carrying the time point, the receiving device may send a response signaling for the signaling carrying the time point to the sending device. Based on the scheme, the sending device sends the time point to the receiving device, so that the sending device and the receiving device synchronously switch the communication mode to the communication mode by using the channel coding mode.
For example, after the sending device sends the request message carrying the channel coding mode and the code rate of the channel coding to the receiving device, the sending device may also send the first signaling carrying the time point to the receiving device. For another example, after the sending device sends the request message carrying the channel coding mode to the receiving device, the sending device may also send a first signaling carrying the code rate of the channel coding to the receiving device, and may also send a second signaling carrying the time point to the receiving device.
For another example, after the sending device sends the request message carrying the channel coding mode and the time point to the receiving device, a third signaling carrying the code rate of the channel coding may also be sent to the receiving device. For another example, after the sending device sends the request message carrying the channel coding mode to the receiving device, the sending device may also send a fourth signaling carrying the code rate of the channel coding and the time point to the receiving device. The application is not limited herein.
It should be noted that, in this embodiment of the application, step 302 may be executed first and then step 303 is executed, or step 303 may be executed first and then step 302 is executed, or step 302 and step 303 may also be executed simultaneously, which is not limited herein.
Step 304: and when the sending equipment and the receiving equipment reach the time point, switching to the channel coding mode using the negotiation to carry out communication. Of course, this step is an optional step, and it is monitored whether the set time point arrives, and the sending device and the receiving device switch to the above negotiated channel coding method for communication, only to better synchronize the sending device and the receiving device for communication using the same communication method.
Step 305: the transmitting device performs channel coding on the data packet to be transmitted to the receiving device by using the negotiated channel coding mode and the code rate of the channel coding determined in steps 302 to 304. The method by which the transmitting device channel-encodes the data packet is described below.
In one possible implementation, the data packet to be transmitted may include a plurality of data segments. Fig. 4 is a schematic structural diagram of a data packet to be transmitted according to an embodiment of the present application. The data packet may 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.
When the sending device performs channel coding on the data packet, it may perform channel coding on all data segments, or may select to perform channel coding on any data segment. For example, the transmitting device may perform channel coding on the preamble data segment, the packet header data segment, the payload header data segment, and the payload data segment.
In another possible implementation manner, the code rates when the multiple data segments are encoded may be the same or different, for example, 1/4 is used when the payload header data segment is encoded, 1/2 is used when the payload data segment is encoded, and the like. Optionally, the bitrate used for performing channel coding on the preamble data segment, the packet header data segment, and the payload header data segment may be a default bitrate. For example, when the sending device encodes the data packet, the code rate of the preamble data segment may adopt a default code rate 1/4, the code rate of the header data segment may adopt a default code rate 1/3, the code rate of the payload data segment may adopt a default code rate 1/3, and the code rate of the payload data segment may be determined according to the interference strength of the space where the wireless link is located.
In one encoding scheme, when performing channel coding on a data packet, a sending device may segment any data segment to obtain at least one code block. The sending device may segment any data segment uniformly, and the data amount of each code block is equal. For example, for a payload data segment, the transmitting device uniformly partitions the payload data segment, wherein the data size of each code block is 512 bits. And the transmitting equipment respectively carries out channel coding on each code block obtained by segmentation. Based on the scheme, any data segment is segmented to obtain at least one code block, and the at least one code block is subjected to channel coding, so that the anti-interference capability of the sending equipment and the receiving equipment can be improved.
In another encoding scheme, the transmitting device performs non-uniform segmentation for any data segment. For example, the transmitting device segments 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, wherein the amount of data of the second code block is not greater than the amount of data 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 identical.
For example, the transmitting device performs non-uniform segmentation on the payload data segment of the data packet to obtain 6 code blocks. The data volume of the code block 1 is 1024 bits, the data volume of the code block 2 is 502 bits, the data volume of the code block 3 is 500 bits, the data volume of the code block 4 is 264 bits, the data volume of the code block 5 is 256 bits, and the data volume of the code block 6 is 64 bits.
For another example, when the channel coding scheme in the embodiment of the present application is polar coding, the sending device performs non-uniform segmentation on the payload data segment of the data packet to obtain 5 code blocks. The data volume of the code block 1 is 502 bits, the data volume of the code block 2 is 250 bits, the data volume of the code block 3 is 250 bits, the data volume of the code block 4 is 109 bits, and the data volume of the code block 5 is 60 bits. In polar coding, the data amount of each code block after coding needs to satisfy 2n. For example, the data size of the encoded code block 1 may be 1024 bits, the data size of the encoded code block 2 may be 512 bits, the data size of the encoded code block 3 is 512 bits, the data size of the encoded code block 4 is 128 bits, and the data size of the encoded code block 5 is 64 bits.
Based on the scheme, the sending equipment adopts a non-uniform segmentation mode when segmenting the data segment, the data volume of the code block is sequentially decreased from front to back, and the transmission delay requirement of the Bluetooth technology can be met while the anti-interference capability of the sending equipment and the receiving equipment is improved.
In another encoding scheme, the transmitting device does not channel encode the data packet. When the interference intensity of the space where the wireless link is located is smaller than the interference threshold, the interference intensity is weak, and the influence on the wireless link is small. At this time, when the sending device sends the data packet to be transmitted to the receiving device, the data packet may not be channel-coded, and the data packet that is not channel-coded is sent to the receiving device. For example, when the transmitting device determines that the channel quality of the wireless link is greater than a preset channel quality threshold, the transmitting device may transmit a data packet that is not channel-coded to the receiving device.
Based on the scheme, when the interference intensity of the space where the wireless link is located is small, the data packet is not subjected to channel coding, and the transmission rate of the data packet can be improved.
Step 306: the transmitting device transmits the channel-coded data packet to the receiving device through the wireless link established in step 301.
Step 307: and the receiving equipment receives the data packet sent by the sending equipment and decodes the data packet by adopting the channel coding mode and the code rate.
Through the process, the channel coding processing is carried out on the data packet by adopting the channel coding mode with consistent negotiation when the sending equipment and the receiving equipment are communicated, so that the gain of the data packet can be improved, and the anti-jamming capability of the sending equipment and the receiving equipment is improved when the sending equipment and the receiving equipment are communicated. In addition, the channel coding is carried out on the data packet by adopting the code rate of the channel coding determined according to the interference strength of the space where the wireless link established between the sending equipment and the receiving equipment is located, so that the anti-interference capability of the sending equipment and the receiving equipment during communication can be improved, and meanwhile, the effective data volume of the data packet after the channel coding is selected, and the transmission rate of the data packet is improved.
In the short-distance communication method with the anti-interference capability provided by the embodiment of the application, when the sending device and the receiving device use a channel coding communication mode, the sending device can periodically determine the interference strength of a space where a wireless link is located. For example, the period may be set to 5min, 15min, etc., where the period may be predetermined based on empirical values. In a possible implementation manner, the sending device may send a request signaling for switching the code rate to the receiving device when determining that the interference strength of the space where the wireless link is located changes, for example, the interference strength is greater than the interference strength at the last measurement, or the interference strength is less than the interference strength at the last measurement, and the like.
As shown in fig. 5, one of the flow diagrams of a short-range communication method with interference rejection capability provided in this embodiment of the present application may include the following steps:
step 501: after the transmitting device transmits the data packet after channel coding to the receiving device, the interference intensity of the space where the wireless link is located is scanned when a specified period is reached.
Step 502: the sending equipment determines that the interference intensity of the space where the current wireless link is different from the interference intensity measured last time, and sends a switching request message to the receiving equipment.
For example, the interference intensity different from the last measurement may be greater than the interference intensity of the last measurement, or may be less than the interference intensity of the last measurement.
For another example, it may be that the difference from the interference strength at the last measurement exceeds a specified range. Wherein the specified range is predetermined based on empirical values.
The switching request message may carry a code rate requesting switching, where the switching request message is used to request the receiving device to receive that the transmitting device performs channel coding on a data packet to be transmitted with the code rate.
Or, the switching request message may also carry a time point of switching a code rate, and when the time point is reached, the sending device and the receiving device communicate by using the switched code rate.
Step 503: and the receiving equipment receives the channel coding of the data packet to be transmitted by the sending equipment by adopting the code rate, and sends a switching response message to the sending equipment.
Step 504: and the sending equipment carries out channel coding on the data packet to be transmitted by adopting the code rate carried in the switching request message.
Step 505: and the transmitting equipment transmits the data packet subjected to channel coding to the receiving equipment.
Step 506: and the receiving equipment decodes the received data packet by using the code rate carried in the switching request message.
In yet another possible implementation manner, after the sending device sends the channel-coded data packet to the receiving device, the interference strength of the space where the wireless link is located may be scanned when a specified period is reached. The sending device may send a message to switch to the communication method without channel coding and a time point to switch to the communication method without channel coding to the receiving device when determining that the current interference strength is smaller than the interference threshold. The sending device may send the message switched to the communication method without the channel coding and the time point switched to the communication method without the channel coding to the receiving device through the same request message, and the receiving device sends a response message to the receiving device when receiving the request message. Alternatively, the transmitting apparatus may transmit the message switched to the communication scheme without the channel coding and the time point switched to the communication scheme without the channel coding to the receiving apparatus, respectively. For example, the sending device sends a first request carrying a communication mode switched to a channel-free code to the receiving device, and the receiving device sends a first response to the first request to the sending device. And the sending equipment sends a second request carrying the time point of switching to the communication mode without the channel coding to the receiving equipment, and the receiving equipment sends a second response aiming at the second request to the sending equipment. And when the time point is reached, the sending equipment and the receiving equipment are switched to a communication mode without channel coding. When sending a data packet to be transmitted to a receiving device, a sending device does not perform channel coding on the data packet.
Hereinafter, the short-range communication method with interference rejection capability provided in the embodiments of the present application is further described with reference to specific embodiments.
The first embodiment is as follows:
fig. 6 is a schematic view of an application scenario of a short-range communication method with interference rejection capability according to an embodiment of the present application. In this scenario, it is assumed that both the device a and the device B are bluetooth devices. The A device and the B device support classic BT, BLE and broadband Bluetooth technologies.
The a device and the B device may establish a wireless link based on a BLE communication protocol. After the A device and the B device establish a BLE wireless link, the wireless link of the broadband Bluetooth communication protocol can be switched. Alternatively, the a device and the B device establish a wireless link based on a broadband bluetooth communication protocol. The device A determines that the interference strength of the space where the wireless link is located is weak through scanning, and thus determines that the code rate of channel coding should be less than or equal to 2/3, such as 1/2, 1/3 and the like. The device a selects 1/2 the code rate of the channel coding with the highest priority among several code rates according to the priority of the preset code rates of the channel coding. The device A and the device B negotiate to determine that the channel coding mode is polar coding. The device a performs non-uniform segmentation on each data segment in the data packet to be sent to the device B, and performs channel coding on each code block of each data segment by adopting a code rate 1/2 and a polar coding mode. And the device A sends the data packet after channel coding to the device B.
When the device B sends the data packet to the device a, the device B also performs channel coding on the data packet by using the code rate 1/2 and polar coding mode, and sends the data packet after channel coding to the device a. Or when the device B sends a data packet to the device a, the device B may serve as a new sending device, the device a may serve as a new receiving device, the device B and the device a may re-determine the code rate and the channel coding mode of the channel coding by the short-distance communication method with anti-interference capability provided by the present application, and the device B performs channel coding on the data packet to be sent to the device a by using the newly determined code rate and channel coding mode, and then sends the data packet to the device a.
Example two:
fig. 7 is a schematic view of an application scenario of a short-range communication method with interference rejection capability according to an embodiment of the present application. Assume that the scene contains device a, device B, device C, and device D. Wherein the A device and the B device establish a wireless link based on a classic BT communication protocol. The B device and the C device establish a wireless link based on a BLE communication protocol. The C device and the D device establish a wireless link based on a broadband Bluetooth communication protocol, the A device and the D device establish a wireless link based on a BLE communication protocol, and the D device monitors the B device.
The interference strength of the space where each wireless link is located can be determined through a preset interference strength threshold. For example, according to a preset interference intensity threshold, determining that the interference intensity of a space where a wireless link between the device a and the device B is located is very weak, and the interference intensity of a space where a wireless link between the device B and the device C is located is strong; the interference intensity of the space where the wireless link between the device C and the device D is located is very strong; the interference strength of the space where the wireless link between the device D and the device a is located is weak, and the interference strength of the space where the wireless link between the device D and the device B is located is moderate.
Then, the a device and the B device may not encode the data packet when transmitting the data packet. When the data packet is transmitted between the device B and the device C, the code rate 2/3 may be adopted; when the data packet is transmitted between the device C and the device D, the code rate 1/2 may be adopted; when the device a and the device D transmit the data packet, the data packet may be encoded with the code rate of 5/6.
And the D equipment acquires link establishment parameters such as a data packet transceiving time point, a data packet encryption mode, a frequency hopping mode, a data packet channel coding mode, a channel coding code rate and the like between the equipment and the A equipment through a wireless link with the A equipment. For example, the D device determines that the B device and the a device transmit the data packet at time point k by transmitting the data packet with the a device, and does not encode the data packet, and then the D device listens for the data packet transmitted by the B device to the a device at time point k. However, the performance of the D device monitoring the B device is poor because the interference strength of the space where the wireless link between the a device and the B device is located is weak, and the interference strength of the space where the wireless link between the B device and the D device is located is moderate. The D device may negotiate with the a device to make the a device initiate a request for communication using channel coding to the B device, which may include the channel coding mode desired to be used and the code rate of the channel coding. And informs the a device of the channel coding scheme and the channel coding code rate to use. For example, the device D notifies the device a, and when transmitting a packet with the device B, polar encoding is used, and the code rate is 3/4. The device a sends a request message to the device B, and after receiving the agreement response message of the device B, performs channel coding on the data packet by adopting polar coding with 3/4 code rate.
And the D equipment acquires link establishment parameters such as a data packet receiving and sending time point, a data packet encryption mode, a frequency hopping mode, a data packet channel coding mode, a channel coding code rate and the like between the B equipment and the C equipment through a wireless link with the C equipment. For example, the device D determines that the device B and the device C transmit the data packet at the time point m by transmitting the data packet with the device C, and the channel coding mode is LDCH coding and the code rate is 2/3. The D device monitors the data packet sent by the B device to the C device at time point m, and decodes the data packet by adopting the LDCH coding mode and the 2/3 code rate to obtain valid data. Since the interference strength between the B device and the D device is medium, and the 2/3 code rate already meets the transmission requirement under the interference, the D device does not need to negotiate with the C device, and the C device sends a code rate change request of channel coding to the B device.
Example three:
fig. 8 is a schematic view of an application scenario of a short-range communication method with interference rejection capability according to an embodiment of the present application. Assume that the scene contains a device, B0 device, B1 device, C0 device, C1 device, C2 device, and C3 device.
Wherein, the B0 device and the B1 device are receiving devices of the broadcast signal of the a device; the C0 device and the C1 device are reception devices of the broadcast signal of the B0 device; the C2 device and the C3 device are reception devices of the broadcast signal of the B1 device.
The device A scans the interference intensity of the environment where the device A is located, and determines that the interference intensity is smaller than a first preset threshold value. The a device may channel-encode the data packet with a rate of 5/6 when broadcasting the data packet to the B0 device and the B1 device.
The B0 device scans the interference intensity of the environment where the device is located, and determines that the interference intensity is greater than a first preset threshold and less than a second preset threshold. The B0 device may perform channel coding on the data packet with a code rate of 2/3 when broadcasting the data packet to the C0 device and the C1 device.
The B1 device scans the interference intensity of the environment where the device is located and determines that the interference intensity is larger than a second preset threshold value. The B1 device may perform channel coding on the data packet with the rate 1/2 when broadcasting the data packet to the C2 device and the C3 device.
Based on the above embodiments, as shown in fig. 9, an embodiment of the present application further provides a terminal, where the terminal may be a sending device or a receiving device in the embodiment of the present application. Wherein the terminal comprises a processor 900, a memory 901 and a transceiver 902;
the processor 900 is responsible for managing the bus architecture and general processing, and the memory 901 may store data used by the processor 900 in performing operations. The transceiver 902 is used to receive and transmit data packets under the control of the processor 900.
The bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by the processor 900, and various circuits, represented by the memory 901, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The processor 900 is responsible for managing the bus architecture and general processing, and the memory 901 may store data used by the processor 900 in performing operations.
The processes disclosed in the embodiments of the present invention may be applied to the processor 900, or implemented by the processor 900. In implementation, the steps of the communication flow may be accomplished by instructions in the form of hardware, integrated logic circuits, or software in the process 900. The processor 900 may be a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like that may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor. The software modules may be located in ram, flash, rom, prom, or eprom, registers, etc. as is well known in the art. The storage medium is located in the memory 901, and the processor 900 reads the information in the memory 901, and completes the steps of the communication flow in combination with the hardware thereof.
A processor 900 for reading the program in the memory 901 and executing the steps of any of the short-range communication methods with interference rejection capability in the embodiments of the present application.
As shown in fig. 10, the present application is a network device, which may be a sending device or a receiving device in this embodiment. The network device includes, among other things, a processor 1000, a memory 1001, and a communication interface 1002.
The processor 1000 is responsible for managing the bus architecture and general processing, and the memory 1001 may store data used by the processor 1000 in performing operations. The transceiver communication interface 1002 is used for receiving and transmitting data under the control of the processor 1000 in data communication with the memory 1001.
The processor 1000 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of a CPU and an NP. The processor 1000 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof. The memory 11001 may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
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 may be connected to each other through a bus 1003; the bus 1003 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 10, but that does not indicate only one bus or one type of bus.
Specifically, the processor 1000 is configured to read a program in the memory 1001 and execute the steps of any short-range communication method with interference rejection capability in the embodiment of the present application.
The present application also provides a communication system comprising one or more of the aforementioned transmitting devices, and one or more of the receiving devices.
It should be noted that the processor in the embodiments of the present application may be an integrated circuit chip having signal processing capability. In implementation, the steps of the above method embodiments may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, eprom, or eeprom storage media, registers, etc. that are well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
It will be appreciated that the memory in the embodiments of the subject application can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (DDR SDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous link SDRAM (SLDRAM), and Direct Rambus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
The embodiment of the present application further provides a computer-readable medium, on which a computer program is stored, where the computer program, when executed by a computer, implements the short-distance communication method with interference rejection capability described in any of the method embodiments above.
The embodiment of the present application further provides a computer program product, and when executed by a computer, the computer program product implements the short-distance communication method with interference rejection capability according to any of the method embodiments described above.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). 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, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., Digital Video Disk (DVD)), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The embodiment of the application also provides a processing device, which comprises a processor and an interface; the processor is configured to execute the short-range communication method with interference rejection capability according to any one of the above method embodiments.
It should be understood that the processing device may be a chip, the processor may be implemented by hardware or software, and when implemented by hardware, the processor may be a logic circuit, an integrated circuit, or the like; when implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory, which may be integrated in the processor, located external to the processor, or stand-alone.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Additionally, the terms "system" and "network" are often used interchangeably herein. The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that in the embodiment of the present application, "B corresponding to a" means that B is associated with a, from which B can be determined. It should also be understood that determining B from a does not mean determining B from a alone, but may be determined from a and/or other information.
Those of ordinary skill in the art will appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiments of the present application.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented in hardware, firmware, or a combination thereof. When implemented in software, the functions described above may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. Taking this as an example but not limiting: computer-readable media can include 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. Furthermore, the method is simple. Any connection is properly termed a computer-readable medium. For example, if software is transmitted from a website, a server, or other remote source using a coaxial cable, a fiber optic cable, a twisted pair, a Digital Subscriber Line (DSL), or a wireless technology such as infrared, radio, and microwave, the coaxial cable, the fiber optic cable, the twisted pair, the DSL, or the wireless technology such as infrared, radio, and microwave are included in the fixation of the medium. Disk and disc, as used herein, includes 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.
In short, the above description is only a preferred embodiment of the present disclosure, and is not intended to limit the scope of the present disclosure. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (32)

  1. A method for short-range communication with interference rejection capability, comprising:
    the sending equipment and the receiving equipment establish a wireless link based on a short-distance communication protocol;
    the sending equipment determines the code rate of channel coding according to the interference intensity of the space where the wireless link is located;
    the sending equipment and the receiving equipment negotiate a channel coding mode;
    the sending equipment carries out channel coding on the data packet by adopting a negotiated channel coding mode and the code rate;
    and the sending equipment sends the data packet subjected to channel coding to the receiving equipment through the wireless link.
  2. The method of claim 1, wherein negotiating a channel coding scheme between the transmitting device and the receiving device comprises:
    the sending equipment sends a request message to the receiving equipment, wherein the request message carries a channel coding mode; the request message is used for requesting the receiving equipment to receive the channel coding of the transmitted data packet by the sending equipment in the channel coding mode;
    and the sending equipment receives an agreement response message which is sent by the receiving equipment and aims at the request message.
  3. The method of claim 1 or 2, wherein before the sending device sends the channel-coded data packet to the receiving device via the wireless link, the method further comprises:
    and the sending equipment sends the code rate to the receiving equipment.
  4. The method according to any of claims 1-3, wherein before the sending device sends the channel-coded data packet to the receiving device via the wireless link, the method further comprises:
    the sending equipment sends a time point for switching the communication mode to the receiving equipment; and the sending equipment and the receiving equipment use the channel coding mode to carry out communication after reaching the time point.
  5. The method according to any one of claims 1 to 4, wherein the data packet includes a plurality of data segments, and the sending device performs channel coding on the data packet by using the channel coding method and the code rate, including:
    for any data segment, the sending equipment divides the data segment to obtain at least one code block;
    and the sending equipment adopts the channel coding mode and the code rate to carry out channel coding on the at least one code block.
  6. The method of claim 5, wherein the plurality of data segments comprises a preamble data segment, an access code data segment, a packet header data segment, a payload header data segment, and a payload data segment.
  7. The method of claim 5 or 6, wherein the transmitting device segments the any data segment into at least one code block, and comprises:
    the sending equipment divides 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, and the data volume of the second code block is not greater than the data volume 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 identical.
  8. The method of any of claims 1-7, wherein the code rate is a first code rate when the bandwidth of the wireless link is a first bandwidth;
    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.
  9. The method according to any of claims 1-7, wherein the code rate is a high code rate when the interference strength of the space where the wireless link is located is weak;
    when the interference intensity of the space where the wireless link is located is strong, the code rate is a low code rate;
    the interference intensity is strong when the interference intensity of the wireless link is greater than a specified value, and the interference intensity is weak when the interference intensity of the wireless link is less than or equal to the specified value; and when the code rate of the channel coding is greater than a preset value, indicating a high code rate, and when the code rate of the channel coding is less than or equal to the preset value, indicating a low code rate.
  10. The method according to any of claims 1-7, wherein the code rate is a third code rate when the interference strength of the space where the wireless link is located is less than or equal to a first preset threshold;
    when the interference intensity of the space where the wireless link is located is larger than a first preset threshold and smaller 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 a 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.
  11. The method according to any of claims 1-10, wherein when the interference strength is smaller than an interference threshold, the channel coding scheme is a non-channel coding scheme.
  12. A method for short-range communication with interference rejection capability, comprising:
    the receiving equipment and the sending equipment establish a wireless link based on a short-distance communication protocol;
    the receiving equipment and the sending equipment negotiate a channel coding mode;
    the receiving equipment receives the data packet sent by the sending equipment; the data packet is obtained by the sending device performing channel coding in a negotiated channel coding mode.
  13. The method of claim 12, wherein negotiating a channel coding scheme between the receiving device and the transmitting device comprises:
    the receiving equipment receives a request message sent by the sending equipment; the request message carries a channel coding mode; the request message is used for requesting the receiving equipment to receive the channel coding of the data packet to be transmitted by the sending equipment in the channel coding mode;
    and the receiving equipment sends an agreement response message to the sending equipment when receiving that the sending equipment adopts the channel coding mode to carry out channel coding on the data packet to be transmitted.
  14. The method according to claim 12 or 13, wherein before the receiving device receives the data packet sent by the sending device, the method further comprises:
    the receiving device receives the code rate of the channel coding sent by the sending device; the code rate of the channel coding is determined by the sending equipment according to the interference strength of the space where the wireless link is located;
    after the receiving device receives the data packet sent by the sending device, the method further includes:
    and the receiving equipment decodes the data packet by adopting the channel coding mode and the code rate.
  15. The method according to claims 12-14, wherein before the receiving device receives the data packet sent by the sending device, the method further comprises:
    the receiving equipment receives the time point of switching the communication mode sent by the sending equipment; and the sending equipment and the receiving equipment use the channel coding mode to carry out communication after the time point is reached.
  16. A transmitting device, comprising a processing unit and a communication unit;
    the communication unit is used for establishing a wireless link with the receiving equipment based on a short-distance communication protocol;
    the processing unit is used for determining the code rate of channel coding according to the interference intensity of the space where the wireless link is located;
    the communication unit is further configured to negotiate a channel coding scheme with the receiving device;
    the processing unit is further configured to perform channel coding on the data packet by using the negotiated channel coding mode and the code rate;
    and the sending equipment sends the data packet subjected to channel coding to the receiving equipment through the wireless link.
  17. The transmitting device of claim 16, wherein the communication unit is further configured to:
    sending a request message to the receiving equipment, wherein the request message carries a channel coding mode; the request message is used for requesting the receiving equipment to receive the channel coding of the transmitted data packet by the sending equipment in the channel coding mode;
    and receiving an agreement response message sent by the receiving equipment aiming at the request message.
  18. The transmitting device according to claim 16 or 17, wherein the communication unit is further configured to:
    and sending the code rate to the receiving equipment.
  19. The transmitting device according to any of claims 16-18, wherein the communication unit is further configured to:
    sending a time point for switching a communication mode to the receiving equipment; and the sending equipment and the receiving equipment use the channel coding mode to carry out communication after reaching the time point.
  20. The transmitting device according to any of claims 16-19, wherein said data packet comprises a plurality of data segments;
    the processing unit is further configured to:
    for any data segment, the sending equipment divides the data segment to obtain at least one code block; and performing channel coding on the at least one code block by adopting the channel coding mode and the code rate.
  21. The transmitting device of claim 20, wherein the plurality of data segments comprises a preamble data segment, an access code data segment, a packet header data segment, and a payload data segment.
  22. The transmitting device of claim 19 or 20, wherein the processing unit is further configured to:
    segmenting 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, and the data volume of the second code block is not greater than the data volume 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 identical.
  23. The transmitting device according to any of claims 16-22, 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.
  24. The transmitter according to any of claims 16-22, wherein when the interference strength 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 wireless link is less than or equal to the specified value, the interference intensity is weak; and when the code rate of the channel coding is greater than a preset value, indicating a high code rate, and when the code rate of the channel coding is less than or equal to the preset value, indicating a low code rate.
  25. The transmitter apparatus according to any of claims 16 to 22, wherein the code rate is a third code rate when the interference strength of the space where the wireless link is located is less than or equal to a first preset threshold;
    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 fourth code rate;
    when the interference intensity of the space where the wireless link is located is greater than a 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.
  26. The transmitter apparatus according to any of claims 16 to 25, wherein when the interference strength is smaller than an interference threshold, the channel coding scheme is a non-channel coding scheme.
  27. A receiving device, comprising: a communication unit;
    the communication unit is used for establishing a wireless link with the sending equipment based on a short-distance communication protocol; negotiating a channel coding mode with the sending equipment; and receiving the data packet sent by the sending device; the data packet is obtained by the sending equipment through channel coding by adopting the channel coding mode.
  28. The receiving device of claim 27, wherein the communication unit is further configured to:
    receiving a request message sent by the sending equipment; the request message carries a channel coding mode; the request message is used for requesting the receiving equipment to receive the channel coding of the data packet to be transmitted by the sending equipment in the channel coding mode;
    and when receiving that the sending equipment performs channel coding on the data packet to be transmitted by adopting the channel coding mode, sending an agreement response message to the sending equipment.
  29. The receiving device according to claim 27 or 28, wherein the communication unit is further configured to:
    receiving the code rate of the channel coding sent by the sending equipment; the code rate of the channel coding is determined by the sending equipment according to the interference intensity of the space where the wireless link is located;
    the receiving unit further includes: a processing unit for processing the received data,
    and the processing unit is used for decoding the data packet by adopting the channel coding mode and the code rate.
  30. The receiving device according to any of claims 27-29, wherein the communication unit is further configured to:
    receiving a time point for switching a communication mode, which is sent by the sending equipment; and the sending equipment and the receiving equipment use the channel coding mode to carry out communication after reaching the time point.
  31. A computer-readable storage medium having stored thereon computer-executable instructions for causing a computer to perform the method of any one of claims 1 to 11 or to perform the method of any one of claims 12 to 15.
  32. A computer program product comprising computer executable instructions for causing a computer to perform the method of any one of claims 1 to 11 or to perform the method of any one of claims 12 to 15.
CN201980102417.XA 2019-11-28 2019-11-28 Short-distance communication method and device with anti-interference capability Pending CN114731501A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/121729 WO2021102843A1 (en) 2019-11-28 2019-11-28 Short-range communication method and device with anti-interference capability

Publications (1)

Publication Number Publication Date
CN114731501A true CN114731501A (en) 2022-07-08

Family

ID=76129880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201980102417.XA Pending CN114731501A (en) 2019-11-28 2019-11-28 Short-distance communication method and device with anti-interference capability

Country Status (2)

Country Link
CN (1) CN114731501A (en)
WO (1) WO2021102843A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277323A (en) * 2022-07-25 2022-11-01 Oppo广东移动通信有限公司 Data frame transmission method, device, chip, storage medium and Bluetooth equipment

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113490189B (en) * 2021-06-16 2023-09-19 北京小米移动软件有限公司 Communication control method, device, electronic equipment and storage medium
CN114244383B (en) * 2021-12-27 2023-06-09 东莞市阿尔法电子科技有限公司 Signal processing method, system, bluetooth headset and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929386B (en) * 2014-04-29 2017-09-15 电子科技大学 A kind of air interference removing method
WO2016043380A1 (en) * 2014-09-16 2016-03-24 엘지전자 주식회사 Method and device for transmitting interference cancellation information for cancelling interference between cells
CN106792466B (en) * 2016-12-26 2020-10-09 歌尔科技有限公司 Method for communication between equipment end and host end
US10608809B2 (en) * 2018-05-02 2020-03-31 Plantronics, Inc. Adaptive timing synchronization in packet based radio systems

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277323A (en) * 2022-07-25 2022-11-01 Oppo广东移动通信有限公司 Data frame transmission method, device, chip, storage medium and Bluetooth equipment

Also Published As

Publication number Publication date
WO2021102843A1 (en) 2021-06-03

Similar Documents

Publication Publication Date Title
WO2015067196A1 (en) Method, system and device for sending and receiving data
US10911184B2 (en) Error correction for data packets in short-range wireless communications systems
EP2849412B1 (en) Data processing method and device, and computer storage medium
CN114731501A (en) Short-distance communication method and device with anti-interference capability
CN105898672A (en) Extended bluetooth communication modes
BR112021013405A2 (en) SIDE LINK COMMUNICATION METHOD AND TERMINAL DEVICE
US10784993B1 (en) Soft combining packets received from different piconets
US20170142077A1 (en) Data encryption and transmission method and apparatus
WO2022147720A1 (en) Beam indication method and apparatus, and communication device
CN108574935B (en) Multicast service processing method and access point
CN111050321B (en) Data processing method, device and storage medium
CN114389795A (en) Quantum cloud key negotiation method, device and system, quantum and quantum cloud server
JP2014502461A (en) Method and apparatus for sending and receiving secure and non-secure data
CN112019489B (en) Verification method and device
CN112399418B (en) Method and apparatus for communication
CN109803283B (en) Wireless communication method and communication equipment
WO2016065638A1 (en) Data transmission method and device
CN116746179A (en) WLAN multilink TDLS key derivation
CN113747367B (en) Communication method and communication device
US20150237482A1 (en) Method and apparatus for communication
WO2024092838A1 (en) Data transmission method and apparatus
CN111465007A (en) Authentication method, device and system
WO2014063592A1 (en) Data transmission method and device
WO2024092829A1 (en) Communication method, and apparatus
CN116963054B (en) WLAN multilink TDLS key derivation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination