WO2022178761A1 - Communication method and apparatus - Google Patents

Communication method and apparatus Download PDF

Info

Publication number
WO2022178761A1
WO2022178761A1 PCT/CN2021/077896 CN2021077896W WO2022178761A1 WO 2022178761 A1 WO2022178761 A1 WO 2022178761A1 CN 2021077896 W CN2021077896 W CN 2021077896W WO 2022178761 A1 WO2022178761 A1 WO 2022178761A1
Authority
WO
WIPO (PCT)
Prior art keywords
bits
threshold
data packet
probability
scrambling code
Prior art date
Application number
PCT/CN2021/077896
Other languages
French (fr)
Chinese (zh)
Inventor
邓希瓦
熊杰
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2021/077896 priority Critical patent/WO2022178761A1/en
Publication of WO2022178761A1 publication Critical patent/WO2022178761A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/04Error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the field of communication, and more particularly to a communication method and device.
  • WLAN wireless local area network
  • IEEE Institute of Electrical and Electronic Engineers
  • scrambling the data to be transmitted has become a widely used technical means, which can enhance the randomness of data transmission and reduce the length of a large number of continuous "0" or "1" in the data , thereby reducing the peak-to-average ratio of the air interface signal and effectively improving the wireless transmission performance.
  • the WLAN protocol introduces scrambling technology
  • the data verification process based on the scrambling technology is based on the received complete data packet, but when there is an error in the received complete data packet, the verification method It will cause the receiver's resources to be wasted in invalid data reception and processing.
  • the present application provides a communication method and device, which can verify whether a data packet is in error at the initial stage of data reception, so as to avoid the possibility that when the receiving end performs verification after receiving a complete data packet, the received The data packet is wrong, which leads to the waste of resources and power of the receiver.
  • a communication method including: a first device receives a service field of a data packet of a wireless local area network (WLAN), the service field includes reserved bits; the first device is based on the first bit in the reserved bits The number of determines to terminate the reception of the data packet, the first bit has a first value; the first device terminates the reception of the data packet.
  • WLAN wireless local area network
  • the first device receives the service field of the data packet of the WLAN, and determines to terminate the reception of the data packet based on the number of the first bits with the first value in the reserved bits of the service field, thereby realizing early termination. Receive the data packet to save communication resources and system power.
  • the service field further includes an initial scrambling code value, and the initial scrambling code value is the first 7 bits or the first 7 bits of the scrambling code sequence used by the data packet. 11 bits; the first bit is a bit with the first value after the first device descrambles the reserved bits based on the initial value of the scrambling code.
  • determining, by the first device, based on the number of first bits in the reserved bits, to terminate receiving the data packet including: when the first value is 1.
  • the first device determines to stop receiving the data packet.
  • the first device can verify the correctness of the initial value of the scrambling code by comparing the magnitude of the relationship between the number of first bits and the first threshold, so that based on the comparison It is determined to terminate the reception of the data packet, so as to terminate the reception of the data packet in advance, thereby saving communication resources and system power.
  • the first threshold is 0 or 1.
  • the present application can achieve more accurate data transmission, thereby ensuring rational utilization of communication resources.
  • the first threshold when the bit error rate of the data packet is less than a third threshold, the first threshold is 1; or, the bit error rate of the data packet is greater than or When equal to the third threshold, the first threshold is 0, and the third threshold is any positive number.
  • the first device determines an appropriate first threshold by comparing the bit error rate of the data packet with a third threshold, where the third threshold is any positive number.
  • the first threshold is determined by the first device based on a first parameter
  • the first parameter includes: a variable of the number of the first bits N, a bit error rate ⁇ , a first probability, and a second probability, wherein the first probability represents an error probability of the initial value of the scrambling code, and the second probability represents a correct probability of the initial value of the scrambling code.
  • the first device can set a different number of first bits and combine the bit error rate to make the ratio between the first probability and the second probability meet certain requirements.
  • the ratio between the first probability and the second probability is less than 1, an appropriate bit error rate and the number of first bits can be determined to meet different requirements.
  • determining, by the first device to terminate receiving the data packet according to the number of the first bits includes: when the first value is 0, the When the number of the first bits is less than the second threshold, the first device determines to stop receiving the data packet.
  • the first device when the first value is 0, the first device can verify the correctness of the initial value of the scrambling code by comparing the relationship between the number of first bits and the second threshold, so that the first device can verify the correctness of the initial value of the scrambling code based on the The relationship is compared, and it is determined to terminate the reception of the data packet, so as to terminate the reception of the data packet in advance, thereby saving communication resources and system power.
  • the second threshold when the number of bits of the reserved bits is 9, the second threshold is 9 or 8; or, when the number of bits of the reserved bits is At 5 bits, the second threshold is 5 or 4.
  • the second threshold is 9 or 8
  • the second threshold is 5 or 4, so as to achieve more accurate data transmission and ensure rational utilization of communication resources.
  • the bit error rate of the data packet is less than a fourth threshold, and when the number of reserved bits is 9, the second threshold is 8; Or, when the number of bits of the reserved bits is 5, the second threshold is 4; or, when the bit error rate of the data packet is greater than or equal to the fourth threshold, when the number of bits of the reserved bits is When the number of bits is 9, the second threshold is 9; or, when the number of reserved bits is 5, the second threshold is 5, and the fourth threshold is any positive number.
  • the first device determines an appropriate second threshold by comparing the bit error rate of the data packet with the fourth threshold, where the fourth threshold is any positive number.
  • the second threshold is determined by the first device based on a first parameter
  • the first parameter includes: a variable of the number of the first bits N, a bit error rate ⁇ , a first probability, and a second probability, wherein the first probability represents an error probability of the initial value of the scrambling code, and the second probability represents a correct probability of the initial value of the scrambling code.
  • the first device sets a different number of first bits and combines the bit error rate information to make the ratio between the first probability and the second probability meet certain requirements.
  • the ratio between the probability and the second probability is less than 1, an appropriate bit error rate value and the number of first bits can be determined to meet different requirements.
  • a communication device including: a first transceiver unit configured to receive a service field of a data packet of a wireless local area network (WLAN), the service field including reserved bits; The number of the first bit in the reserved bits determines the termination of receiving the data packet, and the first bit has a first value.
  • WLAN wireless local area network
  • the service field further includes an initial scrambling code value, and the initial scrambling code value is the first 7 bits or the first 7 bits of the scrambling code sequence used by the data packet. 11 bits; the first bit is a bit with the first value after the first device descrambles the reserved bits based on the initial value of the scrambling code.
  • the first processing unit is configured to determine, based on the number of first bits in the reserved bits, to terminate receiving the data packet, including: when the first The value is 1, and when the number of the first bits is greater than the first threshold, the first processing unit is configured to determine to stop receiving the data packet.
  • the first threshold is 0 or 1.
  • the first threshold when the bit error rate of the data packet is less than a third threshold, the first threshold is 1; or, the bit error rate of the data packet is greater than or When equal to the third threshold, the first threshold is 0, and the third threshold is any positive number.
  • the first threshold is determined by the first device based on a first parameter
  • the first parameter includes: a variable of the number of the first bits N, a bit error rate ⁇ , a first probability, and a second probability, wherein the first probability represents an error probability of the initial value of the scrambling code, and the second probability represents a correct probability of the initial value of the scrambling code.
  • the first processing unit is configured to determine, based on the number of first bits in the reserved bits, to terminate receiving the data packet, including: when the first The value is 0, and when the number of the first bits is less than the second threshold, the first processing unit is configured to determine to stop receiving the data packet.
  • the second threshold when the number of bits of the reserved bits is 9, the second threshold is 9 or 8; or, when the number of bits of the reserved bits is At 5 bits, the second threshold is 5 or 4.
  • the bit error rate of the data packet is less than a fourth threshold, and when the number of bits of the reserved bits is 9, the second threshold is 8; Or, when the number of bits of the reserved bits is 5, the second threshold is 4; or, when the bit error rate of the data packet is greater than or equal to the fourth threshold, when the number of bits of the reserved bits is When the number of bits is 9, the second threshold is 9; or, when the number of reserved bits is 5, the second threshold is 5, and the fourth threshold is any positive number.
  • the second threshold is determined by the first device based on a first parameter
  • the first parameter includes: a variable of the number of the first bits N, a bit error rate ⁇ , a first probability, and a second probability, wherein the first probability represents an error probability of the initial value of the scrambling code, and the second probability represents a correct probability of the initial value of the scrambling code.
  • a communication device comprising a processor coupled to a memory for storing a computer program or instruction, the processor for executing the computer program or instruction in the memory, The method in the first aspect and any possible implementation manner of the first aspect is caused to be performed.
  • a computer-readable storage medium which stores computer programs or instructions, and the computer programs or instructions are used to implement the first aspect and the method in any possible implementation manner of the first aspect.
  • FIG. 1 is a schematic diagram of a communication system applicable to an embodiment of the present application.
  • FIG. 2 is a schematic diagram of filling manners of service fields of different data frame formats.
  • FIG. 3 is a schematic diagram of the main transmission and reception flow of the wireless local area network WLAN.
  • FIG. 4 is a schematic block diagram of a communication method according to an embodiment of the present application.
  • FIG. 5 is a plane coordinate diagram of an 11th-order scrambling code pattern according to an embodiment of the present application.
  • FIG. 6 is a plane coordinate diagram of a seventh-order scrambling code pattern according to an embodiment of the present application.
  • FIG. 7 is a schematic block diagram of a communication apparatus according to an embodiment of the present application.
  • FIG. 8 is a schematic block diagram of another communication apparatus according to an embodiment of the present application.
  • GSM global system for mobile communications
  • CDMA code division multiple access
  • WCDMA wideband code division multiple access
  • general packet radio service general packet radio service
  • GPRS general packet radio service
  • long term evolution long term evolution
  • LTE long term evolution
  • LTE frequency division duplex frequency division duplex
  • TDD time division duplex
  • UMTS universal mobile telecommunications system
  • WiMAX worldwide interoperability for microwave access
  • the communication system 100 may include a network device 102 and terminal devices 104-114.
  • the network device 102 can be any device with a wireless transceiver function or a chip that can be provided in the device, and the device includes but is not limited to: a base station (for example, a base station NodeB, an evolved base station eNodeB, a fifth-generation base station) (5G) network equipment in communication systems (such as transmission point (TP), transmission reception point (TRP), base station, small base station equipment, etc.), network equipment in future communication systems, wireless fidelity Access nodes, wireless relay nodes, wireless backhaul nodes, etc. in a (wireless-fidelity, WiFi) system.
  • a base station for example, a base station NodeB, an evolved base station eNodeB, a fifth-generation base station
  • 5G fifth-generation base station
  • network equipment in communication systems such as transmission point (TP), transmission reception point (TRP), base station, small base station equipment, etc.
  • TP transmission point
  • TRP transmission reception point
  • small base station equipment small base station equipment, etc.
  • the network device 102 may communicate with a plurality of end devices, such as the end devices 104-114 shown in the figures.
  • the terminal device may be any device with a wireless transceiver function, and may also be referred to as user equipment (user equipment, UE), access terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, Remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user equipment.
  • user equipment user equipment
  • UE user equipment
  • access terminal subscriber unit, subscriber station, mobile station, mobile station, remote station, Remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user equipment.
  • the terminal device in this embodiment of the present application may be a mobile phone (mobile phone), a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (VR) terminal device, and an augmented reality (AR) terminal device , wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical, wireless terminals in smart grid, transportation security Wireless terminals in safety), wireless terminals in smart cities, wireless terminals in smart homes, and so on.
  • Both the network device and the terminal device in the communication system shown in FIG. 1 have wireless transceiver functions. From the perspective of data transmission, both network equipment and terminal equipment need to transmit and receive air interface signals by means of channel listening and channel competition preemption. Therefore, the application scenarios of this application include uplink transmission scenarios and downlink transmission scenarios. In the above two scenarios, both the network device and the terminal device need to combine signaling and data into complete and independent data packets for sending and receiving. Therefore, from the perspective of data transmission, in the process of data transmission at the physical layer, the wireless transceiver modules of the network device and the terminal device are symmetrical and exchangeable, which means that both the network device and the terminal device can be used as the communication system in the communication system. The transceiver ends are used, and further, in the communication system, the network device can be both the sender and the receiver, and correspondingly, the terminal device can be both the receiver and the transmitter.
  • the execution subject of a communication method in the embodiment of the present application is the first device, and the first device may be a network device or a terminal device, which is not limited in this application.
  • scrambling the data to be transmitted has become a widely used technical means.
  • the key point of scrambling technology is that the same scrambling code sequence needs to be used at both ends of the transmission and reception.
  • the service field of the bit, and the initial value of the scrambling code used by the sender is filled into the service field, and the receiver can obtain the initial value of the scrambling code used by the sender through decoding.
  • the initial value of the scrambling code is the first 7 bits or the first 11 bits of the scrambling code sequence, and is different from the initial scrambling code seed used for generating the scrambling code sequence in the WLAN protocol.
  • FIG. 2 shows the filling manner of the service field in the data frame of three different WLAN protocol versions.
  • the first padding method includes a 7-bit scrambling code initial value and a 9-bit reserved (Reserved) bit, and the reserved bit can be regarded as the reserved unused bit in the protocol version.
  • the sender fills the reserved bits with a value of 0.
  • This filling method is suitable for non-high throughput (Non-HT) frame formats, high throughput (high throughput, HT) frame formats and high efficiency (high efficient, HE) frame format;
  • the second filling method includes a 7-bit scrambling code initial value, a 1-bit reserved bit and an 8-bit cyclic redundancy check (CRC) check code, which is suitable for very High throughput (very high throughput, VHT) frame format;
  • the third padding method includes 11-bit scrambling initial value and 5-bit reserved bits, which is suitable for super high throughput (extreme high throughput, EHT) frame format.
  • the reserved bits are all bits 0, and scrambling will be performed according to the information of the scrambling code sequence, and the CRC check code in the VHT frame format will also be scrambled accordingly.
  • This embodiment of the present application does not involve a scrambling operation on the CRC check code in the VHT frame format, and details are not described herein again.
  • scrambling code sequence S is obtained by cyclically obtaining a pseudo-random sequence generated by a 7-bit or 11-bit scrambling code seed.
  • the WLAN protocol introduces the scrambling technology
  • the data verification process based on the scrambling technology is based on the received complete data packet. The ability to terminate reception early, which can cause the entire receiver's resources to be wasted on ineffective data reception and processing.
  • the embodiments of the present application provide a communication method.
  • the method provided by the embodiments of the present application can solve the problem of resource waste caused by errors in complete data packets when receiving WLAN protocol data units, and also It can solve the problem that the system power is wasted due to the need to receive the wrong data packet completely.
  • FIG. 3 shows a schematic diagram of the main transmission and reception flow of a complete data packet of the WLAN protocol.
  • the transmitting end scrambles the data packet to be transmitted, and after channel coding, modulation, inverse fast Fourier transform IFFT and other operation steps, it is transmitted through the transmitting antenna.
  • the original data packet sent by the transmitting end is obtained after the operation steps such as fast Fourier transform FFT, demodulation, decoding and descrambling.
  • the above steps such as channel coding, modulation and IFFT are performed at the physical layer of the transmitter.
  • the above steps of FFT, demodulation, decoding and descrambling are also performed at the physical layer of the receiving end.
  • FIG. 4 shows a schematic block diagram of a communication method according to an embodiment of the present application.
  • the first device receives a service field of a data packet of the wireless local area network WLAN, where the service field includes reserved bits;
  • the first device determines to terminate the reception of the data packet based on the number of first bits in the reserved bits, and the first bits have a first value
  • the first device terminates receiving the data packet.
  • the service field further includes an initial value of scrambling code, and the initial value of scrambling code is the first 7 bits or the first 11 bits of the scrambling code sequence used by the data packet.
  • the first device receives the service field of the data packet of the WLAN, and determines to terminate the reception of the data packet based on the number of the first bits with the first value in the reserved bits of the service field, thereby realizing early termination. Receive the data packet to save communication resources and system power.
  • the first device judges whether the number of first bits exceeds the threshold by comparing the number of first bits with the threshold of the number of first bits, and the first device can determine whether the number of first bits and its threshold are based on the number of first bits. On the basis of the size relationship, determine whether the initial value of the scrambling code filled in the service field is correct, and on the basis of the determination, the first device can determine to terminate the reception of the data packet, and finally can terminate the reception of the data packet. Optionally, the first device may also determine to continue to receive the data packet.
  • the first device after receiving the service field of the WLAN data packet, the first device will perform operations such as decoding, descrambling, and the like. Therefore, the first bit is a bit with the first value after the first device descrambles the reserved bit based on the initial value of the scrambling code.
  • the first device can stop receiving the data packet to avoid communication resources. waste and save system power.
  • the embodiments of the present application may include the following technical solutions:
  • the first device determines the number of the first bits whose value is 1 in the reserved bits after descrambling, and compares the number of the first bits with the first threshold The size to determine the termination of receiving the packet.
  • the first device determines that the received initial value of the scrambling code is correct, so the first device can determine to continue receiving. the data packet; or, if the number of the descrambled first bit 1 is greater than 1, the first device determines that the received initial value of the scramble code is wrong, so the first device determines to terminate the reception of the data packet.
  • the first device determines that the received initial value of the scrambling code is correct, so the first device can determine to continue to receive the data. or, if the number of the descrambled first bits is greater than 0, the first device determines that the received initial value of the scrambling code is wrong, so the first device can determine to stop receiving the data packet.
  • the value of the first threshold may be 0, or 1, or any value between 2 and 9, which is not limited in this application, but the most preferred value of the first threshold is The value can be either 0 or 1.
  • the first device when the first value of the first bit is 1, the first device can verify the correctness of the initial value of the scrambling code by comparing the relationship between the number of the first bit and the first threshold, Therefore, based on the size relationship, it can be determined whether to terminate the reception of the data packet, so as to terminate the reception of the data packet in advance, thereby saving communication resources and system power.
  • the present application can check whether the data packet is wrong at the initial stage of data reception, so as to avoid the possibility that when the receiving end performs the check after receiving the complete data packet, the received data packet may have errors. error, which leads to the waste of system resources and system power.
  • the above-mentioned value of the first threshold is only for the case when the first value of the first bit is 1.
  • the value of the first threshold is 0 or 1, which are two preferred values.
  • the first device determines the number of the descrambled first bits, and determines whether to terminate the reception of the first bit by comparing the number of the first bits with the size of the second threshold. data pack.
  • the first device determines that the initial value of the received scrambling code is is correct, so the first device determines that it can continue to receive the data packet; or, if the number of descrambled first bits is less than 8, the first device determines that the received initial value of the scrambling code is wrong, so the first device It can be determined to terminate the reception of the data packet.
  • the first device determines that the received initial value of the scrambling code is correct, so the first device determines that it can continue to receive the data. or, if the number of the descrambled first bits is less than 9, the first device determines that the received initial value of the scrambling code is wrong, so the first device determines to stop receiving the data packet.
  • the first device determines that the initial value of the received scrambling code is is correct, so the first device determines that it can continue to receive the data packet; or, if the number of descrambled first bits is less than 4, the first device determines that the received initial value of the scrambling code is wrong, so the first device It can be determined to terminate the reception of the data packet.
  • the first device determines that the received initial value of the scrambling code is correct, so the first device determines that it can continue to receive the data. or, if the number of the descrambled first bits is less than 5, the first device determines that the received initial value of the scrambling code is wrong, so the first device determines to stop receiving the data packet.
  • the value of the second threshold may be 0, may be 1, or may be any value between 2 and 9, which is not limited in this application.
  • the first device when the first value of the first bit is 0, the first device can verify the correctness of the initial value of the scrambling code by comparing the relationship between the number of the first bit and the second threshold, Therefore, based on the comparison relationship, it can be determined whether to terminate the reception of the data packet, so as to terminate the reception of the data packet in advance, thereby saving communication resources and system power.
  • the value of the above-mentioned second threshold is only for the case when the first bit is bit 0.
  • the value of the second threshold is 8 or 9, which are the two preferred values; or , when the number of reserved bits is 5, the value of the second threshold is 4 or 5, which are two preferred values.
  • the present application can check whether the data packet is wrong at the initial stage of data reception, so as to avoid the possibility that when the receiving end performs the check after receiving the complete data packet, the received data packet may have errors. error, which leads to the waste of system resources and system power.
  • This embodiment of the present application determines whether the initial decoding value is valid by detecting the number of the first bits with the first value in the reserved bits in the service field of the WLAN data packet, and then determines whether to continue to receive the data by setting a threshold. package to save system resources and system power.
  • the first device needs to determine whether the first device continues to receive the data packet based on the relationship between the number of the first bits and the threshold.
  • the setting of the threshold may be pre-configured, that is, the threshold is set as a fixed value.
  • the threshold may be 0, 1, or any value between 2 and 9.
  • a corresponding threshold value can be set according to different situations, which is not limited in this application.
  • the setting of the threshold can also be done in a dynamic and flexible manner, that is, the appropriate threshold needs to be determined according to the bit error rate ⁇ of the data packets received before the current data packet.
  • the first threshold can be specified as 1; or, when the initial value of the scrambling code is 7 bits, that is, the WLAN data
  • the bit error rate ⁇ is greater than or equal to 0.15, or when the initial value of the scrambling code is 11 bits, that is, the service field of the WLAN
  • the above dynamic adjustment threshold is for the situation when the first value of the first bit is 1, but can also be applied to the situation when the first value of the first bit is 0, for example, when the initial value of the scrambling code is When the value is 7 bits, that is, when the service field of the WLAN data packet adopts the 7th-order scrambling code frame format, and the bit error rate ⁇ is less than 0.15, the second threshold value can be specified as 8; or, when the initial value of the scrambling code is 11 bits , that is, when the service field of the WLAN data packet adopts the 11th-order scrambling code frame format, and the bit error rate ⁇ is less than 0.02, the second threshold can be specified as 4; or, when the initial value of the scrambling code is 7 bits, that is, the WLAN When the service field of the data packet adopts the 7th-order scrambling code frame format, and the bit error rate ⁇ is greater than or equal to 0.15, the second threshold value can be specified as 9; or when the initial value of the scram
  • bit error rate is only an exemplary description, and does not have any limiting effect.
  • the value of the bit error rate can be any positive number, and the threshold value of the bit error rate can be determined according to specific requirements. For example, when the first value of the first bit is 1, when the When the bit error rate is less than the third threshold, determine that the first threshold is 1 or other values, or when the bit error rate of the data packet is greater than or equal to the third threshold, determine that the first threshold is 0 or other corresponding values; or , when the first value of the first bit is 0, the bit error rate of the data packet is less than the fourth threshold, and when the number of reserved bits is 9, it can be determined that the second threshold is 8 or other values; Alternatively, when the number of reserved bits is 5, it can be determined that the second threshold is 4 or other values; or when the bit error rate of the data packet is greater than or equal to the fourth threshold, when the number of reserved bits is When the number of bits is 9, it can be determined that the second threshold is 9 or other corresponding values; or, when the number of reserved bits is 5, it can be determined that the second threshold is 5 or other
  • the first ratio P error (N, ⁇ )/P correct (N, ⁇ ) can be obtained by formula (1).
  • the first ratio can be any value, which can be determined according to specific requirements, which is not made in this application. any restrictions.
  • the first ratio when the first ratio is less than 1, it indicates that the probability of the initial scrambling code value is correct is higher than the probability of being wrong, otherwise it indicates that the probability of the initial scrambling code value is wrong is higher than the probability of being correct.
  • the threshold value of the first ratio when the threshold value of the first ratio is set to 1, when a certain bit error rate ⁇ is selected, when the first device detects that the number of first bits after descrambling is N, and the two satisfy The above determination condition, that is, when the first ratio is greater than the threshold 1, is satisfied, the system is triggered to stop receiving, that is, the first device determines to stop receiving the data packet.
  • the threshold of the first ratio may be any positive number, which is not limited in this application.
  • the first device can determine the first threshold through the first parameter, and the first parameter includes: further includes: the variable N of the number of first bits, the bit error rate ⁇ , the first probability and the second probability, wherein the first The first probability represents the error probability of the initial value of the scrambling code, and the second probability represents the correct probability of the initial value of the scrambling code.
  • the specific determination process is as described above, and is not repeated here.
  • the threshold of the first ratio can be directly set to achieve the technical effect of saving system resources and system power.
  • 5 and 6 specifically describe the relationship among the bit error rate, the first ratio, and the number of the first bits in the reserved bits.
  • FIG. 5 shows a plane coordinate diagram of an 11th-order scrambling code pattern.
  • the ordinate represents the logarithmic value of the first ratio, that is, the logarithmic value with the base 10
  • the abscissa represents the number of the first bits of the reserved bits in the service field of the WLAN data packet
  • the threshold value of the first ratio when the threshold value of the first ratio is set to be 1, and when the bit error rate ⁇ 0.02, it can be determined from FIG. 5 that the number of the first bits in the reserved bits is 1, and further, it can be set that The first threshold is 1.
  • the threshold of the first ratio when the threshold of the first ratio is set to be other values, the bit error rate p value and the number of the first bits in the reserved bits can also be determined from FIG. 5 , and further, the first The value of the threshold.
  • Figure 6 shows a plane coordinate diagram of a scrambling code pattern of order 7.
  • the ordinate represents the logarithm value of the first ratio, that is, the logarithm value in base 10
  • the abscissa represents the number of the first bits
  • the different curves in Fig. 6 represent different bit error rates ⁇ value, the relationship between the three.
  • the threshold value of the first ratio when the threshold value of the first ratio is set to be 1, when the bit error rate ⁇ 0.15, it can be determined from FIG. 6 that the number of the first bits in the reserved bits is 1 or 2, and further, it can be set that The value of the first threshold is 1 or 2.
  • the threshold value of the first ratio when the threshold value of the first ratio is set to other values, the bit error rate p value and the number of the first bits in the reserved bits can also be determined from FIG. 6 , and further, the first threshold value can be set. value of .
  • the non-802.11be protocol frame adopts the 7th-order scrambler
  • the 802.11be protocol frame adopts the 11th-order scrambler.
  • the following uses k ⁇ 7,11 ⁇ to represent the scrambler type.
  • the sender has a fixed scrambled service sequence:
  • the Rxservice sequence obtained by the receiver after decoding and before descrambling is the same as the TxService, but considering the bit error, there is a possibility of bit error in each bit, and there are 2 16 arrangements in total way, namely
  • the WLAN protocol stipulates that the initial value of the scrambling code must not be all 0, so one arrangement method needs to be reduced in the above service sequence.
  • TxService i to RxService j as a pair (i, j), and the set of all pairs is S, which contains 2 16 ⁇ (2 k -1) elements.
  • each pairing has the same first k bits, which means that the initial value of the scrambling code is transmitted correctly.
  • the scrambling code is 7th order
  • the first 7 bits of the two elements in the pair (0000001000100110, 0000001011111111) are the same, both are 0000001, and belong to the set C.
  • the threshold of the number of first bits can be specifically set according to actual needs, thereby determining the conditions under which the first device determines to stop receiving WLAN data packets.
  • FIG. 7 shows a schematic block diagram of a first device 700 according to an embodiment of the present application.
  • the specific form of the first device 700 may be a general-purpose computer device or a chip in a general-purpose computer device, which is not limited in this embodiment of the present application.
  • the first device 700 includes a first transceiver unit 710 and a first processing unit 720 .
  • the first device 700 may be any device involved in this application, for example, may be a network device or a terminal device, and may implement functions that can be implemented by the device. It should be understood that the first device 700 may be an entity device, or a component of the entity device (eg, an integrated circuit, a chip, etc.), or a functional module in the entity device.
  • the first device 700 includes: a first transceiving unit 710, configured to receive a service field of a data packet of a wireless local area network WLAN, where the service field includes reserved bits; a first processing unit 720, configured to based on the reserved bits The number of the first bit in the bits determines the termination of receiving the data packet, and the first bit has a first value.
  • the first transceiving unit 710 will also be used to perform all transceiving operations related to the first device in the foregoing method 400, and the first processing unit 720 will also be used to execute the foregoing method 400. All processing operations related to the first device in the above description can achieve beneficial effects corresponding to the method side, and are not repeated here for the sake of brevity.
  • the transmission device 800 includes a processor 810, which is coupled to a memory 820, the memory 820 is used for storing computer programs or instructions or and/or data, and the processor 810 is used for executing the computer programs or instructions and/or data stored in the memory 820. , so that the methods in the above method embodiments are executed.
  • the transmission apparatus 800 includes one or more processors 810 .
  • the transmission apparatus 800 may further include a memory 820 .
  • the transmission device 800 may include one or more memories 820 .
  • the memory 820 may be integrated with the processor 810, or provided separately.
  • the transmission apparatus 800 may further include a transceiver 830, and the transceiver 830 is used for signal reception and/or transmission.
  • the processor 810 is used to control the transceiver 830 to receive and/or transmit signals.
  • the transmission apparatus 800 is configured to implement the operations performed by the terminal device in the above method embodiments.
  • the processor 810 is configured to implement the processing-related operations performed by the terminal device in the above method embodiments
  • the transceiver 830 is configured to implement the transceiving-related operations performed by the terminal device in the above method embodiments.
  • the transmission apparatus 800 is configured to implement the operations performed by the network device in the above method embodiments.
  • the processor 810 is configured to implement the processing-related operations performed by the network device in the above method embodiments
  • the transceiver 830 is configured to implement the above-mentioned method embodiments performed by the network device. Transceive-related operations.
  • Embodiments of the present application further provide a computer-readable storage medium, on which computer instructions for implementing the method executed by the terminal device or the method executed by the network device in the foregoing method embodiments are stored.
  • the computer when the computer program is executed by a computer, the computer can implement the method executed by the terminal device or the method executed by the network device in the above method embodiments.
  • Embodiments of the present application also provide a computer program product containing instructions, which, when executed by a computer, cause the computer to implement the method executed by the terminal device or the method executed by the network device in the above method embodiments.
  • the terminal device or the network device may include a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer.
  • the hardware layer may include hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory (also called main memory).
  • the operating system of the operating system layer may be any one or more computer operating systems that implement business processing through processes, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a Windows operating system.
  • the application layer may include applications such as browsers, address books, word processing software, and instant messaging software.
  • the embodiments of the present application do not specifically limit the specific structure of the execution body of the methods provided by the embodiments of the present application, as long as the program in which the codes of the methods provided by the embodiments of the present application are recorded can be executed to execute the methods according to the embodiments of the present application.
  • the execution body of the method provided by the embodiment of the present application may be a terminal device or a network device, or a functional module in the terminal device or network device that can call a program and execute the program.
  • Computer readable media may include, but are not limited to, magnetic storage devices (eg, hard disks, floppy disks, or magnetic tapes, etc.), optical disks (eg, compact discs (CDs), digital versatile discs (DVDs), etc. ), smart cards and flash memory devices (eg, erasable programmable read-only memory (EPROM), cards, stick or key drives, etc.).
  • magnetic storage devices eg, hard disks, floppy disks, or magnetic tapes, etc.
  • optical disks eg, compact discs (CDs), digital versatile discs (DVDs), etc.
  • smart cards and flash memory devices eg, erasable programmable read-only memory (EPROM), cards, stick or key drives, etc.
  • Various storage media described herein may represent one or more devices and/or other machine-readable media for storing information.
  • the term "machine-readable medium” may include, but is not limited to, wireless channels and various other media capable of storing, containing, and/or carrying instructions and/or data.
  • processors mentioned in the embodiments of the present application may be a CPU, and may also be other general-purpose processors, digital signal processors (digital signal processors, DSPs), application specific integrated circuits (application specific integrated circuits, ASICs), ready-made Field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • DSPs digital signal processors
  • ASICs application specific integrated circuits
  • FPGA Field programmable gate array
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory mentioned in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically programmable Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • Volatile memory may be random access memory (RAM).
  • RAM can be used as an external cache.
  • RAM may include the following forms: static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM) , double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synchlink DRAM, SLDRAM) and Direct memory bus random access memory (direct rambus RAM, DRRAM).
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous dynamic random access memory
  • SDRAM double data rate synchronous dynamic random access memory
  • ESDRAM enhanced synchronous dynamic random access memory
  • SLDRAM synchronous link dynamic random access memory
  • Direct memory bus random access memory direct rambus RAM
  • the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components
  • the memory storage module
  • memory described herein is intended to include, but not be limited to, these and any other suitable types of memory.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, removable hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .

