[0031] The technical solution of the present invention will be further described in detail below through the drawings and embodiments.
[0032] The method and device for receiving information packets in the IBSS system of the embodiment of the present invention is to improve the VHT-SIG-A field in the existing 802.11ac information packets, and insert some address information, so that the information can be received at the receiving end Pre-judgment before the package.
[0033] figure 2 It is a flowchart of a method for sending an information packet in an IBSS system according to an embodiment of the present invention. As shown in the figure, this embodiment includes the following steps:
[0034] Step 100: The sending end station generates a unicast IBSS information packet including a first field, where the first field includes the first part of address information of the receiving end;
[0035] Because the communication between the sender site and the receiver site adopts the 802.11ac standard for communication, Table 1 is the 802.11ac packet field table:
[0036] Table 1
[0037] L-STF
[0038] Table 2
[0039] Field
[0040] VHT-STF
[0041] The VHT-SIG-A field is divided into two parts: VHT-SIG-A1 and VHT-SIG-A2. The first field is the VHT-SIG-A1 field. Table 3 shows the contents of VHT-SIG-A1.
[0042] table 3
[0043]
[0044] In the information packet sent by the sender, the Partial AID in the first field VHT-SIG-A1 is set as the first part of the address information of the receiving end station, usually a part of the MAC address.
[0045] Part of the MAC address is usually set to a MAC address with a specific number of bits, because Partial AID has a total of 9 bits (B13-B21), which can be set to any 9 bits of the receiving site’s MAC address, for example, set to the lower of the receiving site’s MAC address. 9-bit address; or set to the upper 9-bit address of the receiving station's MAC address; or set to the 9-bit address of the receiving station's MAC address through hash function mapping.
[0046] In addition, the IBSS information packet also includes a second field, the second field includes the first address information of the receiving end, and the second field is the Data field in the IBSS information packet, because the MPDU in the Data field includes the first address of the receiving end Information, usually the MAC layer receiving address;
[0047] Step 101: The sending end station sends the unicast IBSS information packet.
[0048] image 3 This is a flowchart of a method for receiving information packets in an IBSS system according to an embodiment of the present invention. As shown in the figure, this embodiment includes the following steps:
[0049] Step 201: The receiving end station receives the first field in the IBSS information packet, where the first field includes the first part of the address information of the receiving end;
[0050] The first field received in this step is the VHT-SIG-A1 field of the IBSS packet sent by the sender station in the previous embodiment, and the first part of the address information is the reception set in the Partial AID in the VHT-SIG-A1 field Part of the MAC address of the end station;
[0051] As shown in Table 1, the receiving station receives the IBSS packets in the order from left to right from Table 1. After obtaining the partial MAC address of the receiving station from the Partial AID in the VHT-SIG-A1 field, According to step 202, it is determined whether to continue receiving the subsequent part of the IBSS information packet;
[0052] Step 202: The receiving site matches the first part of address information with its own second part of address information, if the matching fails, then execute step 210, if the matching succeeds, execute step 203;
[0053] This step is to perform the first match. The receiving station matches part of the MAC address contained in the Partial AID in the received VHT-SIG-A1 field with part of its own MAC address. Because the partial MAC address contained in the Partial AID is 9 bits, the receiving station also needs to use MAC The 9 bits in the address are matched, for example, the lower 9 bits of the MAC address, or the upper 9 bits of the MAC address, or the 9 bits obtained by mapping the MAC address through a hash function.
[0054] Step 203: The receiving end station continues to receive the second field of the IBSS information packet, where the second field includes the first address information of the receiving end;
[0055] The second field is the Data field in the IBSS packet, because the MPDU in the Data field includes the first address information of the receiving end, which is usually the MAC layer receiving address;
[0056] As shown in Table 1, the receiving end station has already started to receive the Data field at this time. After obtaining the MAC layer receiving address from the Data field, it determines whether to continue receiving the subsequent part of the IBSS packet according to step 204.
[0057] Step 204, the receiving end site performs a match based on the first address information and its own second address information, if the match fails, then execute step 210, if the match succeeds, execute step 205;
[0058] This step is to perform the second match. When the first partial MAC address is successfully matched, the received complete MAC address is used to match with its own complete MAC address;
[0059] Step 205, continue to receive the IBSS information packet at the receiving end station;
[0060] If the two matches are successful, it means that the receiving end is the receiving end of the IBSS packet sent by the sending end unicast. At this time, the receiving end will continue to receive the IBSS packet. See Table 1 again because it is already in The Data field is received. This step is to continue to receive the rest of the Data field. Information packets can be divided into three types: control packets, management packets, and data packets.
[0061] In step 210, the receiving end station gives up to continue receiving the IBSS packet.
[0062] If the first or second match is unsuccessful, it means that the receiving end is not the receiving end of the IBSS information packet unicast sent by the transmitting end, so it gives up to continue receiving the remaining part of the IBSS information packet at this time.
[0063] In particular, the 802.11ac standard has a Null Data Packet (NDP) frame that does not contain the Data field. The Null Data Packet frame is used for sounding measurements at the receiving end, and the Null Data Packet frame can be sent to one or more For the receiving end, since the null packet frame does not contain the MAC layer receiving address, the receiving end is usually indicated in the Null Data Packet Announcement (NDPA) frame sent before the null packet frame. In the embodiment of the present invention, if the data packet frame is sent to only one receiving end, the empty data packet frame is also considered to be a unicast IBSS information packet. In this case, the Partial AID in the NDP can be set as the partial MAC address of the receiving end.
[0064] In the method for receiving and sending information packets in the IBSS system of the embodiment of the present invention, after receiving the VHT-SIG-A1 field required by the existing method, the Data field must be received to perform matching based on the complete MAC address. When the VHT-SIG-A1 field is received, partial matching can be performed. The Partial AID part in the VHT-SIG-A1 field is used to set the partial MAC address. When the first match fails, there is no need to continue to receive IBSS information The subsequent fields of the packet can give up receiving the IBSS packet, and only after the first match is successful, the data field needs to be connected to determine whether the receiving end is the receiving end of the unicast IBSS packet based on the complete MAC address, so saving The processing time is reduced, the processing process is reduced, and the power consumption is effectively reduced.
[0065] Figure 4 It is a schematic diagram of an information packet sending device according to an embodiment of the present invention. As shown in the figure, this embodiment includes: a generating unit 31 and a sending unit 32.
[0066] The generating unit 31 is configured to generate an IBSS information packet including a first field, the first field including the first part of the address information of the receiving end; in addition, the IBSS information packet generated by the generating unit further includes a second field, the second field Including the first address information of the receiving end.
[0067] The sending unit 32 is configured to send the IBSS information packet.
[0068] In the information packet sent in this embodiment, the Partial AID in the first field VHT-SIG-A1 is set as the first part of the address information of the receiving end station, usually a part of the MAC address. Part of the MAC address is usually set to a MAC address with a specific number of bits, because Partial AID has a total of 9 bits (B13-B21), which can be set to any 9 bits of the receiving site’s MAC address, for example, set to the lower of the receiving site’s MAC address. 9-bit address; or set to the upper 9-bit address of the receiving station's MAC address; or set to the 9-bit address of the receiving station's MAC address through hash function mapping. The IBSS information packet also includes a second field, the second field includes the first address information of the receiving end, and the second field is the Data field in the IBSS information packet, because the MPDU in the Data field includes the first address information of the receiving end, usually Receive the address for the MAC layer.
[0069] Figure 5 It is a schematic diagram of an information packet receiving device according to an embodiment of the present invention. As shown in the figure, this embodiment includes: a first receiving unit 11, a first matching unit 21, a second receiving unit 12, a second matching unit 22, and a third receiving unit 13.
[0070] The first receiving unit 11 receives the first field in the IBSS information packet, and the first field includes the first partial address information of the receiving end; the first receiving unit 11 is specifically configured to receive the VHT-SIG- in the received IBSS information packet. A1 field.
[0071] As shown in Table 1, the receiving station receives the IBSS packets in the order from left to right from Table 1. After obtaining the partial MAC address of the receiving station from the Partial AID in the VHT-SIG-A1 field, According to the first matching unit, it is determined whether to continue receiving the subsequent part of the IBSS information packet; the Partial AID in the first field VHT-SIG-A1 is set to part of the address information of the receiving end station, usually part of the MAC address. Part of the MAC address is usually set to a MAC address with a specific number of bits, because Partial AID has a total of 9 bits (B13-B21), which can be set to any 9 bits of the receiving site’s MAC address, for example, set to the lower of the receiving site’s MAC address. 9-bit address; or set to the upper 9-bit address of the receiving station's MAC address; or set to the 9-bit address of the receiving station's MAC address through hash function mapping.
[0072] The first matching unit 21 is configured to match the first part of address information with its own second part of address information, and if the matching fails, it will give up continuing to receive the IBSS information packet; the first matching unit 21 matching part of the address information is specifically matching part of the media Access control MAC address information.
[0073] The first matching unit 21 matches the partial MAC address of the Partial AID in the received VHT-SIG-A1 field with its own partial MAC address. Because the partial MAC address of the Partial AID is 9 bits, the receiving station also needs to use it. The 9 bits in the MAC address are matched, for example, the lower 9 bits of the MAC address, or the upper 9 bits of the MAC address, or the 9 bits obtained by mapping the MAC address through a hash function.
[0074] The second receiving unit 12 is configured to continue to receive the second field of the IBSS information packet if the match is successful, the second field includes the first address information of the receiving end; the second receiving unit 12 is specifically configured to receive the received IBSS information packet The Data field. The second field is the Data field in the IBSS information packet, because the MPDU in the Data field includes the first address information of the receiving end, which is usually the MAC layer receiving address.
[0075] The second matching unit 22 is configured to match the first address information with its own second address information, and if the matching fails, abandon continuing to receive the IBSS information packet; the second matching unit 22 matching address information is specifically matching MAC address information.
[0076] The second matching unit 22 performs a second match. After the first partial MAC address is matched successfully, it uses the received complete MAC address to match its own complete MAC address. This match is already after the first matching and screening Matches up.
[0077] The third receiving unit 13 is configured to continue to receive the IBSS information packet if the matching is successful. If the two matches are successful, it means that the receiving end is the one that the sender wants to unicast to send IBSS packets. At this time, the receiving end will continue to receive IBSS packets. See Table 1 again because it is already in The Data field is received. This step is to continue to receive the rest of the Data field. Information packets can be divided into three types: control packets, management packets, and data packets. If the second match is unsuccessful, it means that the receiving end is not the receiving end of the information packet unicast sent by the sending end, and thus giving up receiving the information packet.
[0078] The device for receiving and sending information packets in the IBSS system of the embodiment of the present invention can perform partial matching after receiving the VHT-SIG-A1 field, using the Partial AID part in the VHT-SIG-A1 field to be set as a partial MAC address , After the first match fails, you don’t need to continue receiving the subsequent fields of the IBSS packet and you can give up receiving the IBSS packet. Only after the first match is successful, you need to continue to receive the Data field to judge based on the complete MAC address. Whether the receiving end is the receiving end of the unicast IBSS packet, so the processing time is saved, the processing procedure is reduced, and the power consumption is effectively reduced.
[0079] Professionals should also be further aware that the units and algorithm steps of the examples described in the embodiments disclosed in this article can be implemented by electronic hardware, computer software or a combination of both, in order to clearly illustrate the hardware and software Interchangeability. In the above description, the composition and steps of each example have been generally described in accordance with the function. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of the present invention.
[0080] The steps of the method or algorithm described in combination with the embodiments disclosed herein can be implemented by hardware, a software module executed by a processor, or a combination of the two. The software module can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs, or all areas in the technical field. Any other known storage media.
[0081] The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present invention in further detail. It should be understood that the above descriptions are only specific embodiments of the present invention and are not intended to limit the scope of the present invention. The protection scope, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.