CN106471785B - A virtual carrier sensing method and device - Google Patents
A virtual carrier sensing method and device Download PDFInfo
- Publication number
- CN106471785B CN106471785B CN201480080356.9A CN201480080356A CN106471785B CN 106471785 B CN106471785 B CN 106471785B CN 201480080356 A CN201480080356 A CN 201480080356A CN 106471785 B CN106471785 B CN 106471785B
- Authority
- CN
- China
- Prior art keywords
- duration
- field
- transmission frame
- address
- check value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
一种虚拟载波侦听方法及装置,其中,该方法包括:接收传输帧,传输帧包括服务字段和持续时间字段,其中,服务字段包括校验字段,校验字段中携带有第一校验值,第一校验值是第二校验值被携带在校验字段中经过无线信道传输后得到的,第二校验值是发送传输帧的无线设备生成传输帧时根据字段集按预定算法计算得到的;其中,字段集是传输帧包括的字段中的部分字段,字段集包括持续时间字段;持续时间字段包括持续时间(S101);根据第一校验值来确定持续时间是否为有效持续时间(S102);当确定持续时间为有效持续时间时,利用持续时间更新本端的网络分配矢量计时器(S103)。该方法可以提高虚拟载波侦听可靠性。
A virtual carrier sensing method and device, wherein the method includes: receiving a transmission frame, the transmission frame includes a service field and a duration field, wherein the service field includes a check field, and the check field carries a first check value , the first check value is obtained after the second check value is carried in the check field and transmitted through the wireless channel, and the second check value is calculated according to a predetermined algorithm according to the field set when the wireless device sending the transmission frame generates the transmission frame obtained; wherein, the field set is a part of the fields included in the transmission frame, and the field set includes a duration field; the duration field includes a duration (S101); according to the first check value, it is determined whether the duration is a valid duration (S102); when it is determined that the duration is a valid duration, the network allocation vector timer of the local end is updated with the duration (S103). The method can improve the reliability of virtual carrier sense.
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种虚拟载波侦听方法及装置。The present invention relates to the field of communication technologies, and in particular, to a virtual carrier sensing method and device.
背景技术Background technique
虚拟载波侦听(Virtual Carrier Sense,VCS)是电气和电子工程师协会(Institute of Electrical and Electronics Engineers,IEEE)802.11标准中一种重要传输保护机制。在VCS机制中,数据以传输帧的形式进行传输,传输帧包括物理头和数据,数据包括服务(SERVICE)字段和物理层汇聚过程服务数据单元(Physical LayerConvergence Procedure Service Data Unit,PSDU)。PSDU是媒体访问控制(Media AccessControl,MAC)层数据,包括MAC帧头、帧体和帧校验序列(Frame Check Sequence,FCS)。MAC帧头包括持续时间字段,用于指示源无线设备与目的无线设备之间传输包括传输帧的数据的预期剩余时间。Virtual Carrier Sense (Virtual Carrier Sense, VCS) is an important transmission protection mechanism in the Institute of Electrical and Electronics Engineers (Institute of Electrical and Electronics Engineers, IEEE) 802.11 standard. In the VCS mechanism, data is transmitted in the form of a transmission frame. The transmission frame includes a physical header and data, and the data includes a service (SERVICE) field and a physical layer convergence procedure service data unit (Physical Layer Convergence Procedure Service Data Unit, PSDU). PSDU is media access control (Media Access Control, MAC) layer data, including MAC frame header, frame body and frame check sequence (Frame Check Sequence, FCS). The MAC frame header includes a duration field for indicating the expected remaining time for the transmission of data including the transmission frame between the source wireless device and the destination wireless device.
目前,常见的虚拟载波侦听方法为:当传输帧由源无线设备通过一个无线信道向目的无线设备传输时,与这两个无线设备使用同一无线信道的其它无线设备可能接收到该传输帧包括的所有内容,之后利用FCS判断该传输帧是否为有效帧,当该传输帧为有效帧时,根据该传输帧包括的持续时间字段设置网络分配矢量(Network Allocation Vector,NAV)计时器。在NAV计时器递减为零之前,这些无线设备即使侦听到该无线信道空闲,也无法通过该无线信道发送数据,以避免对正在该无线信道上传输数据的无线设备造成干扰。At present, a common virtual carrier sensing method is: when a transmission frame is transmitted from a source wireless device to a destination wireless device through a wireless channel, other wireless devices using the same wireless channel with the two wireless devices may receive the transmission frame including Then use FCS to determine whether the transmission frame is a valid frame, and when the transmission frame is a valid frame, set a Network Allocation Vector (NAV) timer according to the duration field included in the transmission frame. Before the NAV timer is decremented to zero, these wireless devices cannot send data through the wireless channel even if they sense that the wireless channel is idle, so as to avoid interference to wireless devices that are transmitting data on the wireless channel.
在上述方法中,当传输帧为无效帧时,这些设备无法根据该持续时间设置NAV计时器,就会在该无线信道发送数据,以致在同一时间同一无线信道中出现多个无线设备同时发送数据,降低了虚拟载波侦听可靠性。In the above method, when the transmission frame is an invalid frame, these devices cannot set the NAV timer according to the duration, and will send data on the wireless channel, so that multiple wireless devices simultaneously send data in the same wireless channel at the same time , which reduces the reliability of virtual carrier sense.
发明内容SUMMARY OF THE INVENTION
本发明实施例公开了一种虚拟载波侦听方法及装置,用于提高虚拟载波侦听可靠性。The embodiment of the present invention discloses a virtual carrier sensing method and device, which are used for improving the virtual carrier sensing reliability.
本发明实施例第一方面公开一种虚拟载波侦听方法,包括:A first aspect of the embodiments of the present invention discloses a virtual carrier sensing method, including:
接收传输帧,所述传输帧包括服务字段和持续时间字段,其中,所述服务字段包括校验字段,所述校验字段中携带有第一校验值,所述第一校验值是第二校验值被携带在所述校验字段中经过无线信道传输后得到的,所述第二校验值是发送所述传输帧的无线设备生成所述传输帧时根据字段集按预定算法计算得到的;其中,所述字段集是所述传输帧包括的字段中的部分字段,所述字段集包括所述持续时间字段;所述持续时间字段包括持续时间;Receive a transmission frame, the transmission frame includes a service field and a duration field, wherein the service field includes a check field, and the check field carries a first check value, and the first check value is the first check value. The second check value is carried in the check field and obtained after wireless channel transmission, and the second check value is calculated according to a predetermined algorithm according to the field set when the wireless device sending the transmission frame generates the transmission frame obtained; wherein the field set is a part of the fields included in the transmission frame, the field set includes the duration field; the duration field includes the duration;
根据所述第一校验值来确定所述持续时间是否为有效持续时间;determining whether the duration is a valid duration according to the first check value;
当确定所述持续时间为有效持续时间时,利用所述持续时间更新本端的NAV计时器。When it is determined that the duration is a valid duration, the NAV timer of the local end is updated with the duration.
结合本发明实施例第一方面,在本发明实施例第一方面的第一种可能的实现方式中,所述根据所述第一校验值来确定所述持续时间是否为有效持续时间,包括:With reference to the first aspect of the embodiments of the present invention, in a first possible implementation manner of the first aspect of the embodiments of the present invention, the determining whether the duration is a valid duration according to the first check value includes: :
根据所述字段集按所述预定算法计算得到第三校验值;The third check value is obtained by calculating according to the field set according to the predetermined algorithm;
当所述第一校验值与所述第三校验值匹配时,确定所述持续时间为有效持续时间。When the first check value matches the third check value, the duration is determined to be a valid duration.
结合本发明实施例第一方面或本发明实施例第一方面的第一种可能的实现方式,在本发明实施例第一方面的第二种可能的实现方式中,所述传输帧还包括接收地址字段,所述接收地址字段包括所述传输帧的接收地址,所述字段集还包括所述接收地址字段;With reference to the first aspect of the embodiment of the present invention or the first possible implementation manner of the first aspect of the embodiment of the present invention, in the second possible implementation manner of the first aspect of the embodiment of the present invention, the transmission frame further includes the receiving address field, the receiving address field includes the receiving address of the transmission frame, and the field set further includes the receiving address field;
所述当确定所述持续时间为有效持续时间时,利用所述持续时间更新本端的NAV计时器包括:When it is determined that the duration is a valid duration, using the duration to update the NAV timer of the local end includes:
当根据所述第一校验值确定所述持续时间为有效持续时间、所述接收地址为有效接收地址时,若所述接收地址与本端的地址不匹配,且所述持续时间大于本端的NAV计时器的时间,利用所述持续时间更新本端的NAV计时器。When it is determined according to the first check value that the duration is a valid duration and the receiving address is a valid receiving address, if the receiving address does not match the address of the local end, and the duration is greater than the NAV of the local end The time of the timer, which is used to update the NAV timer of the local end.
结合本发明实施例第一方面的第二种可能的实现方式,在本发明实施例第一方面的第三种可能的实现方式中,所述传输帧还包括物理头,所述物理头包括指示信息,所述指示信息用于指示所述传输帧包括所述校验字段。With reference to the second possible implementation manner of the first aspect of the embodiment of the present invention, in the third possible implementation manner of the first aspect of the embodiment of the present invention, the transmission frame further includes a physical header, and the physical header includes an indication information, where the indication information is used to indicate that the transmission frame includes the check field.
本发明实施例第二方面公开一种虚拟载波侦听方法,包括:A second aspect of the embodiments of the present invention discloses a virtual carrier sensing method, including:
生成传输帧,所述传输帧包括服务字段和持续时间字段,其中,所述服务字段包括校验字段,所述校验字段中携带有第二校验值,所述第二校验值根据字段集按预定算法计算得到,所述字段集是所述传输帧包括的字段中的部分字段,所述字段集包括所述持续时间字段,所述持续时间字段包括持续时间;Generate a transmission frame, the transmission frame includes a service field and a duration field, wherein the service field includes a check field, and the check field carries a second check value, and the second check value is based on the field The set is calculated according to a predetermined algorithm, the field set is a part of the fields included in the transmission frame, the field set includes the duration field, and the duration field includes the duration;
发送所述传输帧,以使接收到所述传输帧的无线设备根据第一校验值来确定所述持续时间是否为有效持续时间,并当确定所述持续时间为有效持续时间时,利用所述持续时间更新该无线设备的网络分配矢量计时器,其中,所述第一校验值是所述第二校验值被携带在所述校验字段中经过无线信道传输后得到的。Send the transmission frame, so that the wireless device that receives the transmission frame determines whether the duration is a valid duration according to the first check value, and when determining that the duration is a valid duration, utilizes the The network allocation vector timer of the wireless device is updated with the duration, wherein the first check value is obtained after the second check value is carried in the check field and transmitted through a wireless channel.
结合本发明实施例第二方面,在本发明实施例第二方面的第一种可能的实现方式中,所述传输帧还包括接收地址字段,所述接收地址字段包括所述传输帧的接收地址,所述字段集还包括所述接收地址字段。With reference to the second aspect of the embodiment of the present invention, in a first possible implementation manner of the second aspect of the embodiment of the present invention, the transmission frame further includes a receiving address field, and the receiving address field includes a receiving address of the transmission frame , the field set further includes the receiving address field.
结合本发明实施例第二方面的第一种可能的实现方式,在本发明实施例第二方面的第二种可能的实现方式中,所述传输帧还包括物理头,所述物理头包括指示信息,所述指示信息用于指示所述传输帧包括所述校验字段。With reference to the first possible implementation manner of the second aspect of the embodiment of the present invention, in the second possible implementation manner of the second aspect of the embodiment of the present invention, the transmission frame further includes a physical header, and the physical header includes an indication information, where the indication information is used to indicate that the transmission frame includes the check field.
本发明实施例第三方面公开一种无线设备,包括:A third aspect of the embodiments of the present invention discloses a wireless device, including:
接收单元,用于接收传输帧,所述传输帧包括服务字段和持续时间字段,其中,所述服务字段包括校验字段,所述校验字段中携带有第一校验值,所述第一校验值是第二校验值被携带在所述校验字段中经过无线信道传输后得到的,所述第二校验值是发送所述传输帧的无线设备生成所述传输帧时根据字段集按预定算法计算得到的;其中,所述字段集是所述传输帧包括的字段中的部分字段,所述字段集包括所述持续时间字段;所述持续时间字段包括持续时间;a receiving unit, configured to receive a transmission frame, where the transmission frame includes a service field and a duration field, wherein the service field includes a check field, and the check field carries a first check value, and the first check value is The check value is obtained after the second check value is carried in the check field and transmitted through the wireless channel, and the second check value is obtained according to the field when the wireless device sending the transmission frame generates the transmission frame The set is calculated according to a predetermined algorithm; wherein, the field set is a part of the fields included in the transmission frame, and the field set includes the duration field; the duration field includes the duration;
判断单元,用于根据所述接收单元接收的传输帧包括的第一校验值来确定所述持续时间是否为有效持续时间;a judging unit, configured to determine whether the duration is a valid duration according to the first check value included in the transmission frame received by the receiving unit;
更新单元,用于当所述判断单元确定所述持续时间为有效持续时间时,利用所述持续时间更新所述无线设备的NAV计时器。an update unit, configured to update the NAV timer of the wireless device by using the duration when the determination unit determines that the duration is a valid duration.
结合本发明实施例第三方面,在本发明实施例第三方面的第一种可能的实现方式中,所述判断单元具体用于:With reference to the third aspect of the embodiment of the present invention, in the first possible implementation manner of the third aspect of the embodiment of the present invention, the judging unit is specifically configured to:
根据所述字段集按所述预定算法计算得到第三校验值;The third check value is obtained by calculating according to the field set according to the predetermined algorithm;
当所述第一校验值与所述第三校验值匹配时,确定所述持续时间为有效持续时间。When the first check value matches the third check value, the duration is determined to be a valid duration.
结合本发明实施例第三方面或本发明实施例第三方面的第一种可能的实现方式,在本发明实施例第三方面的第二种可能的实现方式中,所述传输帧还包括接收地址字段,所述接收地址字段包括所述传输帧的接收地址,所述字段集还包括所述接收地址字段;With reference to the third aspect of the embodiment of the present invention or the first possible implementation manner of the third aspect of the embodiment of the present invention, in the second possible implementation manner of the third aspect of the embodiment of the present invention, the transmission frame further includes the receiving address field, the receiving address field includes the receiving address of the transmission frame, and the field set further includes the receiving address field;
所述更新单元,具体用于当根据所述第一校验值确定所述持续时间为有效持续时间、所述接收地址为有效接收地址时,若所述接收地址与所述无线设备的地址不匹配,且所述持续时间大于所述无线设备的NAV计时器的时间,则利用所述持续时间更新所述无线设备的NAV计时器。The updating unit is specifically configured to, when it is determined according to the first check value that the duration is a valid duration and the receiving address is a valid receiving address, if the receiving address and the address of the wireless device are different, match, and the duration is greater than the time of the NAV timer of the wireless device, the NAV timer of the wireless device is updated with the duration.
结合本发明实施例第三方面的第二种可能的实现方式,在本发明实施例第三方面的第三种可能的实现方式中,所述传输帧还包括物理头,所述物理头包括指示信息,所述指示信息用于指示所述传输帧包括所述校验字段。With reference to the second possible implementation manner of the third aspect of the embodiment of the present invention, in the third possible implementation manner of the third aspect of the embodiment of the present invention, the transmission frame further includes a physical header, and the physical header includes an indication information, where the indication information is used to indicate that the transmission frame includes the check field.
本发明实施例第四方面公开一种无线设备,包括处理器、存储器和输入装置,其中:A fourth aspect of the embodiments of the present invention discloses a wireless device, including a processor, a memory, and an input device, wherein:
所述输入装置,用于接收传输帧并发送给所述处理器,所述传输帧包括服务字段和持续时间字段,其中,所述服务字段包括校验字段,所述校验字段中携带有第一校验值,所述第一校验值是第二校验值被携带在所述校验字段中经过无线信道传输后得到的,所述第二校验值是发送所述传输帧的无线设备生成所述传输帧时根据字段集按预定算法计算得到的;其中,所述字段集是所述传输帧包括的字段中的部分字段,所述字段集包括所述持续时间字段;所述持续时间字段包括持续时间;The input device is configured to receive and send a transmission frame to the processor, where the transmission frame includes a service field and a duration field, wherein the service field includes a check field, and the check field carries the first A check value, the first check value is obtained after the second check value is carried in the check field and transmitted through the wireless channel, and the second check value is the wireless channel sending the transmission frame. When the device generates the transmission frame, it is calculated according to a predetermined algorithm according to a field set; wherein, the field set is a part of the fields included in the transmission frame, and the field set includes the duration field; the duration field The time field includes the duration;
所述存储器中存储有一组程序代码,所述处理器用于调用所述存储器中存储的程序代码执行以下操作:A set of program codes are stored in the memory, and the processor is configured to call the program codes stored in the memory to perform the following operations:
根据所述第一校验值来确定所述持续时间是否为有效持续时间;determining whether the duration is a valid duration according to the first check value;
当确定所述持续时间为有效持续时间时,利用所述持续时间更新所述无线设备的NAV计时器。When the duration is determined to be a valid duration, the NAV timer of the wireless device is updated with the duration.
结合本发明实施例第四方面,在本发明实施例第四方面的第一种可能的实现方式中,所述处理器用于根据所述第一校验值来确定所述持续时间是否为有效持续时间的方式具体为:With reference to the fourth aspect of the embodiment of the present invention, in a first possible implementation manner of the fourth aspect of the embodiment of the present invention, the processor is configured to determine whether the duration is a valid duration according to the first check value The time is as follows:
所述处理器用于根据所述字段集按所述预定算法计算得到第三校验值;The processor is configured to calculate and obtain a third check value according to the field set according to the predetermined algorithm;
当所述第一校验值与所述第三校验值匹配时,确定所述持续时间为有效持续时间。When the first check value matches the third check value, the duration is determined to be a valid duration.
结合本发明实施例第四方面或本发明实施例第四方面的第一种可能的实现方式,在本发明实施例第四方面的第二种可能的实现方式中,所述传输帧还包括接收地址字段,所述接收地址字段包括所述传输帧的接收地址,所述字段集还包括所述接收地址字段;With reference to the fourth aspect of the embodiment of the present invention or the first possible implementation manner of the fourth aspect of the embodiment of the present invention, in the second possible implementation manner of the fourth aspect of the embodiment of the present invention, the transmission frame further includes the receiving address field, the receiving address field includes the receiving address of the transmission frame, and the field set further includes the receiving address field;
所述处理器用于当确定所述持续时间为有效持续时间时,利用所述持续时间更新本端的NAV计时器的方式具体为:When the processor determines that the duration is a valid duration, the manner in which the NAV timer of the local end is updated by using the duration is specifically:
所述处理器用于当根据所述第一校验值确定所述持续时间为有效持续时间、所述接收地址为有效接收地址时,若所述接收地址与所述无线设备的地址不匹配,且所述持续时间大于所述无线设备的NAV计时器的时间,则利用所述持续时间更新所述无线设备的NAV计时器。The processor is configured to, when determining according to the first check value that the duration is a valid duration and the receiving address is a valid receiving address, if the receiving address does not match the address of the wireless device, and If the duration is greater than the time of the NAV timer of the wireless device, the NAV timer of the wireless device is updated with the duration.
结合本发明实施例第四方面的第二种可能的实现方式,在本发明实施例第四方面的第三种可能的实现方式中,所述传输帧还包括物理头,所述物理头包括指示信息,所述指示信息用于指示所述传输帧包括所述校验字段。With reference to the second possible implementation manner of the fourth aspect of the embodiment of the present invention, in the third possible implementation manner of the fourth aspect of the embodiment of the present invention, the transmission frame further includes a physical header, and the physical header includes an indication information, where the indication information is used to indicate that the transmission frame includes the check field.
本发明实施例第五方面公开一种无线设备,包括:A fifth aspect of the embodiments of the present invention discloses a wireless device, including:
生成单元,用于生成传输帧,所述传输帧包括服务字段和持续时间字段,其中,所述服务字段包括校验字段,所述校验字段中携带有第二校验值,所述第二校验值根据字段集按预定算法计算得到,所述字段集是所述传输帧包括的字段中的部分字段,所述字段集包括所述持续时间字段,所述持续时间字段包括持续时间;A generating unit, configured to generate a transmission frame, where the transmission frame includes a service field and a duration field, wherein the service field includes a check field, and the check field carries a second check value, and the second check value is The check value is calculated according to a predetermined algorithm according to a field set, the field set is a part of the fields included in the transmission frame, the field set includes the duration field, and the duration field includes the duration;
发送单元,用于发送所述生成单元生成的传输帧,以使接收到所述传输帧的目标无线设备根据第一校验值来确定所述持续时间是否为有效持续时间,并当确定所述持续时间为有效持续时间时,利用所述持续时间更新该目标无线设备的网络分配矢量计时器,其中,所述第一校验值是所述第二校验值被携带在所述校验字段中经过无线信道传输后得到的。A sending unit, configured to send the transmission frame generated by the generating unit, so that the target wireless device that receives the transmission frame determines whether the duration is a valid duration according to the first check value, and when determining the When the duration is a valid duration, use the duration to update the network allocation vector timer of the target wireless device, wherein the first check value is the second check value carried in the check field obtained through wireless channel transmission.
结合本发明实施例第五方面,在本发明实施例第五方面的第一种可能的实现方式中,所述传输帧还包括接收地址字段,所述接收地址字段包括所述传输帧的接收地址,所述字段集还包括所述接收地址字段。With reference to the fifth aspect of the embodiment of the present invention, in a first possible implementation manner of the fifth aspect of the embodiment of the present invention, the transmission frame further includes a receiving address field, and the receiving address field includes a receiving address of the transmission frame , the field set further includes the receiving address field.
结合本发明实施例第五方面的第一种可能的实现方式,在本发明实施例第五方面的第二种可能的实现方式中,所述传输帧还包括物理头,所述物理头包括指示信息,所述指示信息用于指示所述传输帧包括所述校验字段。With reference to the first possible implementation manner of the fifth aspect of the embodiment of the present invention, in the second possible implementation manner of the fifth aspect of the embodiment of the present invention, the transmission frame further includes a physical header, and the physical header includes an indication information, where the indication information is used to indicate that the transmission frame includes the check field.
本发明实施例第六方面公开一种无线设备,包括处理器、存储器和输出装置,其中:A sixth aspect of the embodiments of the present invention discloses a wireless device, including a processor, a memory, and an output device, wherein:
所述存储器中存储有一组程序代码,所述处理器用于调用所述存储器中存储的程序代码执行以下操作:A set of program codes are stored in the memory, and the processor is configured to call the program codes stored in the memory to perform the following operations:
生成传输帧,所述传输帧包括服务字段和持续时间字段,其中,所述服务字段包括校验字段,所述校验字段中携带有第二校验值,所述第二校验值根据字段集按预定算法计算得到,所述字段集是所述传输帧包括的字段中的部分字段,所述字段集包括所述持续时间字段,所述持续时间字段包括持续时间;Generate a transmission frame, the transmission frame includes a service field and a duration field, wherein the service field includes a check field, and the check field carries a second check value, and the second check value is based on the field The set is calculated according to a predetermined algorithm, the field set is a part of the fields included in the transmission frame, the field set includes the duration field, and the duration field includes the duration;
所述输出装置,用于发送所述传输帧,以使接收到所述传输帧的目标无线设备根据第一校验值来确定所述持续时间是否为有效持续时间,并当确定所述持续时间为有效持续时间时,利用所述持续时间更新该目标无线设备的网络分配矢量计时器,其中,所述第一校验值是所述第二校验值被携带在所述校验字段中经过无线信道传输后得到的。The output device is configured to send the transmission frame, so that the target wireless device receiving the transmission frame determines whether the duration is a valid duration according to the first check value, and when determining the duration When it is a valid duration, use the duration to update the network allocation vector timer of the target wireless device, wherein the first check value is the second check value carried in the check field after the obtained after wireless channel transmission.
结合本发明实施例第六方面,在本发明实施例第六方面的第一种可能的实现方式中,所述传输帧还包括接收地址字段,所述接收地址字段包括所述传输帧的接收地址,所述字段集还包括所述接收地址字段。With reference to the sixth aspect of the embodiment of the present invention, in a first possible implementation manner of the sixth aspect of the embodiment of the present invention, the transmission frame further includes a receiving address field, and the receiving address field includes a receiving address of the transmission frame , the field set further includes the receiving address field.
结合本发明实施例第六方面的第一种可能的实现方式,在本发明实施例第六方面的第二种可能的实现方式中,所述传输帧还包括物理头,所述物理头包括指示信息,所述指示信息用于指示所述传输帧包括所述校验字段。With reference to the first possible implementation manner of the sixth aspect of the embodiment of the present invention, in the second possible implementation manner of the sixth aspect of the embodiment of the present invention, the transmission frame further includes a physical header, and the physical header includes an indication information, where the indication information is used to indicate that the transmission frame includes the check field.
现有方法中,无线设备只有当接收的传输帧为有效帧时,才利用持续时间更新本端的NAV计时器;当接收的传输帧为无效帧时,该无线设备无法根据该持续时间设置NAV计时器,就会在该无线信道发送数据,以致在同一时间同一无线信道中出现多个无线设备同时发送数据,降低了虚拟载波侦听可靠性。在本发明实施例提供的虚拟载波侦听方法中,通过在传输帧的服务字段里包括校验字段,根据该校验字段中携带的第一校验值来确定接收的传输帧包括的持续时间是否为有效持续时间,不论接收的传输帧是否为有效帧,即不需要对传输帧整个帧利用FCS判断该传输帧是否为有效帧,只需要对传输帧里包括的持续时间进行校验,当确定传输帧里包括的持续时间为有效持续时间时,就可以利用持续时间来更新本端的NAV计时器,以使本端在NAV计时器的时间递减为零之前不发送数据,避免同一时间同一无线信道中出现多个无线设备同时发送数据的情况,从而可以提高虚拟载波侦听可靠性。In the existing method, the wireless device uses the duration to update the NAV timer of the local end only when the received transmission frame is a valid frame; when the received transmission frame is an invalid frame, the wireless device cannot set the NAV timing according to the duration. If the device is installed, it will send data on the wireless channel, so that multiple wireless devices simultaneously send data in the same wireless channel at the same time, which reduces the reliability of virtual carrier sense. In the virtual carrier sensing method provided by the embodiment of the present invention, a check field is included in the service field of the transmission frame, and the duration included in the received transmission frame is determined according to the first check value carried in the check field Whether it is a valid duration or not, no matter whether the received transmission frame is a valid frame or not, that is, it is not necessary to use FCS to determine whether the transmission frame is a valid frame or not, but only the duration included in the transmission frame needs to be checked. When it is determined that the duration included in the transmission frame is a valid duration, the NAV timer of the local end can be updated by using the duration, so that the local end does not send data before the time of the NAV timer is decremented to zero, so as to avoid the same wireless radio at the same time. In the channel, multiple wireless devices transmit data at the same time, so that the reliability of virtual carrier sense can be improved.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1是本发明实施例公开的一种虚拟载波侦听方法的流程图;1 is a flowchart of a method for virtual carrier sensing disclosed in an embodiment of the present invention;
图2是本发明实施例公开的利用扰码生成器携带校验值的过程;2 is a process of utilizing a scrambling code generator to carry a check value disclosed in an embodiment of the present invention;
图3是本发明实施例公开的另一种虚拟载波侦听方法是流程图;3 is a flowchart of another virtual carrier sensing method disclosed in an embodiment of the present invention;
图4是本发明实施例公开的一种MAC帧头压缩方法的流程图;4 is a flowchart of a method for compressing a MAC frame header disclosed in an embodiment of the present invention;
图5是本发明实施例公开的另一种MAC帧头压缩方法的流程图;5 is a flowchart of another MAC frame header compression method disclosed in an embodiment of the present invention;
图6是本发明实施例公开的一种无线设备的结构图;6 is a structural diagram of a wireless device disclosed in an embodiment of the present invention;
图7是本发明实施例公开的另一种无线设备的结构图;7 is a structural diagram of another wireless device disclosed in an embodiment of the present invention;
图8是本发明实施例公开的又一种无线设备的结构图;8 is a structural diagram of another wireless device disclosed in an embodiment of the present invention;
图9是本发明实施例公开的又一种无线设备的结构图;9 is a structural diagram of another wireless device disclosed in an embodiment of the present invention;
图10是本发明实施例公开的又一种无线设备的结构图;10 is a structural diagram of another wireless device disclosed in an embodiment of the present invention;
图11是本发明实施例公开的又一种无线设备的结构图;11 is a structural diagram of another wireless device disclosed in an embodiment of the present invention;
图12是本发明实施例公开的又一种无线设备的结构图;12 is a structural diagram of another wireless device disclosed in an embodiment of the present invention;
图13是本发明实施例公开的又一种无线设备的结构图。FIG. 13 is a structural diagram of another wireless device disclosed in an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
本发明实施例公开了一种虚拟载波侦听方法及装置,用于提高虚拟载波侦听可靠性。以下分别进行详细说明。The embodiment of the present invention discloses a virtual carrier sensing method and device, which are used for improving the virtual carrier sensing reliability. Each of them will be described in detail below.
由于无线信道的不可靠性,传输帧的传输可能出错,导致接收端收到的传输帧内容不同于发送端产生的内容。现有技术中,为了使接收端能够获知接收到的传输帧正确与否,发送端在传输帧中增加了额外的校验数据,即将传输帧内容输入预定校验算法,获得发送校验值,然后携带在传输帧中的帧校验字段中发送。接收端收到传输帧后,对传输帧内容采用与接收端相同的校验算法进行计算,获得接收校验值,然后将其与从接收到的传输帧中获得的发送校验值进行比较。若两者匹配,则认为传输帧内容接收正确,即该传输帧为有效帧;若不匹配,则说明传输帧内容在传输过程中出错,或者发送校验值传输出错,即该传输帧为无效帧,此时,接收端丢弃该传输帧。Due to the unreliability of the wireless channel, the transmission of the transmission frame may go wrong, resulting in the content of the transmission frame received by the receiving end being different from the content generated by the transmitting end. In the prior art, in order to enable the receiving end to know whether the received transmission frame is correct or not, the transmitting end adds additional check data to the transmission frame, that is, the content of the transmission frame is input into a predetermined check algorithm to obtain the sending check value, It is then carried in the frame check field of the transmission frame and sent. After receiving the transmission frame, the receiving end calculates the content of the transmission frame using the same check algorithm as the receiving end to obtain the receiving check value, and then compares it with the sending check value obtained from the received transmission frame. If the two match, it is considered that the content of the transmission frame is received correctly, that is, the transmission frame is a valid frame; if they do not match, it means that the content of the transmission frame is in error during the transmission process, or the transmission of the check value is wrong, that is, the transmission frame is invalid frame, at this time, the receiving end discards the transmission frame.
因无线信道不可靠所导致的错误可能出现在传输帧中任何位置。当设备收到一个无效的传输帧(即帧校验值匹配结果为不匹配时),传输帧中的持续时间字段仍然有可能是正确的,此时,持续时间字段中持续时间仍可用来设置自己的NAV计时器,但现有技术中当接收到一个无效的传输帧时就丢弃该帧了,没有利用该无效的传输帧中依然有效的持续时间的信息。因此,需要一种机制,使得接收端即使在接收到的传输帧整体传输错误情况下,也能判断该传输帧中持续时间字段是否出错。Errors caused by unreliable wireless channels can appear anywhere in the transmission frame. When the device receives an invalid transmission frame (that is, when the frame check value match result is mismatched), the duration field in the transmission frame may still be correct. At this time, the duration in the duration field can still be used to set It has its own NAV timer, but in the prior art, when an invalid transmission frame is received, the frame is discarded, and the information of the still valid duration in the invalid transmission frame is not used. Therefore, a mechanism is required so that the receiving end can judge whether the duration field in the transmission frame is erroneous even in the case of the overall transmission error of the received transmission frame.
另一方面,从实现的角度来讲,由于帧校验字段位于帧的尾部,当设备收到一个传输帧,并根据帧头中的接收地址域确定该帧不需要自己接收时,会直接丢弃该帧,而不会再继续接收传输帧的后续部分,以便节省能量。这种情况下,接收设备根本无从判断持续时间字段接收正确与否。若其接收错误,使用其设置NAV计时器可能导致不可预测的问题。因此,需要在无线设备只接收帧头的情况下,能够准确判断持续时间字段是否接收正确。On the other hand, from the perspective of implementation, since the frame check field is located at the end of the frame, when the device receives a transmission frame and determines that the frame does not need to be received by itself according to the receiving address field in the frame header, it will directly discard it. This frame, and will not continue to receive subsequent parts of the transmission frame, in order to save energy. In this case, the receiving device has no way to judge whether the duration field is received correctly or not. Using it to set the NAV timer may cause unpredictable problems if it is received incorrectly. Therefore, it is necessary to accurately determine whether the duration field is received correctly when the wireless device only receives the frame header.
综上所述,需要在传输帧中帧头及之前的位置增添新的校验字段,对持续时间字段进行校验。该方法使得接收无线设备能够在只接收部分传输帧的情况下即可判断持续时间字段是否接收正确,从而使NAV计时器正确设置,且能够节省能量;同时,即使在收到一个无效传输帧的情况下,接收无线设备也能够单独判断持续时间字段是否接收正确,从而利用其设置NAV计时器。相比现有的方法,本发明实施例提供的方法使得无线设备能够在更多情况下获得有效持续时间,从而使虚拟载波侦听机制更加有效。To sum up, it is necessary to add a new check field in the frame header and the previous position in the transmission frame to check the duration field. The method enables the receiving wireless device to judge whether the duration field is received correctly when only part of the transmission frame is received, so that the NAV timer is set correctly and energy can be saved; at the same time, even when an invalid transmission frame is received In this case, the receiving wireless device can also independently determine whether the duration field is received correctly, so as to use it to set the NAV timer. Compared with the existing method, the method provided by the embodiment of the present invention enables the wireless device to obtain the effective duration in more situations, thereby making the virtual carrier sense mechanism more effective.
请参阅图1,图1是本发明实施例公开的一种虚拟载波侦听方法的流程图。其中,图1所示的虚拟载波侦听方法适用于手机、平板电脑等无线设备。图1所示的虚拟载波侦听方法是从接收侧的角度来描述的。如图1所示,该虚拟载波侦听方法可以包括以下步骤。Please refer to FIG. 1. FIG. 1 is a flowchart of a virtual carrier sensing method disclosed in an embodiment of the present invention. Among them, the virtual carrier sensing method shown in FIG. 1 is suitable for wireless devices such as mobile phones and tablet computers. The virtual carrier sensing method shown in FIG. 1 is described from the perspective of the receiving side. As shown in FIG. 1 , the virtual carrier sensing method may include the following steps.
S101、接收传输帧,传输帧包括服务字段和持续时间字段,其中,服务字段包括校验字段,校验字段中携带有第一校验值,第一校验值是第二校验值被携带在校验字段中经过无线信道传输后得到的,第二校验值是发送传输帧的无线设备生成传输帧时根据字段集按预定算法计算得到的;其中,字段集是传输帧包括的字段中的部分字段,字段集包括持续时间字段;持续时间字段包括持续时间。S101. Receive a transmission frame, where the transmission frame includes a service field and a duration field, wherein the service field includes a check field, the check field carries a first check value, and the first check value is a second check value carried The second check value is obtained after transmission through the wireless channel in the check field, and the second check value is calculated according to a predetermined algorithm according to the field set when the wireless device sending the transmission frame generates the transmission frame; wherein, the field set is one of the fields included in the transmission frame. part of the field, the field set includes the duration field; the duration field includes the duration.
本实施例中,接收到的传输帧包括物理头和数据,数据包括服务字段、PSDU、尾(Tail)和填充(Pad)。其中,在某些情况下,数据中不存在尾和填充两部分。PSDU是MAC层数据,PSDU包括MAC帧头、帧体和FCS,MAC帧头包括持续时间字段,持续时间字段包括持续时间。服务字段包括校验字段、扰码生成器初始值(Scrambler Initialization),其中,校验字段中携带有第一校验值,第一校验值是第二校验值被携带在校验字段中经过无线信道传输后得到的,第二校验值是发送传输帧的无线设备生成传输帧时根据字段集按预定算法计算得到的;其中,字段集是传输帧包括的字段中的部分字段,字段集包括持续时间字段;持续时间字段包括持续时间。其中,第一校验值与第二校验值可能相等,也可能不相等;当在传输过程中校验字段传输出错时,两者不相等;当在传输过程中校验字段传输正确时,两者相等。In this embodiment, the received transmission frame includes a physical header and data, and the data includes a service field, a PSDU, a tail (Tail), and a pad (Pad). Among them, in some cases, the tail and padding parts do not exist in the data. PSDU is MAC layer data, PSDU includes MAC frame header, frame body and FCS, MAC frame header includes duration field, and duration field includes duration. The service field includes a check field and a Scrambler Initialization, wherein the check field carries a first check value, and the first check value is the second check value carried in the check field Obtained after transmission through the wireless channel, the second check value is calculated according to a predetermined algorithm according to the field set when the wireless device sending the transmission frame generates the transmission frame; wherein the field set is a part of the fields included in the transmission frame, and the field A set includes a duration field; a duration field includes a duration. The first check value and the second check value may or may not be equal; when the check field is transmitted incorrectly during the transmission process, the two are not equal; when the check field is transmitted correctly during the transmission process, Both are equal.
本实施例中,服务字段可以通过基本方法或扩展方法承载校验值。基本方法为:服务字段的长度一般为16bits,其中,7bits为扰码生成器初始值,不能携带信息,因此,可以用剩余的9bits携带校验值,802.11ac标准中已提出利用服务字段中8bits承载校验值的方法,但该校验值是物理头中的VTH-SIG-B字段的校验值,因此,可以采用类似的方法(即利用剩余的9bits中的部分或全部bits)承载字段集的校验值,如果需要承载物理头中的SIG字段的校验值,则字段集将还包括物理头中的SIG字段。校验值长度越短越易产生误判,因此,扩展方法在基本方法的基础上进一步增加校验值长度,具体为:通过传输帧源无线设备的扰码生成器初始状态值隐式地承载校验值,以增加校验值长度。In this embodiment, the service field may carry the check value through the basic method or the extension method. The basic method is: the length of the service field is generally 16bits, of which 7bits is the initial value of the scrambling code generator and cannot carry information. Therefore, the remaining 9bits can be used to carry the check value. It has been proposed in the 802.11ac standard to use the 8bits in the service field. The method of carrying the check value, but the check value is the check value of the VTH-SIG-B field in the physical header. Therefore, a similar method (that is, using some or all of the remaining 9 bits) can be used to carry the field If the check value of the SIG field in the physical header needs to be carried, the field set will also include the SIG field in the physical header. The shorter the length of the check value, the easier it is to cause misjudgment. Therefore, the extended method further increases the length of the check value on the basis of the basic method. Specifically, the initial state value of the scrambling code generator of the source wireless device of the transmission frame is implicitly carried. Check value to increase the length of the check value.
本实施例中,扰码生成器初始值(Initialization)和初始状态值(InitialState)是两个不同的概念。前者是SERVICE字段中一个子字段的名字,长度为7bits,通常取固定值,例如当前802.11标准中取7bits全0序列;后者是扰码生成器中7位移位寄存器的初始取值,长度为7bits,通常随机取值但不能为全0,用于生成扰码序列。实际传输中,发送端首先基于7bits初始状态值产生扰码序列,然后用扰码序列中的前7bits与扰码生成器初始值的7bits全0序列分别进行异或操作,将其结果作为加扰后的数据在无线信道上发送;接收端接收到该加扰数据后,将其再次与扰码生成器初始值的7bits全0序列进行异或,从而得到发送端扰码序列的前7bits。根据扰码生成器的具体构造,接收端可由这7bits扰码序列反向推导出发送端生成该扰码序列时所使用的初始状态值,进而产生和发送端完全相同的扰码序列,用于接收端解扰。使用扰码生成器初始状态值携带校验信息,即用校验信息取代随机取值,接收端需根据接收到的初始值加扰结果并结合扰码生成器具体结构反向推导得到发送端的初始状态值(校验信息),故属于隐式传输。In this embodiment, the initial value (Initialization) and the initial state value (InitialState) of the scrambling code generator are two different concepts. The former is the name of a subfield in the SERVICE field, with a length of 7 bits, usually a fixed value, such as the current 802.11 standard to take a sequence of 7 bits all 0s; the latter is the initial value of the 7-bit shift register in the scrambling code generator, the length It is 7bits, usually random but not all 0, used to generate scrambling code sequence. In actual transmission, the sender first generates a scrambling code sequence based on the initial state value of 7 bits, and then uses the first 7 bits in the scrambling code sequence and the 7 bits all-zero sequence of the initial value of the scrambling code generator to perform XOR operation respectively, and use the result as scrambling. The latter data is sent on the wireless channel; after the receiving end receives the scrambled data, it XORs it again with the 7-bit all-zero sequence of the initial value of the scrambling code generator, so as to obtain the first 7 bits of the scrambled code sequence at the transmitting end. According to the specific structure of the scrambling code generator, the receiving end can reversely derive the initial state value used by the transmitting end to generate the scrambling code sequence from the 7-bit scrambling code sequence, and then generate the same scrambling code sequence as the transmitting end, which is used for Receiver descrambling. The initial state value of the scrambling code generator is used to carry the verification information, that is, the random value is replaced by the verification information. Status value (check information), so it belongs to implicit transmission.
举例说明,扰码生成器是一个7位的循环移位寄存器,给定7位初始值之后,可输出周期为127的扰码序列。传统机制中,传输帧源无线设备随机选择一个非全0的7位二进制序列作为扰码生成器初始状态值。而在扩展方法中,用校验值中的6位(X1~X6)代替7位随机序列中的6位,剩余1位恒置为1(为了保证初始状态值不全为0)。其它无线设备接收到传输帧后,可反向推导出这7位初始状态值,其中6位是检验值的内容。该方法中通过扰码生成器初始状态值隐式携带6位校验值(X1~X6),加上由服务字段直接携带的9位(X7~X15),则校验值最多可以包含15bits,其过程如图2所示。For example, the scrambling code generator is a 7-bit cyclic shift register. After a 7-bit initial value is given, a scrambling code sequence with a period of 127 can be output. In the traditional mechanism, the source wireless device of the transmission frame randomly selects a 7-bit binary sequence that is not all 0s as the initial state value of the scrambling code generator. In the extension method, 6 bits (X1-X6) in the check value are used to replace 6 bits in the 7-bit random sequence, and the remaining 1 bit is always set to 1 (in order to ensure that the initial state value is not all 0). After other wireless devices receive the transmission frame, they can reversely deduce the 7-bit initial state value, of which 6 bits are the content of the check value. In this method, the initial state value of the scrambling code generator implicitly carries a 6-bit check value (X1~X6), plus the 9 bits (X7~X15) directly carried by the service field, the check value can contain at most 15bits, The process is shown in Figure 2.
本实施例中,当传输帧的源无线设备发送传输帧时,与该源无线设备使用同一无线信道的其它无线设备将会接收到传输帧。In this embodiment, when the source wireless device of the transmission frame sends the transmission frame, other wireless devices using the same wireless channel as the source wireless device will receive the transmission frame.
S102、根据第一校验值来确定持续时间是否为有效持续时间。S102. Determine whether the duration is a valid duration according to the first check value.
作为一种可能的实施方式,根据校验值来确定持续时间是否为有效持续时间的具体方式为:As a possible implementation manner, the specific manner of determining whether the duration is a valid duration according to the check value is as follows:
根据字段集按预定算法计算得到第三校验值;The third check value is obtained by calculating according to a predetermined algorithm according to the field set;
当第一校验值与第三校验值匹配时,确定持续时间为有效持续时间。When the first check value matches the third check value, the duration is determined to be a valid duration.
本实施例中,接收到传输帧后,将根据第一校验值来确定持续时间是否为有效持续时间,即计算接收的传输帧包括的字段集的第三校验值,判断第一校验值与第三校验值是否匹配。其中,只有当校验字段和字段集都传输正确,第一校验值才会与第三校验值匹配。匹配,可以是相等,或者是有对应关系,比如将一方取反后与另一方相等,可以理解为两方有对应关系。In this embodiment, after the transmission frame is received, it is determined whether the duration is a valid duration according to the first check value, that is, the third check value of the field set included in the received transmission frame is calculated, and the first check value is determined. Whether the value matches the third check value. Wherein, only when the check field and the field set are transmitted correctly, the first check value will match the third check value. Matching can be equal, or there is a corresponding relationship. For example, if one side is equal to the other side after inversion, it can be understood that the two sides have a corresponding relationship.
举例说明,假设第一校验值和第三校验值都是利用预定算法根据字段集直接计算得到的值,第一校验值与第三校验值匹配,即第一校验值与第三校验值相等;假设第一校验值是利用预定算法根据字段集计算得到的值取反之后的值,而第三校验值是利用预定算法根据字段集直接计算得到的值,第一校验值与第三校验值匹配,即将第一校验值取反后的值与第三校验值相等或将第三校验值取反后的值与第一校验值相等。其中,预定算法可以为循环冗余校验(Cyclic Redundancy Code,CRC)算法。For example, it is assumed that the first check value and the third check value are both values directly calculated according to the field set using a predetermined algorithm, and the first check value matches the third check value, that is, the first check value and the third check value match. The three check values are equal; it is assumed that the first check value is the value obtained by inverting the value calculated according to the field set using a predetermined algorithm, and the third check value is the value directly calculated according to the field set using a predetermined algorithm. The check value matches the third check value, that is, the value after the inversion of the first check value is equal to the third check value or the value after the inversion of the third check value is equal to the first check value. The predetermined algorithm may be a cyclic redundancy check (Cyclic Redundancy Code, CRC) algorithm.
S103、当确定持续时间为有效持续时间时,利用持续时间更新本端的NAV计时器。S103. When it is determined that the duration is a valid duration, update the NAV timer of the local end with the duration.
本实施例中,当确定持续时间为有效持续时间,即第一校验值与第三校验值匹配时,利用持续时间更新本端的NAV计时器,即将NAV计时器的时间设置为持续时间的值,以使本端在NAV计时器的时间递减为零之前不发送数据,以避免本端发送的数据对同一无线信道中正在传输的数据造成干扰;当持续时间为无效持续时间时,将不更新本端的NAV计时器。In this embodiment, when it is determined that the duration is a valid duration, that is, when the first check value matches the third check value, the NAV timer at the local end is updated by using the duration, that is, the time of the NAV timer is set to be equal to the duration of the duration. value, so that the local end does not send data before the time of the NAV timer is decremented to zero, so as to avoid the data sent by the local end causing interference to the data being transmitted in the same wireless channel; when the duration is an invalid duration, it will not send data. Update the NAV timer of the local end.
作为一种可能的实施方式,传输帧还包括接收地址字段,接收地址字段包括传输帧的接收地址,字段集还包括接收地址字段;As a possible implementation manner, the transmission frame further includes a reception address field, the reception address field includes a reception address of the transmission frame, and the field set further includes a reception address field;
当确定持续时间为有效持续时间时,利用持续时间更新本端的NAV计时器的方式具体为:When it is determined that the duration is a valid duration, the method of using the duration to update the NAV timer of the local end is as follows:
当持续时间为有效持续时间,接收地址与本端的地址不匹配,且持续时间大于本端的网络分配矢量计时器的时间时,利用持续时间更新本端的NAV计时器。When the duration is a valid duration, the receiving address does not match the address of the local end, and the duration is greater than the time of the network allocation vector timer of the local end, the NAV timer of the local end is updated with the duration.
本实施例中,当传输帧包括持续时间字段和接收地址字段时,根据字段集按预定算法计算得到第三校验值,即根据持续时间字段和接收地址字段按预定算法计算第三校验值。因此,当第一校验值与第三校验值匹配时,可以表明持续时间为有效持续时间,且接收地址为有效接收地址。当第一校验值与第三校验值不匹配时,可以表明持续时间为无效持续时间,和/或,接收地址为无效接收地址。In this embodiment, when the transmission frame includes the duration field and the receiving address field, the third check value is calculated according to a predetermined algorithm according to the field set, that is, the third check value is calculated according to the predetermined algorithm according to the duration field and the receiving address field. . Therefore, when the first check value matches the third check value, it can be indicated that the duration is a valid duration and the receiving address is a valid receiving address. When the first check value does not match the third check value, it may be indicated that the duration is an invalid duration, and/or the receiving address is an invalid receiving address.
本实施例中,当传输帧包括第一校验值、持续时间和接收地址字段时,接收到传输帧后,先利用第一校验值验证持续时间是否为有效持续时间、接收地址字段是否为有效地址字段,当持续时间为有效持续时间,且接收地址字段为有效地址字段时,判断接收地址是否与本端的地址匹配,当接收地址与本端的地址不匹配时(表明传输帧不是发送给本端的传输帧),进一步判断持续时间是否大于本端的网络分配矢量计时器的时间,当持续时间大于本端的网络分配矢量计时器的时间时,利用持续时间更新本端的NAV计时器;当接收地址字段为无效地址字段时,表明持续时间字段也为无效字段,将不利用持续时间更新本端的NAV计时器;当接收地址字段为有效地址字段,且接收地址与本端的地址匹配时,表明传输帧是发送给本端的传输帧,继续接收传输帧的其它内容;当接收地址字段为有效地址字段,接收地址与本端的地址不匹配,且持续时间小于或等于本端的网络分配矢量计时器的时间时,将不利用持续时间更新本端的NAV计时器。其中,接收地址为传输帧的目的无线设备的地址。In this embodiment, when the transmission frame includes a first check value, a duration and a receiving address field, after receiving the transmission frame, the first check value is used to verify whether the duration is a valid duration and whether the receiving address field is a valid duration. Effective address field, when the duration is the effective duration and the receiving address field is the effective address field, judge whether the receiving address matches the address of the local end, when the receiving address does not match the address of the local end (indicating that the transmission frame is not sent to the local end) The transmission frame of the local end), further judge whether the duration is greater than the time of the network allocation vector timer of the local end, when the duration is greater than the time of the network allocation vector timer of the local end, use the duration to update the NAV timer of the local end; when receiving the address field When it is an invalid address field, it indicates that the duration field is also an invalid field, and the NAV timer of the local end will not be updated with the duration; when the receiving address field is a valid address field and the receiving address matches the local address, it indicates that the transmission frame is The transmission frame sent to the local end continues to receive other contents of the transmission frame; when the receiving address field is a valid address field, the receiving address does not match the address of the local end, and the duration is less than or equal to the time of the network allocation vector timer of the local end, The local NAV timer will not be updated with the duration. The receiving address is the address of the destination wireless device of the transmission frame.
本实施例中,传输帧包括的接收地址可以是单播接收地址、组播接收地址或广播接收地址,因此,本端的地址与接收地址匹配包括以下情况:当接收地址为单播接收地址时,单播接收地址与本端的地址匹配时,表明本端的地址与接收地址匹配;当接收地址为组播接收地址时,如果组播接收地址所定义的组播组中包括本端的地址,则表明本端的地址与接收地址匹配;当接收地址为广播接收地址,表明本端的地址与接收地址匹配。其它情况均视为本端的地址与接收地址不匹配。In this embodiment, the receiving address included in the transmission frame may be a unicast receiving address, a multicast receiving address, or a broadcast receiving address. Therefore, the matching between the address of the local end and the receiving address includes the following situations: when the receiving address is a unicast receiving address, When the unicast receiving address matches the local address, it indicates that the local address matches the receiving address; when the receiving address is the multicast receiving address, if the multicast group defined by the multicast receiving address includes the local address, it indicates that the local address is the same. The address of the terminal matches the receiving address; when the receiving address is the broadcast receiving address, it indicates that the address of the local end matches the receiving address. In other cases, it is considered that the address of the local end does not match the receiving address.
作为一种可能的实施方式,传输帧还包括物理头,物理头包括指示信息,指示信息用于指示传输帧包括校验字段。As a possible implementation manner, the transmission frame further includes a physical header, and the physical header includes indication information, and the indication information is used to indicate that the transmission frame includes a check field.
本实施例中,当传输帧包括校验字段、持续时间、接收地址字段和指示信息时,接收到传输帧后,先利用指示信息判断传输帧是否包括校验字段,当传输帧包括校验字段时,将利用第一校验值验证接收地址字段是否为有效地址字段,当接收地址字段为有效地址字段时,判断接收地址是否与本端的地址匹配,当接收地址与本端的地址不匹配时,表明传输帧不是发送给本端的传输帧,判断持续时间是否大于本端的网络分配矢量计时器的时间,当持续时间大于本端的网络分配矢量计时器的时间时,利用持续时间更新本端的NAV计时器;当传输帧不包括校验字段时,将不执行后续的操作;当传输帧包括校验字段,且接收地址字段为无效地址字段时,表明持续时间字段也为无效字段,将不利用持续时间更新本端的NAV计时器;当传输帧包括校验字段,接收地址字段为有效地址字段,且接收地址与本端的地址匹配时,表明传输帧是发送给本端的传输帧,继续接收传输帧的其它内容;当传输帧包括校验字段,接收地址字段为有效地址字段,接收地址与本端的地址不匹配,且持续时间小于或等于本端的网络分配矢量计时器的时间时,将不利用持续时间更新本端的NAV计时器。In this embodiment, when the transmission frame includes a check field, a duration, a receiving address field, and indication information, after receiving the transmission frame, the indication information is used to determine whether the transmission frame includes a check field, and when the transmission frame includes a check field When the first check value is used to verify whether the receiving address field is a valid address field, when the receiving address field is a valid address field, it is judged whether the receiving address matches the address of the local end, and when the receiving address does not match the address of the local end, Indicates that the transmission frame is not a transmission frame sent to the local end, and judges whether the duration is greater than the time of the network allocation vector timer of the local end. When the duration is greater than the time of the network allocation vector timer of the local end, use the duration to update the NAV timer of the local end ; When the transmission frame does not include the check field, the subsequent operation will not be performed; when the transmission frame includes the check field and the receiving address field is an invalid address field, it indicates that the duration field is also invalid, and the duration field will not be used. Update the NAV timer of the local end; when the transmission frame includes a check field, the receiving address field is a valid address field, and the receiving address matches the address of the local end, it indicates that the transmission frame is a transmission frame sent to the local end, and continues to receive other transmission frames. Content; when the transmission frame includes a check field, the receiving address field is a valid address field, the receiving address does not match the address of the local end, and the duration is less than or equal to the time of the network allocation vector timer of the local end, the duration update will not be used NAV timer of the local end.
现有方法中,无线设备只有当接收的传输帧为有效帧时,才利用持续时间更新本端的NAV计时器;当接收的传输帧为无效帧时,该无线设备无法根据该持续时间设置NAV计时器,就会在该无线信道发送数据,以致在同一时间同一无线信道中出现多个无线设备同时发送数据,降低了虚拟载波侦听可靠性。在本发明实施例提供的虚拟载波侦听方法中,通过在传输帧的服务字段里包括校验字段,根据该校验字段中携带的第一校验值来确定接收的传输帧包括的持续时间是否为有效持续时间,不论接收的传输帧是否为有效帧,即不需要对传输帧整个帧利用FCS判断该传输帧是否为有效帧,只需要对传输帧里包括的持续时间进行校验,当确定传输帧里包括的持续时间为有效持续时间时,就可以利用持续时间来更新本端的NAV计时器,以使本端在NAV计时器的时间递减为零之前不发送数据,避免同一时间同一无线信道中出现多个无线设备同时发送数据的情况,从而可以提高虚拟载波侦听可靠性。In the existing method, the wireless device uses the duration to update the NAV timer of the local end only when the received transmission frame is a valid frame; when the received transmission frame is an invalid frame, the wireless device cannot set the NAV timing according to the duration. If the device is installed, it will send data on the wireless channel, so that multiple wireless devices simultaneously send data in the same wireless channel at the same time, which reduces the reliability of virtual carrier sense. In the virtual carrier sensing method provided by the embodiment of the present invention, a check field is included in the service field of the transmission frame, and the duration included in the received transmission frame is determined according to the first check value carried in the check field Whether it is a valid duration or not, no matter whether the received transmission frame is a valid frame or not, that is, it is not necessary to use FCS to determine whether the transmission frame is a valid frame or not, but only the duration included in the transmission frame needs to be checked. When it is determined that the duration included in the transmission frame is a valid duration, the NAV timer of the local end can be updated by using the duration, so that the local end does not send data before the time of the NAV timer is decremented to zero, so as to avoid the same wireless radio at the same time. In the channel, multiple wireless devices transmit data at the same time, so that the reliability of virtual carrier sense can be improved.
请参阅图3,图3是本发明实施例公开的另一种虚拟载波侦听方法的流程图。其中,图3所示的虚拟载波侦听方法适用于手机、平板电脑等无线设备。图3所示的虚拟载波侦听方法是从发送侧的角度来描述的,相关步骤可以参考前述内容进行理解。如图3所示,该虚拟载波侦听方法可以包括以下步骤。Please refer to FIG. 3. FIG. 3 is a flowchart of another virtual carrier sensing method disclosed in an embodiment of the present invention. The virtual carrier sensing method shown in FIG. 3 is suitable for wireless devices such as mobile phones and tablet computers. The virtual carrier sensing method shown in FIG. 3 is described from the perspective of the sending side, and relevant steps can be understood with reference to the foregoing content. As shown in FIG. 3 , the virtual carrier sensing method may include the following steps.
S301、生成传输帧,传输帧包括服务字段和持续时间字段,其中,服务字段包括校验字段,校验字段中携带有第二校验值,第二校验值根据字段集按预定算法计算得到,字段集是传输帧包括的字段中的部分字段,字段集包括持续时间字段,持续时间字段包括持续时间。S301. Generate a transmission frame, where the transmission frame includes a service field and a duration field, wherein the service field includes a check field, the check field carries a second check value, and the second check value is calculated according to a predetermined algorithm according to the field set , the field set is a part of the fields included in the transmission frame, the field set includes the duration field, and the duration field includes the duration.
本实施例中,服务字段可以通过基本方法或扩展方法承载校验值。基本方法为:服务字段的长度一般为16bits,其中,7bits为扰码生成器初始值,不能携带信息,因此,可以用剩余的9bits携带校验值,802.11ac标准中已提出利用服务字段中8bits承载校验值的方法,但该校验值是物理头中的VTH-SIG-B字段的校验值,因此,可以采用类似的方法(即利用剩余的9bits中的部分或全部bits)承载字段集的校验值,如果需要承载物理头中的SIG字段的校验值,则字段集将还包括物理头中的SIG字段。校验值长度越短越易产生误判,因此,扩展方法在基本方法的基础上进一步增加校验值长度,具体为:通过传输帧源无线设备的扰码生成器初始状态值隐式地承载校验值,以增加校验值长度。In this embodiment, the service field may carry the check value through the basic method or the extension method. The basic method is: the length of the service field is generally 16bits, of which 7bits is the initial value of the scrambling code generator and cannot carry information. Therefore, the remaining 9bits can be used to carry the check value. It has been proposed in the 802.11ac standard to use the 8bits in the service field. The method of carrying the check value, but the check value is the check value of the VTH-SIG-B field in the physical header. Therefore, a similar method (that is, using some or all of the remaining 9 bits) can be used to carry the field If the check value of the SIG field in the physical header needs to be carried, the field set will also include the SIG field in the physical header. The shorter the length of the check value, the easier it is to cause misjudgment. Therefore, the extended method further increases the length of the check value on the basis of the basic method. Specifically, the initial state value of the scrambling code generator of the source wireless device of the transmission frame is implicitly carried. Check value to increase the length of the check value.
举例说明,扰码生成器是一个7位的循环移位寄存器,给定7位初始值之后,可输出周期为127的扰码序列。传统机制中,传输帧源无线设备随机选择一个非全0的7位二进制序列作为扰码生成器初始状态值。而在扩展方法中,用校验值中的6位(X1~X6)代替7位随机序列中的6位,剩余1位恒置为1(为了保证初始状态值不全为0)。其它无线设备接收到传输帧后,可反向推导出这7位初始状态值,其中6位是检验值的内容。该方法中通过扰码生成器初始状态值隐式携带6位校验值(X1~X6),加上由服务字段直接携带的9位(X7~X15),则校验值最多可以包含15bits,其过程如图2所示。For example, the scrambling code generator is a 7-bit cyclic shift register. After a 7-bit initial value is given, a scrambling code sequence with a period of 127 can be output. In the traditional mechanism, the source wireless device of the transmission frame randomly selects a 7-bit binary sequence that is not all 0s as the initial state value of the scrambling code generator. In the extension method, 6 bits (X1-X6) in the check value are used to replace 6 bits in the 7-bit random sequence, and the remaining 1 bit is always set to 1 (in order to ensure that the initial state value is not all 0). After other wireless devices receive the transmission frame, they can reversely deduce the 7-bit initial state value, of which 6 bits are the content of the check value. In this method, the initial state value of the scrambling code generator implicitly carries a 6-bit check value (X1~X6), plus the 9 bits (X7~X15) directly carried by the service field, the check value can contain at most 15bits, The process is shown in Figure 2.
作为一种可能的实施方式,传输帧还包括接收地址字段,接收地址字段包括传输帧的接收地址,字段集还包括接收地址字段。As a possible implementation manner, the transmission frame further includes a reception address field, the reception address field includes a reception address of the transmission frame, and the field set further includes a reception address field.
本实施例中,传输帧的接收地址可以是单播地址,广播地址或组播地址。其中,接收地址为传输帧的目的无线设备地址。In this embodiment, the receiving address of the transmission frame may be a unicast address, a broadcast address or a multicast address. The receiving address is the destination wireless device address of the transmission frame.
作为一种可能的实施方式,传输帧还包括物理头,物理头包括指示信息,指示信息用于指示传输帧包括校验字段。As a possible implementation manner, the transmission frame further includes a physical header, and the physical header includes indication information, and the indication information is used to indicate that the transmission frame includes a check field.
举例说明,当物理头中的指示信息的值为1时,表明传输帧包括校验字段,当指示信息的值为0时,表明传输帧不包括校验字段。For example, when the value of the indication information in the physical header is 1, it indicates that the transmission frame includes a check field, and when the value of the indication information is 0, it indicates that the transmission frame does not include a check field.
S302、发送传输帧,以使接收到传输帧的无线设备根据第一校验值来确定持续时间是否为有效持续时间,并当确定持续时间为有效持续时间时,利用持续时间更新该无线设备的网络分配矢量计时器,其中,第一校验值是第二校验值被携带在校验字段中经过无线信道传输后得到的。具体所述接收到传输帧的无线设备如何根据第一校验值来确定持续时间是否为有效持续时间可以参考前述各实施例的相关内容来理解。S302. Send a transmission frame, so that the wireless device that has received the transmission frame determines whether the duration is an effective duration according to the first check value, and when the duration is determined to be an effective duration, use the duration to update the wireless device's The network allocates the vector timer, wherein the first check value is obtained after the second check value is carried in the check field and transmitted through the wireless channel. Specifically, how the wireless device that receives the transmission frame determines whether the duration is a valid duration according to the first check value can be understood by referring to the relevant contents of the foregoing embodiments.
本实施例中,生成传输帧之后,将传输帧发送给接收地址对应的无线设备,在发送的过程中,由于无线信道本身的广播特性,将会被与接收地址对应的无线设备使用同一无线信道的其它无线设备接收到,以便这些无线设备利用第一校验值确定持续时间是否为有效持续时间,当确定持续时间为有效持续时间时,将利用持续时间更新它们的NAV计时器,避免同一时间同一无线信道中出现多个无线设备同时发送数据的情况。In this embodiment, after the transmission frame is generated, the transmission frame is sent to the wireless device corresponding to the receiving address. During the sending process, due to the broadcasting characteristics of the wireless channel itself, the same wireless channel will be used by the wireless device corresponding to the receiving address. received by other wireless devices, so that these wireless devices use the first check value to determine whether the duration is a valid duration, and when the duration is determined to be a valid duration, they will use the duration to update their NAV timers to avoid the same time In the same wireless channel, multiple wireless devices transmit data at the same time.
在图3所描述的虚拟载波侦听方法中,生成的传输帧包括校验字段,校验字段中携带有第二校验值,被与接收地址对应的无线设备使用同一无线信道的其它无线设备接收到后,将利用第一校验值验证持续时间是否为有效持续时间,其中,第一校验值是第二校验值被携带在校验字段中经过无线信道传输后得到的,当持续时间为有效持续时间时,将利用持续时间更新它们的NAV计时器,避免同一时间同一无线信道中出现多个无线设备同时发送数据的情况,从而可以提高虚拟载波侦听可靠性。In the virtual carrier sense method described in FIG. 3 , the generated transmission frame includes a check field, and the check field carries a second check value, which is used by other wireless devices of the same wireless channel by the wireless device corresponding to the receiving address. After receiving, it will use the first check value to verify whether the duration is a valid duration, wherein the first check value is obtained after the second check value is carried in the check field and transmitted through the wireless channel. When the time is a valid duration, their NAV timers will be updated with the duration to avoid the situation that multiple wireless devices transmit data simultaneously in the same wireless channel at the same time, thereby improving the reliability of virtual carrier sense.
请参阅图4,图4是本发明实施例公开的一种MAC帧头压缩方法的流程图。其中,图4所示的MAC帧头压缩方法适用于手机、平板电脑等无线设备。图4所示的MAC帧头压缩方法是从发送侧的角度来描述的。如图4所示,该MAC帧头压缩方法可以包括以下步骤。Please refer to FIG. 4. FIG. 4 is a flowchart of a method for compressing a MAC frame header disclosed in an embodiment of the present invention. The MAC frame header compression method shown in FIG. 4 is suitable for wireless devices such as mobile phones and tablet computers. The MAC frame header compression method shown in FIG. 4 is described from the perspective of the transmitting side. As shown in FIG. 4 , the MAC frame header compression method may include the following steps.
S401、构建传输帧,传输帧包括物理头、MAC帧头和帧校验序列,MAC帧头包括传输帧的类型、传输帧的传输方向和地址字段集,物理头包括用于指示传输帧是否为压缩传输帧的指示信息。S401. Construct a transmission frame. The transmission frame includes a physical header, a MAC frame header, and a frame check sequence. The MAC frame header includes the type of the transmission frame, the transmission direction of the transmission frame, and a set of address fields. The physical header includes a frame used to indicate whether the transmission frame is a Indication information for compressed transmission frames.
本实施例中,IEEE 802.11网络中,存在大量长度较短的短帧,由于短帧中MAC帧头所占传输帧的比例比长帧中MAC帧头所占传输帧的比例大,因此短帧降低了无线信道利用率。提高短帧无线信道利用率的一种方式为:当一个无线设备有多个短帧需要传输时,将这些短帧聚合为长帧进行传输。然而,当这些短帧属于不同用户时,它们之间无法聚合。因此,本实施例中从短帧的MAC帧头着手,通过压缩MAC帧头中的地址字段集来降低MAC帧头所占传输帧的比例。In this embodiment, in the IEEE 802.11 network, there are a large number of short frames with short lengths. Since the proportion of the MAC frame header in the short frame in the transmission frame is larger than that in the long frame, the short frame Reduced wireless channel utilization. One way to improve the utilization rate of the short frame wireless channel is: when a wireless device has multiple short frames to transmit, these short frames are aggregated into long frames for transmission. However, when these short frames belong to different users, they cannot be aggregated between them. Therefore, in this embodiment, the MAC frame header of the short frame is started, and the proportion of the MAC frame header in the transmission frame is reduced by compressing the address field set in the MAC frame header.
本实施例中,按照现有规则构建传输帧,传输帧包括物理头、MAC帧头和帧校验序列。MAC帧头包括由至少一个地址字段构成的地址字段集和帧控制字段,其中,帧控制字段包括传输帧的类型和传输帧的传输方向。帧校验序列是采用特定算法、根据MAC帧头和帧体两部分计算获得的。其中,指示信息还可以位于SERVICE域中。SERVICE域位于MAC帧头之前。In this embodiment, the transmission frame is constructed according to the existing rules, and the transmission frame includes a physical header, a MAC frame header and a frame check sequence. The MAC frame header includes an address field set consisting of at least one address field and a frame control field, wherein the frame control field includes the type of the transmission frame and the transmission direction of the transmission frame. The frame check sequence is calculated based on the MAC frame header and frame body using a specific algorithm. Wherein, the indication information may also be located in the SERVICE domain. The SERVICE field is located before the MAC frame header.
S402、根据传输帧的类型和传输帧的传输方向确定地址字段集中能被移除的地址字段。S402. Determine the address fields that can be removed in the address field set according to the type of the transmission frame and the transmission direction of the transmission frame.
本实施例中,传输帧的类型可以为控制帧、数据帧、管理帧等,传输帧的传输方向可以为下行帧、上行帧、直连帧等。In this embodiment, the type of the transmission frame may be a control frame, a data frame, a management frame, etc., and the transmission direction of the transmission frame may be a downlink frame, an uplink frame, a direct connection frame, and the like.
本实施例中,控制帧一般包括帧的发送地址和接收地址,或只包括接收地址,这些地址都可被移除,即可被压缩。其中,发送地址为传输帧的源无线设备的地址,接收地址为传输帧的目的无线设备的地址。In this embodiment, the control frame generally includes the sending address and the receiving address of the frame, or only includes the receiving address, and these addresses can be removed, that is, compressed. The sending address is the address of the source wireless device of the transmission frame, and the receiving address is the address of the destination wireless device of the transmission frame.
本实施例中,数据帧根据控制字段中From DS和To DS取值的不同,可以分为直连帧(From DS=0,To DS=0)、下行帧(From DS=1,To DS=0)、上行帧(From DS=0,To DS=1)和Mesh帧(From DS=1,To DS=1),由于任何Mesh节点间都可自由通信,因此,不压缩Mesh帧的地址;上行帧和下行帧包括接收地址、发送地址和第三地址,接收地址和发送地址可被移除,当帧体部分为MAC服务数据单元(MAC Service Data Unit,MSDU)时,第三地址为源无线设备地址或目的无线设备地址(当前Wi-Fi网络之外的设备地址),故第三地址不可被压缩;当帧体部分为聚合MSDU(Aggregate MSDU,A-MSDU)时,第三地址为基本服务集标识(Basic Service Set Identifier,BSSID),即接入点地址时,故可以被压缩。怎么知道接收的传输帧帧体部分是MSDU还是A-MSDU呢?事实上,位于MAC帧头中的服务质量(Quality ofService,QoS)控制(Control)字段中存在A-MSDU指示,用于指示帧体部分为A-MSDU或MSDU,其位置在第三地址之后。因此,第三地址存在与否将影响QoS Control字段在帧中的相对位置,即按照QoS控制字段位置,接收方无法先通过该字段获得A-MSDU存在的指示,然后再确定第三地址是否存在。因此,在压缩传输帧时,将QoS控制字段提到所有地址字段之前的位置,以便接收方可以先查看QoS控制字段中的A-MSDU存在的指示,从而可以确定第三地址是否被压缩。QoS控制字段位置移动可以发生在FCS计算之前,也可以发生在FCS计算之后,本实施例不作限定,但其它设备接收到传输帧后也应作相应反操作。直连帧:包括直连的两个站点地址,以及与这两个站点关联的同一接入点的地址,三者均可被压缩。In this embodiment, data frames can be divided into direct connection frames (From DS=0, To DS=0) and downlink frames (From DS=1, To DS= 0), uplink frame (From DS=0, To DS=1) and Mesh frame (From DS=1, To DS=1), since any Mesh node can communicate freely, the address of the Mesh frame is not compressed; The uplink frame and the downlink frame include a receiving address, a sending address, and a third address. The receiving address and the sending address can be removed. When the frame body is a MAC Service Data Unit (MSDU), the third address is the source. The wireless device address or destination wireless device address (device address outside the current Wi-Fi network), so the third address cannot be compressed; when the frame body is an aggregated MSDU (Aggregate MSDU, A-MSDU), the third address is The basic service set identifier (Basic Service Set Identifier, BSSID), that is, the access point address, can be compressed. How to know whether the frame body part of the received transmission frame is MSDU or A-MSDU? In fact, there is an A-MSDU indication in the Quality of Service (Quality of Service, QoS) control (Control) field in the MAC frame header, which is used to indicate that the frame body part is A-MSDU or MSDU, which is located after the third address. Therefore, whether the third address exists or not will affect the relative position of the QoS Control field in the frame, that is, according to the position of the QoS Control field, the receiver cannot first obtain the indication of the existence of the A-MSDU through this field, and then determine whether the third address exists. . Therefore, when compressing the transmission frame, the QoS control field is mentioned before all address fields, so that the receiver can first check the indication of the existence of the A-MSDU in the QoS control field, so as to determine whether the third address is compressed. The position movement of the QoS control field may occur before or after the FCS calculation, which is not limited in this embodiment, but other devices should also perform corresponding reverse operations after receiving the transmission frame. Direct connection frame: includes the addresses of the two directly connected sites and the address of the same access point associated with the two sites, all three of which can be compressed.
本实施例中,管理帧包括接收地址、发送地址和第三地址,其中,接收地址和发送地址可被压缩,第三地址可以是BSSID(接入点的地址)或者通配的BSSID,通配的BSSID不能被压缩。因此,管理帧地址字段集压缩有两种方案:A)只压接收地址和发送地址,第三地址始终不压缩;B)当第三地址为BSSID时,三个地址域均被压缩;当第三地址为通配BSSID时,三个地址域都不压缩。由于实际网络中第三地址多为BSSID,因此方案B为优选方案。In this embodiment, the management frame includes a receiving address, a sending address, and a third address, wherein the receiving address and the sending address may be compressed, and the third address may be a BSSID (address of an access point) or a wildcard BSSID. The BSSID cannot be compressed. Therefore, there are two schemes for compressing the address field set of the management frame: A) only the receiving address and the sending address are compressed, and the third address is always not compressed; B) when the third address is BSSID, all three address fields are compressed; when the third address is BSSID, all three address fields are compressed; When the three addresses are wildcard BSSIDs, the three address fields are not compressed. Since the third address in the actual network is mostly the BSSID, solution B is the preferred solution.
本实施例中,当有多个无线设备与本端关联时,为了能够快速地确定发送端的身份、减少试探次数,可采用一些辅助机制。一种基本方案是只压缩其中一种或多种地址,其他地址不压缩,例如:在上行帧或下行帧中,保留接收地址,而压缩发送地址;在直连帧中,保留源站点或目的站点的地址,而压缩另一站点的地址和接入点的地址。此外,还可以在压缩地址字段集的同时,在传输帧的物理头或MAC头中携带发送端设备的短标识,例如关联标识(Association Identifier,AID)、部分关联标识(Partial AID,PAID)等。In this embodiment, when a plurality of wireless devices are associated with the local end, in order to quickly determine the identity of the transmitting end and reduce the number of attempts, some auxiliary mechanisms may be used. A basic solution is to compress only one or more of these addresses, and not compress other addresses. For example, in an uplink frame or a downlink frame, the receiving address is reserved, while the sending address is compressed; in the direct connection frame, the source site or destination is reserved. address of the site, while compressing the address of the other site and the address of the access point. In addition, while compressing the address field set, the physical header or MAC header of the transmission frame can carry a short identifier of the sender device, such as an association identifier (Association Identifier, AID), a partial association identifier (Partial AID, PAID), etc. .
本实施例中,若传输帧中包括聚合MAC协议数据单元(Aggregate MAC protocoldata unit,A-MPDU),则将上述地址字段移除规则用于A-MPDU中的所有MAC协议数据单元(MAC protocol data unit,MPDU)。In this embodiment, if the transmission frame includes an aggregated MAC protocol data unit (A-MPDU), the above-mentioned address field removal rule is applied to all MAC protocol data units (MAC protocol data units) in the A-MPDU. unit, MPDU).
S403、移除地址字段集中能被移除的地址,以获取压缩的MAC帧头。S403. Remove addresses that can be removed in the address field set to obtain a compressed MAC frame header.
S404、设置物理头中的指示信息,使指示信息用于指示传输帧为压缩传输帧,以获取压缩传输帧。S404. Set the indication information in the physical header, so that the indication information is used to indicate that the transmission frame is a compressed transmission frame, so as to obtain the compressed transmission frame.
本实施例中,物理头包括SIG字段,其中包括指示信息,用于指示传输帧是否为压缩传输帧。例如,指示信息的值为1时,表示传输帧为压缩传输帧,指示信息的值为0时,表示传输帧为非压缩传输帧。In this embodiment, the physical header includes a SIG field, which includes indication information for indicating whether the transmission frame is a compressed transmission frame. For example, when the value of the indication information is 1, it means that the transmission frame is a compressed transmission frame, and when the value of the indication information is 0, it means that the transmission frame is an uncompressed transmission frame.
S405、发送压缩传输帧。S405. Send a compressed transmission frame.
在图4所示的MAC帧头压缩方法中,在发送传输帧之前,先将MAC帧头地址字段集中的部分或全部地址字段移除,以减小传输帧的MAC帧头长度,降低MAC帧头在传输帧中占据的比例,从而提高信道利用率。In the MAC frame header compression method shown in Figure 4, before sending the transmission frame, some or all of the address fields in the MAC frame header address field set are removed to reduce the length of the MAC frame header of the transmission frame and reduce the MAC frame size. The proportion that the header occupies in the transmission frame, thereby improving the channel utilization.
请参阅图5,图5是本发明实施例公开的另一种MAC帧头压缩方法的流程图。其中,图5所示的MAC帧头压缩方法适用于手机、平板电脑等无线设备。图5所示的MAC帧头压缩方法是从接收侧的角度来描述的。如图5所示,该MAC帧头压缩方法可以包括以下步骤。Please refer to FIG. 5. FIG. 5 is a flowchart of another MAC frame header compression method disclosed by an embodiment of the present invention. The MAC frame header compression method shown in FIG. 5 is suitable for wireless devices such as mobile phones and tablet computers. The MAC frame header compression method shown in FIG. 5 is described from the perspective of the receiving side. As shown in FIG. 5 , the MAC frame header compression method may include the following steps.
S501、接收传输帧,传输帧包括物理头、MAC帧头和帧校验序列,MAC帧头包括传输帧的类型、传输帧的传输方向和地址字段集,物理头包括指示信息,指示信息用于指示传输帧为压缩传输帧。S501. Receive a transmission frame. The transmission frame includes a physical header, a MAC frame header, and a frame check sequence. The MAC frame header includes the type of the transmission frame, the transmission direction of the transmission frame, and an address field set. The physical header includes indication information, and the indication information is used for Indicates that the transmission frame is a compressed transmission frame.
本实施例中,IEEE 802.11网络中,存在大量长度较短的短帧,由于短帧中MAC帧头所占传输帧的比例比长帧中MAC帧头所占传输帧的比例大,因此短帧降低了无线信道利用率。提高短帧无线信道利用率的一种方式为:当一个无线设备有多个短帧需要传输时,将这些短帧聚合为长帧进行传输。然而,当这些短帧属于不同用户时,它们之间无法聚合。因此,本实施例中从短帧的MAC帧头着手,通过压缩MAC帧头中的地址字段来降低MAC帧头所占传输帧的比例。其中,指示信息还可以位于SERVICE域中。SERVICE域位于MAC帧头之前。In this embodiment, in the IEEE 802.11 network, there are a large number of short frames with short lengths. Since the proportion of the MAC frame header in the short frame in the transmission frame is larger than that in the long frame, the short frame Reduced wireless channel utilization. One way to improve the utilization rate of the short frame wireless channel is: when a wireless device has multiple short frames to transmit, these short frames are aggregated into long frames for transmission. However, when these short frames belong to different users, they cannot be aggregated between them. Therefore, in this embodiment, the MAC frame header of the short frame is started, and the proportion of the MAC frame header in the transmission frame is reduced by compressing the address field in the MAC frame header. Wherein, the indication information may also be located in the SERVICE domain. The SERVICE field is located before the MAC frame header.
S502、根据指示信息判断传输帧是否为压缩传输帧。S502. Determine whether the transmission frame is a compressed transmission frame according to the indication information.
本实施例中,由于接收到压缩传输帧之后需要进行恢复处理,当传输帧不是压缩传输帧时,不需要进行恢复处理,因此,在传输帧的物理头中的SIG字段中包括指示信息,用于指示传输帧是否为压缩传输帧。例如,当SIG字段的Compress位为1时,表示传输帧为压缩传输帧,当传输帧SIG字段的Compress位为0时,表示传输帧不是压缩传输帧。其中,传输帧的类型可以为控制帧、数据帧、管理帧等,传输帧的传输方向可以为下行帧、上行帧、直连帧等。In this embodiment, since recovery processing needs to be performed after the compressed transmission frame is received, when the transmission frame is not a compressed transmission frame, recovery processing is not required. Therefore, indication information is included in the SIG field in the physical header of the transmission frame, using It is used to indicate whether the transmission frame is a compressed transmission frame. For example, when the Compress bit of the SIG field is 1, it indicates that the transmission frame is a compressed transmission frame, and when the Compress bit of the SIG field of the transmission frame is 0, it indicates that the transmission frame is not a compressed transmission frame. The type of the transmission frame may be a control frame, a data frame, a management frame, etc., and the transmission direction of the transmission frame may be a downlink frame, an uplink frame, a direct connection frame, and the like.
S503、当传输帧为压缩传输帧时,根据传输帧的类型和传输帧的传输方向确定地址字段集中被移除的地址。S503. When the transmission frame is a compressed transmission frame, determine the removed addresses in the address field set according to the type of the transmission frame and the transmission direction of the transmission frame.
本实施例中,接收到传输帧之后,将根据指示信息判断传输帧是否为压缩传输帧,当传输帧为压缩传输帧时,利用传输帧的类型和传输帧的传输方向确定地址字段集中被移除的地址。In this embodiment, after the transmission frame is received, it is determined whether the transmission frame is a compressed transmission frame according to the indication information, and when the transmission frame is a compressed transmission frame, the type of the transmission frame and the transmission direction of the transmission frame are used to determine whether the address field is set to be shifted or not. except the address.
S504、添加被移除的地址,以获取解压的传输帧。S504. Add the removed address to obtain the decompressed transmission frame.
传输帧中接收地址、发送地址、第三地址中的任何一个或多个都可能被压缩。此处以同时压缩接收地址和发送地址为例,说明接收端如何恢复被压缩的地址字段。其它情况采用类似方法处理,此处不再赘述。Any one or more of the receive address, the transmit address, and the third address in the transmission frame may be compressed. Here, taking the simultaneous compression of the receiving address and the sending address as an example, how the receiving end recovers the compressed address field is described. Other cases are handled in a similar manner, and details are not repeated here.
当被移除的地址由传输帧的接收地址和传输帧的发送地址组成时,添加被移除的地址,以获取解压的传输帧可以包括以下步骤。When the removed address is composed of the receiving address of the transmission frame and the sending address of the transmission frame, adding the removed address to obtain the decompressed transmission frame may include the following steps.
A1、将与本端关联的无线设备的地址作为传输帧的发送地址,将本端的地址作为传输帧的接收地址,以获取包括被移除地址的传输帧。A1. Use the address of the wireless device associated with the local end as the sending address of the transmission frame, and use the address of the local end as the receiving address of the transmission frame, so as to obtain the transmission frame including the removed address.
A2、计算包括被移除地址的传输帧的目标帧校验序列。A2. Calculate the target frame check sequence of the transmission frame including the removed address.
A3、判断目标帧校验序列与传输帧包括的帧校验序列是否匹配,当目标帧校验序列与该帧校验序列匹配时,将包括被移除地址的传输帧作为解压的传输帧。A3. Determine whether the target frame check sequence matches the frame check sequence included in the transmission frame. When the target frame check sequence matches the frame check sequence, the transmission frame including the removed address is used as the decompressed transmission frame.
本实施例中,当被移除的地址由传输帧的发送设备地址和传输帧的接收地址组成时,假设此时与本端关联的无线设备的地址为传输帧的发送地址、本端的地址为传输帧的接收地址,以获取包括被移除地址的传输帧,之后利用循环冗余算法计算包括被移除地址的传输帧的目标帧校验序列,之后判断目标帧校验序列与传输帧包括的帧校验序列是否匹配,当目标帧校验序列与传输帧包括的帧校验序列匹配时,则表明假设成立,传输帧是由关联的无线设备发送给本端的传输帧,将包括被移除地址的传输帧作为解压的传输帧;当目标帧校验序列与该帧校验序列不匹配时,则表明假设不成立,传输帧不是关联的无线设备发送给本端的传输帧。当与本端相连的无线设备为多个无线设备时,将执行多次上述操作,直到匹配成功或尝试完所有与本端相连的无线设备为止。In this embodiment, when the removed address consists of the address of the sending device of the transmission frame and the receiving address of the transmission frame, it is assumed that the address of the wireless device associated with the local end is the sending address of the transmission frame, and the address of the local end is The receiving address of the transmission frame to obtain the transmission frame including the removed address, then use the cyclic redundancy algorithm to calculate the target frame check sequence of the transmission frame including the removed address, and then determine that the target frame check sequence and the transmission frame include Whether the frame check sequence is matched, when the target frame check sequence matches the frame check sequence included in the transmission frame, it indicates that the assumption is true, the transmission frame is the transmission frame sent by the associated wireless device to the local end, and will include the shifted frame. The transmission frame except the address is used as the decompressed transmission frame; when the target frame check sequence does not match the frame check sequence, it indicates that the assumption does not hold, and the transmission frame is not the transmission frame sent by the associated wireless device to the local end. When the wireless devices connected to the local end are multiple wireless devices, the above operations will be performed multiple times until the matching is successful or all wireless devices connected to the local end are tried.
本实施例中,当有多个无线设备与本端关联时,为了能够快速地确定发送端的身份、减少试探次数,可采用一些辅助机制。一种基本方案是只压缩其中一种或多种地址,其他地址不压缩,例如:在上行帧或下行帧中,保留接收地址,而压缩发送地址;在直连帧中,保留源站点或目的站点的地址,而压缩另一站点的地址和接入点的地址。此外,还可以在压缩地址字段集的同时,在传输帧的物理头或MAC头中携带发送端设备的短标识,例如AID、PAID等。In this embodiment, when a plurality of wireless devices are associated with the local end, in order to quickly determine the identity of the transmitting end and reduce the number of attempts, some auxiliary mechanisms may be used. A basic solution is to compress only one or more of these addresses, and not compress other addresses. For example, in an uplink frame or a downlink frame, the receiving address is reserved, while the sending address is compressed; in the direct connection frame, the source site or destination is reserved. address of the site, while compressing the address of the other site and the address of the access point. In addition, while compressing the address field set, the physical header or MAC header of the transmission frame may carry a short identifier of the sending end device, such as AID, PAID, and the like.
在图5所示的MAC帧头压缩方法中,当传输帧为压缩帧时,MAC帧头地址字段集中的部分或全部地址被移除,传输帧的MAC帧头的长度减小,使MAC帧头在传输帧中占据的比例降低,从而提高信道利用率。In the MAC frame header compression method shown in Figure 5, when the transmission frame is a compressed frame, some or all addresses in the MAC frame header address field set are removed, and the length of the MAC frame header of the transmission frame is reduced, so that the MAC frame The proportion of the header in the transmission frame is reduced, thereby improving the channel utilization.
请参阅图6,图6是本发明实施例公开的一种无线设备的结构图。其中,该无线设备可以为手机、平板电脑等,本实施例不作限定。如图6所示,该无线设备600可以包括:Please refer to FIG. 6. FIG. 6 is a structural diagram of a wireless device disclosed in an embodiment of the present invention. The wireless device may be a mobile phone, a tablet computer, or the like, which is not limited in this embodiment. As shown in FIG. 6, the
接收单元601,用于接收传输帧,传输帧包括服务字段和持续时间字段,其中,服务字段包括校验字段,校验字段中携带有第一校验值,第一校验值是第二校验值被携带在校验字段中经过无线信道传输后得到的,第二校验值是发送传输帧的无线设备生成传输帧时根据字段集按预定算法计算得到的;其中,字段集是传输帧包括的字段中的部分字段,字段集包括持续时间字段;持续时间字段包括持续时间;The receiving
判断单元602,用于根据接收单元601接收的传输帧包括的第一校验值来确定持续时间是否为有效持续时间;Judging
更新单元603,用于当判断单元602确定持续时间为有效持续时间时,利用接收单元601接收的传输帧包括的持续时间更新该无线设备的NAV计时器。The updating
具体地,更新单元603,具体用于当判断单元602确定持续时间为有效持续时间时,利用持续时间更新该无线设备的NAV计时器。Specifically, the updating
作为一种可能的实施方式,判断单元602具体用于:As a possible implementation manner, the judging
根据字段集按预定算法计算得到第三校验值;The third check value is obtained by calculating according to a predetermined algorithm according to the field set;
当第一校验值与第三校验值匹配时,确定持续时间为有效持续时间。When the first check value matches the third check value, the duration is determined to be a valid duration.
作为一种可能的实施方式,传输帧还包括接收地址字段,接收地址字段包括传输帧的接收地址,字段集还包括接收地址字段;As a possible implementation manner, the transmission frame further includes a reception address field, the reception address field includes a reception address of the transmission frame, and the field set further includes a reception address field;
更新单元603,具体用于当根据第一校验值确定持续时间为有效持续时间、接收地址为有效接收地址时,若接收地址与该无线设备的地址不匹配,且持续时间大于该无线设备的网络分配矢量计时器的时间时,则利用持续时间更新所该无线设备的网络分配矢量计时器。The updating
作为一种可能的实施方式,传输帧还包括物理头,物理头包括指示信息,指示信息用于指示传输帧包括校验字段。As a possible implementation manner, the transmission frame further includes a physical header, and the physical header includes indication information, and the indication information is used to indicate that the transmission frame includes a check field.
现有方法中,无线设备只有当接收地址为有效地址且接收地址与本端的地址不匹配时,若传输帧为有效帧,才利用持续时间更新本端的NAV计时器;当接收的传输帧为无效帧时,该无线设备无法根据该持续时间设置NAV计时器,就会在该无线信道发送数据,以致在同一时间同一无线信道中出现多个无线设备同时发送数据,降低了虚拟载波侦听可靠性。在本发明实施例提供的虚拟载波侦听方法中,通过在传输帧的服务字段里包括校验字段,根据该校验字段中携带的第一校验值来确定接收的传输帧包括的持续时间是否为有效持续时间、接收的传输帧包括的接收地址是否为有效接收地址,不论接收的传输帧是否为有效帧,即不需要对传输帧整个帧利用FCS判断该传输帧是否为有效帧,只需要对传输帧里包括的接收地址和持续时间进行校验,当接收地址为有效接收地址,且接收地址与本端的地址不匹配时,确定传输帧里包括的持续时间为有效持续时间,就可以利用持续时间来更新本端的NAV计时器,以使本端在NAV计时器的时间递减为零之前不发送数据,避免同一时间同一无线信道中出现多个无线设备同时发送数据的情况,从而可以提高虚拟载波侦听可靠性。In the existing method, the wireless device uses the duration to update the NAV timer of the local end only when the receiving address is a valid address and the receiving address does not match the address of the local end, and if the transmission frame is a valid frame; when the received transmission frame is invalid. frame, the wireless device cannot set the NAV timer according to the duration, and will send data on the wireless channel, so that multiple wireless devices simultaneously send data in the same wireless channel at the same time, reducing the reliability of virtual carrier sense. . In the virtual carrier sensing method provided by the embodiment of the present invention, a check field is included in the service field of the transmission frame, and the duration included in the received transmission frame is determined according to the first check value carried in the check field Whether it is a valid duration, whether the receiving address included in the received transmission frame is a valid receiving address, regardless of whether the received transmission frame is a valid frame, that is, it is not necessary to use FCS to judge whether the transmission frame is a valid frame or not for the entire frame of the transmission frame. It is necessary to verify the receiving address and duration included in the transmission frame. When the receiving address is a valid receiving address and the receiving address does not match the address of the local end, it is determined that the duration included in the transmission frame is the valid duration. Use the duration to update the NAV timer of the local end, so that the local end does not send data before the time of the NAV timer is decremented to zero, so as to avoid the situation that multiple wireless devices send data simultaneously in the same wireless channel at the same time. Virtual carrier sense reliability.
请参阅图7,图7是本发明实施例公开的另一种无线设备的结构图。其中,该无线设备可以为手机、平板电脑等,本实施例不作限定。如图7所示,该无线设备700可以包括处理器701、存储器702、输入装置703和输出装置704。处理器701与存储器702、处理器701与输入装置703、处理器701与输出装置704可以通过总线或其它方式连接,本实施例中以总线连接为例。其中:Please refer to FIG. 7, which is a structural diagram of another wireless device disclosed in an embodiment of the present invention. The wireless device may be a mobile phone, a tablet computer, or the like, which is not limited in this embodiment. As shown in FIG. 7 , the
输入装置703,用于接收传输帧并发送给处理器701,传输帧包括服务字段和持续时间字段,其中,服务字段包括校验字段,校验字段中携带有第一校验值,第一校验值是第二校验值被携带在校验字段中经过无线信道传输后得到的,第二校验值是发送传输帧的无线设备生成传输帧时根据字段集按预定算法计算得到的;其中,字段集是传输帧包括的字段中的部分字段,字段集包括持续时间字段;持续时间字段包括持续时间;The
存储器702中存储有一组程序代码,处理器701用于调用存储器702中存储的程序代码执行以下操作:A set of program codes are stored in the
根据第一校验值来确定持续时间是否为有效持续时间;determining whether the duration is a valid duration according to the first check value;
当确定持续时间为有效持续时间时,利用持续时间更新该无线设备的NAV计时器。When the duration is determined to be a valid duration, the NAV timer of the wireless device is updated with the duration.
作为一种可能的实施方式,输出装置704,用于发送消息。As a possible implementation manner, the
作为一种可能的实施方式,处理器701用于根据第一校验值来确定持续时间是否为有效持续时间的方式具体为:As a possible implementation manner, the manner in which the
处理器701用于根据字段集按预定算法计算得到第三校验值;The
当第一校验值与第三校验值匹配时,确定持续时间为有效持续时间。When the first check value matches the third check value, the duration is determined to be a valid duration.
作为一种可能的实施方式,传输帧还包括接收地址字段,接收地址字段包括传输帧的接收地址,字段集还包括接收地址字段;As a possible implementation manner, the transmission frame further includes a reception address field, the reception address field includes a reception address of the transmission frame, and the field set further includes a reception address field;
处理器701用于当确定持续时间为有效持续时间时,利用持续时间更新该无线设备的网络分配矢量计时器的方式具体为:The manner in which the
处理器701用于当根据第一校验值确定持续时间为有效持续时间、接收地址为有效接收地址时,若接收地址与该无线设备的地址不匹配,且持续时间大于该无线设备的网络分配矢量计时器的时间,则利用持续时间更新该无线设备的网络分配矢量计时器。The
作为一种可能的实施方式,传输帧还包括物理头,物理头包括指示信息,指示信息用于指示传输帧包括校验字段。As a possible implementation manner, the transmission frame further includes a physical header, and the physical header includes indication information, and the indication information is used to indicate that the transmission frame includes a check field.
现有方法中,无线设备只有当接收地址为有效地址且接收地址与本端的地址不匹配时,若传输帧为有效帧,才利用持续时间更新本端的NAV计时器;当接收的传输帧为无效帧时,该无线设备无法根据该持续时间设置NAV计时器,就会在该无线信道发送数据,以致在同一时间同一无线信道中出现多个无线设备同时发送数据,降低了虚拟载波侦听可靠性。在本发明实施例提供的虚拟载波侦听方法中,通过在传输帧的服务字段里包括校验字段,根据该校验字段中携带的第一校验值来确定接收的传输帧包括的持续时间是否为有效持续时间、接收的传输帧包括的接收地址是否为有效接收地址,不论接收的传输帧是否为有效帧,即不需要对传输帧整个帧利用FCS判断该传输帧是否为有效帧,只需要对传输帧里包括的接收地址和持续时间进行校验,当接收地址为有效接收地址,且接收地址与本端的地址不匹配时,确定传输帧里包括的持续时间为有效持续时间,就可以利用持续时间来更新本端的NAV计时器,以使本端在NAV计时器的时间递减为零之前不发送数据,避免同一时间同一无线信道中出现多个无线设备同时发送数据的情况,从而可以提高虚拟载波侦听可靠性。In the existing method, the wireless device uses the duration to update the NAV timer of the local end only when the receiving address is a valid address and the receiving address does not match the address of the local end, and if the transmission frame is a valid frame; when the received transmission frame is invalid. frame, the wireless device cannot set the NAV timer according to the duration, and will send data on the wireless channel, so that multiple wireless devices simultaneously send data in the same wireless channel at the same time, reducing the reliability of virtual carrier sense. . In the virtual carrier sensing method provided by the embodiment of the present invention, a check field is included in the service field of the transmission frame, and the duration included in the received transmission frame is determined according to the first check value carried in the check field Whether it is a valid duration, whether the receiving address included in the received transmission frame is a valid receiving address, regardless of whether the received transmission frame is a valid frame, that is, it is not necessary to use FCS to judge whether the transmission frame is a valid frame or not for the entire frame of the transmission frame. It is necessary to verify the receiving address and duration included in the transmission frame. When the receiving address is a valid receiving address and the receiving address does not match the address of the local end, it is determined that the duration included in the transmission frame is the valid duration. Use the duration to update the NAV timer of the local end, so that the local end does not send data before the time of the NAV timer is decremented to zero, so as to avoid the situation that multiple wireless devices send data simultaneously in the same wireless channel at the same time. Virtual carrier sense reliability.
请参阅图8,图8是本发明实施例公开的又一种无线设备的结构图。其中,该无线设备可以为手机、平板电脑等,本实施例不作限定。如图8所示,该无线设备800可以包括:Please refer to FIG. 8. FIG. 8 is a structural diagram of another wireless device disclosed in an embodiment of the present invention. The wireless device may be a mobile phone, a tablet computer, or the like, which is not limited in this embodiment. As shown in FIG. 8, the
生成单元801,用于生成传输帧,传输帧包括服务字段和持续时间字段,其中,服务字段包括校验字段,校验字段中携带有第二校验值,第二校验值根据字段集按预定算法计算得到,字段集是传输帧包括的字段中的部分字段,字段集包括持续时间字段,持续时间字段包括持续时间;The generating
发送单元802,用于发送生成单元801生成的传输帧,以使接收到传输帧的目标无线设备根据第一校验值来确定持续时间是否为有效持续时间,并当确定持续时间为有效持续时间时,利用持续时间更新该目标无线设备的网络分配矢量计时器,其中,第一校验值是第二校验值被携带在校验字段中经过无线信道传输后得到的。The sending
作为一种可能的实施方式,传输帧还包括接收地址字段,接收地址字段包括传输帧的接收地址,字段集还包括接收地址字段。As a possible implementation manner, the transmission frame further includes a reception address field, the reception address field includes a reception address of the transmission frame, and the field set further includes a reception address field.
作为一种可能的实施方式,传输帧还包括物理头,物理头包括指示信息,指示信息用于指示传输帧包括校验字段。As a possible implementation manner, the transmission frame further includes a physical header, and the physical header includes indication information, and the indication information is used to indicate that the transmission frame includes a check field.
在图8所描述的无线设备中,生成的传输帧包括校验字段,校验字段中携带有第二校验值,被与接收地址对应的无线设备使用同一无线信道的其它无线设备接收到后,将利用第一校验值验证持续时间是否为有效持续时间,其中,第一校验值是第二校验值被携带在校验字段中经过无线信道传输后得到的,当持续时间为有效持续时间时,将利用持续时间更新它们的NAV计时器,避免同一时间同一无线信道中出现多个无线设备同时发送数据的情况,从而可以提高虚拟载波侦听可靠性。In the wireless device described in FIG. 8 , the generated transmission frame includes a check field, and the check field carries a second check value, which is received by other wireless devices using the same wireless channel by the wireless device corresponding to the receiving address. , will use the first check value to verify whether the duration is a valid duration, wherein, the first check value is obtained after the second check value is carried in the check field and transmitted through the wireless channel, when the duration is valid When the duration is set, their NAV timers will be updated with the duration to avoid the situation that multiple wireless devices transmit data simultaneously in the same wireless channel at the same time, thereby improving the reliability of virtual carrier sense.
请参阅图9,图9是本发明实施例公开的又一种无线设备的结构图。其中,该无线设备可以为手机、平板电脑等,本实施例不作限定。如图9所示,该无线设备900可以包括处理器901、存储器902、输出装置903和输入装置904。处理器901与存储器902、处理器901与输入装置903、处理器901与输入装置904可以通过总线或其它方式连接,本实施例中以总线连接为例。其中:Please refer to FIG. 9. FIG. 9 is a structural diagram of another wireless device disclosed in an embodiment of the present invention. The wireless device may be a mobile phone, a tablet computer, or the like, which is not limited in this embodiment. As shown in FIG. 9 , the
存储器902中存储有一组程序代码,处理器901用于调用存储器902中存储的程序代码执行以下操作:A set of program codes are stored in the
生成传输帧,传输帧包括服务字段和持续时间字段,其中,服务字段包括校验字段,校验字段中携带有第二校验值,第二校验值根据字段集按预定算法计算得到,字段集是传输帧包括的字段中的部分字段,字段集包括持续时间字段,持续时间字段包括持续时间;A transmission frame is generated, and the transmission frame includes a service field and a duration field, wherein the service field includes a check field, and the check field carries a second check value, and the second check value is calculated according to a predetermined algorithm according to the field set, and the field The set is a part of the fields included in the transmission frame, the field set includes the duration field, and the duration field includes the duration;
输出装置903,用于发送传输帧,以使接收到传输帧的目标无线设备根据第一校验值来确定持续时间是否为有效持续时间,并当确定持续时间为有效持续时间时,利用持续时间更新该目标无线设备的网络分配矢量计时器,其中,第一校验值是第二校验值被携带在校验字段中经过无线信道传输后得到的。The
作为一种可能的实施方式,该无线设备900还可以包括输入装置904,用于接收消息。As a possible implementation manner, the
作为一种可能的实施方式,传输帧还包括接收地址字段,接收地址字段包括传输帧的接收地址,字段集还包括接收地址字段。As a possible implementation manner, the transmission frame further includes a reception address field, the reception address field includes a reception address of the transmission frame, and the field set further includes a reception address field.
作为一种可能的实施方式,传输帧还包括物理头,物理头包括指示信息,指示信息用于指示传输帧包括校验字段。As a possible implementation manner, the transmission frame further includes a physical header, and the physical header includes indication information, and the indication information is used to indicate that the transmission frame includes a check field.
在图9所示的无线设备中,生成的传输帧包括校验字段,校验字段中携带有第二校验值,被与接收地址对应的无线设备使用同一无线信道的其它无线设备接收到后,将利用第一校验值验证持续时间是否为有效持续时间,其中,第一校验值是第二校验值被携带在校验字段中经过无线信道传输后得到的,当持续时间为有效持续时间时,将利用持续时间更新它们的NAV计时器,避免同一时间同一无线信道中出现多个无线设备同时发送数据的情况,从而可以提高虚拟载波侦听可靠性。In the wireless device shown in FIG. 9 , the generated transmission frame includes a check field, and the check field carries a second check value, which is received by other wireless devices using the same wireless channel by the wireless device corresponding to the receiving address. , will use the first check value to verify whether the duration is a valid duration, wherein, the first check value is obtained after the second check value is carried in the check field and transmitted through the wireless channel, when the duration is valid When the duration is set, their NAV timers will be updated with the duration to avoid the situation that multiple wireless devices transmit data simultaneously in the same wireless channel at the same time, thereby improving the reliability of virtual carrier sense.
请参阅图10,图10是本发明实施例公开的又一种无线设备的结构图。其中,该无线设备可以为手机、平板电脑等,本实施例不作限定。如图10所示,该无线设备1000可以包括:Please refer to FIG. 10. FIG. 10 is a structural diagram of another wireless device disclosed in an embodiment of the present invention. The wireless device may be a mobile phone, a tablet computer, or the like, which is not limited in this embodiment. As shown in FIG. 10, the wireless device 1000 may include:
构建单元1001,用于构建传输帧,传输帧包括物理头、MAC帧头和帧校验序列,MAC帧头包括传输帧的类型、传输帧的传输方向和地址字段集,物理头包括用于指示传输帧是否为压缩传输帧的指示信息;The construction unit 1001 is used for constructing a transmission frame, the transmission frame includes a physical header, a MAC frame header and a frame check sequence, the MAC frame header includes the type of the transmission frame, the transmission direction of the transmission frame and the set of address fields, and the physical header includes an indicator for indicating Indication information of whether the transmission frame is a compressed transmission frame;
确定单元1002,用于根据构建单元1001构建的传输帧的类型和构建单元1001构建的传输帧的传输方向确定地址字段集中能被移除的地址字段;determining unit 1002, for determining the address fields that can be removed in the address field set according to the type of the transmission frame constructed by the construction unit 1001 and the transmission direction of the transmission frame constructed by the construction unit 1001;
移除单元1003,用于移除构建单元1001构建的地址字段集中确定单元1002确定的能被移除的地址,以获取压缩的MAC帧头;The removing unit 1003 is used to remove the address that can be removed determined by the address field set determination unit 1002 constructed by the constructing unit 1001 to obtain the compressed MAC frame header;
获取单元1004,用于设置构建单元1001构建的传输帧包括的物理头中的指示信息,使指示信息用于指示传输帧为压缩传输帧,以获取压缩传输帧;The obtaining unit 1004 is used to set the indication information in the physical header included in the transmission frame constructed by the construction unit 1001, so that the indication information is used to indicate that the transmission frame is a compressed transmission frame, so as to obtain the compressed transmission frame;
发送单元1005,发送获取单元1004获取的压缩传输帧。The sending unit 1005 sends the compressed transmission frame obtained by the obtaining unit 1004 .
具体地,移除单元1003,用于移除构建单元1001构建的地址字段集中确定单元1002确定的能被移除的地址,以获取压缩的MAC帧头,触发获取单元1004设置构建单元1001构建的传输帧包括的物理头中的指示信息,使指示信息用于指示传输帧为压缩传输帧,以获取压缩传输帧Specifically, the removing unit 1003 is configured to remove the addresses that can be removed and determined by the determination unit 1002 in the address field set constructed by the constructing unit 1001, to acquire the compressed MAC frame header, and trigger the acquiring unit 1004 to set the address constructed by the constructing unit 1001. The indication information in the physical header included in the transmission frame, so that the indication information is used to indicate that the transmission frame is a compressed transmission frame, so as to obtain the compressed transmission frame
在图10所示的无线设备中,在发送传输帧之前,先将MAC帧头地址字段集中的部分或全部地址字段移除,以减小传输帧的MAC帧头长度,降低MAC帧头在传输帧中占据的比例,从而提高信道利用率。In the wireless device shown in Figure 10, before sending a transmission frame, some or all of the address fields in the MAC frame header address field set are removed to reduce the length of the MAC frame header of the transmission frame and reduce the length of the MAC frame header during transmission. The proportion occupied in the frame, thereby improving the channel utilization.
请参阅图11,图11是本发明实施例公开的又一种无线设备的结构图。其中,该无线设备可以为手机、平板电脑等,本实施例不作限定。如图11所示,该无线设备1100可以包括处理器1101、存储器1102、输出装置1103和输入装置1104。处理器1101与存储器1102、处理器1101与输出装置1103、处理器1101与输入装置1104可以通过总线或其它方式连接,本实施例中以总线连接为例。其中:Please refer to FIG. 11. FIG. 11 is a structural diagram of another wireless device disclosed in an embodiment of the present invention. The wireless device may be a mobile phone, a tablet computer, or the like, which is not limited in this embodiment. As shown in FIG. 11 , the
存储器1102中存储有一组程序代码,处理器1101用于调用存储器1102中存储的程序代码执行以下操作:A set of program codes are stored in the
构建传输帧,传输帧包括物理头、MAC帧头和帧校验序列,MAC帧头包括传输帧的类型、传输帧的传输方向和地址字段集,物理头包括用于指示传输帧是否为压缩传输帧的指示信息;Construct a transmission frame. The transmission frame includes a physical header, a MAC frame header, and a frame check sequence. The MAC frame header includes the type of the transmission frame, the transmission direction of the transmission frame, and the set of address fields. The physical header includes a frame used to indicate whether the transmission frame is compressed transmission. Indication information of the frame;
根据传输帧的类型和传输帧的传输方向确定地址字段集中能被移除的地址字段;Determine the address fields that can be removed in the address field set according to the type of the transmission frame and the transmission direction of the transmission frame;
移除地址字段集中能被移除的地址,以获取压缩的MAC帧头;Remove the addresses that can be removed from the address field set to obtain the compressed MAC frame header;
设置物理头中的指示信息,使指示信息用于指示传输帧为压缩传输帧,以获取压缩传输帧;Set the indication information in the physical header, so that the indication information is used to indicate that the transmission frame is a compressed transmission frame, so as to obtain the compressed transmission frame;
输出装置1103,用于发送压缩传输帧。The
作为一种可能的实施方式,输入装置1104,用于接收消息。As a possible implementation manner, the
在图11所示的无线设备中,在发送传输帧之前,先将MAC帧头地址字段集中的部分或全部地址字段移除,以减小传输帧的MAC帧头长度,降低MAC帧头在传输帧中占据的比例,从而提高信道利用率。In the wireless device shown in Figure 11, before sending a transmission frame, some or all of the address fields in the MAC frame header address field set are removed to reduce the length of the MAC frame header of the transmission frame and reduce the length of the MAC frame header during transmission. The proportion occupied in the frame, thereby improving the channel utilization.
请参阅图12,图12是本发明实施例公开的又一种无线设备的结构图。其中,该无线设备可以为手机、平板电脑等,本实施例不作限定。如图12所示,该无线设备1200可以包括:Please refer to FIG. 12. FIG. 12 is a structural diagram of another wireless device disclosed in an embodiment of the present invention. The wireless device may be a mobile phone, a tablet computer, or the like, which is not limited in this embodiment. As shown in Figure 12, the wireless device 1200 may include:
接收单元1201,用于接收传输帧,传输帧包括物理头、MAC帧头和帧校验序列,MAC帧头包括传输帧的类型、传输帧的传输方向和地址字段集,物理头包括指示信息,指示信息用于指示传输帧为压缩传输帧;The receiving unit 1201 is configured to receive a transmission frame, the transmission frame includes a physical header, a MAC frame header and a frame check sequence, the MAC frame header includes the type of the transmission frame, the transmission direction and address field set of the transmission frame, and the physical header includes indication information, The indication information is used to indicate that the transmission frame is a compressed transmission frame;
判断单元1202,用于根据接收单元1201接收的指示信息判断传输帧是否为压缩传输帧;Judging unit 1202, for judging whether the transmission frame is a compressed transmission frame according to the indication information received by the receiving unit 1201;
确定单元1203,用于当判断单元1202的判断结果为是时,利用接收单元1201获取的传输帧的类型和接收单元1201获取的传输帧的传输方向确定字段集中被移除的地址;Determining unit 1203, for when the judgment result of judging unit 1202 is yes, utilize the type of the transmission frame that the receiving unit 1201 obtains and the transmission direction of the transmission frame that the receiving unit 1201 obtains to determine the removed address in the field set;
添加单元1204,用于添加确定单元1203确定的被移除的地址,以获取解压的传输帧。The adding unit 1204 is configured to add the removed address determined by the determining unit 1203 to obtain the decompressed transmission frame.
作为一种可能的实施方式,当被移除的地址由传输帧的接收地址和传输帧的发送地址组成时,添加单元1204可以包括:As a possible implementation manner, when the removed address is composed of the receiving address of the transmission frame and the sending address of the transmission frame, the adding unit 1204 may include:
地址获取子单元,用于将与该无线设备关联的目标无线设备的地址作为传输帧的发送地址,将该无线设备的地址作为传输帧的接收地址,以获取包括被移除地址的传输帧。The address obtaining subunit is used for taking the address of the target wireless device associated with the wireless device as the sending address of the transmission frame, and the address of the wireless device as the receiving address of the transmission frame, so as to obtain the transmission frame including the removed address.
序列获取子单元,用于计算地址获取子单元获取的包括被移除地址的传输帧的目标帧校验序列。The sequence acquisition subunit is configured to calculate the target frame check sequence of the transmission frame including the removed address acquired by the address acquisition subunit.
判断子单元,用于判断序列获取子单元获取的目标帧校验序列与接收单元1201接收的传输帧包括的帧校验序列是否匹配,当判断子单元的判断结果为是时,将包括被移除地址的传输帧作为解压的传输帧。The judging subunit is used to judge whether the target frame check sequence obtained by the sequence obtaining subunit matches the frame check sequence included in the transmission frame received by the receiving unit 1201. When the judgment result of the judging subunit is yes, it will include The transport frame except the address is used as the decompressed transport frame.
在图12所示的无线设备中,当传输帧为压缩帧时,MAC帧头地址字段集中的部分或全部地址字段被移除,传输帧的MAC帧头的长度减小,使MAC帧头在传输帧中占据的比例降低,从而提高信道利用率。In the wireless device shown in Figure 12, when the transmission frame is a compressed frame, some or all of the address fields in the MAC header address field set are removed, and the length of the MAC header of the transmission frame is reduced, so that the MAC header is in the The proportion occupied in the transmission frame is reduced, thereby improving the channel utilization rate.
请参阅图13,图13是本发明实施例公开的又一种无线设备的结构图。其中,该无线设备可以为手机、平板电脑等,本实施例不作限定。如图13所示,该无线设备1300可以包括处理器1301、存储器1302、输入装置1303和输出装置1304。处理器1301与存储器1302、处理器1301与输入装置1303、处理器1301与输出装置1304可以通过总线或其它方式连接,本实施例以总线连接为例。其中:Please refer to FIG. 13. FIG. 13 is a structural diagram of another wireless device disclosed in an embodiment of the present invention. The wireless device may be a mobile phone, a tablet computer, or the like, which is not limited in this embodiment. As shown in FIG. 13 , the
输入装置1303,用于接收传输帧,传输帧包括物理头、MAC帧头和帧校验序列,MAC帧头包括传输帧的类型、传输帧的传输方向和地址字段集,物理头包括指示信息,指示信息用于指示传输帧为压缩传输帧;The
存储器1302中存储有一组程序代码,处理器1301用于调用存储器1302中存储的程序代码执行以下操作:A set of program codes are stored in the
根据指示信息判断传输帧是否为压缩传输帧;Determine whether the transmission frame is a compressed transmission frame according to the indication information;
当传输帧为压缩传输帧时,根据传输帧的类型和传输帧的传输方向确定地址字段集中被移除的地址;When the transmission frame is a compressed transmission frame, the removed addresses in the address field set are determined according to the type of the transmission frame and the transmission direction of the transmission frame;
添加被移除的地址,以获取解压的传输帧。Add the removed address to get the decompressed transport frame.
作为一种可能的实施方式,输出装置1304,用于发送消息。As a possible implementation manner, the
作为一种可能的实施方式,当被移除的地址由传输帧的接收地址和传输帧的发送地址组成时,处理器1301添加被移除的地址,以获取解压的传输帧的方式具体为:As a possible implementation manner, when the removed address is composed of the receiving address of the transmission frame and the sending address of the transmission frame, the
将与该无线设备关联的目标无线设备的地址作为传输帧的发送地址,将该无线设备的地址作为传输帧的接收地址,以获取包括被移除地址的传输帧;Using the address of the target wireless device associated with the wireless device as the sending address of the transmission frame, and using the address of the wireless device as the receiving address of the transmission frame, to obtain the transmission frame including the removed address;
计算包括被移除地址的传输帧的目标帧校验序列;Calculate the target frame check sequence of the transmission frame including the removed address;
判断目标帧校验序列与传输帧包括的帧校验序列是否匹配,若目标帧校验序列与该帧校验序列匹配,将包括被移除地址的传输帧作为解压的传输帧。It is judged whether the target frame check sequence matches the frame check sequence included in the transmission frame. If the target frame check sequence matches the frame check sequence, the transmission frame including the removed address is used as the decompressed transmission frame.
在图13所示的无线设备中,当传输帧为压缩帧时,MAC帧头地址字段集中的部分或全部地址被移除,传输帧的MAC帧头的长度减小,使MAC帧头在传输帧中占据的比例降低,从而提高信道利用率。In the wireless device shown in Figure 13, when the transmission frame is a compressed frame, some or all of the addresses in the MAC header address field set are removed, and the length of the MAC header of the transmission frame is reduced, so that the MAC header is transmitted The proportion occupied in the frame is reduced, thereby improving the channel utilization.
一个实施例中,本发明实施例进一步公开一种计算机存储介质,该计算机存储介质存储有计算机程序,当计算机存储介质中的计算机程序被读取到计算机时,能够使得计算机完成本发明实施例公开的虚拟载波侦听方法的全部步骤。In one embodiment, the embodiment of the present invention further discloses a computer storage medium, the computer storage medium stores a computer program, and when the computer program in the computer storage medium is read to a computer, the computer can be made to complete the disclosure of the embodiment of the present invention. All steps of the virtual carrier sense method.
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. As in accordance with the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random AccessMemory,RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: Flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), magnetic disk or optical disk, etc.
以上对本发明实施例所提供的虚拟载波侦听方法及装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The virtual carrier sensing method and device provided by the embodiments of the present invention have been described in detail above. The principles and implementations of the present invention are described in this paper by using specific examples. The descriptions of the above embodiments are only used to help understand the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be construed as Limitations of the present invention.
Claims (26)
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2014/092624 WO2016082230A1 (en) | 2014-11-29 | 2014-11-29 | Virtual carrier sensing method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106471785A CN106471785A (en) | 2017-03-01 |
| CN106471785B true CN106471785B (en) | 2020-02-21 |
Family
ID=56073420
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201480080356.9A Expired - Fee Related CN106471785B (en) | 2014-11-29 | 2014-11-29 | A virtual carrier sensing method and device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106471785B (en) |
| WO (1) | WO2016082230A1 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107613518B (en) * | 2016-07-11 | 2020-06-26 | 华为技术有限公司 | Network allocation vector value setting method and device |
| CN112765124B (en) * | 2020-12-30 | 2024-05-17 | 深圳市捷顺科技实业股份有限公司 | Verification method for automatically verifying data and server |
| CN115225435A (en) * | 2021-04-20 | 2022-10-21 | 华为技术有限公司 | Method and device for determining initialization state of scrambling code sequence |
| US12356373B2 (en) * | 2023-11-27 | 2025-07-08 | Synaptics Incorporated | Nonconforming network allocation vector (NAV) detection and mitigation |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1638384A (en) * | 2004-01-09 | 2005-07-13 | 株式会社东芝 | Communication device, communication method and communication system |
| CN1649318A (en) * | 2004-01-26 | 2005-08-03 | 三星电子株式会社 | Method and apparatus for setting, sending and receiving data for virtual carrier sense |
| CN104094652A (en) * | 2011-09-20 | 2014-10-08 | 华为技术有限公司 | Systems and methods for managing contention in a wireless communication system |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103916386B (en) * | 2009-09-29 | 2017-02-22 | 北京新岸线移动多媒体技术有限公司 | Data sending and receiving method |
| US8867574B2 (en) * | 2010-06-02 | 2014-10-21 | Qualcomm Incorporated | Format of VHT-SIG-B and service fields in IEEE 802.11AC |
-
2014
- 2014-11-29 CN CN201480080356.9A patent/CN106471785B/en not_active Expired - Fee Related
- 2014-11-29 WO PCT/CN2014/092624 patent/WO2016082230A1/en active Application Filing
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1638384A (en) * | 2004-01-09 | 2005-07-13 | 株式会社东芝 | Communication device, communication method and communication system |
| CN1649318A (en) * | 2004-01-26 | 2005-08-03 | 三星电子株式会社 | Method and apparatus for setting, sending and receiving data for virtual carrier sense |
| CN104094652A (en) * | 2011-09-20 | 2014-10-08 | 华为技术有限公司 | Systems and methods for managing contention in a wireless communication system |
Non-Patent Citations (2)
| Title |
|---|
| Enhancing 802.11 Carrier Sense for High Throughput and QoS in Dense User Settings;Madan Ritesh等;《2012 IEEE 23rd International Symposium on Personal, Indoor and Mobile Radio Communications - (PIMRC)》;20120912;全文 * |
| On Enhancing Four-Way Handshake with Stair-Like NAV Setting for Underwater Acoustic Networks;Chen Yen-Da等;《OCEANS"11 MTS/IEEE KONA》;20110922;全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2016082230A1 (en) | 2016-06-02 |
| CN106471785A (en) | 2017-03-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106877977B (en) | Data communication method, device and system | |
| CN106161583B (en) | A method and device for transmitting a block acknowledgment frame | |
| JP2020061749A (en) | Systems and methods for signaling and generating variable length block acknowledgment fields in wireless network | |
| CN108123775B (en) | Method and device for transmitting data packets | |
| CN103765847A (en) | Apparatus and methods for media access control header compression | |
| CN106817192B (en) | Error estimation method, base station and terminal | |
| EP3313046A1 (en) | Apparatus and methods for mac header compression | |
| CN108696939B (en) | A method and network device for sending scheduling information | |
| CN106471785B (en) | A virtual carrier sensing method and device | |
| WO2013091510A1 (en) | Data frame transmission method and device | |
| CN109150413B (en) | Method and apparatus for sending and receiving feedback information | |
| CN110574321A (en) | Data transmission method and transmission device, communication equipment and storage medium | |
| EP3345323A1 (en) | Retransmission technique | |
| CN108631918A (en) | The method and apparatus of data transmission | |
| CN112134647A (en) | Method and sender device for transmitting data | |
| WO2019080555A1 (en) | Acknowledgement method and device for grant-free data transmission | |
| US10523790B2 (en) | System and method of header compression for online network codes | |
| EP3790213B1 (en) | Mac-based hybrid automatic repeat request (harq) | |
| CN106534056B (en) | Communication device and communication method | |
| CN106416399B (en) | Data transmission method and user equipment | |
| CN106888072B (en) | Data transmission method and device | |
| US11239957B2 (en) | Data processing method and data processing apparatus | |
| CN107078866B (en) | System and Method for Low Payload Confirmation | |
| CN111416689B (en) | Data transmission method and communication equipment | |
| CN115696219A (en) | Communication method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200221 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |