CN108055703B - Channel occupation method, master device and slave device - Google Patents

Channel occupation method, master device and slave device Download PDF

Info

Publication number
CN108055703B
CN108055703B CN201711447064.6A CN201711447064A CN108055703B CN 108055703 B CN108055703 B CN 108055703B CN 201711447064 A CN201711447064 A CN 201711447064A CN 108055703 B CN108055703 B CN 108055703B
Authority
CN
China
Prior art keywords
time slot
master device
beacon period
beacon
access
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
CN201711447064.6A
Other languages
Chinese (zh)
Other versions
CN108055703A (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.)
Comba Network Systems Co Ltd
Original Assignee
Comba Telecom Systems China 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 Comba Telecom Systems China Ltd filed Critical Comba Telecom Systems China Ltd
Priority to CN201711447064.6A priority Critical patent/CN108055703B/en
Publication of CN108055703A publication Critical patent/CN108055703A/en
Application granted granted Critical
Publication of CN108055703B publication Critical patent/CN108055703B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0808Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA]
    • H04W74/0816Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA] with collision avoidance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/002Transmission of channel access control information

Landscapes

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

Abstract

The embodiment of the invention provides a channel occupying method, a master device and a slave device, wherein the master device broadcasts a beacon frame carrying a beacon period in a preset range, the beacon period is used for indicating the time of the master device occupying a channel, and when a message carrying a network allocation vector is received in a waiting time slot of the beacon period, the master device broadcasts the beacon frame again in the preset range after waiting for the channel occupying time corresponding to the network allocation vector. By sending the beacon frame with low speed and high priority to participate in channel competition, when the main device receives the message carrying the network allocation vector in the waiting time slot, the main device broadcasts the beacon frame again after waiting for the channel occupation time corresponding to the network allocation vector without randomly retreating for any time, so compared with the method of randomly retreating for a period of time in the competition mechanism in the prior art, the method of the embodiment of the invention improves the success rate of the main device in channel occupation, simultaneously reduces the probability of collision with other competition devices, and improves the utilization rate of channel resources.

Description