Landscapes

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

Abstract

The present application provides a communication method and apparatus. The method comprises: a first device receives a service field of a data packet of a wireless local area network (WLAN), the service field comprising reservation bits; the first device determines, on the basis of the number of first bits in the reservation bits, to terminate receiving the data packet, the first bit having a first value; and the first device terminates receiving the data packet. By means of the method, the present application can achieve that when the data packet of the WLAN has an error, the first device can terminate, in advance, receiving the data packet, thereby avoiding waste of communication resources and saving system electric quantity.

Description

通信方法及装置Communication method and device 技术领域technical field
本申请涉及通信领域,更具体地涉及一种通信方法及装置。The present application relates to the field of communication, and more particularly to a communication method and device.
背景技术Background technique
电气电子工程师学会(institute of electrical and electronic engineers,IEEE)下属的无线局域网(wireless local area network,WLAN)工作组于1999年开始推出第一代802.11标准协议,至今已推出十余种演进协议。由WIFI联盟对802.11系列标准协议(以下统称WLAN协议)进行商业整合而形成的品牌WIFI,是目前应用最广泛和日常生活办公必备的无线网络产品。The wireless local area network (WLAN) working group under the Institute of Electrical and Electronic Engineers (IEEE) began to launch the first-generation 802.11 standard protocol in 1999, and more than ten evolution protocols have been launched so far. The brand WIFI formed by the commercial integration of the 802.11 series of standard protocols (hereinafter collectively referred to as WLAN protocols) by the WIFI Alliance is currently the most widely used and necessary wireless network product in daily life.
在无线空口传输技术中,对待传输的数据进行扰码操作已成为一种广泛应用的技术手段,该技术手段能够增强数据传输的随机性,减少数据中大量连续“0”或“1”的长度,从而降低空口信号峰均比,并有效提升无线传输性能。In the wireless air interface transmission technology, scrambling the data to be transmitted has become a widely used technical means, which can enhance the randomness of data transmission and reduce the length of a large number of continuous "0" or "1" in the data , thereby reducing the peak-to-average ratio of the air interface signal and effectively improving the wireless transmission performance.
虽然WLAN协议引入了扰码技术,但是基于该扰码技术的数据校验过程却是建立在接收完整数据包的基础上而进行的,但是当所接收的完整数据包存在错误时,该校验方式会使得接收方的资源被浪费在无效的数据接收和处理方面。Although the WLAN protocol introduces scrambling technology, the data verification process based on the scrambling technology is based on the received complete data packet, but when there is an error in the received complete data packet, the verification method It will cause the receiver's resources to be wasted in invalid data reception and processing.
发明内容SUMMARY OF THE INVENTION
本申请提供一种通信方法及装置,能够实现在数据接收的初始阶段就能够校验出数据包是否错误,从而避免接收端在接收完整数据包后再进行校验时,可能会因所接收的数据包有误,而导致接收方的资源和电量的浪费等问题。The present application provides a communication method and device, which can verify whether a data packet is in error at the initial stage of data reception, so as to avoid the possibility that when the receiving end performs verification after receiving a complete data packet, the received The data packet is wrong, which leads to the waste of resources and power of the receiver.
第一方面,提供了一种通信方法,包括:第一设备接收无线局域网WLAN的数据包的服务service字段,所述service字段包括保留比特;所述第一设备基于所述保留比特中第一比特的数量确定终止接收所述数据包,所述第一比特具有第一取值;所述第一设备终止接收所述数据包。In a first aspect, a communication method is provided, including: a first device receives a service field of a data packet of a wireless local area network (WLAN), the service field includes reserved bits; the first device is based on the first bit in the reserved bits The number of determines to terminate the reception of the data packet, the first bit has a first value; the first device terminates the reception of the data packet.
在上述技术方案中,第一设备通过接收WLAN的数据包的service字段,并基于service字段的保留比特中具有第一取值的第一比特的数量确定终止接收该数据包,从而可以实现提前终止接收该数据包,以此节约通信资源和***电量。In the above technical solution, the first device receives the service field of the data packet of the WLAN, and determines to terminate the reception of the data packet based on the number of the first bits with the first value in the reserved bits of the service field, thereby realizing early termination. Receive the data packet to save communication resources and system power.
结合第一方面,在第一方面的某些实现方式中,所述service字段还包括扰码初值,所述扰码初值是所述数据包使用的扰码序列的前7位比特或者前11位比特;所述第一比特是所述第一设备基于所述扰码初值对所述保留比特进行解扰码后具有所述第一取值的比特。With reference to the first aspect, in some implementations of the first aspect, the service field further includes an initial scrambling code value, and the initial scrambling code value is the first 7 bits or the first 7 bits of the scrambling code sequence used by the data packet. 11 bits; the first bit is a bit with the first value after the first device descrambles the reserved bits based on the initial value of the scrambling code.
结合第一方面,在第一方面的某些实现方式中,所述第一设备基于所述保留比特中第一比特的数量确定终止接收所述数据包,包括:当所述第一取值为1,所述第一比特的数量大于第一阈值时,所述第一设备确定终止接收所述数据包。With reference to the first aspect, in some implementations of the first aspect, determining, by the first device, based on the number of first bits in the reserved bits, to terminate receiving the data packet, including: when the first value is 1. When the number of the first bits is greater than the first threshold, the first device determines to stop receiving the data packet.
在上述技术方案中,当第一取值为1,第一设备可以通过比较第一比特的数量与第一阈值的大小关系,来验证所述扰码初值的正确性,从而可以基于该比较关系,确定终止接收该数据包,从而实现提前终止接收数据包,以此节约通信资源和***电量。In the above technical solution, when the first value is 1, the first device can verify the correctness of the initial value of the scrambling code by comparing the magnitude of the relationship between the number of first bits and the first threshold, so that based on the comparison It is determined to terminate the reception of the data packet, so as to terminate the reception of the data packet in advance, thereby saving communication resources and system power.
结合第一方面,在第一方面的某些实现方式中,第一阈值为0或者1。With reference to the first aspect, in some implementations of the first aspect, the first threshold is 0 or 1.
通过设定更为严苛的第一阈值,如第一阈值为0或者1,本申请能够实现更为准确的数据传输,继而保证通信资源的合理利用。By setting a more stringent first threshold, for example, the first threshold is 0 or 1, the present application can achieve more accurate data transmission, thereby ensuring rational utilization of communication resources.
结合第一方面,在第一方面的某些实现方式中,所述数据包的误码率小于第三阈值时,所述第一阈值为1;或者,所述数据包的误码率大于或等于第三阈值时,所述第一阈值为0,所述第三阈值为任意正数。With reference to the first aspect, in some implementations of the first aspect, when the bit error rate of the data packet is less than a third threshold, the first threshold is 1; or, the bit error rate of the data packet is greater than or When equal to the third threshold, the first threshold is 0, and the third threshold is any positive number.
在上述技术方案中,第一设备通过将数据包的误码率与第三阈值进行比较,从而确定合适的第一阈值,其中,第三阈值为任意正数,通过该方案,本申请能够满足不同的对误码率的设定需求。In the above technical solution, the first device determines an appropriate first threshold by comparing the bit error rate of the data packet with a third threshold, where the third threshold is any positive number. Through this solution, the present application can satisfy Different requirements for setting the bit error rate.
结合第一方面,在第一方面的某些实现方式中,所述第一阈值是所述第一设备基于第一参数确定的,所述第一参数包括:所述第一比特的数量的变量N、误码率ρ、第一概率和第二概率,其中,所述第一概率表示所述扰码初值的错误概率,所述第二概率表示所述扰码初值的正确概率。With reference to the first aspect, in some implementations of the first aspect, the first threshold is determined by the first device based on a first parameter, and the first parameter includes: a variable of the number of the first bits N, a bit error rate ρ, a first probability, and a second probability, wherein the first probability represents an error probability of the initial value of the scrambling code, and the second probability represents a correct probability of the initial value of the scrambling code.
在该技术方案中,第一设备可以通过设定不同的第一比特的数量,并结合误码率,使第一概率与第二概率之间的比值满足一定的要求,可选地,当第一概率与第二概率之间的比值小于1时,则可以确定合适的误码率与第一比特的数量,从而满足不同的需求。In this technical solution, the first device can set a different number of first bits and combine the bit error rate to make the ratio between the first probability and the second probability meet certain requirements. When the ratio between the first probability and the second probability is less than 1, an appropriate bit error rate and the number of first bits can be determined to meet different requirements.
结合第一方面,在第一方面的某些实现方式中,所述第一设备根据所述第一比特的数量确定终止接收所述数据包,包括:当所述第一取值为0,所述第一比特的数量小于所述第二阈值时,所述第一设备确定终止接收所述数据包。With reference to the first aspect, in some implementations of the first aspect, determining, by the first device to terminate receiving the data packet according to the number of the first bits, includes: when the first value is 0, the When the number of the first bits is less than the second threshold, the first device determines to stop receiving the data packet.
在上述技术方案中,当第一取值为0时,第一设备可以通过比较第一比特的数量与第二阈值的大小关系,来验证所述扰码初值的正确性,从而可以基于该比较关系,确定终止接收该数据包,从而实现提前终止接收数据包,以此节约通信资源和***电量。In the above technical solution, when the first value is 0, the first device can verify the correctness of the initial value of the scrambling code by comparing the relationship between the number of first bits and the second threshold, so that the first device can verify the correctness of the initial value of the scrambling code based on the The relationship is compared, and it is determined to terminate the reception of the data packet, so as to terminate the reception of the data packet in advance, thereby saving communication resources and system power.
结合第一方面,在第一方面的某些实现方式中,当所述保留比特的位数为9位时,所述第二阈值为9或8;或者,当所述保留比特的位数为5位时,所述第二阈值为5或4。With reference to the first aspect, in some implementations of the first aspect, when the number of bits of the reserved bits is 9, the second threshold is 9 or 8; or, when the number of bits of the reserved bits is At 5 bits, the second threshold is 5 or 4.
当保留比特的位数为9位时,通过设定更为严苛的第二阈值,如第二阈值为9或者8,又或者,当保留比特的位数为5位时,通过设定更为严苛的第二阈值,如第二阈值为5或者4,从而实现更为准确的数据传输,保证通信资源的合理利用。When the number of reserved bits is 9, by setting a more stringent second threshold, for example, the second threshold is 9 or 8, or, when the number of reserved bits is 5, by setting a more stringent second threshold is a strict second threshold, for example, the second threshold is 5 or 4, so as to achieve more accurate data transmission and ensure rational utilization of communication resources.
结合第一方面,在第一方面的某些实现方式中,所述数据包的误码率小于第四阈值,当所述保留比特的位数为9位时,所述第二阈值为8;或者,当所述保留比特的位数为5位时,所述第二阈值为4;或者,所述数据包的误码率大于或等于第四阈值时,当所述保留比特的位数为9位时,所述第二阈值为9;或者,当所述保留比特的位数为5位时,所述第二阈值为5,所述第四阈值为任意正数。With reference to the first aspect, in some implementations of the first aspect, the bit error rate of the data packet is less than a fourth threshold, and when the number of reserved bits is 9, the second threshold is 8; Or, when the number of bits of the reserved bits is 5, the second threshold is 4; or, when the bit error rate of the data packet is greater than or equal to the fourth threshold, when the number of bits of the reserved bits is When the number of bits is 9, the second threshold is 9; or, when the number of reserved bits is 5, the second threshold is 5, and the fourth threshold is any positive number.
在上述技术方案中,第一设备通过将数据包的误码率与第四阈值进行比较,从而确定合适的第二阈值,其中,第四阈值为任意正数,通过该方案,本申请能够满足不同的对误码率的设定需求。In the above technical solution, the first device determines an appropriate second threshold by comparing the bit error rate of the data packet with the fourth threshold, where the fourth threshold is any positive number. Through this solution, the present application can satisfy Different requirements for setting the bit error rate.
结合第一方面,在第一方面的某些实现方式中,所述第二阈值是所述第一设备基于第 一参数确定的,所述第一参数包括:所述第一比特的数量的变量N、误码率ρ、第一概率和第二概率,其中,所述第一概率表示所述扰码初值的错误概率,所述第二概率表示所述扰码初值的正确概率。With reference to the first aspect, in some implementations of the first aspect, the second threshold is determined by the first device based on a first parameter, and the first parameter includes: a variable of the number of the first bits N, a bit error rate ρ, a first probability, and a second probability, wherein the first probability represents an error probability of the initial value of the scrambling code, and the second probability represents a correct probability of the initial value of the scrambling code.
在该技术方案中,第一设备通过设定不同的第一比特数量,并结合误码率信息,使第一概率与第二概率之间的比值满足一定的要求,可选地,当第一概率与第二概率之间的比值小于1时,则可以确定合适的误码率值与第一比特的数量,满足不同的需求。In this technical solution, the first device sets a different number of first bits and combines the bit error rate information to make the ratio between the first probability and the second probability meet certain requirements. When the ratio between the probability and the second probability is less than 1, an appropriate bit error rate value and the number of first bits can be determined to meet different requirements.
第二方面,提供了一种通信装置,包括:第一收发单元,用于接收无线局域网WLAN的数据包的服务service字段,所述service字段包括保留比特;第一处理单元,用于基于所述保留比特中第一比特的数量确定终止接收所述数据包,所述第一比特具有第一取值。In a second aspect, a communication device is provided, including: a first transceiver unit configured to receive a service field of a data packet of a wireless local area network (WLAN), the service field including reserved bits; The number of the first bit in the reserved bits determines the termination of receiving the data packet, and the first bit has a first value.
结合第二方面,在第二方面的某些实现方式中,所述service字段还包括扰码初值,所述扰码初值是所述数据包使用的扰码序列的前7位比特或者前11位比特;所述第一比特是所述第一设备基于所述扰码初值对所述保留比特进行解扰码后具有所述第一取值的比特。With reference to the second aspect, in some implementations of the second aspect, the service field further includes an initial scrambling code value, and the initial scrambling code value is the first 7 bits or the first 7 bits of the scrambling code sequence used by the data packet. 11 bits; the first bit is a bit with the first value after the first device descrambles the reserved bits based on the initial value of the scrambling code.
结合第二方面,在第二方面的某些实现方式中,所述第一处理单元用于基于所述保留比特中第一比特的数量确定终止接收所述数据包,包括:当所述第一取值为1,所述第一比特的数量大于第一阈值时,所述第一处理单元用于确定终止接收所述数据包。With reference to the second aspect, in some implementations of the second aspect, the first processing unit is configured to determine, based on the number of first bits in the reserved bits, to terminate receiving the data packet, including: when the first The value is 1, and when the number of the first bits is greater than the first threshold, the first processing unit is configured to determine to stop receiving the data packet.
结合第二方面,在第二方面的某些实现方式中,所述第一阈值为0或1。In conjunction with the second aspect, in some implementations of the second aspect, the first threshold is 0 or 1.
结合第二方面,在第二方面的某些实现方式中,所述数据包的误码率小于第三阈值时,所述第一阈值为1;或者,所述数据包的误码率大于或等于第三阈值时,所述第一阈值为0,所述第三阈值为任意正数。With reference to the second aspect, in some implementations of the second aspect, when the bit error rate of the data packet is less than a third threshold, the first threshold is 1; or, the bit error rate of the data packet is greater than or When equal to the third threshold, the first threshold is 0, and the third threshold is any positive number.
结合第二方面,在第二方面的某些实现方式中,所述第一阈值是所述第一设备基于第一参数确定的,所述第一参数包括:所述第一比特的数量的变量N、误码率ρ、第一概率和第二概率,其中,所述第一概率表示所述扰码初值的错误概率,所述第二概率表示所述扰码初值的正确概率。With reference to the second aspect, in some implementations of the second aspect, the first threshold is determined by the first device based on a first parameter, and the first parameter includes: a variable of the number of the first bits N, a bit error rate ρ, a first probability, and a second probability, wherein the first probability represents an error probability of the initial value of the scrambling code, and the second probability represents a correct probability of the initial value of the scrambling code.
结合第二方面,在第二方面的某些实现方式中,所述第一处理单元用于基于所述保留比特中第一比特的数量确定终止接收所述数据包,包括:当所述第一取值为0,所述第一比特的数量小于所述第二阈值时,所述第一处理单元用于确定终止接收所述数据包。With reference to the second aspect, in some implementations of the second aspect, the first processing unit is configured to determine, based on the number of first bits in the reserved bits, to terminate receiving the data packet, including: when the first The value is 0, and when the number of the first bits is less than the second threshold, the first processing unit is configured to determine to stop receiving the data packet.
结合第二方面,在第二方面的某些实现方式中,当所述保留比特的位数为9位时,所述第二阈值为9或8;或者,当所述保留比特的位数为5位时,所述第二阈值为5或4。With reference to the second aspect, in some implementations of the second aspect, when the number of bits of the reserved bits is 9, the second threshold is 9 or 8; or, when the number of bits of the reserved bits is At 5 bits, the second threshold is 5 or 4.
结合第二方面,在第二方面的某些实现方式中,所述数据包的误码率小于第四阈值,当所述保留比特的位数为9位时,所述第二阈值为8;或者,当所述保留比特的位数为5位时,所述第二阈值为4;或者,所述数据包的误码率大于或等于第四阈值时,当所述保留比特的位数为9位时,所述第二阈值为9;或者,当所述保留比特的位数为5位时,所述第二阈值为5,所述第四阈值为任意正数。With reference to the second aspect, in some implementations of the second aspect, the bit error rate of the data packet is less than a fourth threshold, and when the number of bits of the reserved bits is 9, the second threshold is 8; Or, when the number of bits of the reserved bits is 5, the second threshold is 4; or, when the bit error rate of the data packet is greater than or equal to the fourth threshold, when the number of bits of the reserved bits is When the number of bits is 9, the second threshold is 9; or, when the number of reserved bits is 5, the second threshold is 5, and the fourth threshold is any positive number.
结合第二方面,在第二方面的某些实现方式中,所述第二阈值是所述第一设备基于第一参数确定的,所述第一参数包括:所述第一比特的数量的变量N、误码率ρ、第一概率和第二概率,其中,所述第一概率表示所述扰码初值的错误概率,所述第二概率表示所述扰码初值的正确概率。With reference to the second aspect, in some implementations of the second aspect, the second threshold is determined by the first device based on a first parameter, and the first parameter includes: a variable of the number of the first bits N, a bit error rate ρ, a first probability, and a second probability, wherein the first probability represents an error probability of the initial value of the scrambling code, and the second probability represents a correct probability of the initial value of the scrambling code.
第三方面,提供了一种通信装置,包括处理器,所述处理器与存储器耦合,所述存储 器用于存储计算机程序或指令,所述处理器用于执行存储器中的所述计算机程序或指令,使得第一方面以及第一方面的任一种可能的实现方式中的方法被执行。In a third aspect, a communication device is provided, comprising a processor coupled to a memory for storing a computer program or instruction, the processor for executing the computer program or instruction in the memory, The method in the first aspect and any possible implementation manner of the first aspect is caused to be performed.
第四方面,提供了一种计算机可读存储介质,存储有计算机程序或指令,所述计算机程序或指令用于实现第一方面以及第一方面的任一种可能的实现方式中的方法。In a fourth aspect, a computer-readable storage medium is provided, which stores computer programs or instructions, and the computer programs or instructions are used to implement the first aspect and the method in any possible implementation manner of the first aspect.
附图说明Description of drawings
图1是适用于本申请实施例的一种通信***的示意图。FIG. 1 is a schematic diagram of a communication system applicable to an embodiment of the present application.
图2是不同数据帧格式的服务service字段的填充方式的示意图。FIG. 2 is a schematic diagram of filling manners of service fields of different data frame formats.
图3是无线局域网WLAN主要的发射和接收流程示意图。FIG. 3 is a schematic diagram of the main transmission and reception flow of the wireless local area network WLAN.
图4是本申请实施例的一种通信方法的示意性框图。FIG. 4 is a schematic block diagram of a communication method according to an embodiment of the present application.
图5是本申请实施例的11阶扰码图样的平面坐标图。FIG. 5 is a plane coordinate diagram of an 11th-order scrambling code pattern according to an embodiment of the present application.
图6是本申请实施例的7阶扰码图样的平面坐标图。FIG. 6 is a plane coordinate diagram of a seventh-order scrambling code pattern according to an embodiment of the present application.
图7是本申请实施例的一种通信装置的示意性框图。FIG. 7 is a schematic block diagram of a communication apparatus according to an embodiment of the present application.
图8是本申请实施例的另一种通信装置的示意性框图。FIG. 8 is a schematic block diagram of another communication apparatus according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in the present application will be described below with reference to the accompanying drawings.
本申请实施例的技术方案可以应用于各种通信***,例如:全球移动通讯(global system for mobile communications,GSM)***、码分多址(code division multiple access,CDMA)***、宽带码分多址(wideband code division multiple access,WCDMA)***、通用分组无线业务(general packet radio service,GPRS)、长期演进(long term evolution,LTE)***、LTE频分双工(frequency division duplex,FDD)***、LTE时分双工(time division duplex,TDD)、通用移动通信***(universal mobile telecommunications system,UMTS)、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信***、未来的第五代(5th generation,5G)***或新一代无线接入技术(new radio access technology,NR)等。The technical solutions of the embodiments of the present application can be applied to various communication systems, for example: global system for mobile communications (GSM) system, code division multiple access (CDMA) system, wideband code division multiple access (wideband code division multiple access, WCDMA) system, general packet radio service (general packet radio service, GPRS), long term evolution (long term evolution, LTE) system, LTE frequency division duplex (frequency division duplex, FDD) system, LTE Time division duplex (TDD), universal mobile telecommunications system (UMTS), worldwide interoperability for microwave access (WiMAX) communication system, the future fifth generation (5th generation, 5G) system or a new generation of wireless access technology (new radio access technology, NR).
为便于理解本申请实施例,首先结合图1详细说明一种适用于本申请实施例的通信***100。如图1所示,该通信***100可以包括网络设备102和终端设备104-114。To facilitate understanding of the embodiments of the present application, a communication system 100 suitable for the embodiments of the present application is first described in detail with reference to FIG. 1 . As shown in FIG. 1, the communication system 100 may include a network device 102 and terminal devices 104-114.
应理解,该网络设备102可以是任意一种具有无线收发功能的设备或可设置于该设备中的芯片,该设备包括但不限于:基站(例如,基站NodeB、演进型基站eNodeB、第五代(5G)通信***中的网络设备(如传输点(transmission point,TP)、发送接收点(transmission reception point,TRP)、基站、小基站设备等)、未来通信***中的网络设备、无线保真(wireless-fidelity,WiFi)***中的接入节点、无线中继节点、无线回传节点等。It should be understood that the network device 102 can be any device with a wireless transceiver function or a chip that can be provided in the device, and the device includes but is not limited to: a base station (for example, a base station NodeB, an evolved base station eNodeB, a fifth-generation base station) (5G) network equipment in communication systems (such as transmission point (TP), transmission reception point (TRP), base station, small base station equipment, etc.), network equipment in future communication systems, wireless fidelity Access nodes, wireless relay nodes, wireless backhaul nodes, etc. in a (wireless-fidelity, WiFi) system.
网络设备102可以与多个终端设备(例如图中所示的终端设备104-114)通信。The network device 102 may communicate with a plurality of end devices, such as the end devices 104-114 shown in the figures.
应理解,该终端设备可以是任意一种具有无线收发功能的设备,也可以称为用户设备(user equipment,UE)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。本申请实施例中的终端设备可以是手机(mobile phone)、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、 工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等等。It should be understood that the terminal device may be any device with a wireless transceiver function, and may also be referred to as user equipment (user equipment, UE), access terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, Remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user equipment. The terminal device in this embodiment of the present application may be a mobile phone (mobile phone), a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (VR) terminal device, and an augmented reality (AR) terminal device , wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical, wireless terminals in smart grid, transportation security Wireless terminals in safety), wireless terminals in smart cities, wireless terminals in smart homes, and so on.
图1所示的通信***中的网络设备和终端设备均具备无线收发功能。从数据传输的角度而言,网络设备与终端设备都需要通过信道侦听和信道竞争抢占的方式进行空口信号的发送和接收,因此,本申请的应用场景囊括了上行传输场景和下行传输场景,且在上述两个场景中,网络设备和终端设备都需要将信令与数据组合成完整且独立的数据包进行发送和接收。因此从数据传输这一角度而言,在物理层进行的数据传输过程中,网络设备与终端设备的无线收发模块是对称可交换的,这表示网络设备和终端设备均能作为该通信***中的收发两端使用,且更进一步地,在该通信***中,网络设备既能是发送端,也能是接收端,相应地,终端设备既能是接收端,也能是发射端。Both the network device and the terminal device in the communication system shown in FIG. 1 have wireless transceiver functions. From the perspective of data transmission, both network equipment and terminal equipment need to transmit and receive air interface signals by means of channel listening and channel competition preemption. Therefore, the application scenarios of this application include uplink transmission scenarios and downlink transmission scenarios. In the above two scenarios, both the network device and the terminal device need to combine signaling and data into complete and independent data packets for sending and receiving. Therefore, from the perspective of data transmission, in the process of data transmission at the physical layer, the wireless transceiver modules of the network device and the terminal device are symmetrical and exchangeable, which means that both the network device and the terminal device can be used as the communication system in the communication system. The transceiver ends are used, and further, in the communication system, the network device can be both the sender and the receiver, and correspondingly, the terminal device can be both the receiver and the transmitter.
因此,本申请实施例的一种通信方法的执行主体是第一设备,该第一设备可以是网络设备,也可以是终端设备,本申请对此不做任何的限定。Therefore, the execution subject of a communication method in the embodiment of the present application is the first device, and the first device may be a network device or a terminal device, which is not limited in this application.
为了便于理解本申请实施例,下面将结合图2简单介绍本申请实施例涉及到的一些相关概念。本申请实施例以WLAN协议为例详细介绍一些相关概念。To facilitate understanding of the embodiments of the present application, some related concepts involved in the embodiments of the present application will be briefly introduced below with reference to FIG. 2 . This embodiment of the present application uses a WLAN protocol as an example to introduce some related concepts in detail.
在无线空口传输技术中,对待传输数据进行扰码操作已成为一种广泛应用的技术手段。扰码操作的基本原理是:将待传输数据记为D,再生成一段和D长度相等的二进制序列S,并将发送端传出的最终数据记为
Figure PCTCN2021077896-appb-000001
如果接收端能够正确接收到数据T,则只需要使用相同的二进制序列S,并再进行一次异或计算便可得到接收数据
Figure PCTCN2021077896-appb-000002
S=D。
In the wireless air interface transmission technology, scrambling the data to be transmitted has become a widely used technical means. The basic principle of the scrambling operation is: denote the data to be transmitted as D, then generate a binary sequence S with the same length as D, and denote the final data from the sender as
Figure PCTCN2021077896-appb-000001
If the receiving end can correctly receive the data T, it only needs to use the same binary sequence S and perform an XOR calculation to obtain the received data
Figure PCTCN2021077896-appb-000002
S=D.
因此,扰码技术的关键之处在于收发两端需要使用相同的扰码序列,为了使接收端正确获取发送端使用的扰码序列,WLAN协议规定,在待传输数据包的头部引入一段16比特的服务service字段,并将发送端使用的扰码初值填充到service字段中,接收端通过译码就能获取发送端使用的扰码初值。应理解,扰码初值是扰码序列的前7位比特或者是前11位比特,且不同于WLAN协议中最初始的用于生成扰码序列的扰码种子。Therefore, the key point of scrambling technology is that the same scrambling code sequence needs to be used at both ends of the transmission and reception. The service field of the bit, and the initial value of the scrambling code used by the sender is filled into the service field, and the receiver can obtain the initial value of the scrambling code used by the sender through decoding. It should be understood that the initial value of the scrambling code is the first 7 bits or the first 11 bits of the scrambling code sequence, and is different from the initial scrambling code seed used for generating the scrambling code sequence in the WLAN protocol.
图2示出了三种不同WLAN协议版本数据帧中的service字段的填充方式。具体地,第一种填充方式包括7比特的扰码初值和9比特的保留(Reserved)比特,保留比特可以认为是该协议版本中保留未使用的比特。正常情况下,发送端对保留比特填写0值,该填充方式适用于非高吞吐(non-high throughput,Non-HT)帧格式、高吞吐(high throughput,HT)帧格式和高效(high efficient,HE)帧格式;第二种填充方式包括7比特的扰码初值、1比特的保留比特和8比特的循环冗余校验(cyclic redundancy check,CRC)校验码,该填充方式适合于非常高吞吐(very high throughput,VHT)帧格式;第三种填充方式包括11比特的扰码初值和5比特的保留比特,该填充方式适合于超级高吞吐(extreme high throughput,EHT)帧格式。在上述三种填充方式中,在进行加扰之前,保留比特均为比特0,且会根据扰码序列的信息进行加扰,VHT帧格式中的CRC校验码也会进行相应的加扰操作。本申请实施例并不涉及对VHT帧格式中的CRC校验码的加扰操作,在此不再赘述。FIG. 2 shows the filling manner of the service field in the data frame of three different WLAN protocol versions. Specifically, the first padding method includes a 7-bit scrambling code initial value and a 9-bit reserved (Reserved) bit, and the reserved bit can be regarded as the reserved unused bit in the protocol version. Under normal circumstances, the sender fills the reserved bits with a value of 0. This filling method is suitable for non-high throughput (Non-HT) frame formats, high throughput (high throughput, HT) frame formats and high efficiency (high efficient, HE) frame format; the second filling method includes a 7-bit scrambling code initial value, a 1-bit reserved bit and an 8-bit cyclic redundancy check (CRC) check code, which is suitable for very High throughput (very high throughput, VHT) frame format; the third padding method includes 11-bit scrambling initial value and 5-bit reserved bits, which is suitable for super high throughput (extreme high throughput, EHT) frame format. In the above three padding methods, before scrambling, the reserved bits are all bits 0, and scrambling will be performed according to the information of the scrambling code sequence, and the CRC check code in the VHT frame format will also be scrambled accordingly. . This embodiment of the present application does not involve a scrambling operation on the CRC check code in the VHT frame format, and details are not described herein again.
应理解,上述的扰码序列S是通过7比特或者11比特的扰码种子生成的伪随机序列 循环得到的。It should be understood that the above-mentioned scrambling code sequence S is obtained by cyclically obtaining a pseudo-random sequence generated by a 7-bit or 11-bit scrambling code seed.
应理解,本申请实施例的技术方案优选地适用于第一种填充方式和第三种填充方式,较次地适用于第二种填充方式。It should be understood that the technical solutions of the embodiments of the present application are preferably applicable to the first filling method and the third filling method, and are less applicable to the second filling method.
虽然WLAN协议引入了扰码技术,然而,基于扰码技术的数据校验过程却是建立在接收完整数据包的基础上而进行的,但是当所接收的完整数据包存在错误时,因接收方缺乏提前终止接收的能力,这会使得整个接收方的资源被浪费在无效的数据接收和处理方面。Although the WLAN protocol introduces the scrambling technology, the data verification process based on the scrambling technology is based on the received complete data packet. The ability to terminate reception early, which can cause the entire receiver's resources to be wasted on ineffective data reception and processing.
为解决上述技术问题,本申请实施例提供了一种通信方法,通过本申请实施例提供的方法,能够解决在接收WLAN协议数据单元时因完整数据包发生错误而导致的资源浪费问题,并且也能够解决因需要完整接收错误数据包而导致***电量被浪费的问题。In order to solve the above technical problems, the embodiments of the present application provide a communication method. The method provided by the embodiments of the present application can solve the problem of resource waste caused by errors in complete data packets when receiving WLAN protocol data units, and also It can solve the problem that the system power is wasted due to the need to receive the wrong data packet completely.
图3示出了WLAN协议的完整数据包的主要发射和接收流程示意图。如图3所示,发射端对待传输数据包进行扰码,又经信道编码、调制、逆快速傅里叶变换IFFT等操作步骤后,经发射天线发射出去,然后接收端在接收到发射端发送的数据包后,又经快速傅里叶变换FFT、解调、译码和解扰等操作步骤后,得到发射端发送的原始数据包。FIG. 3 shows a schematic diagram of the main transmission and reception flow of a complete data packet of the WLAN protocol. As shown in Figure 3, the transmitting end scrambles the data packet to be transmitted, and after channel coding, modulation, inverse fast Fourier transform IFFT and other operation steps, it is transmitted through the transmitting antenna. After the data packet is obtained, the original data packet sent by the transmitting end is obtained after the operation steps such as fast Fourier transform FFT, demodulation, decoding and descrambling.
上述的信道编码、调制和IFFT等步骤是在发射端的物理层进行的。相应地,上述的FFT、解调、译码和解扰等步骤也是在接收端的物理层进行的。The above steps such as channel coding, modulation and IFFT are performed at the physical layer of the transmitter. Correspondingly, the above steps of FFT, demodulation, decoding and descrambling are also performed at the physical layer of the receiving end.
图4示出了本申请实施例的一种通信方法的示意图框图。FIG. 4 shows a schematic block diagram of a communication method according to an embodiment of the present application.
S410,第一设备接收无线局域网WLAN的数据包的服务service字段,所述service字段包括保留比特;S410, the first device receives a service field of a data packet of the wireless local area network WLAN, where the service field includes reserved bits;
S420,所述第一设备基于所述保留比特中第一比特的数量确定终止接收所述数据包,所述第一比特具有第一取值;S420, the first device determines to terminate the reception of the data packet based on the number of first bits in the reserved bits, and the first bits have a first value;
S430,所述第一设备终止接收所述数据包。S430, the first device terminates receiving the data packet.
应理解,在上述技术方案中,所述service字段还包括扰码初值,所述扰码初值是所述数据包使用的扰码序列的前7位比特或者前11位比特。It should be understood that, in the above technical solution, the service field further includes an initial value of scrambling code, and the initial value of scrambling code is the first 7 bits or the first 11 bits of the scrambling code sequence used by the data packet.
在上述技术方案中,第一设备通过接收WLAN的数据包的service字段,并基于service字段的保留比特中具有第一取值的第一比特的数量确定终止接收该数据包,从而可以实现提前终止接收该数据包,以此节约通信资源和***电量。In the above technical solution, the first device receives the service field of the data packet of the WLAN, and determines to terminate the reception of the data packet based on the number of the first bits with the first value in the reserved bits of the service field, thereby realizing early termination. Receive the data packet to save communication resources and system power.
具体地,第一设备通过将第一比特的数量与第一比特的数量阈值进行对比,进而判断第一比特的数量是否超过该阈值,且,第一设备可以在基于第一比特的数量与其阈值的大小关系的基础上,确定service字段中所填充的扰码初值是否正确,并在该确定基础上,第一设备可以确定终止接收该数据包,并最终能够终止接收该数据包。可选地,第一设备也可以确定继续接收该数据包。Specifically, the first device judges whether the number of first bits exceeds the threshold by comparing the number of first bits with the threshold of the number of first bits, and the first device can determine whether the number of first bits and its threshold are based on the number of first bits. On the basis of the size relationship, determine whether the initial value of the scrambling code filled in the service field is correct, and on the basis of the determination, the first device can determine to terminate the reception of the data packet, and finally can terminate the reception of the data packet. Optionally, the first device may also determine to continue to receive the data packet.
应理解,在上述技术方案中,第一设备在接收完WLAN的数据包的service字段后,会对其进行译码、解扰码等操作。因此,第一比特是第一设备基于该扰码初值对该保留比特进行解扰码后具有所述第一取值的比特。It should be understood that, in the above technical solution, after receiving the service field of the WLAN data packet, the first device will perform operations such as decoding, descrambling, and the like. Therefore, the first bit is a bit with the first value after the first device descrambles the reserved bit based on the initial value of the scrambling code.
具体地,当保留比特中取值为1的比特的数量大于阈值时,则表示service字段中的扰码初值的错误的概率较高,因此第一设备可以终止接收该数据包,避免通信资源的浪费和节约***电量。Specifically, when the number of bits with a value of 1 in the reserved bits is greater than the threshold, it indicates that the probability of an error in the initial value of the scrambling code in the service field is high, so the first device can stop receiving the data packet to avoid communication resources. waste and save system power.
根据第一比特的第一取值的不同情形,本申请实施例又可以包括如下技术方案:According to different situations of the first value of the first bit, the embodiments of the present application may include the following technical solutions:
#A:当第一比特的第一取值为1时,第一设备确定解扰后的保留比特中取值为1的第 一比特的数量,并通过比较第一比特的数量与第一阈值的大小,确定终止接收该数据包。#A: When the first value of the first bit is 1, the first device determines the number of the first bits whose value is 1 in the reserved bits after descrambling, and compares the number of the first bits with the first threshold The size to determine the termination of receiving the packet.
可选地,第一阈值为1时,若解扰后的第一比特的数量小于或等于1,则第一设备确定所接收的扰码初值是正确的,因此第一设备可以确定继续接收该数据包;或者,若解扰后的第一比特1的数量大于1时,则第一设备确定所接收的扰码初值是错误的,因此第一设备确定终止接收该数据包。Optionally, when the first threshold is 1, if the number of descrambled first bits is less than or equal to 1, the first device determines that the received initial value of the scrambling code is correct, so the first device can determine to continue receiving. the data packet; or, if the number of the descrambled first bit 1 is greater than 1, the first device determines that the received initial value of the scramble code is wrong, so the first device determines to terminate the reception of the data packet.
可选地,第一阈值为0时,若解扰后的第一比特的数量等于0,则第一设备确定所接收的扰码初值是正确的,因此第一设备可以确定继续接收该数据包;或者,若解扰后的第一比特的数量大于0时,则第一设备确定所接收的扰码初值是错误的,因此第一设备可以确定终止接收该数据包。Optionally, when the first threshold is 0, if the number of descrambled first bits is equal to 0, the first device determines that the received initial value of the scrambling code is correct, so the first device can determine to continue to receive the data. or, if the number of the descrambled first bits is greater than 0, the first device determines that the received initial value of the scrambling code is wrong, so the first device can determine to stop receiving the data packet.
本申请实施例中第一阈值的取值可以是0,也可以是1,也可以是2~9之间的任意一个数值,本申请对此不做任何的限定,但第一阈值的最优选取值为0或者1两种。In this embodiment of the present application, the value of the first threshold may be 0, or 1, or any value between 2 and 9, which is not limited in this application, but the most preferred value of the first threshold is The value can be either 0 or 1.
在上述技术方案中,当第一比特的第一取值为1时,第一设备可以通过比较第一比特的数量与第一阈值的大小关系,来验证所述扰码初值的正确性,从而可以基于该大小关系,确定是否终止接收该数据包,从而实现提前终止接收数据包,以此节约通信资源和***电量。In the above technical solution, when the first value of the first bit is 1, the first device can verify the correctness of the initial value of the scrambling code by comparing the relationship between the number of the first bit and the first threshold, Therefore, based on the size relationship, it can be determined whether to terminate the reception of the data packet, so as to terminate the reception of the data packet in advance, thereby saving communication resources and system power.
通过上述技术方案,本申请可以实现在数据接收的初始阶段就能够校验出数据包是否错误,从而避免接收端在接收完整数据包后再进行校验时,可能会因所接收的数据包有误,而导致***资源和***电量的浪费等问题。Through the above technical solutions, the present application can check whether the data packet is wrong at the initial stage of data reception, so as to avoid the possibility that when the receiving end performs the check after receiving the complete data packet, the received data packet may have errors. error, which leads to the waste of system resources and system power.
应理解,上述的第一阈值的取值仅针对第一比特的第一取值为1时的情形。在上述情形#A中,当第一比特的第一取值为1时,第一阈值的取值为0或者1是优选的两个取值。It should be understood that the above-mentioned value of the first threshold is only for the case when the first value of the first bit is 1. In the above case #A, when the first value of the first bit is 1, the value of the first threshold is 0 or 1, which are two preferred values.
#B:当第一比特的第一取值为0时,第一设备确定解扰后的第一比特的数量,并通过比较第一比特的数量与第二阈值的大小,确定是否终止接收该数据包。#B: When the first value of the first bit is 0, the first device determines the number of the descrambled first bits, and determines whether to terminate the reception of the first bit by comparing the number of the first bits with the size of the second threshold. data pack.
当保留比特的位数为9位时,可选地,第二阈值为8时,若解扰后的第一比特的数量大于或等于8时,第一设备确定所接收的扰码初值是正确的,因此第一设备确定可以继续接收该数据包;或者,若解扰后的第一比特的数量小于8时,第一设备确定所接收的扰码初值是错误的,因此第一设备可以确定终止接收该数据包。When the number of reserved bits is 9, optionally, when the second threshold is 8, if the number of the first bits after descrambling is greater than or equal to 8, the first device determines that the initial value of the received scrambling code is is correct, so the first device determines that it can continue to receive the data packet; or, if the number of descrambled first bits is less than 8, the first device determines that the received initial value of the scrambling code is wrong, so the first device It can be determined to terminate the reception of the data packet.
可选地,第二阈值为9时,若解扰后的第一比特的数量等于9时,第一设备确定所接收的扰码初值是正确的,因此第一设备确定可以继续接收该数据包;或者,若解扰后的第一比特的数量小于9时,则第一设备确定所接收的扰码初值是错误的,因此第一设备确定终止接收该数据包。Optionally, when the second threshold is 9, if the number of first bits after descrambling is equal to 9, the first device determines that the received initial value of the scrambling code is correct, so the first device determines that it can continue to receive the data. or, if the number of the descrambled first bits is less than 9, the first device determines that the received initial value of the scrambling code is wrong, so the first device determines to stop receiving the data packet.
当保留比特的位数为5位时,可选地,第二阈值为4时,若解扰后的第一比特的数量大于或等于4时,第一设备确定所接收的扰码初值是正确的,因此第一设备确定可以继续接收该数据包;或者,若解扰后的第一比特的数量小于4时,第一设备确定所接收的扰码初值是错误的,因此第一设备可以确定终止接收该数据包。When the number of reserved bits is 5 bits, optionally, when the second threshold is 4, if the number of the first bits after descrambling is greater than or equal to 4, the first device determines that the initial value of the received scrambling code is is correct, so the first device determines that it can continue to receive the data packet; or, if the number of descrambled first bits is less than 4, the first device determines that the received initial value of the scrambling code is wrong, so the first device It can be determined to terminate the reception of the data packet.
可选地,第二阈值为5时,若解扰后的第一比特的数量等于5时,第一设备确定所接收的扰码初值是正确的,因此第一设备确定可以继续接收该数据包;或者,若解扰后的第一比特的数量小于5时,则第一设备确定所接收的扰码初值是错误的,因此第一设备确定终止接收该数据包。Optionally, when the second threshold is 5, if the number of first bits after descrambling is equal to 5, the first device determines that the received initial value of the scrambling code is correct, so the first device determines that it can continue to receive the data. or, if the number of the descrambled first bits is less than 5, the first device determines that the received initial value of the scrambling code is wrong, so the first device determines to stop receiving the data packet.
本申请实施例中第二阈值的取值可以是0,也可以是1,也可以是2~9之间的任意一 个数值,本申请对此不做任何的限定。In this embodiment of the present application, the value of the second threshold may be 0, may be 1, or may be any value between 2 and 9, which is not limited in this application.
在上述技术方案中,当第一比特的第一取值为0时,第一设备可以通过比较第一比特的数量与第二阈值的大小关系,来验证所述扰码初值的正确性,从而可以基于该比较关系,确定是否终止接收该数据包,从而实现提前终止接收数据包,以此节约通信资源和***电量。In the above technical solution, when the first value of the first bit is 0, the first device can verify the correctness of the initial value of the scrambling code by comparing the relationship between the number of the first bit and the second threshold, Therefore, based on the comparison relationship, it can be determined whether to terminate the reception of the data packet, so as to terminate the reception of the data packet in advance, thereby saving communication resources and system power.
应理解,上述第二阈值的取值仅针对第一比特为比特0时的情形。在上述情形#B中,当第一比特的第一取值为0时,当保留比特的位数为9位时,第二阈值的取值为8或者9是优选的两个取值;或者,当保留比特的位数为5位时,第二阈值的取值为4或者5是优选的两个取值。It should be understood that the value of the above-mentioned second threshold is only for the case when the first bit is bit 0. In case #B above, when the first value of the first bit is 0, and when the number of reserved bits is 9, the value of the second threshold is 8 or 9, which are the two preferred values; or , when the number of reserved bits is 5, the value of the second threshold is 4 or 5, which are two preferred values.
通过上述技术方案,本申请可以实现在数据接收的初始阶段就能够校验出数据包是否错误,从而避免接收端在接收完整数据包后再进行校验时,可能会因所接收的数据包有误,而导致***资源和***电量的浪费等问题。Through the above technical solutions, the present application can check whether the data packet is wrong at the initial stage of data reception, so as to avoid the possibility that when the receiving end performs the check after receiving the complete data packet, the received data packet may have errors. error, which leads to the waste of system resources and system power.
本申请实施例通过检测WLAN的数据包的service字段中的保留比特中具有第一取值的第一比特的数量,来判断译码初值是否有效,进而通过设置阈值,确定是否继续接收该数据包,实现节约***资源和***电量。This embodiment of the present application determines whether the initial decoding value is valid by detecting the number of the first bits with the first value in the reserved bits in the service field of the WLAN data packet, and then determines whether to continue to receive the data by setting a threshold. package to save system resources and system power.
在上述技术方案中,第一设备需要基于该第一比特的数量与阈值的大小关系来确定第一设备是否继续接收该数据包。In the above technical solution, the first device needs to determine whether the first device continues to receive the data packet based on the relationship between the number of the first bits and the threshold.
一方面,关于阈值的设定可以是采取预配置的方式,即设定阈值为固定值,具体地,阈值的取值可以是0,也可以是1,也可以是2~9之间的任意一个数值,依据不同的情形,可设置对应的阈值取值,本申请对此不作任何的限定。On the one hand, the setting of the threshold may be pre-configured, that is, the threshold is set as a fixed value. Specifically, the threshold may be 0, 1, or any value between 2 and 9. For a numerical value, a corresponding threshold value can be set according to different situations, which is not limited in this application.
另一方面,关于阈值的设定也可以采取动态灵活的方式,即需要根据当前数据包之前所接收的数据包的误码率ρ来确定合适的阈值。例如,当扰码初值为7比特时,即WLAN的数据包的service字段采用7阶扰码帧格式时,且误码率ρ小于0.15时,或者,当扰码初值为11比特时,即WLAN的数据包的service字段采用11阶扰码帧格式时,且误码率ρ小于0.02,则可以规定第一阈值为1;或者,当扰码初值为7比特时,即WLAN的数据包的service字段采用7阶扰码帧格式时,且误码率ρ大于或等于0.15时,或者当扰码初值为11比特时,即WLAN的数据包的service字段采用11阶扰码帧格式时,且误码率ρ大于或等于0.02时,则可以规定第一阈值为0。On the other hand, the setting of the threshold can also be done in a dynamic and flexible manner, that is, the appropriate threshold needs to be determined according to the bit error rate ρ of the data packets received before the current data packet. For example, when the initial value of the scrambling code is 7 bits, that is, when the service field of the WLAN data packet adopts the 7th-order scrambling code frame format, and the bit error rate ρ is less than 0.15, or, when the initial value of the scrambling code is 11 bits, That is, when the service field of the WLAN data packet adopts the 11th-order scrambling code frame format, and the bit error rate ρ is less than 0.02, the first threshold can be specified as 1; or, when the initial value of the scrambling code is 7 bits, that is, the WLAN data When the service field of the packet adopts the 7th-order scrambling code frame format, and the bit error rate ρ is greater than or equal to 0.15, or when the initial value of the scrambling code is 11 bits, that is, the service field of the WLAN data packet adopts the 11th-order scrambling code frame format. , and the bit error rate ρ is greater than or equal to 0.02, the first threshold value can be specified as 0.
应理解,上述动态调整阈值是针对第一比特的第一取值为1时的情形,但也能应用到第一比特的第一取值为0时的情形,例如,当扰码初值为7比特时,即WLAN的数据包的service字段采用7阶扰码帧格式时,且误码率ρ小于0.15时,则可以规定第二阈值为8;或者,当扰码初值为11比特时,即WLAN的数据包的service字段采用11阶扰码帧格式时,且误码率ρ小于0.02,则可以规定第二阈值为4;或者,当扰码初值为7比特时,即WLAN的数据包的service字段采用7阶扰码帧格式时,且误码率ρ大于或等于0.15时,则可以规定第二阈值为9;或者当扰码初值为11比特时,即WLAN的数据包的service字段采用11阶扰码帧格式时,且误码率ρ大于或等于0.02,则可以规定第二阈值为5。It should be understood that the above dynamic adjustment threshold is for the situation when the first value of the first bit is 1, but can also be applied to the situation when the first value of the first bit is 0, for example, when the initial value of the scrambling code is When the value is 7 bits, that is, when the service field of the WLAN data packet adopts the 7th-order scrambling code frame format, and the bit error rate ρ is less than 0.15, the second threshold value can be specified as 8; or, when the initial value of the scrambling code is 11 bits , that is, when the service field of the WLAN data packet adopts the 11th-order scrambling code frame format, and the bit error rate ρ is less than 0.02, the second threshold can be specified as 4; or, when the initial value of the scrambling code is 7 bits, that is, the WLAN When the service field of the data packet adopts the 7th-order scrambling code frame format, and the bit error rate ρ is greater than or equal to 0.15, the second threshold value can be specified as 9; or when the initial value of the scrambling code is 11 bits, that is, the WLAN data packet When the service field of the 11-order scrambling code frame format is adopted, and the bit error rate ρ is greater than or equal to 0.02, the second threshold value can be specified as 5.
应理解,上述的误码率的取值仅作为一种示例性描述,并不具备任何的限定作用。It should be understood that the above-mentioned value of the bit error rate is only an exemplary description, and does not have any limiting effect.
在本申请中,误码率的取值可以是任意一个正数,可以根据具体需求来确定误码率的阈值,如当第一比特的第一取值为1时,当所述数据包的误码率小于第三阈值时,确定第 一阈值为1或者其他数值,或者所述数据包的误码率大于或等于第三阈值时,确定第一阈值为0或者其他相应的数值;又或者,当第一比特的第一取值为0,所述数据包的误码率小于第四阈值,当保留比特的位数是9位时,则可以确定第二阈值为8或者其他数值;又或者,当保留比特的位数是5位时,则可以确定第二阈值为4或者其他数值;又或者当所述数据包的误码率大于或等于第四阈值,当保留比特的位数是9位时,则可以确定第二阈值为9或者其他相应的数值;又或者,当保留比特的位数是5位时,则可以确定第二阈值为5或者其他相应的数值,且,上述的第三阈值和第四阈值可以是任意的正数,可以根据具体的需求来确定具体的阈值,本申请对此不作任何的限定。In this application, the value of the bit error rate can be any positive number, and the threshold value of the bit error rate can be determined according to specific requirements. For example, when the first value of the first bit is 1, when the When the bit error rate is less than the third threshold, determine that the first threshold is 1 or other values, or when the bit error rate of the data packet is greater than or equal to the third threshold, determine that the first threshold is 0 or other corresponding values; or , when the first value of the first bit is 0, the bit error rate of the data packet is less than the fourth threshold, and when the number of reserved bits is 9, it can be determined that the second threshold is 8 or other values; Alternatively, when the number of reserved bits is 5, it can be determined that the second threshold is 4 or other values; or when the bit error rate of the data packet is greater than or equal to the fourth threshold, when the number of reserved bits is When the number of bits is 9, it can be determined that the second threshold is 9 or other corresponding values; or, when the number of reserved bits is 5, it can be determined that the second threshold is 5 or other corresponding values, and the above-mentioned The third threshold and the fourth threshold may be any positive numbers, and specific thresholds may be determined according to specific requirements, which are not limited in this application.
下文将结合图5和图6来详细介绍如何具体地确定第一阈值或者第二阈值,为便于简洁描述,仅以第一比特的第一取值为1时的情形为例进行说明,但以下内容也能应用于第一比特的第一取值为0时的情形。The following will describe in detail how to specifically determine the first threshold or the second threshold in conjunction with FIG. 5 and FIG. 6 . For the sake of brevity, only the case where the first value of the first bit is 1 is used as an example for description, but the following The content can also be applied when the first value of the first bit is 0.
假定解扰后的第一比特的数量为N的概率为P(N,ρ),其中,扰码初值的正确概率和错误概率分别为P correct(N,ρ)和P error(N,ρ),并使得 Assume that the probability that the number of first bits after descrambling is N is P(N,ρ), where the correct probability and error probability of the initial scrambling code are P correct (N, ρ) and P error (N, ρ) ), and make
P(N,ρ)=P correct(N,ρ)+P error(N,ρ)    (1) P(N,ρ)=P correct (N,ρ)+P error (N,ρ) (1)
通过公式(1)可以得到第一比值P error(N,ρ)/P correct(N,ρ),第一比值可以是任意的一个数值,其可以根据具体的需求来确定,本申请对此不作任何的限定。 The first ratio P error (N, ρ)/P correct (N, ρ) can be obtained by formula (1). The first ratio can be any value, which can be determined according to specific requirements, which is not made in this application. any restrictions.
示例性地,当该第一比值小于1时,其表示扰码初值正确的概率高于错误的概率,反之则表示扰码初值错误的概率高于正确的概率。Exemplarily, when the first ratio is less than 1, it indicates that the probability of the initial scrambling code value is correct is higher than the probability of being wrong, otherwise it indicates that the probability of the initial scrambling code value is wrong is higher than the probability of being correct.
可选地,当设定该第一比值的阈值为1时,当选定一定的误码率ρ,当第一设备检测到解扰后的第一比特的数量为N时,且二者满足上述判定条件,即满足第一比值大于阈值1时,则触发***停止接收,即,第一设备确定停止接收该数据包。应理解,该第一比值的阈值可以是任意一个正数,本申请对此不作任何的限定。Optionally, when the threshold value of the first ratio is set to 1, when a certain bit error rate ρ is selected, when the first device detects that the number of first bits after descrambling is N, and the two satisfy The above determination condition, that is, when the first ratio is greater than the threshold 1, is satisfied, the system is triggered to stop receiving, that is, the first device determines to stop receiving the data packet. It should be understood that the threshold of the first ratio may be any positive number, which is not limited in this application.
因此,第一设备可以通过第一参数来确定第一阈值,且第一参数包括:还包括:第一比特的数量的变量N、误码率ρ、第一概率和第二概率,其中,第一概率表示扰码初值的错误概率,第二概率表示扰码初值的正确概率。具体的确定过程如上所述,在此不再赘述。Therefore, the first device can determine the first threshold through the first parameter, and the first parameter includes: further includes: the variable N of the number of first bits, the bit error rate ρ, the first probability and the second probability, wherein the first The first probability represents the error probability of the initial value of the scrambling code, and the second probability represents the correct probability of the initial value of the scrambling code. The specific determination process is as described above, and is not repeated here.
经计算得到,当误码率ρ值固定时,该第一比值是一个随N上升的单调函数,因此可以直接设定第一比值的阈值来实现节约***资源和***电量的技术效果。It is calculated that when the bit error rate ρ is fixed, the first ratio is a monotonic function that increases with N, so the threshold of the first ratio can be directly set to achieve the technical effect of saving system resources and system power.
图5和图6具体描述了误码率、第一比值和保留比特中第一比特的个数三者之间的关系。5 and 6 specifically describe the relationship among the bit error rate, the first ratio, and the number of the first bits in the reserved bits.
图5示出了11阶扰码图样的平面坐标图。如图5所示,纵坐标表示第一比值的对数值,即以10为底的对数值,横坐标表示WLAN的数据包的service字段中的保留比特的第一比特的个数,并且图5中的不同曲线表示在不同的误码率ρ值时,三者之间的关系。FIG. 5 shows a plane coordinate diagram of an 11th-order scrambling code pattern. As shown in FIG. 5 , the ordinate represents the logarithmic value of the first ratio, that is, the logarithmic value with the base 10, and the abscissa represents the number of the first bits of the reserved bits in the service field of the WLAN data packet, and FIG. 5 The different curves in represent the relationship between the three at different bit error rate ρ values.
示例性地,当设定第一比值的阈值为1时,且当误码率ρ<0.02时,则可以由图5确定保留比特中第一比特的个数为1,进一步地,可以设定第一阈值为1。Exemplarily, when the threshold value of the first ratio is set to be 1, and when the bit error rate ρ<0.02, it can be determined from FIG. 5 that the number of the first bits in the reserved bits is 1, and further, it can be set that The first threshold is 1.
示例性地,当设定第一比值的阈值为其他数值时,同样也可以由图5确定误码率ρ值和保留比特中的第一比特的个数,并可进一步地,设定第一阈值的数值。Exemplarily, when the threshold of the first ratio is set to be other values, the bit error rate p value and the number of the first bits in the reserved bits can also be determined from FIG. 5 , and further, the first The value of the threshold.
应理解,本申请实施例并不涉及如何计算误码率值,仅涉及到如何利用误码率来具体设定第一比特的第一阈值。It should be understood that the embodiments of the present application do not involve how to calculate the bit error rate value, but only how to use the bit error rate to specifically set the first threshold value of the first bit.
图6示出了7阶扰码图样的平面坐标图。如图6所示,纵坐标表示第一比值的对数 值,即以10为底的对数值,横坐标表示第一比特的个数,并且图6中的不同曲线表示在不同的误码率ρ值时,三者之间的关系。Figure 6 shows a plane coordinate diagram of a scrambling code pattern of order 7. As shown in Fig. 6, the ordinate represents the logarithm value of the first ratio, that is, the logarithm value in base 10, the abscissa represents the number of the first bits, and the different curves in Fig. 6 represent different bit error rates ρ value, the relationship between the three.
示例性地,当设定第一比值的阈值为1时,当误码率ρ<0.15时,则可以由图6确定保留比特中第一比特的个数为1或2,进一步地,可以设定第一阈值的取值为1或者2。Exemplarily, when the threshold value of the first ratio is set to be 1, when the bit error rate ρ<0.15, it can be determined from FIG. 6 that the number of the first bits in the reserved bits is 1 or 2, and further, it can be set that The value of the first threshold is 1 or 2.
示例性地,当设定第一比值的阈值为其他数值时,同样也可以由图6确定误码率ρ值和保留比特中第一比特的个数,并可进一步地,设定第一阈值的数值。Exemplarily, when the threshold value of the first ratio is set to other values, the bit error rate p value and the number of the first bits in the reserved bits can also be determined from FIG. 6 , and further, the first threshold value can be set. value of .
应理解,本申请实施例并不涉及如何计算误码率值,仅涉及到如何利用误码率值来具体设定第一比特的数量阈值。It should be understood that the embodiments of the present application do not involve how to calculate the bit error rate value, but only how to use the bit error rate value to specifically set the number threshold of the first bits.
更详细的过程如下所示:A more detailed process is as follows:
在WLAN协议中,非802.11be协议帧采用7阶的扰码器,802.11be协议帧采用11阶的扰码器,以下使用k∈{7,11}来表示扰码器种类。In the WLAN protocol, the non-802.11be protocol frame adopts the 7th-order scrambler, and the 802.11be protocol frame adopts the 11th-order scrambler. The following uses k∈{7,11} to represent the scrambler type.
在k阶扰码场景中,对某特定的扰码初值,发送端有固定的扰码后的service序列:In the k-order scrambling code scenario, for a specific initial value of scrambling code, the sender has a fixed scrambled service sequence:
TxService i,i∈[0,2 k-2] TxService i ,i∈[ 0,2k -2]
在正确译码的条件下,接收端译码后解扰前得到的Rxservice序列与TxService相同,但是在考虑误码的情况下,每一个比特位都存在误码的可能,共计有2 16种排列方式,即 Under the condition of correct decoding, the Rxservice sequence obtained by the receiver after decoding and before descrambling is the same as the TxService, but considering the bit error, there is a possibility of bit error in each bit, and there are 2 16 arrangements in total way, namely
RxService j,j∈[0,2 16-1] RxService j ,j∈[0,2 16 -1]
WLAN协议规定扰码初值不得全为0,因此在上述的service序列中均需要减少一种排列方式。The WLAN protocol stipulates that the initial value of the scrambling code must not be all 0, so one arrangement method needs to be reduced in the above service sequence.
用b∈[0,15]表示某一比特位的位置,TxService i(b)和RxService j(b)表示在b处的值,在假设每个比特位误码都是独立事件的前提下,出现当前比特位状态的概率为 Let b∈[0,15] denote the position of a bit, and TxService i (b) and RxService j (b) denote the value at b. Under the premise that each bit error is an independent event, The probability of occurrence of the current bit state is
Figure PCTCN2021077896-appb-000003
Figure PCTCN2021077896-appb-000003
于是可以求得TxService i到RxService j的传输概率 Then the transmission probability of TxService i to RxService j can be obtained
Figure PCTCN2021077896-appb-000004
Figure PCTCN2021077896-appb-000004
记TxService i到RxService j为一个配对(i,j),所有配对的集合为S,其中包含2 16×(2 k-1)个元素。 Denote TxService i to RxService j as a pair (i, j), and the set of all pairs is S, which contains 2 16 ×(2 k -1) elements.
记S的子集C,使其中每种配对都具有前k比特相同,即表示扰码初值传输正确。例如7阶扰码时,配对(0000001000100110,0000001011111111)中的两个元素前7位相同,均为0000001,属于集合C。此时一共有5个比特产生了误码,因此相应的P ij(p)=p 5(1-p) 11Denote a subset C of S, so that each pairing has the same first k bits, which means that the initial value of the scrambling code is transmitted correctly. For example, when the scrambling code is 7th order, the first 7 bits of the two elements in the pair (0000001000100110, 0000001011111111) are the same, both are 0000001, and belong to the set C. At this time, a total of 5 bits have generated bit errors, so the corresponding P ij (p)=p 5 (1-p) 11 .
记S的子集Z,使其中每种配对里,第二项的前k比特为全0。此时接收端得到的是非法的扰码初值,应当被排除在正常流程之外。由于配对第一项必不为全0,因此
Figure PCTCN2021077896-appb-000005
例如7阶扰码时,配对(00000010 00100110,0000000011111111)属于Z。
Write a subset Z of S, so that in each pairing, the first k bits of the second item are all 0s. At this time, what the receiving end obtains is an illegal initial value of scrambling code, which should be excluded from the normal process. Since the first item of the pair must not be all 0, so
Figure PCTCN2021077896-appb-000005
For example, when the scrambling code is 7th order, the pairing (00000010 00100110, 0000000011111111) belongs to Z.
最后记C与Z在S内的补集E,使C∪Z∪E=S且
Figure PCTCN2021077896-appb-000006
E内元素即为所有扰码初值错误传输且合法的情况。
Finally, record the complement E of C and Z in S, so that C∪Z∪E=S and
Figure PCTCN2021077896-appb-000006
The elements in E are the cases where all the initial values of scrambling codes are transmitted incorrectly and are legal.
再计算每种RxService j的解扰后的保留比特中取值为1的比特的数量N j∈[0,16-k]。 Then calculate the number N j ∈ [0, 16-k] of bits with a value of 1 in the descrambled reserved bits of each RxService j .
于是可以得到式(1)中的两项概率:Then the two probabilities in equation (1) can be obtained:
Figure PCTCN2021077896-appb-000007
Figure PCTCN2021077896-appb-000007
Figure PCTCN2021077896-appb-000008
Figure PCTCN2021077896-appb-000008
通过上述公式得到上述两项概率分布之后,可以依照实际需要具体设置第一比特的数量的阈值,从而决定在何种条件下,第一设备确定终止接收WLAN的数据包。After the above two probability distributions are obtained through the above formulas, the threshold of the number of first bits can be specifically set according to actual needs, thereby determining the conditions under which the first device determines to stop receiving WLAN data packets.
图7示出了本申请实施例的第一设备700的示意性框图。可选地,所述第一设备700的具体形态可以是通用计算机设备或通用计算机设备中的芯片,本申请实施例对此不作限定。如图7所示,该第一设备700包括第一收发单元710和第一处理单元720。FIG. 7 shows a schematic block diagram of a first device 700 according to an embodiment of the present application. Optionally, the specific form of the first device 700 may be a general-purpose computer device or a chip in a general-purpose computer device, which is not limited in this embodiment of the present application. As shown in FIG. 7 , the first device 700 includes a first transceiver unit 710 and a first processing unit 720 .
具体而言,第一设备700可以是本申请涉及的任意一个设备,例如,可以是网络设备,也可以是终端设备,并且可以实现该设备所能实现的功能。应理解,第一设备700可以是实体设备,也可以是实体设备的部件(例如,集成电路,芯片等等),还可以是实体设备中的功能模块。Specifically, the first device 700 may be any device involved in this application, for example, may be a network device or a terminal device, and may implement functions that can be implemented by the device. It should be understood that the first device 700 may be an entity device, or a component of the entity device (eg, an integrated circuit, a chip, etc.), or a functional module in the entity device.
示例性地,第一设备700包括:第一收发单元710,用于接收无线局域网WLAN的数据包的服务service字段,所述service字段包括保留比特;第一处理单元720,用于基于所述保留比特中第一比特的数量确定终止接收所述数据包,所述第一比特具有第一取值。Exemplarily, the first device 700 includes: a first transceiving unit 710, configured to receive a service field of a data packet of a wireless local area network WLAN, where the service field includes reserved bits; a first processing unit 720, configured to based on the reserved bits The number of the first bit in the bits determines the termination of receiving the data packet, and the first bit has a first value.
应理解,上述内容仅作为示例性描述,该第一收发单元710还将用于执行前述方法400中与第一设备相关的所有收发操作,该第一处理单元720还将用于执行前述方法400中与第一设备相关的所有处理操作,并能实现与方法侧相对应的有益效果,为便于简洁描述,在此不再赘述。It should be understood that the above content is only an exemplary description, the first transceiving unit 710 will also be used to perform all transceiving operations related to the first device in the foregoing method 400, and the first processing unit 720 will also be used to execute the foregoing method 400. All processing operations related to the first device in the above description can achieve beneficial effects corresponding to the method side, and are not repeated here for the sake of brevity.
本申请实施例还提供一种通信装置800。该传输装置800包括处理器810,处理器810与存储器820耦合,存储器820用于存储计算机程序或指令或者和/或数据,处理器810用于执行存储器820存储的计算机程序或指令和/或者数据,使得上文方法实施例中的方法被执行。This embodiment of the present application further provides a communication apparatus 800 . The transmission device 800 includes a processor 810, which is coupled to a memory 820, the memory 820 is used for storing computer programs or instructions or and/or data, and the processor 810 is used for executing the computer programs or instructions and/or data stored in the memory 820. , so that the methods in the above method embodiments are executed.
可选地,该传输装置800包括的处理器810为一个或多个。Optionally, the transmission apparatus 800 includes one or more processors 810 .
可选地,如图8所示,该传输装置800还可以包括存储器820。Optionally, as shown in FIG. 8 , the transmission apparatus 800 may further include a memory 820 .
可选地,该传输装置800包括的存储器820可以为一个或多个。Optionally, the transmission device 800 may include one or more memories 820 .
可选地,该存储器820可以与该处理器810集成在一起,或者分离设置。Optionally, the memory 820 may be integrated with the processor 810, or provided separately.
可选地,如图8所示,该传输装置800还可以包括收发器830,收发器830用于信号的接收和/或发送。例如,处理器810用于控制收发器830进行信号的接收和/或发送。Optionally, as shown in FIG. 8 , the transmission apparatus 800 may further include a transceiver 830, and the transceiver 830 is used for signal reception and/or transmission. For example, the processor 810 is used to control the transceiver 830 to receive and/or transmit signals.
作为一种方案,该传输装置800用于实现上文方法实施例中由终端设备执行的操作。As a solution, the transmission apparatus 800 is configured to implement the operations performed by the terminal device in the above method embodiments.
例如,处理器810用于实现上文方法实施例中由终端设备执行的处理相关的操作,收发器830用于实现上文方法实施例中由终端设备执行的收发相关的操作。For example, the processor 810 is configured to implement the processing-related operations performed by the terminal device in the above method embodiments, and the transceiver 830 is configured to implement the transceiving-related operations performed by the terminal device in the above method embodiments.
作为另一种方案,该传输装置800用于实现上文方法实施例中由网络设备执行的操作。As another solution, the transmission apparatus 800 is configured to implement the operations performed by the network device in the above method embodiments.
例如,处理器810用于实现上文方法实施例中由网络设备执行的处理相关的操作,收发器830用于实现上文方法实施例中由网络设备执行的收发相关的操作。For example, the processor 810 is configured to implement the processing-related operations performed by the network device in the above method embodiments, and the transceiver 830 is configured to implement the above-mentioned method embodiments performed by the network device. Transceive-related operations.
本申请实施例还提供一种计算机可读存储介质,其上存储有用于实现上述方法实施例中由终端设备执行的方法,或由网络设备执行的方法的计算机指令。Embodiments of the present application further provide a computer-readable storage medium, on which computer instructions for implementing the method executed by the terminal device or the method executed by the network device in the foregoing method embodiments are stored.
例如,该计算机程序被计算机执行时,使得该计算机可以实现上述方法实施例中由终端设备执行的方法,或由网络设备执行的方法。For example, when the computer program is executed by a computer, the computer can implement the method executed by the terminal device or the method executed by the network device in the above method embodiments.
本申请实施例还提供一种包含指令的计算机程序产品,该指令被计算机执行时使得该 计算机实现上述方法实施例中由终端设备执行的方法,或由网络设备执行的方法。Embodiments of the present application also provide a computer program product containing instructions, which, when executed by a computer, cause the computer to implement the method executed by the terminal device or the method executed by the network device in the above method embodiments.
在本申请实施例中,终端设备或网络设备可以包括硬件层、运行在硬件层之上的操作***层,以及运行在操作***层上的应用层。其中,硬件层可以包括中央处理器(central processing unit,CPU)、内存管理单元(memory management unit,MMU)和内存(也称为主存)等硬件。操作***层的操作***可以是任意一种或多种通过进程(process)实现业务处理的计算机操作***,例如,Linux操作***、Unix操作***、Android操作***、iOS操作***或windows操作***等。应用层可以包含浏览器、通讯录、文字处理软件、即时通信软件等应用。In this embodiment of the present application, the terminal device or the network device may include a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer may include hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory (also called main memory). The operating system of the operating system layer may be any one or more computer operating systems that implement business processing through processes, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a Windows operating system. The application layer may include applications such as browsers, address books, word processing software, and instant messaging software.
本申请实施例并未对本申请实施例提供的方法的执行主体的具体结构进行特别限定,只要能够通过运行记录有本申请实施例提供的方法的代码的程序,以根据本申请实施例提供的方法进行通信即可。例如,本申请实施例提供的方法的执行主体可以是终端设备或网络设备,或者,是终端设备或网络设备中能够调用程序并执行程序的功能模块。The embodiments of the present application do not specifically limit the specific structure of the execution body of the methods provided by the embodiments of the present application, as long as the program in which the codes of the methods provided by the embodiments of the present application are recorded can be executed to execute the methods according to the embodiments of the present application. Just communicate. For example, the execution body of the method provided by the embodiment of the present application may be a terminal device or a network device, or a functional module in the terminal device or network device that can call a program and execute the program.
本申请的各个方面或特征可以实现成方法、装置或使用标准编程和/或工程技术的制品。本文中使用的术语“制品”可以涵盖可从任何计算机可读器件、载体或介质访问的计算机程序。例如,计算机可读介质可以包括但不限于:磁存储器件(例如,硬盘、软盘或磁带等),光盘(例如,压缩盘(compact disc,CD)、数字通用盘(digital versatile disc,DVD)等),智能卡和闪存器件(例如,可擦写可编程只读存储器(erasable programmable read-only memory,EPROM)、卡、棒或钥匙驱动器等)。Various aspects or features of the present application may be implemented as methods, apparatus, or articles of manufacture using standard programming and/or engineering techniques. The term "article of manufacture" as used herein may encompass a computer program accessible from any computer-readable device, carrier or media. For example, computer readable media may include, but are not limited to, magnetic storage devices (eg, hard disks, floppy disks, or magnetic tapes, etc.), optical disks (eg, compact discs (CDs), digital versatile discs (DVDs), etc. ), smart cards and flash memory devices (eg, erasable programmable read-only memory (EPROM), cards, stick or key drives, etc.).
本文描述的各种存储介质可代表用于存储信息的一个或多个设备和/或其它机器可读介质。术语“机器可读介质”可以包括但不限于:无线信道和能够存储、包含和/或承载指令和/或数据的各种其它介质。Various storage media described herein may represent one or more devices and/or other machine-readable media for storing information. The term "machine-readable medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing, and/or carrying instructions and/or data.
应理解,本申请实施例中提及的处理器可以是CPU,还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that the processor mentioned in the embodiments of the present application may be a CPU, and may also be other general-purpose processors, digital signal processors (digital signal processors, DSPs), application specific integrated circuits (application specific integrated circuits, ASICs), ready-made Field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
还应理解,本申请实施例中提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM)。例如,RAM可以用作外部高速缓存。作为示例而非限定,RAM可以包括如下多种形式:静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DRRAM)。It should also be understood that the memory mentioned in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically programmable Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. Volatile memory may be random access memory (RAM). For example, RAM can be used as an external cache. By way of example and not limitation, RAM may include the following forms: static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM) , double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synchlink DRAM, SLDRAM) and Direct memory bus random access memory (direct rambus RAM, DRRAM).
需要说明的是,当处理器为通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件时,存储器(存储模块)可以集成在处理 器中。It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components, the memory (storage module) can be integrated in the processor.
还需要说明的是,本文描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should also be noted that the memory described herein is intended to include, but not be limited to, these and any other suitable types of memory.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的***、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, removable hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .
还应说明的是,本申请实施例中所使用的第一、第二和第三等词汇是为了便于表述,不应当被理解为构成对本申请实施例应用范围的限制。It should also be noted that terms such as first, second, and third used in the embodiments of the present application are for convenience of expression and should not be construed as limiting the application scope of the embodiments of the present application.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (18)

  1. 一种通信方法,其特征在于,包括:A communication method, comprising:
    第一设备接收无线局域网WLAN的数据包的服务service字段,所述service字段包括保留比特;The first device receives a service field of a data packet of the wireless local area network WLAN, where the service field includes reserved bits;
    所述第一设备基于所述保留比特中第一比特的数量确定终止接收所述数据包,所述第一比特具有第一取值;The first device determines to terminate receiving the data packet based on the number of first bits in the reserved bits, and the first bits have a first value;
    所述第一设备终止接收所述数据包。The first device terminates receiving the data packet.
  2. 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:
    所述service字段还包括扰码初值,所述扰码初值是所述数据包使用的扰码序列的前7位比特或者前11位比特;The service field further includes an initial value of scrambling code, and the initial value of scrambling code is the first 7 bits or the first 11 bits of the scrambling code sequence used by the data packet;
    所述第一比特是所述第一设备基于所述扰码初值对所述保留比特进行解扰码后具有所述第一取值的比特。The first bit is a bit that has the first value after the first device descrambles the reserved bit based on the initial value of the scrambling code.
  3. 根据权利要求1或2所述的方法,所述第一设备基于所述保留比特中第一比特的数量确定终止接收所述数据包,包括:The method according to claim 1 or 2, wherein the first device determines to terminate receiving the data packet based on the number of first bits in the reserved bits, comprising:
    当所述第一取值为1,所述第一比特的数量大于第一阈值时,所述第一设备确定终止接收所述数据包。When the first value is 1 and the number of the first bits is greater than the first threshold, the first device determines to stop receiving the data packet.
  4. 根据权利要求3所述的方法,其特征在于,The method of claim 3, wherein:
    所述第一阈值为0或1。The first threshold is 0 or 1.
  5. 根据权利要求3或4所述的方法,其特征在于,The method according to claim 3 or 4, characterized in that,
    所述第一阈值是所述第一设备基于第一参数确定的,所述第一参数包括:所述第一比特的数量的变量N、误码率ρ、第一概率和第二概率,The first threshold is determined by the first device based on a first parameter, and the first parameter includes: a variable N of the number of the first bits, a bit error rate ρ, a first probability and a second probability,
    其中,所述第一概率表示所述扰码初值的错误概率,所述第二概率表示所述扰码初值的正确概率。Wherein, the first probability represents the error probability of the initial value of the scrambling code, and the second probability represents the correct probability of the initial value of the scrambling code.
  6. 根据权利要求1或2所述的方法,所述第一设备基于所述保留比特中第一比特的数量确定终止接收所述数据包,包括:The method according to claim 1 or 2, wherein the first device determines to terminate receiving the data packet based on the number of first bits in the reserved bits, comprising:
    当所述第一取值为0,所述第一比特的数量小于第二阈值时,所述第一设备确定终止接收所述数据包。When the first value is 0 and the number of the first bits is less than the second threshold, the first device determines to stop receiving the data packet.
  7. 根据权利要求6所述的方法,其特征在于,The method of claim 6, wherein:
    当所述保留比特的位数为9位时,所述第二阈值为9或8;或者,When the number of reserved bits is 9, the second threshold is 9 or 8; or,
    当所述保留比特的位数为5位时,所述第二阈值为5或4。When the number of reserved bits is 5, the second threshold is 5 or 4.
  8. 根据权利要求6或7所述的方法,其特征在于,还包括:The method according to claim 6 or 7, further comprising:
    所述第二阈值是所述第一设备基于第一参数确定的,所述第一参数包括:所述第一比特的数量的变量N、误码率ρ、第一概率和第二概率,The second threshold is determined by the first device based on a first parameter, and the first parameter includes: a variable N of the number of the first bits, a bit error rate ρ, a first probability and a second probability,
    其中,所述第一概率表示所述扰码初值的错误概率,所述第二概率表示所述扰码初值的正确概率。Wherein, the first probability represents the error probability of the initial value of the scrambling code, and the second probability represents the correct probability of the initial value of the scrambling code.
  9. 一种通信装置,其特征在于,第一设备包括:A communication device, characterized in that the first device comprises:
    第一收发单元,用于接收无线局域网WLAN的数据包的服务service字段,所述service 字段包括保留比特;a first transceiver unit, configured to receive a service field of a data packet of the wireless local area network WLAN, where the service field includes reserved bits;
    第一处理单元,用于基于所述保留比特中第一比特的数量确定终止接收所述数据包,所述第一比特具有第一取值。A first processing unit, configured to determine to terminate the reception of the data packet based on the number of first bits in the reserved bits, where the first bits have a first value.
  10. 根据权利要求9所述的装置,其特征在于,The device of claim 9, wherein:
    所述service字段还包括扰码初值,所述扰码初值是所述数据包使用的扰码序列的前7位比特或者前11位比特;The service field further includes an initial value of scrambling code, and the initial value of scrambling code is the first 7 bits or the first 11 bits of the scrambling code sequence used by the data packet;
    所述第一比特是所述第一设备基于所述扰码初值对所述保留比特进行解扰码后具有所述第一取值的比特。The first bit is a bit that has the first value after the first device descrambles the reserved bit based on the initial value of the scrambling code.
  11. 根据权利要求9或10所述的装置,其特征在于,所述第一处理单元用于基于所述保留比特中第一比特的数量确定终止接收所述数据包,包括:The apparatus according to claim 9 or 10, wherein the first processing unit is configured to determine, based on the number of the first bits in the reserved bits, to terminate the reception of the data packet, comprising:
    当所述第一取值为1,所述第一比特的数量大于第一阈值时,所述第一处理单元用于确定终止接收所述数据包。When the first value is 1 and the number of the first bits is greater than the first threshold, the first processing unit is configured to determine to stop receiving the data packet.
  12. 根据权利要求11所述的装置,其特征在于,The apparatus of claim 11, wherein:
    所述第一阈值为0或1。The first threshold is 0 or 1.
  13. 根据权利要求11或12所述的装置,其特征在于,The device according to claim 11 or 12, characterized in that:
    所述第一阈值是所述第一设备基于第一参数确定的,所述第一参数包括:所述第一比特的数量的变量N、误码率ρ、第一概率和第二概率,The first threshold is determined by the first device based on a first parameter, and the first parameter includes: a variable N of the number of the first bits, a bit error rate ρ, a first probability and a second probability,
    其中,所述第一概率表示所述扰码初值的错误概率,所述第二概率表示所述扰码初值的正确概率。Wherein, the first probability represents the error probability of the initial value of the scrambling code, and the second probability represents the correct probability of the initial value of the scrambling code.
  14. 根据权利要求9或10所述的装置,所述第一处理单元用于基于所述保留比特中第一比特的数量确定终止接收所述数据包,包括:The apparatus according to claim 9 or 10, wherein the first processing unit is configured to determine, based on the number of the first bits in the reserved bits, to terminate receiving the data packet, comprising:
    当所述第一取值为0,所述第一比特的数量小于所述第二阈值时,所述第一处理单元用于确定终止接收所述数据包。When the first value is 0 and the number of the first bits is less than the second threshold, the first processing unit is configured to determine to stop receiving the data packet.
  15. 根据权利要求14所述的装置,其特征在于,The apparatus of claim 14, wherein:
    当所述保留比特的位数为9位时,所述第二阈值为9或8;或者,When the number of reserved bits is 9, the second threshold is 9 or 8; or,
    当所述保留比特的位数为5位时,所述第二阈值为5或4。When the number of reserved bits is 5, the second threshold is 5 or 4.
  16. 根据权利要求14或15所述的装置,其特征在于,The device according to claim 14 or 15, characterized in that,
    所述第二阈值是所述第一设备基于第一参数确定的,所述第一参数包括:所述第一比特的数量的变量N、误码率ρ、第一概率和第二概率,The second threshold is determined by the first device based on a first parameter, and the first parameter includes: a variable N of the number of the first bits, a bit error rate ρ, a first probability and a second probability,
    其中,所述第一概率表示所述扰码初值的错误概率,所述第二概率表示所述扰码初值的正确概率。Wherein, the first probability represents the error probability of the initial value of the scrambling code, and the second probability represents the correct probability of the initial value of the scrambling code.
  17. 一种通信装置,其特征在于,包括处理器,所述处理器与存储器耦合,所述存储器用于存储计算机程序或指令,所述处理器用于执行存储器中的所述计算机程序或指令,使得A communication device, characterized in that it comprises a processor, the processor is coupled to a memory, the memory is used for storing computer programs or instructions, and the processor is used for executing the computer programs or instructions in the memory, so that
    权利要求1至8中任一项所述的方法被执行。The method of any one of claims 1 to 8 is performed.
  18. 一种计算机可读存储介质,其特征在于,存储有计算机程序或指令,所述计算机程序或指令用于实现A computer-readable storage medium, characterized in that a computer program or instruction is stored, and the computer program or instruction is used to realize
    权利要求1至8中任一项所述的方法。The method of any one of claims 1 to 8.
