CN111031525A - Beacon frame sending method and device - Google Patents

Beacon frame sending method and device Download PDF

Info

Publication number
CN111031525A
CN111031525A CN201911301061.0A CN201911301061A CN111031525A CN 111031525 A CN111031525 A CN 111031525A CN 201911301061 A CN201911301061 A CN 201911301061A CN 111031525 A CN111031525 A CN 111031525A
Authority
CN
China
Prior art keywords
beacon frame
equipment
sending
wireless channel
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.)
Granted
Application number
CN201911301061.0A
Other languages
Chinese (zh)
Other versions
CN111031525B (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

Landscapes

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

Abstract

The application provides a method and a device for sending Beacon frames, 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 passing through wireless channel scans the Beacon frame that second AP equipment sent, check that scan whether the Beacon frame that second AP equipment sent satisfies the Beacon frame mounting condition of setting for, Beacon frame mounting condition means: the value of a designated field in the Beacon frame is a first value, and when the value of the designated field is the first value, it indicates that other AP equipment exists after the second AP equipment sends the Beacon frame and will preempt the wireless channel to send the Beacon frame; if yes, checking whether the equipment establishes Beacon frame mounting relation with second AP equipment; and if so, sending the Beacon frame of the first AP equipment on the wireless channel after waiting for the short inter-frame space (SIFS). By applying the method, the Beacon frames sent by different AP devices can be prevented from colliding on the same wireless channel.

Description

Beacon frame sending method and device
Technical Field
The application relates to the technical field of wireless networks, in particular to a Beacon frame sending method and device.
Background
IEEE 802.11 is a standard common to wireless lans nowadays, and a media access control mechanism such as DCF (distributed coordination Function) is specified. Under the DCF mechanism, a plurality of distributed wireless nodes occupy the same resource, so the DCF mechanism belongs to a contention mechanism, and as such, the DCF mechanism applied in a dense network has the following defects:
in an intensive network, if a wireless node is currently transmitting a Beacon frame through a wireless channel, other wireless nodes will wait for a DFIS (distributed coordination function inter-frame Space) 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, a mobile workstation cannot normally receive and analyze the Beacon frame, and the mobile workstation cannot connect a wireless network or disconnect the connected wireless network, thereby causing unstable network fluctuation.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for sending Beacon frames, so as to solve the problem in the prior art that Beacon frames sent by different wireless nodes easily collide on the same wireless channel.
Specifically, the method is realized through the following technical scheme:
according to a first aspect of the embodiments of the present application, there is provided a method for sending 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 passing through wireless channel scans the Beacon frame that second AP equipment sent, check that scan whether the Beacon frame that second AP equipment sent satisfies the Beacon frame mounting condition of setting for, Beacon frame mounting condition means: the value of a designated field in the Beacon frame is a first value, and when the value of the designated field is the first value, it indicates that other AP equipment exists after the second AP equipment sends the Beacon frame and will preempt the wireless channel to send the Beacon frame;
if yes, checking whether the equipment establishes Beacon frame mounting relation with the second AP equipment;
and if so, sending the Beacon frame of the first AP device on the wireless channel after waiting for a short inter-frame space (SIFS).
In an embodiment, when it is checked that the scanned Beacon frame sent by the second AP device does not satisfy 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 relation with the second AP equipment;
after waiting for SIFS in the next Beacon frame sending period, sending the Beacon frame of the first AP equipment on the wireless channel;
establishing a Beacon frame mounting relationship with the second AP device, including:
sending a Beacon frame mounting request to the second AP equipment, wherein the Beacon frame mounting request carries the Beacon frame of the first AP equipment when being sent, so that the second AP equipment sets the value of a designated field in the Beacon frame to be sent as the first value and increases the Beacon frame of the first AP equipment when being sent in the NAV of the Beacon frame to be sent;
and after receiving a response message which is sent by the second AP equipment and corresponds to the Beacon frame mounting request, 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 satisfies the 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:
obtaining a scanned value in NVA of a Beacon frame sent by the second AP equipment, wherein the value is a sum value between SIFS, the time for sending the Beacon frame of the first AP equipment and the time for sending the Beacon frame of the second AP equipment; and after waiting for the duration corresponding to the sum, sending 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, sending a signal frame on the wireless channel after SIFS is waited, wherein the NAV in the signal frame comprises the time for sending the Beacon frame of the first AP device;
and after the signal frame is sent, sending the Beacon frame of the first AP device on the wireless channel after the SIFS is waited.
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 the embodiments of the present application, there is provided an apparatus for transmitting a Beacon frame, where the apparatus is applied to a first AP device, and the apparatus includes:
the scanning module is used for scanning a preset wireless channel before transmitting a wireless signal;
the first checking module is used for checking that the Beacon frame sent by the second AP equipment meets the set Beacon frame mounting condition or not when the wireless channel scans the Beacon frame sent by the second AP equipment, wherein the Beacon frame mounting condition refers to: the value of a designated field in the Beacon frame is a first value, and when the value of the designated field is the first value, it indicates that other AP equipment exists after the second AP equipment sends the Beacon frame and will preempt the wireless channel to send the Beacon frame;
the second checking module is used for checking whether the scanned Beacon frame sent by the second AP equipment meets the set Beacon frame mounting condition or not and establishing a Beacon frame mounting relation with the second AP equipment;
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 interframe space (SIFS) if the equipment is checked to establish the Beacon frame mounting relation with the second AP equipment.
In one embodiment, the apparatus further comprises:
the relationship establishing module is used for establishing a Beacon frame mounting relationship with the second AP equipment;
a second sending module, configured to send the Beacon frame of the first AP device on the wireless channel after waiting for SIFS in a next Beacon frame sending period;
the relationship establishing module comprises:
the request submodule is used for sending a Beacon frame mounting request to the second AP equipment, and the Beacon frame mounting request carries the Beacon frame of the first AP equipment when being sent, so that the second AP equipment sets the value of a specified field in the Beacon frame to be sent to be a first value and increases the Beacon frame of the first AP equipment when the NAV of the Beacon frame to be sent is sent;
and the response submodule 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 one embodiment, the apparatus further comprises:
the acquisition module is used for acquiring the scanned value in the NVA of the Beacon frame sent by the second AP equipment, wherein the value is the sum of the SIFS, the time for sending the Beacon frame of the first AP equipment and the time for sending the Beacon frame 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 for the duration corresponding to the sum.
In one embodiment, the apparatus further comprises:
a fourth sending module, configured to send a signal frame on the wireless channel after waiting for SIFS when monitoring that the wireless channel is idle, where a NAV in the signal frame includes a time period for sending a Beacon frame of the first AP device;
and the fifth sending module is used for sending the Beacon frame of the first AP equipment on the wireless channel after waiting for SIFS after sending the signal frame.
In an embodiment, the signal frame is a Beacon frame or a CTS frame of the first AP device.
The Beacon frame transmission method of this embodiment scans a predetermined radio channel before transmitting a radio signal, 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 or not is checked, if yes, checking whether the equipment establishes Beacon frame mounting relation with second AP equipment, if so, sending the Beacon frame of the first AP equipment on the wireless channel after waiting for the SIFS, when the second AP equipment is scanned to occupy the wireless channel to send the Beacon frame and the fact that the first AP equipment is allowed to occupy the same wireless channel to send the Beacon frame after the second AP equipment is checked, the Beacon frame is sent on the wireless channel after SIFS is waited, and SIFS is lower than DFIS, it is possible to achieve that the first AP device preempts the wireless channel before the other AP devices, therefore, the fact that the Beacon frame sent by the first AP equipment and the Beacon frames sent by other AP equipment collide on the same wireless channel is avoided.
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 of establishing a Beacon frame mounting relationship between a first AP device and a second AP device;
fig. 3 is a schematic diagram of a time sequence relationship of sending Beacon frames on the same wireless channel by different AP devices finally implemented by applying the flows shown in fig. 1 and 2;
fig. 4 is a flowchart of an embodiment of preempting a wireless channel by an AP device according to an exemplary embodiment of the present application;
fig. 5 is a schematic diagram of a time sequence relationship between Beacon frames and data frames sent by different AP devices on the same wireless channel, which is finally implemented by applying the process shown in fig. 4;
fig. 6 is a hardware structure diagram of an AP device in which a Beacon frame transmitting apparatus of the present application is located.
Fig. 7 is a block diagram of an embodiment of a device for transmitting a Beacon frame according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the 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 and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Referring to fig. 1, a flowchart of an embodiment of a method for sending 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 (hereinafter referred to as a first AP device for convenience of description), and includes the following steps:
step 101: the preset radio channel is scanned before the radio signal is transmitted.
In application, before the first AP device transmits a wireless signal, a preset wireless channel may be scanned first to check whether other AP devices are transmitting a Beacon frame on the wireless channel.
In an embodiment, the number of 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 or not is checked.
In one embodiment, the Beacon frame mount condition refers to: the value of the specified field in the Beacon frame is a first value. When the value of the designated field is the first value, it indicates that after the second AP device transmits the Beacon frame, other AP devices (AP devices other than the second AP device) will preempt the wireless channel to transmit the Beacon frame.
Step 103: and if so, checking whether the equipment establishes Beacon frame mounting relation with second AP equipment.
In an embodiment, taking the case that the first AP device establishes a Beacon frame mounting relationship with the second AP device, the establishing of the Beacon frame mounting relationship indicates that the first AP device will preempt the wireless channel to send the Beacon frame after the second AP device sends 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 an example of an embodiment, and details are not repeated here.
Step 104: if so, the Beacon frame of the first AP device is transmitted on the wireless channel after waiting for SIFS (Short Interframe 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 device has established a Beacon frame mounting relationship with the second AP device, that is, after the second AP device sends the Beacon frame, the first AP device sends the Beacon frame on the preemption channel, so that, in step 103, the first AP device can send the Beacon frame on the wireless channel after waiting for SIFS.
Since SIFS is the minimum inter-frame space in the IEEE 802.11 standard, and the relationship with DIFS can be expressed by the following formula (one), a wireless node using SIFS will have the highest priority to occupy the wireless channel, and therefore, the first AP device can preempt the wireless channel before other AP devices by executing step 104.
DIFS +2 slot time formula (one)
So far, the description about the flow shown in fig. 1 is completed.
As can be seen from the above-described embodiments, by scanning a predetermined wireless channel before transmitting a wireless signal, 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 or not is checked, if yes, checking whether the equipment establishes Beacon frame mounting relation with second AP equipment, if so, sending the Beacon frame of the first AP equipment on the wireless channel after waiting for the SIFS, when the second AP equipment is scanned to occupy the wireless channel to send the Beacon frame and the fact that the first AP equipment is allowed to occupy the same wireless channel to send the Beacon frame after the second AP equipment is checked, the Beacon frame is sent on the wireless channel after SIFS is waited, and SIFS is lower than DFIS, it is possible to achieve that the first AP device preempts the wireless channel before the other AP devices, therefore, the fact that the Beacon frame sent by the first AP equipment and the Beacon frames sent by other AP equipment collide on the same wireless channel is avoided.
A process of establishing a Beacon frame mounting relationship between a first AP device and a second AP device is described below with an embodiment shown in fig. 2, where the flow shown in fig. 2 refers to the 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 equipment establishes Beacon frame mounting relation with second AP equipment or not, and if so, executing step 204; if not, step 205 is performed.
Step 204: after waiting for the SIFS, sending a Beacon frame of the first AP equipment on a wireless channel; and ending the flow.
For detailed descriptions of step 201 to step 204, reference may be made to the related descriptions in the embodiment shown in fig. 1, which are not described herein again.
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 SIFS in the next Beacon frame sending period.
Step 205 and step 206 are described below collectively:
in an embodiment, when it is checked that the scanned Beacon frame sent by the second AP device does not satisfy the set Beacon frame mounting condition and it is checked that the device does not establish the Beacon frame mounting relationship with the first AP device in step 203, the first AP device may establish the Beacon frame mounting relationship with the second AP device.
As an example, a first AP device may send a Beacon frame mount request to a second AP device, where the Beacon frame mount request may carry a Beacon frame transmission time of the first AP device, so that when the second AP device sets a value of a specified field in a Beacon frame to be transmitted to a first value and sets a NAV (network allocation vector) of the Beacon frame to be transmitted to the Beacon frame transmission time of the first AP device, the second AP device returns a response message corresponding to the Beacon frame mount request to the first AP device.
The second AP device may specify the duration of the occupied wireless channel by setting the network allocation vector NAV of the Beacon frame to be transmitted to the first AP device for transmission of the Beacon frame.
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 and the second AP device establish the Beacon frame mounting relationship, the first AP device may preempt the wireless channel after the second AP device sends the Beacon frame, and based on this, the first AP device may send the Beacon frame on the wireless channel after waiting for SIFS in the next Beacon frame sending period.
Step 207: and acquiring a value in NVA of the scanned Beacon frame sent by the second AP equipment, wherein the value is a sum value between the SIFS, the time spent on sending the Beacon frame of the first AP equipment and the time spent on sending the Beacon frame of the second AP equipment.
In an embodiment, after step 203 is executed, when it is checked that the scanned Beacon frame sent by the second AP device meets the set Beacon frame mount condition and it is checked that the device does not establish a Beacon frame mount 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 obtain a value in the NVA of the Beacon frame sent by the scanned second AP device, so as to obtain the occupied duration of the wireless channel. Step 208: and after waiting for the duration corresponding to the sum, sending a Beacon frame of the first AP equipment on a wireless channel.
Since the other AP devices have preempted the wireless channel, after waiting for the duration corresponding to the sum obtained in step 207, the Beacon frame of the first AP device may be sent on the wireless channel. Through the processing, the conflict of Beacon frames of the first AP equipment and other AP equipment on the same wireless channel can be effectively avoided.
So far, the description about the flow shown in fig. 2 is completed.
As can be seen from the above embodiments, when other AP devices have preempted a wireless channel, the first AP device delays to transmit the Beacon frame according to the occupation time of the other AP devices on the wireless channel, so that it is possible to avoid that the Beacon frame transmitted by the first AP device collides with the Beacon frame transmitted by the other AP devices on the same wireless channel.
Fig. 3 is shown to facilitate understanding of the timing relationship of Beacon frames transmitted by different AP devices on the same wireless channel, which is finally realized by executing the flows shown in fig. 1 and fig. 2. As shown in fig. 3, node a transmits the Beacon frame at an interval SIFS after node B transmits the Beacon frame, and node C transmits the Beacon frame at an interval SIFS after node a transmits the Beacon frame. Therefore, the Beacon frames respectively transmitted by the node A, the node B and the node C can be prevented from colliding on the same wireless channel.
In the prior art, under a DCF mechanism, when a wireless node transmits other data frames except for a Beacon frame, the wireless node needs to wait for a DFIS and then transmit the data frames, that is, the priority of all the wireless nodes is the same when occupying channels for use, so that the Beacon frame and the data frame of different wireless nodes collide 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 waste of wireless channel resources. Based on this, the present application also proposes the flow illustrated in fig. 4.
Referring to fig. 4, an embodiment of a process for an AP device to preempt a wireless channel according to an exemplary embodiment of the present application includes the following steps:
please refer to fig. 4, which includes the following steps:
step 401: and when the wireless channel is monitored to be idle, sending a signal frame on the wireless channel after waiting for SIFS.
Step 402: and after the signal frame is sent, after the SIFS is waited, the Beacon frame of the first AP device is sent on the wireless channel.
As follows, step 401 and step 402 are collectively explained:
in application, before the first AP device sends the Beacon frame, it may monitor whether the wireless channel is idle through physical carrier sensing or virtual carrier sensing.
In an embodiment, when the first AP device monitors that the wireless channel is idle, it may wait for SIFS before sending the signal frame on the wireless channel. As can be seen from the above description, the wireless node using SIFS will have the highest priority to occupy the wireless channel, and thus, the first AP device can preferentially preempt the wireless channel by performing step 401. Further, after the first AP device sends the signal frame to realize preemption on the wireless channel, it may wait for SIFS 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. No matter what form the signal frame takes, the priority of the first AP device for preempting the wireless channel is increased because the first AP device waits for SIFS when monitoring that the wireless channel is idle, and then transmits the signal frame on the wireless channel.
As an example, when the Beacon frame including the first AP device is transmitted in the NAV in the signal frame, the other AP devices may be prevented from preempting the wireless channel by this processing.
So far, the description about the flow shown in fig. 4 is completed.
It can be seen from the above embodiments that, when it is monitored that a wireless channel is idle, a signal frame is sent on the wireless channel after waiting for SIFS, and after the signal frame is sent, a Beacon frame of a first AP device is sent on the wireless channel after waiting for SIFS, so that priority of the first AP device in preempting the wireless channel can be improved.
Fig. 5 is shown to facilitate understanding of the timing relationship between Beacon frames and data frames transmitted by different AP devices on the same wireless channel, which is finally achieved by applying the flow shown in fig. 4. As shown in fig. 5, when monitoring that the wireless channel is idle, the node a waits for SIFS and then sends a CTS frame on the wireless channel, and then waits for SIFS and then sends a Beacon frame on the wireless channel, and the node B monitors that the wireless channel is occupied and performs backoff when the node a sends the CTS frame and the Beacon frame. Therefore, the conflict 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 device for transmitting a Beacon frame.
The embodiment of the sending device of the Beacon frame can be applied to AP equipment. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. Taking a software implementation as an example, as a logical device, the AP device is formed by reading, by a processor of the AP device, corresponding computer program instructions in a non-volatile memory into an internal memory for execution. In terms of hardware, as shown in fig. 6, the present application is a hardware structure diagram of an AP device where a Beacon frame transmitting apparatus is located, except for the processor 61, the memory 62, the network interface 63, the nonvolatile memory 64, and the internal bus 65 shown in fig. 6, in an embodiment, the AP device where the Beacon frame transmitting apparatus is located may also include other hardware according to an actual function of the AP device, which is not described again.
Referring to fig. 7, a block diagram of an embodiment of a device for transmitting a Beacon frame according to an exemplary embodiment of the present application is provided, where the device may be applied to a first AP device.
As shown in fig. 7, the apparatus includes: a scanning module 71, a first checking module 72, a second checking module 73 and a first sending module 74.
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 that, when passing through the Beacon frame sent by the second AP device is scanned by the wireless channel, the 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 a designated field in the Beacon frame is a first value, and when the value of the designated field is the first value, it indicates that other AP equipment exists after the second AP equipment sends the Beacon frame and will preempt 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 satisfies the set Beacon frame mounting condition;
and a first sending module 74, configured to send the Beacon frame of the first AP device on the wireless channel after waiting for a short inter-frame space SIFS if it is detected that the device has established a Beacon frame mounting relationship with the second AP device.
In an embodiment, the apparatus may further comprise (not shown in fig. 7):
the relationship establishing module is used for establishing a Beacon frame mounting relationship with the second AP equipment;
a second sending module, configured to send the Beacon frame of the first AP device on the wireless channel after waiting for SIFS in a next Beacon frame sending period;
the relationship establishment module may include (not shown in fig. 7):
the request submodule is used for sending a Beacon frame mounting request to the second AP equipment, and the Beacon frame mounting request carries the Beacon frame of the first AP equipment when being sent, so that the second AP equipment sets the value of a specified field in the Beacon frame to be sent to be the first value and adds the Beacon frame of the first AP equipment when being sent to the NAV of the Beacon frame to be sent;
and the response submodule 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 apparatus may further comprise (not shown in fig. 7):
the acquisition module is used for acquiring the scanned value in the NVA of the Beacon frame sent by the second AP equipment, wherein the value is the sum of the SIFS, the time for sending the Beacon frame of the first AP equipment and the time for sending the Beacon frame 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 for 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 monitoring that the wireless channel is idle, where a NAV in the signal frame includes a time period for sending a Beacon frame of the first AP device;
and the fifth sending module is used for sending the Beacon frame of the first AP equipment on the wireless channel after waiting for SIFS after sending the signal frame.
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 actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (10)

1. A method for sending Beacon frames is applied to a first AP device, and comprises the following steps:
scanning a preset wireless channel before transmitting a wireless signal;
when passing through wireless channel scans the Beacon frame that second AP equipment sent, check that scan whether the Beacon frame that second AP equipment sent satisfies the Beacon frame mounting condition of setting for, Beacon frame mounting condition means: a first value of a designated field in the Beacon frame indicates that other AP equipment exists after the second AP equipment sends the Beacon frame and the second AP equipment preempts the wireless channel to send the Beacon frame when the value of the designated field is the first value;
if yes, checking whether the equipment establishes Beacon frame mounting relation with the second AP equipment;
and if so, sending the Beacon frame of the first AP device on the wireless channel after waiting for a short inter-frame space (SIFS).
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 satisfy 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 comprises:
establishing a Beacon frame mounting relation with the second AP equipment;
after waiting for SIFS in the next Beacon frame sending period, sending the Beacon frame of the first AP equipment on the wireless channel;
establishing a Beacon frame mounting relationship with the second AP device, including:
sending a Beacon frame mounting request to the second AP equipment, wherein the Beacon frame mounting request carries the Beacon frame of the first AP equipment when being sent, so that the second AP equipment sets the value of a designated field in the Beacon frame to be sent as the first value and increases the Beacon frame sending time of the first AP equipment in the Network Allocation Vector (NAV) of the Beacon frame to be sent;
and after receiving a response message which is sent by the second AP equipment and corresponds to the Beacon frame mounting request, 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 satisfies 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 comprises:
obtaining a scanned value in NVA of a Beacon frame sent by the second AP equipment, wherein the value is a sum value between SIFS, the time for sending the Beacon frame of the first AP equipment and the time for sending the Beacon frame of the second AP equipment;
and after waiting for the duration corresponding to the sum, sending the Beacon frame of the first AP equipment on the wireless channel.
4. The method according to any one of claims 1 to 3, further comprising:
when the wireless channel is monitored to be idle, sending a signal frame on the wireless channel after SIFS is waited, wherein the NAV in the signal frame comprises the time for sending the Beacon frame of the first AP device;
and after the signal frame is sent, sending the Beacon frame of the first AP device on the wireless channel after the SIFS is waited.
5. The method of claim 4, wherein the signal frame is a Beacon frame or a CTS frame of the first AP device.
6. An apparatus for transmitting Beacon frames, the apparatus being applied to a first AP device, and comprising:
the scanning module is used for scanning a preset wireless channel before transmitting a wireless signal;
the first checking module is used for checking that the Beacon frame sent by the second AP equipment meets the set Beacon frame mounting condition or not when the wireless channel scans the Beacon frame sent by the second AP equipment, wherein the Beacon frame mounting condition refers to: the value of a designated field in the Beacon frame is a first value, and when the value of the designated field is the first value, it indicates that other AP equipment exists after the second AP equipment sends the Beacon frame and will preempt the wireless channel to send the Beacon frame;
the second checking module is used for checking whether the scanned Beacon frame sent by the second AP equipment meets the set Beacon frame mounting condition or not and establishing a Beacon frame mounting relation with the second AP equipment;
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 interframe 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, further comprising:
the relationship establishing module is used for establishing a Beacon frame mounting relationship with the second AP equipment;
a second sending module, configured to send the Beacon frame of the first AP device on the wireless channel after waiting for SIFS in a next Beacon frame sending period;
the relationship establishing module comprises:
the request submodule is used for sending a Beacon frame mounting request to the second AP equipment, and the Beacon frame mounting request carries the Beacon frame of the first AP equipment when being sent, so that the second AP equipment sets the value of a specified field in the Beacon frame to be sent as the first value and increases the Beacon frame sending time of the first AP equipment in the Network Allocation Vector (NAV) of the Beacon frame to be sent;
and the response submodule 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, further comprising:
the acquisition module is used for acquiring the scanned value in the NVA of the Beacon frame sent by the second AP equipment, wherein the value is the sum of the SIFS, the time for sending the Beacon frame of the first AP equipment and the time for sending the Beacon frame 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 for the duration corresponding to the sum.
9. The apparatus of claim 6, further comprising:
a fourth sending module, configured to send a signal frame on the wireless channel after waiting for SIFS when monitoring that the wireless channel is idle, where a NAV in the signal frame includes a time period for sending a Beacon frame of the first AP device;
and the fifth sending module is used for sending the Beacon frame of the first AP equipment on the wireless channel after waiting for SIFS after sending the signal frame.
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 true CN111031525A (en) 2020-04-17
CN111031525B 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)

Cited By (1)

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

Citations (5)

* 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
US20130010769A1 (en) * 2011-07-05 2013-01-10 Seoul National University R&Db Foundation Method and apparatus for reserving data channel in a wireless access system
CN103796277A (en) * 2012-10-26 2014-05-14 中国移动通信集团北京有限公司 Method, system and device for indicating beacon frame sending and sending beacon frame
US20170026162A1 (en) * 2015-07-23 2017-01-26 Kabushiki Kaisha Toshiba Wireless communication device

Patent Citations (5)

* 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
US20130010769A1 (en) * 2011-07-05 2013-01-10 Seoul National University R&Db Foundation Method and apparatus for reserving data channel in a wireless access system
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
US20170026162A1 (en) * 2015-07-23 2017-01-26 Kabushiki Kaisha Toshiba Wireless communication device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HUAWEI等: "R1-143724 "Review of existing unlicensed spectrum regulatory requirements affecting physical layer design"", 《3GPP TSG_RAN\WG1_RL1》 *
NOKIA, NOKIA SHANGHAI BELL: ""R1-1908681_NR-U channel access FL summary Tue"", 《3GPP TSG_RAN\WG1_RL1》 *

Cited By (1)

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

Also Published As

Publication number Publication date
CN111031525B (en) 2023-05-26

Similar Documents

Publication Publication Date Title
US10959266B2 (en) OFDMA contention method and access point
US9307557B2 (en) Method and apparatus for transmitting data frame using channel bonding in wireless LAN
CN109600854B (en) Data transmission method and related equipment
US7852823B2 (en) Communication management method, communication terminal, communication management program, recording medium containing the communication management program, and communication system
CN106851776B (en) Method for accessing equipment to network, access point, network access equipment and system
JP2009516466A (en) Medium access method and apparatus for preventing collision in wireless LAN
US11849487B2 (en) Wireless communication system and wireless communication method
US20180220454A1 (en) Channel access method, station and system
AU2021323746B2 (en) Channel contention method and related apparatus
WO2016127348A1 (en) Access point (ap), station (sta), communication system and data transmission method
CN113542150B (en) Data transmission method and device and central end network bridge
EP4123968A1 (en) Delay performance evaluation method and apparatus, and storage medium
CN111031525A (en) Beacon frame sending method and device
EP3389312B1 (en) Determination of a transmission opportunity by an access point
CN111343697B (en) Communication networking method and communication system
CN106817193B (en) Access point communication method and access point
EP4391666A1 (en) Transmission station and reception station
JP5855551B2 (en) Wireless communication system and wireless communication method
CN113596896A (en) Method and device for detecting Wi-Fi equipment
CN117939691A (en) Method and device for transmitting data
CN107211453B (en) channel access method and channel access device
CN116133147A (en) Data transmission method and device, storage medium and program product
WO2024118843A1 (en) Excess slot-time re-farming
CN113473615A (en) Scheduling method and device of air interface resources
CN113115469A (en) Channel access method and related product

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