Channel occupation method, master device and slave device
Technical Field
The embodiment of the invention relates to the field of wireless network communication, in particular to a channel occupying method, a master device and a slave device.
Background
Before the invention of Wireless Local Area Networks (WLAN), people need to establish an electronic operating channel by using physical cables-copper strands to connect and communicate through the network, and then invent optical fibers in order to improve efficiency and speed. After the network has developed to a certain scale, people find that the wired network is very difficult to construct, disassemble and assemble, or to re-arrange and reconstruct on the original basis, and the cost are very high, so that the networking mode of the WLAN is developed. WLAN wireless local area networks based on the IEEE802.11 standard allow wireless connectivity in a local area network environment using the 2.4GHz or 5GHz radio frequency band in the ISM band, which may not necessarily be licensed. The WLAN has many advantages of flexibility and mobility, convenient installation, easy network planning and adjustment, easy fault location, easy expansion, etc., so that it gradually replaces wired network communication and becomes a favorite of a new era.
With the gradual densification of WLAN network layout and the wide application of point-to-multipoint networks, the interference problem from peripheral WLAN networks is increasingly verified, and in a dense networking scenario, the contention for channels by multiple WLAN networks may cause frequent collision of data, so that channels are actually free but channel resources cannot be fully utilized.
Disclosure of Invention
The embodiment of the invention provides a channel occupying method, a master device and a slave device, which are used for solving the problem that channel resources cannot be fully utilized in the prior art.
The embodiment of the invention provides a channel occupying method, which comprises the following steps:
the method comprises the steps that a main device broadcasts a beacon frame carrying a beacon period in a preset range, wherein the beacon period is used for indicating the time of the main device occupying a channel, and the beacon frame is a broadcast message which does not need to be replied;
and when the main equipment receives a message carrying a network allocation vector in a waiting time slot of the beacon period, the main equipment broadcasts the beacon frame again in the preset range after waiting for the channel occupation time corresponding to the network allocation vector.
Optionally, the method further comprises:
the beacon period comprises an access slot for instructing a slave device to initiate an access request;
and after the master device does not receive the message carrying the network allocation vector in the waiting time slot of the beacon period, the master device waits for receiving the access request sent by the slave device in the access time slot.
Optionally, the method further comprises:
when the received access request is determined to meet the preset condition, the master device allocates a sub-time slot for transmitting data in the data transmission time slot of the beacon period for the slave device, and sends an access success message carrying the sub-time slot to the slave device;
and the master device transmits data with the slave device in the sub-time slot.
Optionally, the method further comprises:
the beacon period further comprises a data transmission slot for instructing an accessed slave device to transmit data;
and the master device transmits data with the accessed slave device in the data transmission time slot after not receiving the message carrying the network allocation vector in the waiting time slot of the beacon period.
Optionally, after the master device transmits data with the accessed slave device in the sub-slot, the method further includes:
the master device judges whether the data which needs to be transmitted with the accessed slave device is transmitted in the data transmission time slot;
if not, the beacon frame is broadcasted within the preset range again.
The embodiment of the invention provides a channel occupying method, which comprises the following steps:
receiving a beacon frame which carries a beacon period and is broadcast by a master device, wherein the beacon period is used for indicating the time of the master device occupying a channel, and the beacon frame is a broadcast message which does not need to be replied; the beacon period comprises an access slot for instructing a slave device to initiate an access request;
the slave device sending an access request to the master device at a first rate during the access slot;
if the slave device does not receive the access success message sent by the master device, after waiting for N beacon periods, sending an access request to the master device at a second rate, wherein the second rate is smaller than the first rate, until receiving the access success message sent by the master device, and the successful access message carries a sub-time slot which is allocated by the master device for the slave device and used for transmitting data in a data transmission time slot of the beacon period;
and the slave device transmits data with the master device in the sub-time slot.
Optionally, the method further comprises:
the beacon period further comprises a data transmission slot for instructing an accessed slave device to transmit data;
and when the slave equipment is accessed slave equipment, transmitting data with the master equipment in the data transmission time slot.
Accordingly, an embodiment of the present invention provides a master device, including:
a sending module, configured to broadcast a beacon frame carrying a beacon period within a preset range, where the beacon period is used to indicate a time when the master device occupies a channel, and the beacon frame is a broadcast message that does not need to be replied;
and the processing module is used for broadcasting the beacon frame again in the preset range after waiting for the channel occupation time corresponding to the network allocation vector when receiving the message carrying the network allocation vector in the waiting time slot of the beacon period.
Optionally, the processing module is further configured to:
the beacon period comprises an access slot for instructing a slave device to initiate an access request;
and after the message carrying the network allocation vector is not received in the waiting time slot of the beacon period, waiting to receive an access request sent by slave equipment in the access time slot.
Optionally, the processing module is further configured to:
when the received access request is determined to meet the preset condition, allocating a sub-time slot for transmitting data in the data transmission time slot of the beacon period for the slave equipment, and sending an access success message carrying the sub-time slot to the slave equipment;
and transmitting data with the slave equipment in the sub-time slot.
Optionally, the processing module is further configured to:
the beacon period further comprises a data transmission slot for instructing an accessed slave device to transmit data;
and after the message carrying the network allocation vector is not received in the waiting time slot of the beacon period, transmitting data with the accessed slave equipment in the data transmission time slot.
Optionally, the processing module is further configured to:
after the sub-time slot and the accessed slave equipment transmit data, judging whether the data which needs to be transmitted with the accessed slave equipment is transmitted in the data transmission time slot;
if not, the beacon frame is broadcasted within the preset range again.
Accordingly, an embodiment of the present invention provides a slave device, including:
a receiving module, configured to receive a beacon frame carrying a beacon period, where the beacon period is used to indicate a time when a main device occupies a channel, and the beacon frame is a broadcast message that does not need to be replied; the beacon period comprises an access slot for instructing a slave device to initiate an access request;
a processing module, configured to send an access request to the master device at a first rate in the access timeslot; if the access success message sent by the master device is not received, after N beacon periods, sending an access request to the master device at a second rate, wherein the second rate is smaller than the first rate, until the access success message sent by the master device is received, and the successful access message carries a sub-time slot which is distributed by the master device for the slave device and used for transmitting data in a data transmission time slot of the beacon period; and transmitting data with the main equipment in the sub time slot.
Optionally, the beacon period further includes a data transmission slot for instructing an accessed slave device to transmit data; the processing module is further configured to transmit data with the master device in the data transmission timeslot.
An embodiment of the present invention provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the method according to the obtained program.
An embodiment of the present invention provides a computer storage medium, which stores computer-executable instructions for causing a computer to perform any one of the methods described above.
The embodiment of the invention shows that the main equipment broadcasts a beacon frame carrying a beacon period in a preset range, wherein the beacon period is used for indicating the time of the main equipment occupying a channel, and the beacon frame is a broadcast message which does not need to be replied; and when the main equipment receives a message carrying a network allocation vector in a waiting time slot of the beacon period, the main equipment broadcasts the beacon frame again in the preset range after waiting for the channel occupation time corresponding to the network allocation vector. The embodiment of the invention can enable the more distant competition equipment to receive the beacon frame by sending the beacon frame with low speed and high priority to participate in channel competition and sending the beacon frame at low speed, and can wait for the corresponding time according to the beacon period carried in the beacon frame, thereby enabling the main equipment to preferentially use the channel resource. When the main device receives the message carrying the network allocation vector in the waiting time slot, the beacon frame is broadcasted again after waiting for the channel occupation time corresponding to the network allocation vector, and random backoff is not needed for any time, so that compared with a method for randomly backoff for a period of time in a contention mechanism in the prior art, the method provided by the embodiment of the invention improves the success rate of the main device in channel occupation, reduces the probability of collision with other contention devices, and improves the utilization rate of channel resources.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a diagram illustrating a system architecture suitable for use with an embodiment of the present invention;
fig. 2 is a flowchart illustrating a channel occupying method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a slave device access method according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating another channel occupying method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a master device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a slave device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a schematic diagram illustrating a system architecture to which an embodiment of the present invention is applicable, and as shown in fig. 1, the system architecture to which an embodiment of the present invention is applicable includes a master device 101 and a slave device 102. The master device 101 and the slave device 102 are connected by wireless. The master device 101 includes, but is not limited to, a router, a central controller, a base station, a node, a base transceiver station, a site controller. Slave devices 102 include, but are not limited to, terminals, wireless transmit/receive units, user equipment, mobile stations, mobile terminals, mobile subscriber units. The slave devices connected to the master device 101 are one or more.
Based on the system architecture shown in fig. 1, as shown in fig. 2, an embodiment of the present invention provides a channel occupying method, including the following steps:
step S201, the master device broadcasts a beacon frame carrying a beacon period in a preset range, where the beacon period is used to indicate the time when the master device occupies the channel, and the beacon frame is a broadcast message that does not need to be replied.
Step S202, when the main device receives the message carrying the network allocation vector in the waiting time slot of the beacon period, the main device broadcasts the beacon frame again in the preset range after waiting for the channel occupation time corresponding to the network allocation vector.
In a specific implementation, the preset range is a wireless coverage range of the master device, and the duration of the waiting time slot of the beacon period is set according to specific situations, for example, the duration of the waiting time slot may be determined according to a distance between the master device and a nearest competing device, or the duration of the waiting time slot may be determined according to a distance between the master device and a nearest slave device. Before broadcasting the beacon frame, the main device firstly closes Clear Channel Assessment (CCA) detection of a device physical layer, so that the main device does not avoid physical link interference of the Channel, so that the main device can send the beacon frame to preempt the Channel whenever the main device needs to levy the Channel, and the success rate of the main device in preempting the Channel is improved. After broadcasting the beacon frame, the master device participates in channel usage right competition with other competing devices according to a Carrier Sense Multiple Access/collision avoidance (CSMA/CA) mechanism, and the competition follows a Distributed Coordination Function (DCF) mechanism. The beacon frame transmitted by the master device is a management frame, and is transmitted at the lowest rate (MCS 0 rate for 11ac system and lowest basic rate for 11b/g/n/a system), and the backoff has high priority. Therefore, after waiting for the channel occupation time corresponding to the network allocation vector, the main device sets the random backoff window to be 0 time period, that is, after waiting for the channel occupation time corresponding to the network allocation vector, the main device does not wait for any random time and broadcasts the beacon frame within the preset range again.
Further, the beacon period further includes an access slot for instructing the slave device to initiate an access request, and the master device completes registration and login of the slave device in the access slot, which specifically includes the following steps, as shown in fig. 3:
step S301, the slave device receives a beacon frame carrying a beacon period broadcasted by the master device, where the beacon period includes an access timeslot for instructing the slave device to initiate an access request.
Step S302, after the master device does not receive the message carrying the network allocation vector in the waiting time slot of the beacon period, the master device waits to receive the access request sent by the slave device in the access time slot.
Step S303, the slave device sends an access request to the master device at a first rate in the access slot.
Step S304, when it is determined that the received access request meets the preset condition, the master device allocates a sub-slot for transmitting data to the slave device in the data transmission slot of the beacon period, and sends an access success message carrying the sub-slot to the slave device.
Step S305, the slave device receives an access success message sent by the master device, and transmits data with the master device in the sub-slot carried in the successful access message.
Specifically, in step S301, a beacon period is used to indicate the time when the master device occupies the channel, and a beacon frame is a broadcast message without reply. And after receiving the beacon frame, the slave equipment analyzes the beacon frame to determine the access time slot of the beacon period. After receiving the beacon frame sent by the master device, the competition device analyzes the beacon frame to determine a beacon period, and then waits for the duration corresponding to the beacon period.
In step S304, when it is determined that the received access request meets the preset condition, the master device allocates a sub-slot for transmitting data to the slave device in an idle slot of the data transmission slot. In a specific implementation, the sub-slot is not carried in the access success message, but the sub-slot in which the slave device transmits data in the data transmission slot is carried in a beacon frame broadcasted next time, so that the master device and the slave device perform data transmission in a next beacon period.
In step S305, since each of the plurality of slave devices transmits an access request to the master device in the access slot, collision of access requests transmitted by the plurality of slave devices inevitably occurs. After the access request is collided, the master device cannot receive the access request of the slave device, so that an access success message cannot be sent to the slave device. In the embodiment of the invention, if the slave device does not receive the access success message sent by the master device in the set period, after waiting for N beacon periods, the slave device sends the access request to the master device at the second rate, wherein the second rate is less than the first rate until receiving the access success message sent by the master device. The first rate and the second rate are preset rates, and N is a random positive integer. And when the rate of the access request sent by the slave equipment reaches the lowest preset rate and the access success message sent by the master equipment is still not received, the access request is sent to the master equipment at the lowest preset rate. The master device determines the access time slot in the beacon period in advance, and sends the access time slot in the beacon period to the slave device when sending the beacon frame to participate in channel competition, so that the master device can send a beacon frame which can be used for preempting the channel and can also appoint the access time slot with the slave device, thereby simplifying the communication between the master device and the slave device and improving the communication efficiency. And secondly, when the access request sent by the slave equipment collides, the random number of beacon periods is retreated, so that the probability of collision of the access request of the slave equipment is reduced, and the access of the slave equipment is ensured.
Optionally, the beacon period further comprises a data transmission slot for instructing an accessed slave device to transmit data. When the accessed slave equipment receives the beacon frame carrying the beacon period, the beacon frame is analyzed, the sub time slot of the transmission data distributed by the master equipment in the data transmission time slot is determined, and then the data is transmitted between the sub time slot and the master equipment. And after the master device does not receive the message carrying the network allocation vector in the waiting time slot of the beacon period, the master device transmits data with each accessed slave device in the data transmission time slot. In a specific implementation, the accessed slave device may be a slave device that has successfully accessed in a beacon period before the current beacon period, or may be a slave device that has successfully accessed in the current beacon period. Data can be transmitted between the master device and each slave device in a Time Division Multiple Access (TDMA) manner, that is, a data transmission timeslot is divided into an uplink timeslot and a downlink timeslot or a slave device sub-timeslot to be distributed to each slave device. Data transmission can also be carried out between the master device and each slave device according to the data flow. The master device and each slave device may also perform data transmission in a token manner or other feasible transmission manners. When allocating the time slot for transmitting data to each slave device, the master device may allocate different numbers of sub-time slots to different slave devices according to Quality of Service (QoS) priorities.
Optionally, after the master device transmits data with the accessed slave device in the sub-time slot, the master device determines whether the data to be transmitted with the accessed slave device is completely transmitted in the data transmission time slot; if not, the beacon frame is broadcasted within the preset range again. In a specific implementation, the master device may determine at the end of the beacon period or before the end of the beacon period. When the master device judges that the data which needs to be transmitted with the accessed slave device cannot be transmitted in the data transmission time slot, the beacon frame is broadcasted in the preset range again without waiting for any random time, so that the master device can capture the channel again, and the smooth transmission of the data of the master device and the slave device is ensured. And when the master equipment judges that the data which needs to be transmitted with the accessed slave equipment can be transmitted in the data transmission time slot, stopping transmitting the beacon frame carrying the beacon period, and enabling the channel to recover free competition so as to ensure that the channel resource is harmoniously used with the surrounding competition equipment.
In order to better explain the embodiment of the present invention, the following describes a flow of a channel occupying method provided by the embodiment of the present invention through a specific implementation scenario, as shown in fig. 4, including the following steps:
step S401, the master device broadcasts a beacon frame carrying a beacon period in a preset range, where the beacon period is used to indicate the time when the master device occupies the channel.
Step S402, when the main device receives the message carrying the network allocation vector in the waiting time slot of the beacon period, the main device broadcasts the beacon frame again in the preset range after waiting for the channel occupation time corresponding to the network allocation vector.
In step S403, after the master device does not receive the message carrying the network allocation vector in the waiting time slot of the beacon period, the master device waits to receive the access request sent by the slave device in the access time slot.
Step S404, after receiving the beacon frame carrying the beacon period broadcast by the master device, the slave device sends an access request to the master device at a first rate in the access timeslot.
Step S405, when it is determined that the received access request meets the preset condition, the master device allocates a sub-slot for transmitting data to the slave device in the data transmission slot of the beacon period, and sends an access success message carrying the sub-slot to the slave device.
Step S406, the master device transmits data with the accessed slave device in the data transmission slot.
In step S407, the master device broadcasts the beacon frame again within the preset range after determining that the data that needs to be transmitted with the accessed slave device cannot be transmitted in the data transmission timeslot.
Step S408, the master device stops broadcasting the beacon frame when it is determined that the data that needs to be transmitted with the accessed slave device can be transmitted in the data transmission timeslot.
The embodiment of the invention shows that the main equipment broadcasts a beacon frame carrying a beacon period in a preset range, wherein the beacon period is used for indicating the time of the main equipment occupying a channel, and the beacon frame is a broadcast message which does not need to be replied; and when the main equipment receives a message carrying a network allocation vector in a waiting time slot of the beacon period, the main equipment broadcasts the beacon frame again in the preset range after waiting for the channel occupation time corresponding to the network allocation vector. The embodiment of the invention can enable the more distant competition equipment to receive the beacon frame by sending the beacon frame with low speed and high priority to participate in channel competition and sending the beacon frame at low speed, and can wait for the corresponding time according to the beacon period carried in the beacon frame, thereby enabling the main equipment to preferentially use the channel resource. When the main device receives the message carrying the network allocation vector in the waiting time slot, the beacon frame is broadcasted again after waiting for the channel occupation time corresponding to the network allocation vector, and random backoff is not needed for any time, so that compared with a method for randomly backoff for a period of time in a contention mechanism in the prior art, the method provided by the embodiment of the invention improves the success rate of the main device in channel occupation, reduces the probability of collision with other contention devices, and improves the utilization rate of channel resources.
Based on the same technical concept, an embodiment of the present invention further provides a master device, as shown in fig. 5, including:
a sending module 501, configured to broadcast a beacon frame carrying a beacon period within a preset range, where the beacon period is used to indicate a time when the master device occupies a channel, and the beacon frame is a broadcast message that does not need to be replied;
the processing module 502 is configured to, when receiving a message carrying a network allocation vector in a waiting time slot of the beacon period, wait for a channel occupation time corresponding to the network allocation vector, and then broadcast the beacon frame again within the preset range.
Optionally, the processing module 502 is further configured to:
the beacon period comprises an access slot for instructing a slave device to initiate an access request;
and after the message carrying the network allocation vector is not received in the waiting time slot of the beacon period, waiting to receive an access request sent by slave equipment in the access time slot.
Optionally, the processing module 502 is further configured to:
when the received access request is determined to meet the preset condition, allocating a sub-time slot for transmitting data in the data transmission time slot of the beacon period for the slave equipment, and sending an access success message carrying the sub-time slot to the slave equipment;
and transmitting data with the slave equipment in the sub-time slot.
Optionally, the processing module 502 is further configured to:
the beacon period further comprises a data transmission slot for instructing an accessed slave device to transmit data;
and after the message carrying the network allocation vector is not received in the waiting time slot of the beacon period, transmitting data with the accessed slave equipment in the data transmission time slot.
Optionally, the processing module 502 is further configured to:
after the sub-time slot and the accessed slave equipment transmit data, judging whether the data which needs to be transmitted with the accessed slave equipment is transmitted in the data transmission time slot;
if not, the beacon frame is broadcasted within the preset range again.
Based on the same technical concept, an embodiment of the present invention further provides a slave device, as shown in fig. 6, including:
a receiving module 601, configured to receive a beacon frame carrying a beacon period, where the beacon period is used to indicate a time when a primary device occupies a channel, and the beacon frame is a broadcast message that does not need to be replied; the beacon period comprises an access slot for instructing a slave device to initiate an access request;
a processing module 602, configured to send an access request to the master device at a first rate in the access timeslot; if the access success message sent by the master device is not received, after N beacon periods, sending an access request to the master device at a second rate, wherein the second rate is smaller than the first rate, until the access success message sent by the master device is received, and the successful access message carries a sub-time slot which is distributed by the master device for the slave device and used for transmitting data in a data transmission time slot of the beacon period; and transmitting data with the main equipment in the sub time slot.
Optionally, the beacon period further includes a data transmission slot for instructing an accessed slave device to transmit data; the processing module 602 is further configured to transmit data with the master device in the data transmission timeslot.
Embodiments of the present invention provide a computing device, which may be specifically a desktop computer, a portable computer, a smart phone, a tablet computer, a Personal Digital Assistant (PDA), and the like. The computing device may include a Central Processing Unit (CPU), memory, input/output devices, etc., the input devices may include a keyboard, mouse, touch screen, etc., and the output devices may include a Display device, such as a Liquid Crystal Display (LCD), a Cathode Ray Tube (CRT), etc.
Memory, which may include Read Only Memory (ROM) and Random Access Memory (RAM), provides the processor with program instructions and data stored in the memory. In embodiments of the present invention, the memory may be used to store program instructions for the channel occupancy method;
and the processor is used for calling the program instruction stored in the memory and executing the channel occupation method according to the obtained program.
An embodiment of the present invention provides a computer storage medium, where a computer-executable instruction is stored, where the computer-executable instruction is used to enable a computer to execute a channel occupying method.
It should be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (14)