PCT/CN2021/077896 2021-02-25 2021-02-25 Communication method and apparatus WO2022178761A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/077896 WO2022178761A1 (en) 2021-02-25 2021-02-25 Communication method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/077896 WO2022178761A1 (en) 2021-02-25 2021-02-25 Communication method and apparatus

Publications (1)

Publication Number Publication Date
WO2022178761A1 true WO2022178761A1 (en) 2022-09-01

Family

ID=83047631

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/077896 WO2022178761A1 (en) 2021-02-25 2021-02-25 Communication method and apparatus

Country Status (1)

Country Link
WO (1) WO2022178761A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080049861A1 (en) * 2006-08-24 2008-02-28 Futurewei Technologies, Inc. System for managing reserved bits in a variable-length message and optimizing message decoding utilizing the same
US20120287915A1 (en) * 2011-05-12 2012-11-15 Electronics And Telecommunications Research Institute Method for transmitting data frame in wireless local area network and apparatus for the same
CN103002505A (en) * 2011-09-14 2013-03-27 华为技术有限公司 Data communication method and data communication equipment
CN106899534A (en) * 2010-06-02 2017-06-27 高通股份有限公司 The form of VHT SIG B and service field in IEEE 802.11AC

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080049861A1 (en) * 2006-08-24 2008-02-28 Futurewei Technologies, Inc. System for managing reserved bits in a variable-length message and optimizing message decoding utilizing the same
CN106899534A (en) * 2010-06-02 2017-06-27 高通股份有限公司 The form of VHT SIG B and service field in IEEE 802.11AC
US20120287915A1 (en) * 2011-05-12 2012-11-15 Electronics And Telecommunications Research Institute Method for transmitting data frame in wireless local area network and apparatus for the same
CN103002505A (en) * 2011-09-14 2013-03-27 华为技术有限公司 Data communication method and data communication equipment

