CN109429357B - Communication method and device of wireless local area network, access point equipment and site equipment - Google Patents
Communication method and device of wireless local area network, access point equipment and site equipment Download PDFInfo
- Publication number
- CN109429357B CN109429357B CN201710763911.3A CN201710763911A CN109429357B CN 109429357 B CN109429357 B CN 109429357B CN 201710763911 A CN201710763911 A CN 201710763911A CN 109429357 B CN109429357 B CN 109429357B
- Authority
- CN
- China
- Prior art keywords
- address
- wake
- message frame
- frame
- access control
- 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.)
- Active
Links
- 230000006854 communication Effects 0.000 title claims abstract description 127
- 238000004891 communication Methods 0.000 title claims abstract description 126
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000013507 mapping Methods 0.000 claims abstract description 133
- 230000004044 response Effects 0.000 claims abstract description 49
- 230000002618 waking effect Effects 0.000 claims abstract description 7
- 238000001228 spectrum Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 16
- 230000005540 biological transmission Effects 0.000 description 10
- 230000003993 interaction Effects 0.000 description 10
- 230000004048 modification Effects 0.000 description 7
- 238000012986 modification Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 230000006835 compression Effects 0.000 description 4
- 238000007906 compression Methods 0.000 description 4
- 230000002349 favourable effect Effects 0.000 description 4
- 238000004904 shortening Methods 0.000 description 4
- MOVRNJGDXREIBM-UHFFFAOYSA-N aid-1 Chemical compound O=C1NC(=O)C(C)=CN1C1OC(COP(O)(=O)OC2C(OC(C2)N2C3=C(C(NC(N)=N3)=O)N=C2)COP(O)(=O)OC2C(OC(C2)N2C3=C(C(NC(N)=N3)=O)N=C2)COP(O)(=O)OC2C(OC(C2)N2C3=C(C(NC(N)=N3)=O)N=C2)COP(O)(=O)OC2C(OC(C2)N2C(NC(=O)C(C)=C2)=O)COP(O)(=O)OC2C(OC(C2)N2C3=C(C(NC(N)=N3)=O)N=C2)COP(O)(=O)OC2C(OC(C2)N2C3=C(C(NC(N)=N3)=O)N=C2)COP(O)(=O)OC2C(OC(C2)N2C3=C(C(NC(N)=N3)=O)N=C2)COP(O)(=O)OC2C(OC(C2)N2C(NC(=O)C(C)=C2)=O)COP(O)(=O)OC2C(OC(C2)N2C3=C(C(NC(N)=N3)=O)N=C2)COP(O)(=O)OC2C(OC(C2)N2C3=C(C(NC(N)=N3)=O)N=C2)COP(O)(=O)OC2C(OC(C2)N2C3=C(C(NC(N)=N3)=O)N=C2)COP(O)(=O)OC2C(OC(C2)N2C(NC(=O)C(C)=C2)=O)COP(O)(=O)OC2C(OC(C2)N2C3=C(C(NC(N)=N3)=O)N=C2)COP(O)(=O)OC2C(OC(C2)N2C3=C(C(NC(N)=N3)=O)N=C2)COP(O)(=O)OC2C(OC(C2)N2C3=C(C(NC(N)=N3)=O)N=C2)CO)C(O)C1 MOVRNJGDXREIBM-UHFFFAOYSA-N 0.000 description 3
- 239000000872 buffer Substances 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000007958 sleep Effects 0.000 description 2
- OVGWMUWIRHGGJP-WTODYLRWSA-N (z)-7-[(1r,3s,4s,5r)-3-[(e,3r)-3-hydroxyoct-1-enyl]-6-thiabicyclo[3.1.1]heptan-4-yl]hept-5-enoic acid Chemical compound OC(=O)CCC\C=C/C[C@H]1[C@H](/C=C/[C@H](O)CCCCC)C[C@H]2S[C@@H]1C2 OVGWMUWIRHGGJP-WTODYLRWSA-N 0.000 description 1
- ZAWXOCUFQSQDJS-UHFFFAOYSA-N 8-hydroxy-3-methyl-3,4-dihydro-2h-benzo[a]anthracene-1,7,12-trione Chemical compound O=C1C2=C(O)C=CC=C2C(=O)C2=C1C=CC1=C2C(=O)CC(C)C1 ZAWXOCUFQSQDJS-UHFFFAOYSA-N 0.000 description 1
- 101100059544 Arabidopsis thaliana CDC5 gene Proteins 0.000 description 1
- 101100244969 Arabidopsis thaliana PRL1 gene Proteins 0.000 description 1
- 101100289995 Caenorhabditis elegans mac-1 gene Proteins 0.000 description 1
- 101100366889 Caenorhabditis elegans sta-2 gene Proteins 0.000 description 1
- 102100039558 Galectin-3 Human genes 0.000 description 1
- 101100454448 Homo sapiens LGALS3 gene Proteins 0.000 description 1
- 101150115300 MAC1 gene Proteins 0.000 description 1
- 101150051246 MAC2 gene Proteins 0.000 description 1
- 101150081243 STA1 gene Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W74/00—Wireless channel access
- H04W74/08—Non-scheduled access, e.g. ALOHA
- H04W74/0833—Random access procedures, e.g. with 4-step access
- H04W74/0841—Random access procedures, e.g. with 4-step access with collision treatment
- H04W74/085—Random access procedures, e.g. with 4-step access with collision treatment collision avoidance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5046—Resolving address allocation conflicts; Testing of addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention provides a communication method and a device of a wireless local area network, access point equipment and site equipment, wherein the communication method of the wireless local area network comprises the following steps: generating a wake-up message frame, wherein the wake-up message frame comprises address indication information, and the address indication information comprises part of basic service set identifiers and/or part of associated identifiers; sending a wake-up message frame, wherein the wake-up message frame is used for waking up a main communication interface of the site equipment; and receiving a wake-up response message frame responding to the wake-up message frame feedback, wherein the source address and the target address of the wake-up response message frame are contained in a locally pre-stored media access control address, a first mapping relation between part of the basic service set identification and the media access control address is used for indicating the target address, and a second mapping relation between part of the association identification and the media access control address is used for indicating the source address. The technical scheme of the invention overcomes the compatibility problem between the communication protocol and the prior communication protocol and improves the frequency spectrum utilization rate and the data throughput.
Description
Technical Field
The present invention relates to the field of communication network technologies, and in particular, to a communication method of a wireless local area network, a communication apparatus of a wireless local area network, an access point device, and a station device.
Background
In 2016, the IEEE (Institute of Electrical and Electronic Engineers) 802.11 established the next-generation WUR (Wake up Receiver) group of Wi-Fi (Wireless Fidelity) technologies, namely the IEEE (Institute of Electrical and Electronic Engineers) 802.11ba, which is mainly applied to the internet of things and aims to save the power consumption of the equipment as much as possible.
A wake-up message (wake-up) frame is defined in the IEEE 802.11ba standard, and the main purpose of the wake-up message frame is to wake up a primary communication interface of a communication device, that is, the communication device receives the wake-up frame through a secondary communication interface, and the power consumption required by the wake-up message frame is not more than 1mw, so that the standby power consumption of the secondary communication interface is far lower than that of the primary communication interface, which is beneficial for the communication device to save power consumption.
In the related art, in order to reduce power consumption for transmitting and receiving wake up frames, it is necessary to reduce the length of the wake up frames, and therefore, address information carried by the wake up frames is defined not to be a MAC (Media Access Control) address, and in order to reduce occurrence of data collision, address indication information negotiated between an Access point device and a station device for the wake up frames is defined to be a partial basic service set identifier (transmission address) and a partial association identifier (reception address), and therefore, the reception address and the transmission address of a wake up response message frame fed back by the station device correspond to the partial basic service set identifier and the partial association identifier, respectively, but may result in incompatibility with existing communication protocol standards, such as:
(1) A PPDU (PLCP protocol data unit, presentation protocol data unit) is a format standard of a presentation Layer packet, and can support asynchronous transmission of an MPDU (Media protocol data unit) between station devices, and specifically, after an indication is sent by a MAC (Media Access control) Layer, a Physical Layer address field is added to the MPDU by the PLCP (Physical Layer protocol) Layer, and the Physical Layer address field includes a Physical Layer receiving address and a Physical Layer transmitting address, which results in a need to greatly modify the PPDU in order to implement a protocol mode of address indication information of the wake up frame.
(2) For a denser communication environment, there may be more OBSSs (Overlapping basic Service Set) in the communication process, and for the same station device, there may be multiple access point devices associated with the station device, and therefore, there may be multiple PBSS IDs, which may cause data collision in the data interaction process.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art or the related art.
To this end, an object of the present invention is to provide a communication method of a wireless local area network.
Another object of the present invention is to provide a communication apparatus for a wireless local area network.
It is still another object of the present invention to provide an access point device.
It is yet another object of the present invention to provide a station apparatus.
In order to achieve the above object, a technical solution of a first aspect of the present invention provides a new communication method for a wireless local area network, including: generating a wake-up message frame, wherein the wake-up message frame comprises address indication information, and the address indication information comprises part of basic service set identifiers and/or part of associated identifiers; sending a wake-up message frame, wherein the wake-up message frame is used for waking up a main communication interface of the site equipment; and receiving a wake-up response message frame responding to the wake-up message frame feedback, wherein the source address and the target address of the wake-up response message frame are contained in a locally pre-stored media access control address, a first mapping relation between part of the basic service set identification and the media access control address is used for indicating the target address, and a second mapping relation between part of the association identification and the media access control address is used for indicating the source address.
In the technical scheme, a wake-up message frame (hereinafter referred to as wake-up frame) is generated, the wake-up frame includes address indication information, wherein a part of Basic Service Set Identification (PBSS ID) is calculated and determined according to a hash digest algorithm and a Basic Service Set Identification (BSS ID), and a Part of Associated Identification (PAID) is calculated according to a preset hash digest algorithm and Associated Identification (AID), so that when the address indication information of the wake-up frame is generated, the access point and the station device respectively indicate a receiving address and a sending address of the wake-up frame by determining a first mapping relationship between the PBSS ID and the MAC address and a second mapping relationship between the PAID and the MAC address, and thus when data collision is reduced, the station device and the station device negotiate to determine a first mapping relationship between the PBSS ID and the MAC address before entering a WUR mode, and determine a second mapping relationship between the PBSS ID and the MAC address, and further ensure that when the station device enters a second mapping relationship between the PBSS and the MAC address, and the station device can accurately determine a source address mapping relationship, and modify a source address, and transmit data frame, and particularly, and the station device can determine a destination address mapping relationship of a communication frame by negotiating, and modify a source address, and modify a destination address, and accordingly, and determine a destination address of the station device, and modify a destination of the station device, and a communication system, and a station device.
When the AID is an association identifier assigned by the access point device when the station device and the access point device establish an association relationship, the association relationship between the station device and the access point device is indicated by 14 bits, the maximum value of the AID is 2007, and all values greater than 2007 are used as reserved values. And the AID is calculated by a Hash digest algorithm to determine the corresponding PAID, and the PAID is an 8-bit numerical value, so that the length of the address indication information is effectively reduced.
In addition, the BSS ID is used to identify BSS (Basic Service Set), and usually takes 48 bits to indicate the MAC address of the access point, while the PBSS ID is obtained by calculating the BSS ID through the hash digest algorithm, and the PBSS ID takes 8 or 16 bits, which also effectively reduces the length of the address indication information.
In addition, due to the adoption of a Hash digest algorithm, the values of the PBSS ID and the PAID can be randomly determined, so that the repetition of the PBSS ID and the PAID is avoided, and the data interaction conflict caused by the same address is greatly reduced.
In the above technical solution, preferably, before generating the wake-up message frame, the method further includes: determining part of basic service set identifications mapped by the basic service set identifications according to a preset Hash digest algorithm, and pre-storing a first mapping relation between the part of basic service set identifications and media access control addresses; and determining part of the associated identification mapped by the associated identification according to a preset Hash digest algorithm, and pre-storing a second mapping relation between the part of the associated identification and the media access control address.
In the technical scheme, before the wake-up message frame is generated, a part of Basic Service Set identifications (PBSS ID) are calculated and determined according to a Hash digest algorithm and a Basic Service Set Identification (BSSID), and a Part of Associated Identifications (PAID) are calculated according to a preset Hash digest algorithm and Associated Identifications (AID), and are respectively pre-stored as a first mapping relation and a second mapping relation, so that the wake-up frame can carry shorter address indication information, and the interaction process of the wake-up response message frame responding to wake-up frame feedback can be prevented from being compatible with the existing communication standard.
It should be noted that the hash digest algorithm refers to an output quantity, also called hash value, which is obtained by changing an input quantity with an arbitrary length into a fixed-length output quantity through the hash algorithm, and the hash digest algorithm is used as a compression mapping algorithm, and the space occupied by the input quantity is usually larger than that occupied by the output quantity, so that the length of the PBSS ID calculated through the hash digest algorithm is smaller than that of the BSS ID, and similarly, the length of the PAID calculated through the hash digest algorithm is smaller than that of the AID.
A second mapping relationship maintained by the access point device in the unicast communication scenario is shown in table 1 below, where n is a positive integer:
TABLE 1
STA 1 | PAID 1 | MAC 1 | AID 1 |
STA 2 | PAID 2 | MAC 2 | AID 2 |
…… | …… | …… | …… |
STA n | PAID n | MAC n | AID n |
The STA n represents nth station equipment, the AID n represents an associated identification code between the nth access point equipment and the nth station equipment, the PAID n is a result obtained by calculating the AID n through a Hash digest algorithm, and the MAC n comprises a transmitting address and a receiving address of a wake-up frame and respectively corresponds to the receiving address and the transmitting address of the wake-up response message frame.
The second mapping relationship maintained by the access point device in the multicast communication scenario is shown in table 2 below, where m and k are both positive integers:
TABLE 2
G1(STA11、STA12……STA1m) | PAID 1 |
G2(STA21、STA22……STA2k) | PAID 2 |
…… | …… |
G1 represents a first group of station devices, specifically including STA11 and STA12 … … STA1m, AID 1 represents an association identifier between the 1 st access point device and the 1 st group of station devices, and PAID 1 is a result of calculating AID 1 by a hash digest algorithm.
By maintaining this table, it is possible to avoid communication collisions even when the same address occurs, e.g., in the same BSS scenario, for example, where the PBSS ID is the same and the PAID address is different, no communication collision will result. As another example, in an OBSS scenario, if only one address in the PBSS ID and PAID is the same, there is no communication conflict, but if both addresses are the same, such as: the PBSS ID is the same, and the PAID is the same, which may cause communication collision, and the PBSS ID and the PAID need to be regenerated.
In a second aspect of the present invention, a new communication method for a wireless local area network is provided, including: receiving a wake-up message frame, wherein the wake-up message frame is used for waking up a main communication interface of the site equipment, and comprises address indication information which comprises part of basic service set identification and/or part of association identification; and responding to the wake-up message frame to feed back the wake-up response message frame, wherein the source address and the target address of the wake-up response message frame are contained in a prestored media access control address, a first mapping relation between part of the basic service set identification and the media access control address is used for indicating the target address, and a second mapping relation between part of the associated identification and the media access control address is used for indicating the source address.
In the technical scheme, by receiving a wake up frame, the wake up frame includes address indication information, the address indication information includes PAID and PBSS ID, wherein a part of basic service set identification codes corresponding to basic service set identification codes are determined according to a preset hash digest algorithm, and/or a part of associated identification codes corresponding to associated identification codes are determined according to a preset hash digest algorithm, and then when the address indication information of the wake up frame is generated, the PAID and the PBSS ID with a smaller number of bits are carried, and the receiving address and the sending address of the wake up frame are respectively indicated, that is, when the wake up frame carries the PAID and the MAC address, the access point device and the station device determine a first mapping relationship between the PBSS ID and a second mapping relationship between the PAID and the MAC address through negotiation, and thus it is ensured that when the wake up frame carries the PAID and the PBSS ID, especially for the station device, the MAC address can be accurately determined through the first mapping relationship and the second mapping relationship, and further determine a source address and a target address of a wake up response message frame, meanwhile, modification of an obu can be avoided, and the throughput of ppdss communication mode is reduced, and data transmission throughput is improved.
A first mapping relationship and a second mapping relationship maintained by the station device in the unicast communication scenario are shown in table 3 below, where n is a positive integer:
TABLE 3
AP | PAID | MAC | BSS ID |
The AP represents an access point device, the AID represents an association identifier between the access point device and a station device, the PAID is a result of calculating the AID by a hash digest algorithm, the BSS ID represents a MAC address of the access point device, and the MAC address in table 3 includes a transmission address and a reception address of a wake up frame, which correspond to a reception address and a transmission address of a wake up response message frame, respectively.
The first mapping relationship and the second mapping relationship maintained by the station device in the multicast communication scenario are as shown in table 4 below:
TABLE 4
AP | G(PAID) | MAC | BSS ID |
Where G characterizes a group of access point devices, and the other parameters are the same as shown in table 3.
In the above technical solution, preferably, the partial basic service set identification code includes 8 bits of bit identification information or 16 bits of bit identification information.
In the technical scheme, by setting part of the basic service set identification codes to comprise 8-bit identification information or 16-bit identification information, compared with a 48-bit BSS ID, the length of a wake up frame is shortened, and meanwhile, the sending address of the wake up frame can be correctly indicated.
In the above technical solution, preferably, the partial association identification code includes 8 bits of bit identification information.
In the technical scheme, by setting the bit identification information that the partial associated identification code comprises 8 bits, compared with the 14-bit AID, the method is also favorable for shortening the length of the wake-up frame, and can correctly indicate the receiving address of the wake-up frame.
In the above technical solution, preferably, when a specified field of a mac frame header or a frame body part of the wake-up message frame is set to a first value, the wake-up message frame is determined to be a unicast message frame, and a part of the association identifier is a unicast address and is mapped to a mac address of a specific site device; when the appointed field of the media access control frame head or the frame body part of the wake-up message frame is set to a second value, determining the wake-up message frame as a multicast message frame, wherein part of the associated identifiers are multicast addresses and are mapped with the media access control addresses of the site equipment of each group; when the appointed field of the frame head or frame body part of the media access control frame of the wake-up message frame is set to a third value, the wake-up message frame is determined to be a broadcast message frame, and part of the associated identifiers are broadcast addresses and are mapped with the media access control addresses of all the site devices.
In this technical solution, the specific field of the wake-up message frame includes the following implementation manners:
(1) When the designated field is a first value, the wake-up message frame is a unicast message frame, at this time, the second mapping relationship between the PAID and the MAC address indicates an address of a station device, and the first mapping relationship between the PBSS ID and the MAC indicates an address of an access point device.
Wherein the first value may be a one-bit binary "0".
(2) When the designated field is a second value, the wake-up message frame is a multicast message frame, and at this time, the address of the station device in one group is indicated by the second mapping relationship between the PAID and the MAC address, and the address of the access point device in one group is indicated by the first mapping relationship between the PBSS ID and the MAC.
Wherein the second value may be a one-bit binary "1".
(3) And when the specified field is a third value, the wakeup message frame is a broadcast message frame, and at this time, the address of the broadcasted station device indicated by the second mapping relationship between the PAID and the MAC address and the address of the broadcasted access point device indicated by the first mapping relationship between the PBSS ID and the MAC address.
Wherein the third value may be a two-bit binary "11".
In a third aspect of the present invention, a new communication device for a wireless local area network is provided, including: the generating unit is used for generating a wake-up message frame, wherein the wake-up message frame comprises address indication information, and the address indication information comprises part of basic service set identifiers and/or part of associated identifiers; a sending unit, configured to send a wake-up message frame, where the wake-up message frame is used to wake up a main communication interface of a site device; and the receiving unit is used for receiving a wake-up response message frame fed back by responding to the wake-up message frame, and the source address and the target address of the wake-up response message frame are contained in a locally pre-stored media access control address, wherein a first mapping relation between part of the basic service set identification and the media access control address is used for indicating the target address, and a second mapping relation between part of the association identification and the media access control address is used for indicating the source address.
In the technical scheme, a wake-up message frame (hereinafter referred to as wake-up frame) is generated, the wake-up frame includes address indication information, wherein a part of Basic Service Set Identification (PBSS ID) is calculated and determined according to a hash digest algorithm and a Basic Service Set Identification (BSS ID), and a Part of Associated Identification (PAID) is calculated according to a preset hash digest algorithm and Associated Identification (AID), so that when the address indication information of the wake-up frame is generated, the access point and the station device respectively indicate a receiving address and a sending address of the wake-up frame by determining a first mapping relationship between the PBSS ID and the MAC address and a second mapping relationship between the PAID and the MAC address, and thus when data collision is reduced, the station device and the station device negotiate to determine a first mapping relationship between the PBSS ID and the MAC address before entering a WUR mode, and determine a second mapping relationship between the PBSS ID and the MAC address, and further ensure that when the station device enters a second mapping relationship between the PBSS and the MAC address, and the station device can accurately determine a source address mapping relationship, and modify a source address, and transmit data frame, and particularly, and the station device can determine a destination address mapping relationship of a communication frame by negotiating, and modify a source address, and modify a destination address, and accordingly, and determine a destination address of the station device, and modify a destination of the station device, and a communication system, and a station device.
When the AID is an association identifier assigned by the access point device when the station device and the access point device establish an association relationship, the association relationship between the station device and the access point device is indicated by 14 bits, the maximum value of the AID is 2007, and all values greater than 2007 are used as reserved values. And the AID is calculated by a Hash digest algorithm to determine the corresponding PAID, and the PAID is an 8-bit numerical value, so that the length of the address indication information is effectively reduced.
In addition, the BSS ID is used to identify BSS (Basic Service Set), and usually takes a 48-bit value to indicate the MAC address of the access point, while the PBSS ID is obtained by calculating the BSS ID through a hash digest algorithm, and the PBSS ID takes 8 or 16 bits, which also effectively reduces the length of the address indication information.
In the above technical solution, preferably, the method further includes: the storage unit is used for determining part of basic service set identifications mapped by the basic service set identifications according to a preset Hash digest algorithm and prestoring a first mapping relation between the part of basic service set identifications and the media access control addresses; the storage unit is further configured to: and determining part of the associated identification mapped by the associated identification according to a preset Hash digest algorithm, and pre-storing a second mapping relation between the part of the associated identification and the media access control address.
In the technical scheme, before the wake-up message frame is generated, a part of Basic Service Set identifications (PBSS ID) are calculated and determined according to a Hash digest algorithm and a Basic Service Set Identification (BSSID), and a Part of Associated Identifications (PAID) are calculated according to a preset Hash digest algorithm and Associated Identifications (AID), and are respectively pre-stored as a first mapping relation and a second mapping relation, so that the wake-up frame can carry shorter address indication information, and the interaction process of the wake-up response message frame responding to wake-up frame feedback can be prevented from being compatible with the existing communication standard.
It should be noted that the hash digest algorithm refers to an output quantity, also called hash value, which is obtained by changing an input quantity with an arbitrary length into a fixed-length output quantity through the hash algorithm, and the hash digest algorithm is used as a compression mapping algorithm, and the space occupied by the input quantity is usually larger than that occupied by the output quantity, so that the length of the PBSS ID calculated through the hash digest algorithm is smaller than that of the BSS ID, and similarly, the length of the PAID calculated through the hash digest algorithm is smaller than that of the AID.
In a fourth aspect of the present invention, a new communication device for a wireless local area network is provided, including: a receiving unit, configured to receive a wake-up message frame, where the wake-up message frame is used to wake up a main communication interface of a site device, and the wake-up message frame includes address indication information, where the address indication information includes a part of a basic service set identifier and/or a part of an association identifier; and the sending unit is used for responding to the wake-up message frame and feeding back a wake-up response message frame, wherein the source address and the target address of the wake-up response message frame are contained in a prestored media access control address, a first mapping relation between part of the basic service set identifications and the media access control address is used for indicating the target address, and a second mapping relation between part of the associated identifications and the media access control address is used for indicating the source address.
In the technical scheme, by receiving a wake up frame, the wake up frame includes address indication information, the address indication information includes PAID and PBSS ID, wherein a part of basic service set identification codes corresponding to basic service set identification codes are determined according to a preset hash digest algorithm, and/or a part of associated identification codes corresponding to associated identification codes are determined according to a preset hash digest algorithm, and then when the address indication information of the wake up frame is generated, the PAID and the PBSS ID with a smaller number of bits are carried, and the receiving address and the sending address of the wake up frame are respectively indicated, that is, when the wake up frame carries the PAID and the MAC address, the access point device and the station device determine a first mapping relationship between the PBSS ID and a second mapping relationship between the PAID and the MAC address through negotiation, and thus it is ensured that when the wake up frame carries the PAID and the PBSS ID, especially for the station device, the MAC address can be accurately determined through the first mapping relationship and the second mapping relationship, and further determine a source address and a target address of a wake up response message frame, meanwhile, modification of an obu can be avoided, and the throughput of ppdss communication mode is reduced, and data transmission throughput is improved.
In the above technical solution, preferably, the partial basic service set identification code includes 8 bits of bit identification information or 16 bits of bit identification information.
In the technical scheme, by setting part of the basic service set identification codes to comprise 8-bit identification information or 16-bit identification information, compared with a 48-bit BSS ID, the length of a wake up frame is shortened, and meanwhile, the sending address of the wake up frame can be correctly indicated.
In the above technical solution, preferably, the partial association identification code includes 8 bits of bit identification information.
In the technical scheme, by setting the bit identification information that the partial associated identification code comprises 8 bits, compared with the 14-bit AID, the method is also favorable for shortening the length of the wake-up frame, and can correctly indicate the receiving address of the wake-up frame.
In the above technical solution, preferably, the method further includes: a determining unit, configured to determine that the wake-up message frame is a unicast message frame when a specified field of a mac frame header or a frame body part of the wake-up message frame is set to a first value, and a part of the association identifier is a unicast address and is mapped to a mac address of a specific site device; the determination unit is further configured to: when the designated field of the media access control frame head or frame body part of the wake-up message frame is set to a second value, determining the wake-up message frame as a multicast message frame, and mapping the part of the associated identifier as a multicast address with the media access control address of the site equipment of each group; the determination unit is further configured to: when the appointed field of the frame head or frame body part of the media access control frame of the wake-up message frame is set to a third value, the wake-up message frame is determined to be a broadcast message frame, and part of the associated identifiers are broadcast addresses and are mapped with the media access control addresses of all the site devices.
In this technical solution, the specific field of the wake-up message frame includes the following implementation manners:
(1) When the designated field is a first value, the wake-up message frame is a unicast message frame, at this time, the second mapping relationship between the PAID and the MAC address indicates an address of a station device, and the first mapping relationship between the PBSS ID and the MAC indicates an address of an access point device.
Wherein the first value may be a one-bit binary "0".
(2) When the specified field is a second value, the wake-up message frame is a multicast message frame, and at this time, the second mapping relationship between the PAID and the MAC address indicates an address of a station device of one group, and the first mapping relationship between the PBSS ID and the MAC indicates an address of an access point device of one group.
Wherein the second value may be a one-bit binary "1".
(3) And when the specified field is a third value, the wakeup message frame is a broadcast message frame, and at this time, the address of the broadcasted station device indicated by the second mapping relationship between the PAID and the MAC address and the address of the broadcasted access point device indicated by the first mapping relationship between the PBSS ID and the MAC address.
Wherein the third value may be a two-bit binary "11".
An aspect of the fifth aspect of the present invention provides an access point apparatus, including: the communication device of any of the above wireless local area networks.
A technical solution of a sixth aspect of the present invention provides a station apparatus, including: the communication device of any of the above wireless local area networks.
Advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 shows a schematic flow diagram of a communication method of a wireless local area network according to one embodiment of the invention;
fig. 2 shows a schematic flow diagram of a communication method of a wireless local area network according to another embodiment of the present invention;
fig. 3 shows a schematic block diagram of a communication device of a wireless local area network according to an embodiment of the present invention;
fig. 4 shows a schematic block diagram of a communication device of a wireless local area network according to another embodiment of the present invention;
FIG. 5 shows a schematic block diagram of a station apparatus according to one embodiment of the present invention;
FIG. 6 shows a schematic block diagram of an access point device according to one embodiment of the invention;
fig. 7 shows a block diagram of a communication scheme of a wireless local area network according to an embodiment of the present invention;
fig. 8 shows a data interaction diagram of a communication scheme of a wireless local area network according to an embodiment of the invention;
fig. 9 shows a data interaction diagram of a communication scheme of a wireless local area network according to another embodiment of the present invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
Fig. 1 shows a schematic flow chart of a communication method of a wireless local area network according to one embodiment of the invention.
As shown in fig. 1, a communication method of a wireless local area network according to an embodiment of the present invention includes: step S102, generating a wake-up message frame, wherein the wake-up message frame comprises address indication information, and the address indication information comprises part of basic service set identification and/or part of associated identification; step S104, sending a wake-up message frame, wherein the wake-up message frame is used for waking up a main communication interface of the site equipment; and step S106, receiving a wake-up response message frame responding to the feedback of the wake-up message frame, wherein the source address and the target address of the wake-up response message frame are contained in a locally pre-stored media access control address, a first mapping relation between part of the basic service set identifications and the media access control address is used for indicating the target address, and a second mapping relation between part of the associated identifications and the media access control address is used for indicating the source address.
In the technical solution, a wake-up message frame (hereinafter referred to as wake-up frame) is generated, and the wake-up frame includes address indication information, wherein a Partial Basic Service Set identifier (PBSS ID) is calculated and determined according to a hash digest algorithm and a Basic Service Set identifier (BSS ID), and a Partial Association Identifier (PAID) is calculated according to a preset hash digest algorithm and an Association Identifier (AID), so that when the address indication information of the wake-up frame is generated, the PAID and the PBSS ID with a small number of bits are carried, and a receiving address and a sending address of the wake-up frame are respectively indicated, in order to reduce the occurrence of data collision, before entering the WUR mode, the access point device and the station device determine a first mapping relationship between the PBSS ID and the MAC address and a second mapping relationship between the PAID and the MAC address through negotiation, so as to ensure that when the wake up frame carries the PAID and the PBSS ID, and particularly for the station device, the MAC address can be accurately determined through the first mapping relationship and the second mapping relationship, and further the source address and the target address of the wakeup response message frame are determined.
When the AID is an association identifier assigned by the access point device when the station device and the access point device establish an association relationship, the association relationship between the station device and the access point device is indicated by 14 bits, the maximum value of the AID is 2007, and all values greater than 2007 are used as reserved values. And the AID is calculated through a Hash digest algorithm to determine the corresponding PAID, and the PAID is an 8-bit numerical value, so that the length of the address indication information is effectively reduced.
In addition, the BSS ID is used to identify BSS (Basic Service Set), and usually takes a 48-bit value to indicate the MAC address of the access point, while the PBSS ID is obtained by calculating the BSS ID through a hash digest algorithm, and the PBSS ID takes 8 or 16 bits, which also effectively reduces the length of the address indication information.
In the above technical solution, preferably, before generating the wake-up message frame, the method further includes: determining part of basic service set identifications mapped by the basic service set identifications according to a preset Hash digest algorithm, and pre-storing a first mapping relation between the part of basic service set identifications and media access control addresses; and determining a part of associated identification mapped by the associated identification according to a preset Hash digest algorithm, and pre-storing a second mapping relation between the part of associated identification and the media access control address.
In the technical scheme, before the wake-up message frame is generated, a part of Basic Service Set identifications (PBSS ID) are calculated and determined according to a Hash digest algorithm and a Basic Service Set Identification (BSSID), and a Part of Associated Identifications (PAID) are calculated according to a preset Hash digest algorithm and Associated Identifications (AID), and are respectively pre-stored as a first mapping relation and a second mapping relation, so that the wake-up frame can carry shorter address indication information, and the interaction process of the wake-up response message frame responding to wake-up frame feedback can be prevented from being compatible with the existing communication standard.
It should be noted that the hash digest algorithm refers to an output quantity, also called hash value, which is obtained by changing an input quantity with an arbitrary length into a fixed-length output quantity through the hash algorithm, and the hash digest algorithm is used as a compression mapping algorithm, and the space occupied by the input quantity is usually larger than that occupied by the output quantity, so that the length of the PBSS ID calculated through the hash digest algorithm is smaller than that of the BSS ID, and similarly, the length of the PAID calculated through the hash digest algorithm is smaller than that of the AID.
Fig. 2 shows a schematic flow chart of a communication method of a wireless local area network according to another embodiment of the present invention.
As shown in fig. 2, a communication method of a wireless local area network according to another embodiment of the present invention includes: step S202, receiving a wake-up message frame, wherein the wake-up message frame is used for waking up a main communication interface of the site equipment, and the wake-up message frame comprises address indication information which comprises part of basic service set identification and/or part of association identification; step S204, responding to the wake-up message frame to feed back a wake-up response message frame, wherein the source address and the target address of the wake-up response message frame are contained in a pre-stored media access control address, a first mapping relation between part of the basic service set identifiers and the media access control address is used for indicating the target address, and a second mapping relation between part of the associated identifiers and the media access control address is used for indicating the source address.
In the technical scheme, by receiving a wake up frame, the wake up frame includes address indication information, the address indication information includes PAID and PBSS ID, wherein a part of basic service set identification codes corresponding to basic service set identification codes are determined according to a preset hash digest algorithm, and/or a part of associated identification codes corresponding to associated identification codes are determined according to a preset hash digest algorithm, and then when the address indication information of the wake up frame is generated, the PAID and the PBSS ID with a smaller number of bits are carried, and the receiving address and the sending address of the wake up frame are respectively indicated, that is, when the wake up frame carries the PAID and the MAC address, the access point device and the station device determine a first mapping relationship between the PBSS ID and a second mapping relationship between the PAID and the MAC address through negotiation, and thus it is ensured that when the wake up frame carries the PAID and the PBSS ID, especially for the station device, the MAC address can be accurately determined through the first mapping relationship and the second mapping relationship, and further determine a source address and a target address of a wake up response message frame, meanwhile, modification of an obu can be avoided, and the throughput of ppdss communication mode is reduced, and data transmission throughput is improved.
In the above technical solution, preferably, the partial basic service set identification code includes 8 bits of bit identification information or 16 bits of bit identification information.
In the technical scheme, by setting part of the basic service set identification codes to comprise 8-bit identification information or 16-bit identification information, compared with a 48-bit BSS ID, the length of a wake up frame is shortened, and meanwhile, the sending address of the wake up frame can be correctly indicated.
In the above technical solution, preferably, the partial association identification code includes 8 bits of bit identification information.
In the technical scheme, by setting that part of the associated identification code comprises 8 bits of bit identification information, compared with 14-bit AID, the method is also favorable for shortening the length of the wake up frame, and meanwhile, the receiving address of the wake up frame can be correctly indicated.
In the above technical solution, preferably, when a specified field of a mac frame header or a frame body part of the wake-up message frame is set to a first value, the wake-up message frame is determined to be a unicast message frame, and a part of the association identifier is a unicast address and is mapped to a mac address of a specific site device; when the designated field of the media access control frame head or frame body part of the wake-up message frame is set to a second value, determining the wake-up message frame as a multicast message frame, and mapping the part of the associated identifier as a multicast address with the media access control address of the site equipment of each group; when the appointed field of the frame head or frame body part of the media access control frame of the wake-up message frame is set to a third value, the wake-up message frame is determined to be a broadcast message frame, and part of the associated identifiers are broadcast addresses and are mapped with the media access control addresses of all the site devices.
In this technical solution, the specific field of the wake-up message frame includes the following implementation manners:
(1) When the designated field is a first value, the wake-up message frame is a unicast message frame, at this time, the second mapping relationship between the PAID and the MAC address indicates an address of a station device, and the first mapping relationship between the PBSS ID and the MAC indicates an address of an access point device.
Wherein the first value may be a one-bit binary "0".
(2) When the designated field is a second value, the wake-up message frame is a multicast message frame, and at this time, the address of the station device in one group is indicated by the second mapping relationship between the PAID and the MAC address, and the address of the access point device in one group is indicated by the first mapping relationship between the PBSS ID and the MAC.
Wherein the second value may be a one-bit binary "1".
(3) And when the specified field is a third value, the wakeup message frame is a broadcast message frame, and at this time, the address of the broadcasted station device indicated by the second mapping relationship between the PAID and the MAC address and the address of the broadcasted access point device indicated by the first mapping relationship between the PBSS ID and the MAC address.
Wherein the third value may be a two-bit binary "11".
Fig. 3 shows a schematic block diagram of a communication device of a wireless local area network according to an embodiment of the invention.
As shown in fig. 3, a communication apparatus 300 of a wireless local area network according to an embodiment of the present invention includes: a generating unit 302, configured to generate a wake-up message frame, where the wake-up message frame includes address indication information, and the address indication information includes a part of basic service set identifier and/or a part of association identifier; a sending unit 304, configured to send a wake-up message frame, where the wake-up message frame is used to wake up a main communication interface of a site device; a receiving unit 306, configured to receive a wake-up response message frame fed back in response to the wake-up message frame, where a source address and a destination address of the wake-up response message frame are included in a locally pre-stored mac address, where a first mapping relationship between a part of the basic service set identifier and the mac address is used to indicate the destination address, and a second mapping relationship between a part of the association identifier and the mac address is used to indicate the source address.
In the technical solution, a wake-up message frame (hereinafter referred to as wake-up frame) is generated, and the wake-up frame includes address indication information, wherein a Partial Basic Service Set identifier (PBSS ID) is calculated and determined according to a hash digest algorithm and a Basic Service Set identifier (BSS ID), and a Partial Association Identifier (PAID) is calculated according to a preset hash digest algorithm and an Association Identifier (AID), so that when the address indication information of the wake-up frame is generated, the PAID and the PBSS ID with a small number of bits are carried, and a receiving address and a sending address of the wake-up frame are respectively indicated, in order to reduce the occurrence of data collision, before entering the WUR mode, the access point device and the station device determine a first mapping relationship between the PBSS ID and the MAC address and a second mapping relationship between the PAID and the MAC address through negotiation, so as to ensure that when the wake up frame carries the PAID and the PBSS ID, and particularly for the station device, the MAC address can be accurately determined through the first mapping relationship and the second mapping relationship, and further the source address and the target address of the wakeup response message frame are determined.
When the AID is an association identifier assigned by the access point device when the station device and the access point device establish an association relationship, the association relationship between the station device and the access point device is indicated by 14 bits, the maximum value of the AID is 2007, and all values greater than 2007 are used as reserved values. And the AID is calculated by a Hash digest algorithm to determine the corresponding PAID, and the PAID is an 8-bit numerical value, so that the length of the address indication information is effectively reduced.
In addition, the BSS ID is used to identify BSS (Basic Service Set), and usually takes a 48-bit value to indicate the MAC address of the access point, while the PBSS ID is obtained by calculating the BSS ID through a hash digest algorithm, and the PBSS ID takes 8 or 16 bits, which also effectively reduces the length of the address indication information.
In the above technical solution, preferably, the method further includes: a storage unit 308, configured to determine, according to a preset hash digest algorithm, a part of basic service set identifiers mapped by the basic service set identifier, and pre-store a first mapping relationship between the part of basic service set identifiers and the mac address; the storage unit 308 is further configured to: and determining part of the associated identification mapped by the associated identification according to a preset Hash digest algorithm, and pre-storing a second mapping relation between the part of the associated identification and the media access control address.
In the technical scheme, before the wake-up message frame is generated, a part of Basic Service Set identifications (PBSS ID) are calculated and determined according to a Hash digest algorithm and a Basic Service Set Identification (BSSID), and a Part of Associated Identifications (PAID) are calculated according to a preset Hash digest algorithm and Associated Identifications (AID), and are respectively pre-stored as a first mapping relation and a second mapping relation, so that the wake-up frame can carry shorter address indication information, and the interaction process of the wake-up response message frame responding to wake-up frame feedback can be prevented from being compatible with the existing communication standard.
It should be noted that the hash digest algorithm refers to an output quantity, also called hash value, which is obtained by changing an input quantity with an arbitrary length into a fixed-length output quantity through the hash algorithm, and the hash digest algorithm is used as a compression mapping algorithm, and the space occupied by the input quantity is usually larger than that occupied by the output quantity, so that the length of the PBSS ID calculated through the hash digest algorithm is smaller than that of the BSS ID, and similarly, the length of the PAID calculated through the hash digest algorithm is smaller than that of the AID.
In the above technical solution, preferably, the method further includes: a determining unit 310, configured to determine that a wake-up message frame is a unicast message frame when a specified field of a head or a body of a media access control frame of the wake-up message frame is set to a first value, where a part of the association identifier is a unicast address, and the association identifier is mapped to a media access control address of a specific site device; the determining unit 310 is further configured to: when the appointed field of the media access control frame head or the frame body part of the wake-up message frame is set to a second value, determining the wake-up message frame as a multicast message frame, wherein part of the associated identifiers are multicast addresses and are mapped with the media access control addresses of the site equipment of each group; the determining unit 310 is further configured to: when the appointed field of the frame head or frame body part of the media access control frame of the wake-up message frame is set to a third value, the wake-up message frame is determined to be a broadcast message frame, and part of the associated identifiers are broadcast addresses and are mapped with the media access control addresses of all the site devices.
In this technical solution, the specific field of the wake-up message frame includes the following implementation manners:
(1) When the designated field is a first value, the wake-up message frame is a unicast message frame, at this time, the second mapping relationship between the PAID and the MAC address indicates an address of a station device, and the first mapping relationship between the PBSS ID and the MAC indicates an address of an access point device.
Wherein the first value may be a one-bit binary "0".
(2) When the designated field is a second value, the wake-up message frame is a multicast message frame, and at this time, the address of the station device in one group is indicated by the second mapping relationship between the PAID and the MAC address, and the address of the access point device in one group is indicated by the first mapping relationship between the PBSS ID and the MAC.
Wherein, the second value may be a one-bit binary "1".
(3) And when the specified field is a third value, the wakeup message frame is a broadcast message frame, and at this time, the address of the broadcasted station device indicated by the second mapping relationship between the PAID and the MAC address and the address of the broadcasted access point device indicated by the first mapping relationship between the PBSS ID and the MAC address.
Wherein the third value may be a two-bit binary "11".
The communication device 300 of the wireless lan may be compatible with or integrated with a mobile phone, a tablet computer, a music playing device, a navigation device, a router, and other station devices having a Wi-Fi communication module.
Specifically, the generating unit 302, the storing unit 308, and the determining unit 310 are compatible with or connected to the processor (CPU), the controller (MCU), the embedded micro controller chip, the baseband processor, and the like of the communication apparatus 300 of the wireless lan, and the transmitting unit 304 and the receiving unit 306 are compatible with or connected to the antenna, the carrier modulation module, and the like of the communication apparatus 300 of the wireless lan.
Fig. 4 shows a schematic block diagram of a communication device of a wireless local area network according to another embodiment of the present invention.
As shown in fig. 4, a communication apparatus 400 of a wireless local area network according to another embodiment of the present invention includes: a receiving unit 402, configured to receive a wake-up message frame, where the wake-up message frame is used to wake up a main communication interface of a station device, and the wake-up message frame includes address indication information, where the address indication information includes a part of a basic service set identifier and/or a part of an association identifier; a sending unit 404, configured to feed back a wake-up response message frame in response to the wake-up message frame, where a source address and a destination address of the wake-up response message frame are included in a pre-stored mac address, where a first mapping relationship between a part of the bss identifier and the mac address is used to indicate the destination address, and a second mapping relationship between a part of the association identifier and the mac address is used to indicate the source address.
In the technical scheme, a wake-up frame is received, the wake-up frame comprises address indication information, the address indication information comprises PAID and PBSS ID, wherein a part of basic service set identification codes corresponding to basic service set identification codes are determined according to a preset hash digest algorithm, and/or a part of associated identification codes corresponding to the associated identification codes are determined according to the preset hash digest algorithm, and when the address indication information of the wake-up frame is generated, PAID and PBSS ID with fewer bits are carried and respectively indicate a receiving address and a sending address of the wake-up frame, namely the access point equipment and the station equipment determine a first mapping relation between the PBSS ID and an MAC address and a second mapping relation between the PAID and the MAC address through negotiation, so that when the wake-up frame carries the PAID and the PBSS ID, particularly for the station equipment, the MAC address can be accurately determined through the first mapping relation and the second mapping relation, the source address and the target address of a wake-up response message frame are determined, meanwhile, modification of an OBU can be avoided, OBSS communication mode is compatible, the utilization rate of PPSS transmission data collision is reduced, and the data transmission throughput is improved.
In the above technical solution, preferably, the partial basic service set identification code includes 8 bits of bit identification information or 16 bits of bit identification information.
In the technical scheme, by setting part of the basic service set identification codes to comprise 8-bit identification information or 16-bit identification information, compared with a 48-bit BSS ID, the length of a wake up frame is shortened, and meanwhile, the sending address of the wake up frame can be correctly indicated.
In the above technical solution, preferably, the partial association identification code includes 8 bits of bit identification information.
In the technical scheme, by setting that part of the associated identification code comprises 8 bits of bit identification information, compared with 14-bit AID, the method is also favorable for shortening the length of the wake up frame, and meanwhile, the receiving address of the wake up frame can be correctly indicated.
In the above technical solution, preferably, the method further includes: a determining unit 406, configured to determine that the wake-up message frame is a unicast message frame when the specified field of the mac frame header or frame body part of the wake-up message frame is set to a first value, and the part of the association identifier is a unicast address and is mapped to the mac address of the specific site device; the determining unit 406 is further configured to: when the designated field of the media access control frame head or frame body part of the wake-up message frame is set to a second value, determining the wake-up message frame as a multicast message frame, and mapping the part of the associated identifier as a multicast address with the media access control address of the site equipment of each group; the determining unit 406 is further configured to: when the appointed field of the media access control frame head or frame body part of the wake-up message frame is set to a third value, the wake-up message frame is determined to be a broadcast message frame, part of the associated identification is a broadcast address, and the associated identification is mapped with the media access control addresses of all the site devices.
In this technical solution, the specific field of the wake-up message frame includes the following implementation manners:
(1) When the designated field is a first value, the wake-up message frame is a unicast message frame, at this time, the second mapping relationship between the PAID and the MAC address indicates an address of a station device, and the first mapping relationship between the PBSS ID and the MAC indicates an address of an access point device.
Wherein the first value may be a one-bit binary "0".
(2) When the designated field is a second value, the wake-up message frame is a multicast message frame, and at this time, the address of the station device in one group is indicated by the second mapping relationship between the PAID and the MAC address, and the address of the access point device in one group is indicated by the first mapping relationship between the PBSS ID and the MAC.
Wherein the second value may be a one-bit binary "1".
(3) And when the specified field is a third value, the wakeup message frame is a broadcast message frame, and at this time, the address of the broadcasted station device indicated by the second mapping relationship between the PAID and the MAC address and the address of the broadcasted access point device indicated by the first mapping relationship between the PBSS ID and the MAC address.
Wherein the third value may be a two-bit binary "11".
The communication device 400 of the wireless lan may be compatible with or integrated with a mobile phone, a tablet computer, a music playing device, a navigation device, a router, and other station devices having a Wi-Fi communication module.
Specifically, the determining unit 406 is compatible with or connected to a processor (CPU), a controller (MCU), an embedded micro-controller chip, a baseband processor, and the like of the communication apparatus 400 of the wireless lan, and the transmitting unit 404 and the receiving unit 402 are compatible with or connected to an antenna, a carrier modulation module, and the like of the communication apparatus 400 of the wireless lan.
Fig. 5 shows a schematic block diagram of an access point device according to an embodiment of the invention.
As shown in fig. 5, an access point device 500 according to an embodiment of the present invention includes a communication apparatus 300 of a wireless local area network according to any of the above technical solutions.
The access point device 500 may be compatible with or integrated with a communication device such as a mobile phone, a tablet computer, a music playing device, a navigation device, a router, etc. having a Wi-Fi communication module.
Fig. 6 shows a schematic block diagram of a station device according to an embodiment of the invention.
As shown in fig. 6, a station apparatus 600 according to an embodiment of the present invention includes a communication device 400 of a wireless lan according to any one of the above technical solutions.
The station device 600 may be compatible with or integrated with a communication device such as a mobile phone, a tablet computer, a music playing device, a navigation device, and a router having a Wi-Fi communication module.
Fig. 7 shows a block diagram of a communication scheme of a wireless local area network according to an embodiment of the present invention.
As shown in fig. 7, AP1, AP2, and AP3 represent three different access point devices, respectively, and a first mapping relationship and a second mapping relationship maintained by a station device STA in an OBSS in a unicast communication scenario are shown in table 5 below:
TABLE 5
AP1 | PAID1 | MAC1 | BSS ID1 |
AP2 | PAID2 | MAC2 | BSS ID2 |
AP3 | PAID3 | MAC3 | BSS ID3 |
The AP represents an access point device, the AID represents an association identifier between the access point device and a station device, the PAID is a result of calculating the AID through a hash digest algorithm, the BSS ID represents an MAC address of the access point device, and the MAC address in table 5 includes a sending address and a receiving address of a wake up frame, which correspond to a receiving address and a sending address of a wake up response message frame, respectively.
The first embodiment is as follows:
fig. 8 shows a data interaction diagram of a communication scheme of a wireless local area network according to an embodiment of the present invention.
As shown in fig. 8, the station apparatus 600 is provided with a primary communication interface 602 and a secondary communication interface 604, which may be the same physical entity, logically separate, or different physical entities, that is, the apparatus has two sets of receiving and sending devices, where the primary communication interface 602 and the secondary communication interface 604 may be antennas or transceivers, after the station apparatus 600 enters the WUR mode, the primary communication interface 602 sleeps, the secondary communication interface 604 supports receiving a wake up frame, and when the wake up frame indicates that the access point apparatus 500 buffers a downlink data frame to be sent to the station apparatus 600, the secondary communication interface 604 wakes up the primary communication interface 602 to wait for receiving the downlink data frame, where the wake up frame carries a PAID and an ss pbid, and the station apparatus 600 may determine, according to table 5, a corresponding relationship among the BSS, the MAC address and the PAID address, and the PAID, and further determine a source address and a target address of a feedback wakeup response message frame (such as an ACK frame), where the target address is the MAC address of a target access point apparatus, and the target access point apparatus is the AP1, AP2, or AP3 indicated in table 5.
Example two:
fig. 9 shows a data interaction diagram of a communication scheme of a wireless local area network according to another embodiment of the present invention.
As shown in fig. 9, the station apparatus 600 is provided with a primary communication interface 602 and a secondary communication interface 604, which may be the same physical entity, logically separated from each other, or different physical entities, that is, the apparatus has two sets of receiving and transmitting devices, where the primary communication interface 602 and the secondary communication interface 604 may be antennas or transceivers, after the station apparatus 600 enters the WUR mode, the primary communication interface 602 sleeps, the secondary communication interface 604 supports receiving a wake up frame, and when the wake up frame indicates that the access point apparatus 500 buffers a downlink data frame to be sent to the station apparatus 600, the secondary communication interface 604 can wake up the primary communication interface 602 to wait for receiving the downlink data frame.
The PAID 1 and the PBSS ID 1 carried by the first wake up frame sent by the multiple access point devices 500 (e.g., the access point device AP1, the access point device AP2, and the access point device AP 3) are the same, the station device 600 may not determine the corresponding relationship between the PAID, the MAC address, and the BSS ID according to table 5, and further may not determine the source address and the target address of the feedback wake up response message frame (e.g., ACK frame), and at this time, does not wake up the main communication interface, and does not feed back the uplink control frame (e.g., ACK frame), the access point device 500 needs to generate the PAID 2 and the PBSS ID 2 again according to the hash digest algorithm, and because of the randomness of the hash digest algorithm, the probability that the PAID and the PBSS ID are the same is very low, and therefore, the PAID 2 and the PBSS ID 2 of the second wake up frame sent by the multiple access point devices 500 are different, and at this time, it is determined that the target access point device is the access point device AP1 or the access point device AP2 or the access point device AP3 according to table 5, and the corresponding target device is fed back.
The technical solution of the present invention is described in detail above with reference to the accompanying drawings, and in view of the technical problem that data collision may be caused by wake up frames carrying PAID and PBSS IDs in the related art, the present invention provides a communication scheme of a wireless local area network, in which an awake frame (hereinafter referred to as wake up frame) is generated, and the wake up frame includes address indication information, carrying a smaller number of PAID and PBSS IDs, which respectively indicate a receiving address and a transmitting address of the wake up frame, and in order to reduce occurrence of data collision, before entering a WUR mode, an access point device and a station device determine a first mapping relationship between a PBSS ID and a MAC address and a second mapping relationship between the PAID and the MAC address through negotiation, thereby ensuring that when the wake up frame carries the PAID and the PBSS ID, especially for the station device, the MAC address can be accurately determined through the first mapping relationship and the second mapping relationship, and further determine a source address and a destination address of the wake up response message frame, and at the same time, modification of the PAID and OBSS ID can be avoided, and throughput of the station device can be improved, and throughput of the PPDU can be improved.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (14)
1. A communication method of a wireless local area network is applicable to an access point device, and is characterized in that the communication method of the wireless local area network comprises the following steps:
generating a wake-up message frame, wherein the wake-up message frame comprises address indication information, and the address indication information comprises part of basic service set identifiers and/or part of associated identifiers;
sending the wake-up message frame, wherein the wake-up message frame is used for waking up a main communication interface of the site equipment;
receiving a wake-up response message frame in response to the wake-up message frame feedback, wherein the source address and the target address of the wake-up response message frame are contained in a locally pre-stored media access control address,
wherein a first mapping relation between the partial basic service set identifier and the media access control address is used for indicating the target address, and a second mapping relation between the partial association identifier and the media access control address is used for indicating the source address;
when the appointed field of the media access control frame head or frame body part of the awakening message frame is set to a first value, determining that the awakening message frame is a unicast message frame, and the part association identifier is a unicast address and is mutually mapped with the media access control address of the specific site equipment;
when the designated field of the media access control frame head or frame body part of the wake-up message frame is set to a second value, determining that the wake-up message frame is a multicast message frame, and the part association identifier is a multicast address and is mutually mapped with the media access control address of the site equipment of each group;
and when the appointed field of the media access control frame head or the frame body part of the awakening message frame is set to a third value, determining that the awakening message frame is a broadcast message frame, and the part association identifier is a broadcast address and is mutually mapped with the media access control addresses of all the site devices.
2. The communication method of the wireless local area network according to claim 1, further comprising, before generating the wake-up message frame:
determining the part of basic service set identifications mapped by the basic service set identifications according to a preset Hash digest algorithm, and pre-storing a first mapping relation between the part of basic service set identifications and the media access control addresses;
and determining the part of the associated identification mapped by the associated identification according to a preset Hash digest algorithm, and pre-storing a second mapping relation between the part of the associated identification and the media access control address.
3. A communication method of a wireless local area network is applicable to station equipment, and is characterized in that the communication method of the wireless local area network comprises the following steps:
receiving a wake-up message frame, wherein the wake-up message frame is used for waking up a main communication interface of the site equipment, and the wake-up message frame comprises address indication information, and the address indication information comprises part of basic service set identifiers and/or part of associated identifiers;
feeding back a wakeup response message frame in response to the wakeup message frame, wherein a source address and a target address of the wakeup response message frame are contained in prestored media access control addresses,
wherein a first mapping relation between the partial basic service set identifier and the media access control address is used for indicating the target address, and a second mapping relation between the partial association identifier and the media access control address is used for indicating the source address;
when the appointed field of the media access control frame head or frame body part of the awakening message frame is set to a first value, determining that the awakening message frame is a unicast message frame, and the part association identifier is a unicast address and is mutually mapped with the media access control address of the specific site equipment;
when the designated field of the media access control frame head or frame body part of the wake-up message frame is set to a second value, determining that the wake-up message frame is a multicast message frame, and the part association identifier is a multicast address and is mutually mapped with the media access control address of the site equipment of each group;
and when the appointed field of the media access control frame head or the frame body part of the awakening message frame is set to a third value, determining that the awakening message frame is a broadcast message frame, and the part association identifier is a broadcast address and is mutually mapped with the media access control addresses of all the site devices.
4. The communication method of the wireless local area network according to any one of claims 1 to 3, further comprising:
the partial basic service set identification includes bit identification information of 8 bits or bit identification information of 16 bits.
5. The communication method of the wireless local area network according to any one of claims 1 to 3,
the partial association flag includes bit identification information of 8 bits.
6. A communication apparatus of a wireless local area network, adapted to an access point device, the communication apparatus of the wireless local area network comprising:
a generating unit, configured to generate a wake-up message frame, where the wake-up message frame includes address indication information, and the address indication information includes a part of basic service set identifiers and/or a part of associated identifiers;
a sending unit, configured to send the wake-up message frame, where the wake-up message frame is used to wake up a main communication interface of a site device;
a receiving unit, configured to receive a wake-up response message frame fed back in response to the wake-up message frame, where a source address and a target address of the wake-up response message frame are included in a locally pre-stored mac address,
wherein a first mapping relation between the partial basic service set identifier and the media access control address is used for indicating the target address, and a second mapping relation between the partial association identifier and the media access control address is used for indicating the source address;
a determining unit, configured to determine that the wake-up message frame is a unicast message frame when a specified field of a mac frame header or a frame body portion of the wake-up message frame is set to a first value, where the partial association identifier is a unicast address and is mapped to a mac address of a specific site device;
the determination unit is further configured to: when the designated field of the media access control frame head or frame body part of the wake-up message frame is set to a second value, determining that the wake-up message frame is a multicast message frame, and the part association identifier is a multicast address and is mutually mapped with the media access control address of the site equipment of each group;
the determination unit is further configured to: and when the appointed field of the media access control frame head or the frame body part of the wake-up message frame is set to a third value, determining that the wake-up message frame is a broadcast message frame, and the part of the associated identifier is a broadcast address and is mapped with the media access control addresses of all the site equipment.
7. The apparatus for communicating in a wireless local area network according to claim 6, further comprising:
the storage unit is used for determining the part of the basic service set identifications mapped by the basic service set identifications according to a preset Hash digest algorithm and prestoring a first mapping relation between the part of the basic service set identifications and the media access control addresses;
the storage unit is further configured to: and determining the part of the associated identification mapped by the associated identification according to a preset Hash digest algorithm, and pre-storing a second mapping relation between the part of the associated identification and the media access control address.
8. The apparatus for communicating in a wireless local area network according to claim 6 or 7, further comprising:
the partial basic service set identification includes bit identification information of 8 bits or bit identification information of 16 bits.
9. The communication apparatus of wireless local area network according to claim 6 or 7,
the partial association flag includes bit identification information of 8 bits.
10. A communication apparatus of a wireless local area network, adapted to a station device, the communication apparatus of the wireless local area network comprising:
a receiving unit, configured to receive a wake-up message frame, where the wake-up message frame is used to wake up a main communication interface of the station device, and the wake-up message frame includes address indication information, where the address indication information includes a part of a basic service set identifier and/or a part of an association identifier;
a sending unit, configured to feed back a wake-up response message frame in response to the wake-up message frame, where a source address and a destination address of the wake-up response message frame are included in a pre-stored mac address,
wherein a first mapping relation between the partial basic service set identifier and the media access control address is used for indicating the target address, and a second mapping relation between the partial association identifier and the media access control address is used for indicating the source address;
a determining unit, configured to determine that the wake-up message frame is a unicast message frame when a specified field of a mac frame header or a frame body portion of the wake-up message frame is set to a first value, where the partial association identifier is a unicast address and is mapped to a mac address of a specific site device;
the determination unit is further configured to: when the designated field of the media access control frame head or frame body part of the wake-up message frame is set to a second value, determining that the wake-up message frame is a multicast message frame, and the part association identifier is a multicast address and is mutually mapped with the media access control address of the site equipment of each group;
the determination unit is further configured to: and when the appointed field of the media access control frame head or the frame body part of the awakening message frame is set to a third value, determining that the awakening message frame is a broadcast message frame, and the part association identifier is a broadcast address and is mutually mapped with the media access control addresses of all the site devices.
11. The communications apparatus of wireless local area network according to claim 10, further comprising:
the partial basic service set identification includes bit identification information of 8 bits or bit identification information of 16 bits.
12. The communication device of the wireless local area network according to claim 10,
the partial association flag includes bit identification information of 8 bits.
13. An access point device, comprising:
communication device of a wireless local area network according to any of claims 6 to 9.
14. A station apparatus, comprising:
communication device of a wireless local area network according to any of claims 10 to 12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710763911.3A CN109429357B (en) | 2017-08-30 | 2017-08-30 | Communication method and device of wireless local area network, access point equipment and site equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710763911.3A CN109429357B (en) | 2017-08-30 | 2017-08-30 | Communication method and device of wireless local area network, access point equipment and site equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109429357A CN109429357A (en) | 2019-03-05 |
CN109429357B true CN109429357B (en) | 2022-12-23 |
Family
ID=65504026
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710763911.3A Active CN109429357B (en) | 2017-08-30 | 2017-08-30 | Communication method and device of wireless local area network, access point equipment and site equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109429357B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113364893B (en) * | 2020-03-06 | 2022-09-16 | 华为技术有限公司 | Data transmission method, device and system |
CN113965977B (en) * | 2020-07-20 | 2023-03-31 | 成都极米科技股份有限公司 | Data transmission method, device, system and medium in multilink system |
CN114616777A (en) * | 2020-07-31 | 2022-06-10 | 北京小米移动软件有限公司 | Multi-connection rebuilding method and device, storage medium |
US20240089786A1 (en) * | 2021-01-07 | 2024-03-14 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and device for communication |
CN113038579A (en) * | 2021-02-26 | 2021-06-25 | 联想(北京)有限公司 | Processing method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104038989A (en) * | 2013-03-05 | 2014-09-10 | 华为终端有限公司 | Method, device and system for communication in wireless local area network |
CN105813075A (en) * | 2014-12-31 | 2016-07-27 | 华为技术有限公司 | Method used to establish communication connection between site and access point, access point and site |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140348148A1 (en) * | 2011-12-09 | 2014-11-27 | Lg Electronics Inc. | Method for transmitting and receiving fram in wireless local area network system and device supporting same |
US9668125B2 (en) * | 2012-03-11 | 2017-05-30 | Lg Electronics Inc. | Method and apparatus for compressing MAC header in wireless LAN system |
EP2941063B1 (en) * | 2014-04-29 | 2017-11-01 | NTT Docomo, Inc. | Macro-Cell Assisted Small Cell Discovery and Activation |
-
2017
- 2017-08-30 CN CN201710763911.3A patent/CN109429357B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104038989A (en) * | 2013-03-05 | 2014-09-10 | 华为终端有限公司 | Method, device and system for communication in wireless local area network |
CN105813075A (en) * | 2014-12-31 | 2016-07-27 | 华为技术有限公司 | Method used to establish communication connection between site and access point, access point and site |
Non-Patent Citations (1)
Title |
---|
"How to wake up an access point?";Dareen Shehadeh;《IEEE Xplore》;20160502;参见正文第1-4节 * |
Also Published As
Publication number | Publication date |
---|---|
CN109429357A (en) | 2019-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11343766B2 (en) | Method for indicating downlink service data and device | |
US11672038B2 (en) | Apparatus and method for multi-link communications | |
CN109429357B (en) | Communication method and device of wireless local area network, access point equipment and site equipment | |
EP2548316B1 (en) | Method and apparatus for transmitting frame in wlan system | |
US9226227B2 (en) | Group based beacons | |
EP2509235B1 (en) | Method and apparatus for transmitting a frame in a wireless lan system | |
CN106877977B (en) | Data communication method, device and system | |
US12058615B2 (en) | Device and method for multi-link communications | |
CN108012313B (en) | Frame transmission method, equipment and system | |
US11350390B2 (en) | Simultaneous data transmission between an access point and a plurality of stations | |
CN107969028B (en) | Communication method, communication device, access point and station of wireless local area network | |
CN109429268B (en) | Communication method and device of wireless local area network, access point equipment and site equipment | |
CN109565783B (en) | Method and equipment for sending wake-up frame | |
TW202410730A (en) | Traffic indication in multi-link operation |
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 |