1. A method for occupying a channel, comprising:
the method comprises the steps that a main device broadcasts a beacon frame carrying a beacon period in a preset range, wherein the beacon period is used for indicating the time of the main device occupying a channel, and the beacon frame is a broadcast message which does not need to be replied; the beacon period comprises an access slot for instructing a slave device to initiate an access request;
after the master device does not receive the message carrying the network allocation vector in the waiting time slot of the beacon period, the master device waits for receiving the access request sent by the slave device in the access time slot; or,
and when the main equipment receives a message carrying the network allocation vector in the waiting time slot of the beacon period, the main equipment broadcasts the beacon frame again in the preset range after waiting for the channel occupation time corresponding to the network allocation vector.
2. The method of claim 1, further comprising:
when the received access request is determined to meet the preset condition, the master device allocates a sub-time slot for transmitting data in the data transmission time slot of the beacon period for the slave device, and sends an access success message carrying the sub-time slot to the slave device;
and the master device transmits data with the slave device in the sub-time slot.
3. The method of claim 1, further comprising:
the beacon period further comprises a data transmission slot for instructing an accessed slave device to transmit data;
and the master device transmits data with the accessed slave device in the data transmission time slot after not receiving the message carrying the network allocation vector in the waiting time slot of the beacon period.
4. The method of claim 3, wherein the master device, after the data transmission slot transmits data with the accessed slave device, further comprises:
the master device judges whether the data which needs to be transmitted with the accessed slave device is transmitted in the data transmission time slot;
if not, the beacon frame is broadcasted within the preset range again.
5. A method for occupying a channel, comprising:
receiving a beacon frame which carries a beacon period and is broadcast by a master device, wherein the beacon period is used for indicating the time of the master device occupying a channel, and the beacon frame is a broadcast message which does not need to be replied; the beacon period comprises an access slot for instructing a slave device to initiate an access request;
the slave device sending an access request to the master device at a first rate during the access slot;
if the slave device does not receive the access success message sent by the master device, after waiting for N beacon periods, sending an access request to the master device at a second rate, wherein the second rate is smaller than the first rate, until receiving the access success message sent by the master device, and the successful access message carries a sub-time slot which is allocated by the master device for the slave device and used for transmitting data in a data transmission time slot of the beacon period;
and the slave device transmits data with the master device in the sub-time slot.
6. The method of claim 5, further comprising:
the beacon period further comprises a data transmission slot for instructing an accessed slave device to transmit data;
and when the slave equipment is accessed slave equipment, transmitting data with the master equipment in the data transmission time slot.
7. A master device, comprising:
a sending module, configured to broadcast a beacon frame carrying a beacon period within a preset range, where the beacon period is used to indicate a time when the master device occupies a channel, and the beacon frame is a broadcast message that does not need to be replied; the beacon period comprises an access slot for instructing a slave device to initiate an access request;
a processing module, configured to wait to receive an access request sent by a slave device in an access time slot after a message carrying a network allocation vector is not received in the waiting time slot of the beacon period; or,
and when receiving a message carrying the network allocation vector in the waiting time slot of the beacon period, waiting for the channel occupation time corresponding to the network allocation vector, and then broadcasting the beacon frame again in the preset range.
8. The master device of claim 7, wherein the processing module is further to:
when the received access request is determined to meet the preset condition, allocating a sub-time slot for transmitting data in the data transmission time slot of the beacon period for the slave equipment, and sending an access success message carrying the sub-time slot to the slave equipment;
and transmitting data with the slave equipment in the sub-time slot.
9. The master device of claim 7, wherein the processing module is further to:
the beacon period further comprises a data transmission slot for instructing an accessed slave device to transmit data;
and after the message carrying the network allocation vector is not received in the waiting time slot of the beacon period, transmitting data with the accessed slave equipment in the data transmission time slot.
10. The master device of claim 9, wherein the processing module is further to:
after the data transmission time slot and the accessed slave equipment transmit data, judging whether the data which needs to be transmitted with the accessed slave equipment is transmitted in the data transmission time slot;
if not, the beacon frame is broadcasted within the preset range again.
11. A slave device, comprising:
a receiving module, configured to receive a beacon frame carrying a beacon period, where the beacon period is used to indicate a time when a main device occupies a channel, and the beacon frame is a broadcast message that does not need to be replied; the beacon period comprises an access slot for instructing a slave device to initiate an access request;
a processing module, configured to send an access request to the master device at a first rate in the access timeslot; if the access success message sent by the master device is not received, after N beacon periods, sending an access request to the master device at a second rate, wherein the second rate is smaller than the first rate, until the access success message sent by the master device is received, and the successful access message carries a sub-time slot which is distributed by the master device for the slave device and used for transmitting data in a data transmission time slot of the beacon period; and transmitting data with the main equipment in the sub time slot.
12. The slave device of claim 11, wherein the beacon period further comprises a data transmission slot for instructing an accessed slave device to transmit data; the processing module is further configured to transmit data with the master device in the data transmission timeslot.
13. A computing device, comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory to perform the method of any of claims 1 to 4 or the method of any of claims 5 to 6 in accordance with the obtained program.
14. A computer storage medium having computer-executable instructions stored thereon for causing a computer to perform the method of any of claims 1 to 4 or the method of any of claims 5 to 6.
CN201711447064.6A 2017-12-27 2017-12-27 Channel occupation method, master device and slave device Active CN108055703B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711447064.6A CN108055703B (en) 2017-12-27 2017-12-27 Channel occupation method, master device and slave device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711447064.6A CN108055703B (en) 2017-12-27 2017-12-27 Channel occupation method, master device and slave device