Similar Documents

Publication Publication Date Title
US8478258B2 (en) Techniques to reduce false detection of control channel messages in a wireless network
WO2020143524A1 (en) Downlink channel transmission method and apparatus
WO2020143428A1 (en) Method for transmitting uplink information, and communication device
WO2020200078A1 (en) Method for transmitting uplink information and communication device
WO2019096082A1 (en) Downlink control information determination method and communication device
US11381340B2 (en) Data transmission method and apparatus and storage medium
EP3751765A1 (en) Rate matching method and apparatus, and rate de/matching method and apparatus
WO2018228457A1 (en) Method and apparatus for sending and receiving feedback information
CN111133817B (en) Communication method and device
WO2018161965A1 (en) Wireless communication method and device
WO2018127139A1 (en) Control information transmission method and apparatus
WO2019153142A1 (en) Channel transmission method and apparatus
WO2019242738A1 (en) Method for sending modulation symbols, method for receiving modulation symbols and communication equipment
WO2022178761A1 (en) Communication method and apparatus
EP3567964B1 (en) Communication method and apparatus
WO2022228117A1 (en) Method and device for determining ptrs pattern
WO2020020227A1 (en) Communication method and apparatus
EP4311141A1 (en) Modulation method, demodulation method, and communication device
CN107548099B (en) Data transmission method and device
WO2017193932A1 (en) Communication method and network device thereof, and user equipment
WO2022052131A1 (en) Communication method and apparatus
WO2020259356A1 (en) Communication method and communication apparatus
WO2021147112A1 (en) Communication method and communication device
WO2018228506A1 (en) Information transmission method, terminal device and network device
WO2020187217A1 (en) Method and apparatus for transmitting information

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21927201

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21927201

Country of ref document: EP

Kind code of ref document: A1