CN111031525B - Beacon frame sending method and device - Google Patents

Beacon frame sending method and device Download PDF

Info

Publication number
CN111031525B
CN111031525B CN201911301061.0A CN201911301061A CN111031525B CN 111031525 B CN111031525 B CN 111031525B CN 201911301061 A CN201911301061 A CN 201911301061A CN 111031525 B CN111031525 B CN 111031525B
Authority
CN
China
Prior art keywords
beacon frame
equipment
wireless channel
value
sent
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
Application number
CN201911301061.0A
Other languages
Chinese (zh)
Other versions
CN111031525A (en
Inventor
祝肖锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201911301061.0A priority Critical patent/CN111031525B/en
Publication of CN111031525A publication Critical patent/CN111031525A/en
Application granted granted Critical
Publication of CN111031525B publication Critical patent/CN111031525B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/04Error control
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides a method and a device for sending a Beacon frame, wherein the method is applied to first AP equipment and comprises the following steps: scanning a preset wireless channel before transmitting a wireless signal; when a Beacon frame sent by a second AP device is scanned through the wireless channel, checking whether the scanned Beacon frame sent by the second AP device meets a set Beacon frame mounting condition, wherein the Beacon frame mounting condition refers to that: the value of the designated field in the Beacon frame is a first value, and when the value of the designated field is the first value, the second AP equipment sends the Beacon frame, and then other AP equipment is used for preempting the wireless channel to send the Beacon frame; if yes, checking whether the equipment has established a Beacon frame mounting relation with the second AP equipment; and if so, after waiting for a short inter-frame space SIFS, transmitting the Beacon frame of the first AP equipment on the wireless channel. By applying the method, the Beacon frames sent by different AP equipment can be prevented from collision on the same wireless channel.

Description

Beacon frame sending method and device
Technical Field
The present disclosure relates to the field of wireless networks, and in particular, to a method and an apparatus for transmitting Beacon frames.
Background
IEEE 802.11 is a standard common to wireless local area networks today, in which a medium access control mechanism of the DCF (Distributed Coordination Function ) type is specified. Under the DCF mechanism, multiple distributed wireless nodes occupy the same resource, so the DCF mechanism belongs to a competitive mechanism, and as such, the following defects exist in the application of the DCF mechanism in a dense network:
in a dense network, if a wireless node is currently transmitting a Beacon frame through a wireless channel, other wireless nodes will wait for DFIS (DCF Interframe Space, interval between distributed coordination function frames) and then simultaneously transmit the Beacon frame on the same wireless channel, so that Beacon frames of different wireless nodes collide on the same wireless channel, and thus a mobile station cannot normally receive and parse the Beacon frame, and further the mobile station cannot connect to the wireless network or disconnect from the connected wireless network, which causes unstable network fluctuation.
Disclosure of Invention
In view of this, the present application provides a method and apparatus for transmitting a Beacon frame, so as to solve the problem in the prior art that Beacon frames transmitted by different wireless nodes easily collide on the same wireless channel.
Specifically, the application is realized by the following technical scheme:
according to a first aspect of an embodiment of the present application, there is provided a method for transmitting a Beacon frame, where the method is applied to a first AP device, and includes:
scanning a preset wireless channel before transmitting a wireless signal;
when a Beacon frame sent by a second AP device is scanned through the wireless channel, checking whether the scanned Beacon frame sent by the second AP device meets a set Beacon frame mounting condition, wherein the Beacon frame mounting condition refers to that: the value of the designated field in the Beacon frame is a first value, and when the value of the designated field is the first value, the second AP equipment sends the Beacon frame, and then other AP equipment is used for preempting the wireless channel to send the Beacon frame;
if yes, checking whether the equipment and the second AP equipment establish a Beacon frame mounting relation;
and if so, waiting for a short inter-frame space SIFS and then transmitting the Beacon frame of the first AP equipment on the wireless channel.
In an embodiment, when it is checked that the scanned Beacon frame sent by the second AP device does not meet the set Beacon frame mounting condition and it is checked that the device does not establish a Beacon frame mounting relationship with the second AP device, the method further includes:
establishing a Beacon frame mounting relationship with the second AP equipment;
transmitting a Beacon frame of the first AP device on the wireless channel after waiting for SIFS in a next Beacon frame transmission period;
the establishing the Beacon frame mounting relation with the second AP equipment comprises the following steps:
transmitting a Beacon frame mounting request to the second AP equipment, wherein the Beacon frame mounting request carries the Beacon frame transmission time of the first AP equipment, so that the second AP equipment sets the value of a specified field in the Beacon frame to be transmitted as the first value, and increases the Beacon frame transmission time of the first AP equipment in the NAV of the Beacon frame to be transmitted;
and after receiving a response message corresponding to the Beacon frame mounting request sent by the second AP equipment, establishing a Beacon frame mounting relation with the second AP equipment.
In an embodiment, when it is checked that the scanned Beacon frame sent by the second AP device meets a set Beacon frame mounting condition and it is checked that the device does not establish a Beacon frame mounting relationship with the second AP device, the method further includes:
acquiring a value in the NAV of the scanned Beacon frame sent by the second AP equipment, wherein the value is a sum value among SIFS, the Beacon frame sending time of the first AP equipment and the Beacon frame sending time of the second AP equipment; and after waiting the duration corresponding to the sum value, transmitting the Beacon frame of the first AP equipment on the wireless channel.
In an embodiment, the method further comprises:
when the wireless channel is monitored to be idle, after waiting for SIFS, a signal frame is sent on the wireless channel, wherein NAV in the signal frame comprises the Beacon frame sending time of the first AP equipment;
and after the signal frame is sent, sending the Beacon frame of the first AP equipment on the wireless channel after waiting for SIFS.
In an embodiment, the signal frame is a Beacon frame or a CTS frame of the first AP device.
According to a second aspect of embodiments of the present application, there is provided a Beacon frame transmitting apparatus, where the apparatus is applied to a first AP device, including:
the scanning module is used for scanning a preset wireless channel before transmitting the wireless signal;
the first checking module is configured to check, when a Beacon frame sent by the second AP device is scanned through the wireless channel, whether the scanned Beacon frame sent by the second AP device meets a set Beacon frame mounting condition, where the Beacon frame mounting condition refers to: the value of the designated field in the Beacon frame is a first value, and when the value of the designated field is the first value, the second AP equipment sends the Beacon frame, and then other AP equipment is used for preempting the wireless channel to send the Beacon frame;
the second checking module is used for checking whether the equipment and the second AP equipment establish a Beacon frame mounting relation if the scanned Beacon frame sent by the second AP equipment meets the set Beacon frame mounting condition;
and the first sending module is used for sending the Beacon frame of the first AP equipment on the wireless channel after waiting for the short inter-frame space SIFS if the equipment is checked to establish the Beacon frame mounting relation with the second AP equipment.
In an embodiment, the device further comprises:
the relation establishing module is used for establishing a Beacon frame mounting relation with the second AP equipment;
a second transmitting module, configured to transmit a Beacon frame of the first AP device on the wireless channel after waiting for SIFS in a next Beacon frame transmission period;
the relation establishing module comprises:
a request sub-module, configured to send a Beacon frame mounting request to the second AP device, where the Beacon frame mounting request carries when a Beacon frame of the first AP device is sent, so that the second AP device sets a value of a specified field in the Beacon frame to be sent to a first value, and when a NAV of the Beacon frame to be sent increases when the Beacon frame of the first AP device is sent;
and the response sub-module is used for establishing a Beacon frame mounting relation with the second AP equipment after receiving a response message which is sent by the second AP equipment and corresponds to the Beacon frame mounting request.
In an embodiment, the device further comprises:
the acquisition module is used for acquiring the value in the NAV of the scanned Beacon frame sent by the second AP equipment, wherein the value is the sum value among SIFS, the Beacon frame sending time of the first AP equipment and the Beacon frame sending time of the second AP equipment; and the third sending module is used for sending the Beacon frame of the first AP equipment on the wireless channel after waiting the duration corresponding to the sum.
In an embodiment, the device further comprises:
a fourth sending module, configured to send a signal frame on the wireless channel after waiting for SIFS when the wireless channel is monitored to be idle, where a NAV in the signal frame includes a Beacon frame sending time of the first AP device;
and a fifth sending module, configured to send, after sending the signal frame, a Beacon frame of the first AP device on the wireless channel after waiting for SIFS.
In an embodiment, the signal frame is a Beacon frame or a CTS frame of the first AP device.
According to the method for sending the Beacon frame, a preset wireless channel is scanned before a wireless signal is transmitted, when the Beacon frame sent by the second AP device is scanned through the wireless channel, whether the scanned Beacon frame sent by the second AP device meets the set Beacon frame mounting condition is checked, if yes, whether the Beacon frame mounting relation between the device and the second AP device is established is checked, if yes, the Beacon frame of the first AP device is sent on the wireless channel after SIFS is waited, and when the Beacon frame is sent by the second AP device after the Beacon frame is scanned, and when the Beacon frame is sent by the first AP device after the Beacon frame is detected to be preempted on the same wireless channel by the second AP device, the Beacon frame is sent on the wireless channel after SIFS is waited, and the SIFS is lower than the DFIS.
Drawings
Fig. 1 is a flowchart of an embodiment of a method for sending a Beacon frame according to an exemplary embodiment of the present application;
FIG. 2 is a flowchart of an embodiment of a process for establishing a Beacon frame mount relationship between a first AP device and a second AP device;
fig. 3 is a schematic diagram of a timing relationship of transmitting Beacon frames on the same wireless channel by using different AP devices finally implemented by the flows shown in fig. 1 and fig. 2;
fig. 4 is a flowchart of an embodiment of an AP device preempting a wireless channel according to an exemplary embodiment of the present application;
fig. 5 is a schematic diagram illustrating a timing relationship between Beacon frames and data frames transmitted on the same wireless channel by different AP devices using the final implementation of the procedure shown in fig. 4;
fig. 6 is a hardware configuration diagram of an AP device where the Beacon frame transmitting device of the present application is located.
Fig. 7 is a block diagram of an embodiment of a Beacon frame transmitting apparatus according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
The terminology used in the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first message may also be referred to as a second message, and similarly, a second message may also be referred to as a first message, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
Referring to fig. 1, a flowchart of an embodiment of a method for transmitting a Beacon frame according to an exemplary embodiment of the present application is provided, where the method may be applied to a wireless node, for example, an AP device (for convenience of description, hereinafter referred to as a first AP device), and includes the following steps:
step 101: the preset radio channel is scanned before the radio signal is transmitted.
In application, a first AP device may first scan a preset wireless channel to check if other AP devices are transmitting Beacon frames on the wireless channel before transmitting wireless signals.
In an embodiment, the preset wireless channels may be one or more.
Step 102: when the Beacon frame sent by the second AP equipment is scanned through the wireless channel, whether the scanned Beacon frame sent by the second AP equipment meets the set Beacon frame mounting condition is checked.
In one embodiment, the Beacon frame mounting condition refers to: the value of the specified field in the Beacon frame is the first value. Wherein when the value of the specified field is a first value, it means that there will be other AP devices (AP devices other than the second AP device) to preempt the wireless channel to transmit the Beacon frame after the second AP device transmits the Beacon frame.
Step 103: if yes, checking whether the device has established a Beacon frame mounting relation with the second AP device.
In an embodiment, taking the example that the first AP device establishes the Beacon frame mounting relationship with the second AP device, establishing the Beacon frame mounting relationship means that after the second AP device sends the Beacon frame, the first AP device will preempt the wireless channel to send the Beacon frame.
As to how the first AP device establishes the Beacon frame mounting relationship with the second AP device, the following is illustrated by way of example, and is not described herein.
Step 104: if so, the Beacon frame of the first AP device is transmitted over the wireless channel after waiting for SIFS (Short Interframe Space, short inter-frame space).
Based on the descriptions in step 102 and step 103, it can be known that, when the scanned Beacon frame sent by the second AP device meets the set Beacon frame mounting condition and the present device has established a Beacon frame mounting relationship with the second AP device, that is, it means that the first AP device will preempt the wireless channel to send the Beacon frame after the second AP device sends the Beacon frame, therefore, in step 103, the first AP device may send the Beacon frame on the wireless channel after waiting for SIFS.
Since SIFS is the smallest inter-frame space in the IEEE 802.11 standard, its relation to DIFS can be expressed by the following equation (one), a wireless node employing SIFS will have the highest priority to occupy a wireless channel, and thus by performing step 104, it can be achieved that the first AP device preempts the wireless channel prior to other AP devices.
Difs=sifs+2 slot time formula (one)
Thus, the description of the flow shown in fig. 1 is completed.
As can be seen from the above embodiment, by scanning a preset wireless channel before transmitting a wireless signal, when a Beacon frame transmitted by a second AP device is scanned through the wireless channel, it is checked whether the scanned Beacon frame transmitted by the second AP device satisfies a set Beacon frame mounting condition, if so, it is checked whether the present device has established a Beacon frame mounting relationship with the second AP device, if so, the Beacon frame of the first AP device is transmitted on the wireless channel after waiting for SIFS, and because the Beacon frame is transmitted by the Beacon frame after the Beacon frame is scanned to the second AP device and when the Beacon frame is transmitted by the Beacon frame after the Beacon frame is detected to be currently allowed to be preempted by the first AP device on the same wireless channel after the second AP device, the Beacon frame is transmitted on the wireless channel after waiting for SIFS, and the SIFS is lower than DFIS, so that the Beacon frame transmitted by the first AP device preempts the wireless channel before other AP devices can be realized, thereby avoiding collision between the Beacon frame transmitted by the first AP device and the Beacon frame transmitted by other AP devices on the same wireless channel.
The following describes a process of establishing a Beacon frame mounting relationship between a first AP device and a second AP device by using an embodiment shown in fig. 2, where a flow shown in fig. 2 refers to a flow shown in fig. 1, and includes the following steps:
step 201: the preset radio channel is scanned before the radio signal is transmitted.
Step 202: when the Beacon frame sent by the second AP device is scanned through the wireless channel, checking whether the scanned Beacon frame sent by the second AP device meets a set Beacon frame mounting condition, and if so, executing step 203; if not, step 207 is performed.
Step 203: checking whether the device has established a Beacon frame mounting relationship with the second AP device, and if so, executing step 204; if not, step 205 is performed.
Step 204: after waiting for the SIFS, transmitting a Beacon frame of the first AP device on a wireless channel; ending the flow.
The detailed descriptions of steps 201 to 204 may be referred to the related descriptions in the embodiment shown in fig. 1, and are not repeated here.
Step 205: and sending a Beacon frame mounting request to the second AP equipment.
Step 206: after receiving a response message corresponding to the Beacon frame mounting request sent by the second AP equipment, establishing a Beacon frame mounting relation with the second AP equipment, and sending the Beacon frame of the first AP equipment on a wireless channel after waiting for a SIFS in the next Beacon frame sending period.
Step 205 and step 206 are collectively described below:
in an embodiment, when step 203 is performed to check that the scanned Beacon frame sent by the second AP device does not meet the set Beacon frame mounting condition and check that the device does not establish a Beacon frame mounting relationship with the first AP device, the first AP device may establish a Beacon frame mounting relationship with the second AP device.
As an example, the first AP device may send a Beacon frame mount request to the second AP device, where the Beacon frame mount request may carry a Beacon frame transmission time of the first AP device, so that the second AP device sets a value of a Beacon frame designated field to be transmitted to a first value and sets a NAV (network allocation vector) of the Beacon frame to be transmitted to a Beacon frame transmission time of the first AP device, and returns a response message corresponding to the Beacon frame mount request to the first AP device.
The second AP device may specify a duration in which the wireless channel is occupied by setting the network allocation vector NAV of the Beacon frame to be transmitted as when the Beacon frame of the first AP device is transmitted.
After receiving the response message corresponding to the Beacon frame mounting request sent by the second AP device, the first AP device may consider that the Beacon frame mounting relationship has been established with the second AP device. Based on the description about establishing the Beacon frame mounting relationship in step 103, after the first AP device establishes the Beacon frame mounting relationship with the second AP device, the first AP device may preempt the wireless channel after the second AP device transmits the Beacon frame, and based on this, the first AP device may transmit the Beacon frame on the wireless channel after waiting for SIFS in the next Beacon frame transmission period.
Step 207: and acquiring a value in the NAV of the scanned Beacon frame transmitted by the second AP equipment, wherein the value is a sum value among SIFS, the Beacon frame transmission time of the first AP equipment and the Beacon frame transmission time of the second AP equipment.
In an embodiment, when step 203 is performed to check that the scanned Beacon frame sent by the second AP device meets the set Beacon frame mounting condition and to check that the device does not establish a Beacon frame mounting relationship with the first AP device, it may be determined that other AP devices (AP devices other than the first AP device and the second AP device) have preempted the wireless channel. At this time, the first AP device may acquire a value in the NAV of the Beacon frame sent by the scanned second AP device, so as to acquire the duration of the wireless channel. Step 208: and after waiting the duration corresponding to the sum value, transmitting the Beacon frame of the first AP equipment on the wireless channel.
Since the other AP devices have preempted the wireless channel, the Beacon frame of the first AP device may be sent on the wireless channel after waiting for the duration corresponding to the value obtained in step 207. By the processing, the Beacon frames of the first AP equipment and other AP equipment can be effectively prevented from collision on the same wireless channel.
Thus, the description of the flow shown in fig. 2 is completed.
As can be seen from the above embodiments, since the first AP device transmits the Beacon frame according to the time delay occupied by the other AP devices on the wireless channel when the other AP devices have preempted the wireless channel, collision between the Beacon frame transmitted by the first AP device and the Beacon frame transmitted by the other AP devices on the same wireless channel can be avoided.
Fig. 3 is shown in order to facilitate understanding of the timing relationship of Beacon frames transmitted on the same wireless channel by different AP devices that ultimately implement by performing the processes shown in fig. 1 and 2 described above. As shown in fig. 3, node a transmits a Beacon frame at intervals SIFS after node B transmits the Beacon frame, and node C transmits the Beacon frame at intervals SIFS after node a transmits the Beacon frame. Therefore, collision of Beacon frames sent by the node A, the node B and the node C on the same wireless channel can be avoided.
In the prior art, under the DCF mechanism, when transmitting other data frames except for the Beacon frame, the wireless node needs to wait for DFIS and then transmit, that is, all wireless nodes have the same priority when preempting channels, so that Beacon frames and data frames of different wireless nodes are in conflict on the same wireless channel. Although a random backoff mechanism is proposed in the prior art to solve the problem that Beacon frames and data frames of different wireless nodes collide on the same wireless channel, backoff retransmission of the data frames will cause wireless channel resource waste. Based on this, the present application also proposes the flow of the example of fig. 4.
Referring to fig. 4, an embodiment flow of preempting a wireless channel by an AP device according to an exemplary embodiment of the present application includes the following steps:
referring to fig. 4, the method comprises the following steps:
step 401: when the wireless channel is monitored to be idle, a signal frame is sent on the wireless channel after waiting for the SIFS.
Step 402: after transmitting the signal frame, the Beacon frame of the first AP device is transmitted on the wireless channel after waiting for SIFS.
The following is a unified description of step 401 and step 402:
in an application, before the first AP device sends the Beacon frame, it may be implemented to monitor whether the wireless channel is idle through physical carrier sensing or virtual carrier sensing.
In an embodiment, when the first AP device listens to the wireless channel being idle, the first AP device may wait for the SIFS before transmitting the signal frame on the wireless channel. As can be seen from the above description, the wireless node employing SIFS will have the highest priority to occupy the wireless channel, and thus, the first AP device may preempt the wireless channel by performing step 401. Further, the first AP device may wait for SIFS after preempting the wireless channel by sending the signal frame, and then send the Beacon frame on the wireless channel.
As an example, the signal frame may be a Beacon frame or a CTS frame of the first AP device. Regardless of the form the signal frame takes, the priority of the first AP device to preempt the wireless channel will be increased by the first AP device waiting for SIFS while it is monitoring that the wireless channel is idle and then transmitting the signal frame on the wireless channel.
As an example, when the Beacon frame including the first AP device in the NAV in the signal frame is transmitted, the other AP devices can be prevented from preempting the wireless channel by this processing.
Thus, the description of the flow shown in fig. 4 is completed.
As can be seen from the above embodiments, when the wireless channel is monitored to be idle, after waiting for SIFS, a signal frame is sent on the wireless channel, after sending the signal frame, after waiting for SIFS, a Beacon frame of a first AP device is sent on the wireless channel, so that the priority when the first AP device preempts the wireless channel can be improved, after improving the priority when the first AP device preempts the wireless channel, the first AP device can send the Beacon frame before other AP devices send the data frame, and therefore collision between the Beacon frames of different AP devices and the data frame on the same wireless channel can be avoided.
Fig. 5 is shown for convenience in understanding the timing relationship of Beacon frames and data frames transmitted on the same wireless channel by different AP devices applying the final implementation of the procedure shown in fig. 4. As shown in fig. 5, when node a monitors that the wireless channel is idle, node a waits for SIFS and then transmits a CTS frame on the wireless channel, and then waits for SIFS and transmits a Beacon frame on the wireless channel, and node B monitors that the wireless channel is occupied and performs backoff in the process of node a transmitting the CTS frame and the Beacon frame. Therefore, collision between the Beacon frame sent by the node A and the data frame sent by the node B on the same wireless channel can be avoided.
Corresponding to the foregoing embodiment of the method for transmitting a Beacon frame, the present application also provides an embodiment of a Beacon frame transmitting apparatus.
The embodiment of the Beacon frame sending device can be applied to an AP device. The apparatus embodiments may be implemented by software, or may be implemented by hardware or a combination of hardware and software. Taking a software implementation as an example, the device in a logic sense is formed by reading corresponding computer program instructions in a nonvolatile memory into a memory by a processor of an AP device where the device is located for operation. In terms of hardware, as shown in fig. 6, a hardware structure diagram of an AP device where a Beacon frame sending apparatus is located in the present application is shown in fig. 6, and besides the processor 61, the memory 62, the network interface 63, the nonvolatile memory 64, and the internal bus 65 shown in fig. 6, the AP device where the Beacon frame sending apparatus is located in the embodiment generally includes other hardware according to the actual function of the AP device, which is not described herein again.
Referring to fig. 7, a block diagram of an embodiment of a Beacon frame sending apparatus according to an exemplary embodiment of the present application is provided, where the apparatus may be applied to a first AP device.
As shown in fig. 7, the apparatus includes: a scanning module 71, a first inspection module 72, a second inspection module 73 and a first transmission module 74.
Wherein, the scanning module 71 is configured to scan a preset wireless channel before transmitting a wireless signal;
a first checking module 72, configured to check, when a Beacon frame sent by the second AP device is scanned through the wireless channel, whether the scanned Beacon frame sent by the second AP device meets a set Beacon frame mounting condition, where the Beacon frame mounting condition refers to: the value of the designated field in the Beacon frame is a first value, and when the value of the designated field is the first value, the second AP equipment sends the Beacon frame, and then other AP equipment is used for preempting the wireless channel to send the Beacon frame;
a second checking module 73, configured to check whether the device has established a Beacon frame mounting relationship with the second AP device if it is checked that the scanned Beacon frame sent by the second AP device meets a set Beacon frame mounting condition;
a first sending module 74, configured to send, if it is detected that the device has established a Beacon frame mounting relationship with the second AP device, a Beacon frame of the first AP device on the wireless channel after waiting for a short interframe space SIFS.
In an embodiment, the apparatus may further comprise (not shown in fig. 7):
the relation establishing module is used for establishing a Beacon frame mounting relation with the second AP equipment;
a second transmitting module, configured to transmit a Beacon frame of the first AP device on the wireless channel after waiting for SIFS in a next Beacon frame transmission period;
the relationship establishment module may include (not shown in fig. 7):
a request sub-module, configured to send a Beacon frame mounting request to the second AP device, where the Beacon frame mounting request carries a Beacon frame sending time of the first AP device, so that the second AP device sets a value of a specified field in a Beacon frame to be sent to the first value, and increases a Beacon frame sending time of the first AP device in a NAV of the Beacon frame to be sent;
and the response sub-module is used for establishing a Beacon frame mounting relation with the second AP equipment after receiving a response message corresponding to the Beacon frame mounting request sent by the second AP equipment.
In an embodiment, the apparatus may further comprise (not shown in fig. 7):
the acquisition module is used for acquiring the value in the NAV of the scanned Beacon frame sent by the second AP equipment, wherein the value is the sum value among SIFS, the Beacon frame sending time of the first AP equipment and the Beacon frame sending time of the second AP equipment; and the third sending module is used for sending the Beacon frame of the first AP equipment on the wireless channel after waiting the duration corresponding to the sum.
In an embodiment, the apparatus may further comprise (not shown in fig. 7):
a fourth sending module, configured to send a signal frame on the wireless channel after waiting for SIFS when the wireless channel is monitored to be idle, where a NAV in the signal frame includes a Beacon frame sending time of the first AP device;
and a fifth sending module, configured to send, after sending the signal frame, a Beacon frame of the first AP device on the wireless channel after waiting for SIFS.
In an embodiment, the signal frame is a Beacon frame or a CTS frame of the first AP device.
The implementation process of the functions and roles of each unit in the above device is specifically shown in the implementation process of the corresponding steps in the above method, and will not be described herein again.
For the device embodiments, reference is made to the description of the method embodiments for the relevant points, since they essentially correspond to the method embodiments. The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purposes of the present application. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The foregoing description of the preferred embodiments of the present invention is not intended to limit the invention to the precise form disclosed, and any modifications, equivalents, improvements and alternatives falling within the spirit and principles of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A method for transmitting a Beacon frame, wherein the method is applied to a first AP device, and includes:
scanning a preset wireless channel before transmitting a wireless signal;
when a Beacon frame sent by a second AP device is scanned through the wireless channel, checking whether the scanned Beacon frame sent by the second AP device meets a set Beacon frame mounting condition, wherein the Beacon frame mounting condition refers to that: the value of the designated field in the Beacon frame is a first value, and when the value of the designated field is the first value, the second AP equipment sends the Beacon frame, and then other AP equipment is used for preempting the wireless channel to send the Beacon frame;
if yes, checking whether the equipment and the second AP equipment establish a Beacon frame mounting relation;
and if so, waiting for a short inter-frame space SIFS and then transmitting the Beacon frame of the first AP equipment on the wireless channel.
2. The method according to claim 1, wherein when it is checked that the scanned Beacon frame sent by the second AP device does not meet the set Beacon frame mount condition and it is checked that the present device does not establish a Beacon frame mount relationship with the second AP device, the method further includes:
establishing a Beacon frame mounting relationship with the second AP equipment;
transmitting a Beacon frame of the first AP device on the wireless channel after waiting for SIFS in a next Beacon frame transmission period;
the establishing a Beacon frame mounting relationship with the second AP device includes:
transmitting a Beacon frame mounting request to the second AP equipment, wherein the Beacon frame mounting request carries the Beacon frame transmission time of the first AP equipment, so that the second AP equipment sets the value of a specified field in the Beacon frame to be transmitted as the first value, and increases the Beacon frame transmission time of the first AP equipment in a network allocation vector NAV of the Beacon frame to be transmitted;
and after receiving a response message corresponding to the Beacon frame mounting request sent by the second AP equipment, establishing a Beacon frame mounting relation with the second AP equipment.
3. The method according to claim 1, wherein when it is checked that the scanned Beacon frame sent by the second AP device meets a set Beacon frame mount condition and it is checked that the device does not establish a Beacon frame mount relationship with the second AP device, the method further includes:
acquiring a value in the NAV of the scanned Beacon frame sent by the second AP equipment, wherein the value is a sum value among SIFS, the Beacon frame sending time of other wireless channel equipment which is preempted and the Beacon frame sending time of the second AP equipment;
and after waiting the duration corresponding to the sum value, transmitting the Beacon frame of the first AP equipment on the wireless channel.
4. A method according to any one of claims 1 to 3, wherein the method further comprises:
when the wireless channel is monitored to be idle, after waiting for SIFS, a signal frame is sent on the wireless channel, wherein NAV in the signal frame comprises the Beacon frame sending time of the first AP equipment;
and after the signal frame is sent, sending the Beacon frame of the first AP equipment on the wireless channel after waiting for SIFS.
5. The method of claim 4, wherein the signal frame is a Beacon frame or a CTS frame of the first AP device.
6. A Beacon frame transmitting apparatus, wherein the apparatus is applied to a first AP device, and includes:
the scanning module is used for scanning a preset wireless channel before transmitting the wireless signal;
the first checking module is configured to check, when a Beacon frame sent by the second AP device is scanned through the wireless channel, whether the scanned Beacon frame sent by the second AP device meets a set Beacon frame mounting condition, where the Beacon frame mounting condition refers to: the value of the designated field in the Beacon frame is a first value, and when the value of the designated field is the first value, the second AP equipment sends the Beacon frame, and then other AP equipment is used for preempting the wireless channel to send the Beacon frame;
the second checking module is used for checking whether the equipment and the second AP equipment establish a Beacon frame mounting relation if the scanned Beacon frame sent by the second AP equipment meets the set Beacon frame mounting condition;
and the first sending module is used for sending the Beacon frame of the first AP equipment on the wireless channel after waiting for the short inter-frame space SIFS if the equipment is checked to establish the Beacon frame mounting relation with the second AP equipment.
7. The apparatus of claim 6, wherein the apparatus further comprises:
the relation establishing module is used for establishing a Beacon frame mounting relation with the second AP equipment;
a second transmitting module, configured to transmit a Beacon frame of the first AP device on the wireless channel after waiting for SIFS in a next Beacon frame transmission period;
the relation establishing module comprises:
a request sub-module, configured to send a Beacon frame mounting request to the second AP device, where the Beacon frame mounting request carries a Beacon frame sending time of the first AP device, so that the second AP device sets a value of a specified field in a Beacon frame to be sent to the first value and increases a Beacon frame sending time of the first AP device in a network allocation vector NAV of the Beacon frame to be sent;
and the response sub-module is used for establishing a Beacon frame mounting relation with the second AP equipment after receiving a response message which is sent by the second AP equipment and corresponds to the Beacon frame mounting request.
8. The apparatus of claim 6, wherein the apparatus further comprises:
the acquisition module is used for acquiring the value in the NAV of the scanned Beacon frame sent by the second AP equipment, wherein the value is the sum value among SIFS, the Beacon frame sending time of other wireless channel equipment and the Beacon frame sending time of the second AP equipment; and the third sending module is used for sending the Beacon frame of the first AP equipment on the wireless channel after waiting the duration corresponding to the sum.
9. The apparatus of claim 6, wherein the apparatus further comprises:
a fourth sending module, configured to send a signal frame on the wireless channel after waiting for SIFS when the wireless channel is monitored to be idle, where a NAV in the signal frame includes a Beacon frame sending time of the first AP device;
and a fifth sending module, configured to send, after sending the signal frame, a Beacon frame of the first AP device on the wireless channel after waiting for SIFS.
10. The apparatus of claim 9, wherein the signal frame is a Beacon frame or a CTS frame of the first AP device.
CN201911301061.0A 2019-12-17 2019-12-17 Beacon frame sending method and device Active CN111031525B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911301061.0A CN111031525B (en) 2019-12-17 2019-12-17 Beacon frame sending method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911301061.0A CN111031525B (en) 2019-12-17 2019-12-17 Beacon frame sending method and device

Publications (2)

Publication Number Publication Date
CN111031525A CN111031525A (en) 2020-04-17
CN111031525B true CN111031525B (en) 2023-05-26

Family

ID=70210023

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911301061.0A Active CN111031525B (en) 2019-12-17 2019-12-17 Beacon frame sending method and device

Country Status (1)

Country Link
CN (1) CN111031525B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117793938A (en) * 2022-09-16 2024-03-29 华为技术有限公司 Data transmission method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582818A (en) * 2008-05-12 2009-11-18 株式会社Ntt都科摩 Method and device for reducing spending of control signal in mixed wireless network
CN102387602A (en) * 2011-11-23 2012-03-21 南京航空航天大学 Efficient wireless ad hoc network concurrent transmission method for avoiding conflict
CN103796277A (en) * 2012-10-26 2014-05-14 中国移动通信集团北京有限公司 Method, system and device for indicating beacon frame sending and sending beacon frame

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101234758B1 (en) * 2011-07-05 2013-02-19 서울대학교산학협력단 Method and Apparatus for Reservation of Data Channel in Wireless Access System
JP6628997B2 (en) * 2015-07-23 2020-01-15 株式会社東芝 Wireless communication device and wireless communication method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582818A (en) * 2008-05-12 2009-11-18 株式会社Ntt都科摩 Method and device for reducing spending of control signal in mixed wireless network
CN102387602A (en) * 2011-11-23 2012-03-21 南京航空航天大学 Efficient wireless ad hoc network concurrent transmission method for avoiding conflict
CN103796277A (en) * 2012-10-26 2014-05-14 中国移动通信集团北京有限公司 Method, system and device for indicating beacon frame sending and sending beacon frame

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"R1-1908681_NR-U channel access FL summary Tue";Nokia, Nokia Shanghai Bell;《3GPP tsg_ran\wg1_rl1》;20190903;全文 *
R1-143724 "Review of existing unlicensed spectrum regulatory requirements affecting physical layer design";Huawei等;《3GPP tsg_ran\WG1_RL1》;20140927;全文 *

Also Published As

Publication number Publication date
CN111031525A (en) 2020-04-17

Similar Documents

Publication Publication Date Title
KR101176028B1 (en) Wireless lan system and communication method thereof
US9307557B2 (en) Method and apparatus for transmitting data frame using channel bonding in wireless LAN
US7852823B2 (en) Communication management method, communication terminal, communication management program, recording medium containing the communication management program, and communication system
US20070230378A1 (en) Traffic prediction in wireless communication networks
JP2007519293A (en) Method for achieving fast active scanning in 802.11 WLAN
KR20140127908A (en) System and methods for differentiated association service provisioning in wifi networks
CN113676298B (en) Multilink communication method and related device
US10375691B2 (en) Method for managing wireless resources, and access point using same
US20230199850A1 (en) Channel Contention Method and Related Apparatus
CN110831242B (en) Method and device for changing basic service set Color BSS Color value
CN104219017A (en) A method for transmitting a data packet in a physical layer and an access point
CN111031525B (en) Beacon frame sending method and device
US20220095305A1 (en) Cooperative inter-network channel selection
CN111343697B (en) Communication networking method and communication system
US20070133431A1 (en) Media access control method in wireless local area network
CN106817193B (en) Access point communication method and access point
WO2021139793A1 (en) Channel access method and related product
CN107211453B (en) channel access method and channel access device
KR20050052816A (en) Method for solution of hidden station problem in wireless network
CN116133147A (en) Data transmission method and device, storage medium and program product
CN117793938A (en) Data transmission method and device
CN117813880A (en) Transmitting station and receiving station
WO2014110806A1 (en) Channel reservation and synchronous transmission

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