Publications (2)

Publication Number Publication Date
CN108055703A CN108055703A (en) 2018-05-18
CN108055703B true CN108055703B (en) 2020-08-28

Family

ID=62128283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711447064.6A Active CN108055703B (en) 2017-12-27 2017-12-27 Channel occupation method, master device and slave device

Country Status (1)

Country Link
CN (1) CN108055703B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110138683B (en) * 2019-06-17 2022-08-05 重庆邮电大学 QoS-supported Internet of things data transmission method and system
CN110602795B (en) * 2019-07-31 2023-01-06 中国信息通信研究院 Channel transmission method and device
CN114982259A (en) * 2020-09-15 2022-08-30 深圳市汇顶科技股份有限公司 Synchronous communication method, electronic device, and storage medium
CN113965958B (en) * 2020-12-23 2024-07-05 技象科技(南京)有限公司 Data transmission method, device, system and storage medium based on multi-information reference

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345669A (en) * 2007-07-09 2009-01-14 华为技术有限公司 Method and device for settling device address collision in UWB system
CN101395864A (en) * 2006-03-03 2009-03-25 高通股份有限公司 Transmission control for wireless communication networks
US8054812B2 (en) * 2006-02-08 2011-11-08 Samsung Electronics Co., Ltd. Apparatus and method for transmitting data frame in WLAN terminal
CN105706377A (en) * 2013-07-10 2016-06-22 Kt株式会社 Method and apparatus for transmitting data in wireless LAN system
CN106535343A (en) * 2016-12-23 2017-03-22 北京邮电大学 Channel access method and device of wireless sensor network
CN107251638A (en) * 2015-02-19 2017-10-13 高通股份有限公司 The system and method in channel are accounted for for the multistation in cordless communication network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8054812B2 (en) * 2006-02-08 2011-11-08 Samsung Electronics Co., Ltd. Apparatus and method for transmitting data frame in WLAN terminal
CN101395864A (en) * 2006-03-03 2009-03-25 高通股份有限公司 Transmission control for wireless communication networks
CN101345669A (en) * 2007-07-09 2009-01-14 华为技术有限公司 Method and device for settling device address collision in UWB system
CN105706377A (en) * 2013-07-10 2016-06-22 Kt株式会社 Method and apparatus for transmitting data in wireless LAN system
CN107251638A (en) * 2015-02-19 2017-10-13 高通股份有限公司 The system and method in channel are accounted for for the multistation in cordless communication network
CN106535343A (en) * 2016-12-23 2017-03-22 北京邮电大学 Channel access method and device of wireless sensor network

Also Published As

Publication number Publication date
CN108055703A (en) 2018-05-18

Similar Documents

Publication Publication Date Title
US9980292B2 (en) Contention based uplink orthogonal frequency-division multiple access (OFDMA)
CN108055703B (en) Channel occupation method, master device and slave device
EP3100545B1 (en) Inter-group control of semi-persistent channel occupation for device-to-device (d2d) wireless communications
CN102792745B (en) Method, apparatus and computer program product for allocating resources in wireless communication network
KR101849212B1 (en) System and method for OFDMA resource management in WLAN
US10219301B2 (en) Inhibition mechanism for device-to-device (D2D) communication
Li et al. An RSU-coordinated synchronous multi-channel MAC scheme for vehicular ad hoc networks
US20240129935A1 (en) Communication method and communication apparatus
CN110832934B (en) System and method for random access of UE (user equipment) on wide bandwidth with subset limitation
WO2012021131A1 (en) Common control channel design and coexistence mechanism for tv white space
CN107548070A (en) Data transmission method, apparatus and system
KR102049047B1 (en) Method of data transmitting and receiving in the talk-around direct communication network
CN105813087A (en) Data transmission method and frequency spectrum resource sharing method and device
WO2016044978A1 (en) Allocation method and apparatus for device-to-device transmission resource
CN111918404A (en) Resource allocation method, base station and terminal
CN107567108B (en) Communication method, communication device, station and access point of wireless local area network
CN105873073B (en) Spectrum sharing method and device for unlicensed spectrum of wireless communication system
CN115529572A (en) Resource selection method and device
CN106488580B (en) Competition access method, competition access device, station and competition access system
US20240155650A1 (en) Resource selection method and apparatus
JP7498853B2 (en) Resource processing method, device and medium
CN111800885B (en) Channel contention method and equipment for multi-terminal access
JP5855551B2 (en) Wireless communication system and wireless communication method
Passiatore et al. A fair MAC protocol for resource sharing in ad-hoc cognitive networks
JP2024509061A (en) Communication device and communication method compatible with extended random access

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200107

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant after: Jingxin Communication System (China) Co., Ltd.

Address before: 510663 Luogang District Science City, Guangzhou, Shenzhou Road, No. 10, Guangdong

Applicant before: Jingxin Communication System (China) Co., Ltd.

Applicant before: Jingxin Communication System (Guangzhou) Co., Ltd.

Applicant before: Jingxin Communication Technology (Guangzhou) Co., Ltd.

Applicant before: TIANJIN COMBA TELECOM SYSTEMS CO., LTD.

GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Patentee after: Jingxin Network System Co.,Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Patentee before: Comba Telecom System (China) Ltd.