Movatterモバイル変換


[0]ホーム

URL:


CN103533661A - Wireless channel access control method based on virtual token - Google Patents

Wireless channel access control method based on virtual token
Download PDF

Info

Publication number
CN103533661A
CN103533661ACN201310500287.XACN201310500287ACN103533661ACN 103533661 ACN103533661 ACN 103533661ACN 201310500287 ACN201310500287 ACN 201310500287ACN 103533661 ACN103533661 ACN 103533661A
Authority
CN
China
Prior art keywords
node
token
frame
address
state
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.)
Pending
Application number
CN201310500287.XA
Other languages
Chinese (zh)
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.)
China Ship Development and Design Centre
Original Assignee
China Ship Development and Design Centre
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 China Ship Development and Design CentrefiledCriticalChina Ship Development and Design Centre
Priority to CN201310500287.XApriorityCriticalpatent/CN103533661A/en
Publication of CN103533661ApublicationCriticalpatent/CN103533661A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

A wireless channel access control method based on a virtual token comprises the following steps of: A, a plurality of nodes are selected, one node is designated as a center node, the other nodes are called as wireless nodes, B, the center node generates a token, some wireless node is designated to hold the token, C, if the center node can monitor that the wireless node of some address uses the token, token passing succeeds, D, if monitoring fails, the token is re-passed for designated times or a data frame is broadcast, another node is designated to hold the token, E, the number of the nodes is updated, F, when the token is lost, the center node generates a token again, G, the nodes are monitored, the token is abandoned, the center node generates a token again, and H, Steps A-G are repeated. The method has the benefits that a secondary competitive mechanism is introduced, with the adoption of a node priority strategy, transmission requirements of emergency messages are met, the high reliability and timeliness of a network are guaranteed, and the effective utilization rate of the network is increased by data frame fusion.

Description

Wireless channel access control method based on virtual token
Technical field
The present invention relates to wireless communication field, be specifically related to a kind of wireless channel access control method based on virtual token.
Background technology
In wireless network, generally adopt CSMA/CA(Carrier Sense Multiple Access/collision detection) by monitoring wireless channel and keeping out of the way one random period, realize the access control to wireless channel.Because the mode of this random back makes wireless channel access delay have certain uncertainty, cannot guarantee maximum network time delay, network load is larger, and the randomness of transmission delay is larger, is therefore only applicable to the application not high to requirement of real-time.
In token-ring network, by token, realize the access control to transmission medium.Token is a kind of special Frame, only receives that the node of token can send data.Because token transmits successively in order in network, each node is enjoyed fair channel access power, not only can estimate maximum channel access delay, and network delay has certain certainty, is therefore applicable to the application higher to requirement of real-time.
With wire message way, compare, wireless channel has opening and multipath effect, is easy to be subject to the interference of other communication system and the impact of barrier, and the stack of a plurality of signals of out of phase easily causes the sharply variation that receives signal amplitude, transmission conditions are complicated, severe, are therefore subject to the impact of environment larger.
In token-ring network, the maintenance of token is very crucial, comprises token generation, token transmission, a plurality of token and token lost detection etc.On the one hand, token safeguard more complicated, expense is larger; On the other hand, wireless channel transmission quality is poor, further aggravates the expense that token is safeguarded, thereby causes wireless token loop network hydraulic performance decline.
Summary of the invention
The technical problem to be solved in the present invention is, for existing wireless channel token-ring network above shortcomings, a kind of wireless channel access control method based on virtual token is provided, by a kind of method that is similar to token ring, realizes the access control to sensor network wireless channel.
The present invention solves the problems of the technologies described above adopted technical scheme to be:
Wireless channel access control method based on virtual token, is characterized in that, comprises the following steps:
A, in certain area selected several nodes, specify node centered by a node, other nodes are called radio node, and the address of each radio node is distributed unitedly in order by Centroid and kept the address of each radio node and Centroid continuous;
B, setting Centroid address are 0, and first Centroid produces token, then broadcasts a Frame and specifies certain radio node to hold token, and monitor network;
C, within a certain period of time, is being used token if Centroid can listen to the radio node of certain address, represents token transmission success; If the radio node of this address does not have Frame to need to send, broadcast the token frame of finishing using; If the radio node of this address has Frame to need to send, the sign that adds token to finish using in last Frame sending, the radio node of next address starts to prepare to hold token;
D, radio node or Centroid, after having sent or specified the node of holding token, start to monitor network; If due to signals transmission make mistakes monitor less than, retransmit predetermined number of times; If next node is because depleted of energy or fault lost efficacy, a upper node is monitored less than there being node using channel, broadcasts a Frame, specifies another to hold token by node;
Whether E, Centroid are periodically monitored has new node to add, when listening to new node, add, for this node distributes address, its information broadcasting, to other node in network, and is upgraded to the number (complete and be appended to virtual token ring) of nodes;
If F radio node listens at the appointed time in network, do not have Frame to send, represent token lost, then Centroid regenerates a token;
If G radio node listens in network, have a plurality of nodes to send Frame, there are a plurality of tokens in representative simultaneously, and now all nodes abandon holding token, then by Centroid, regenerate a token;
H, repeat above steps A ~ G, realize the wireless channel access control method based on virtual token.
Press such scheme, in described steps A, node centered by the node of assigned address minimum, token is produced by Centroid (node that address is 0) all the time.
Press such scheme, in described step C, upper radio node is used token complete, by the mark position of Frame, is 1, and next radio node starts to hold token by monitored data frame and when flag bit 1 being detected.
Press such scheme, in described step C, radio node also according to etc. the priority (general, important and urgent) of message to be sent dynamically change the priority of holding token, introduce secondary race condition, by the priority promotion of the node that has urgent message to send to high state.
Press such scheme, in described step D, along with node adds or deviated from network, each address of node and number dynamically update, and the node that is greater than this address also will upgrade address separately, guarantees the continuity of each node address in whole network.
Press such scheme, in described step e, the mode (token frame does not occur separately, and Frame is distinguished with the form of flag bit) that new node adopts Frame to merge, appends token in Frame and transmits with the form of flag bit.
Press such scheme, in described certain area, selected node forms by seven states, respectively: initialization, networking, free time, etc. to be sent, secondary competition, send data and wait for and replying, initialization is first state of node, for completing the initialization of software and hardware resources and the assignment of each parameter; Networking is that node is elected Centroid in some way, and according to the state of size order distribution node address; Free time is the default conditions that enter after networking completes; Etc. to be sent be that node is received the Frame of need replying, or have and need the Frame initiatively sending and the state at place while not holding token; Secondary competition is to use token at a upper node, before next node prepares to hold token, for preventing that higher priority message (urgent message) from needing the node sending because waiting for the overtime state of token; Send data and be node and hold token at the appointed time, and do not have priority node to participate in token competition (not receiving the secondary competition frame of other node), can initiatively use token to send the state of data; Wait for that replying is that node has sent the Frame that needs reply, enters the state of replying place of waiting for after sending.
Press such scheme, seven state control procedures of above-mentioned each node specifically comprise the steps:
A, node initializing, complete the initialization of software and hardware resources and the assignment of each parameter;
B, enter networking state, node is elected Centroid in some way, and according to size order distribution node address; If receive the Frame of non-node, or erroneous frame, abandon this Frame, and remain on networking state;
C, enter idle condition, if receive and do not need the Frame of replying, data processing is remained on to this state later; If receive secondary competition frame, non-node data frame or erroneous frame, abandon and remain on this state;
If D receives the Frame of need replying, or need to initiatively send Frame, the state to be sent such as enter and wait for token;
If E monitors a node, (than the node of this node address little 1) uses token, and next node is prepared to hold token, for preventing the nodes to be sent such as higher priority message, enters secondary race condition;
If F does not receive the secondary competition frame of other node at the appointed time, use token to send data; If had, pass token to higher priority node;
If G node has sent the Frame that needs reply, after sending, enter wait recoil state, otherwise get back to idle condition;
H, enter and wait for that after recoil state, if receive the Frame of reply in official hour, or wait timeout is got back to idle condition.
Compared with prior art, tool has the following advantages and beneficial effect in the present invention:
(1) compare with CSMA/CA, wireless channel access delay has certainty, can guarantee maximum network time delay; Especially when network load is larger, there is good real-time;
(2) compare with token-ring network, reduced the difficulty of token maintenance and the risk of loss, can adapt to better the feature of wireless channel and sensor node;
(3) compare with wireless token loop network, effectively improved because node location changes the token transmission failure cause, and the token pass order frequent updating causing thus and the network performance degradation that causes;
(4) by introducing secondary competition mechanism, and in conjunction with the priority policy of node, can meet to greatest extent the transmission demand of urgent message, thereby guarantee high reliability and the hard real-time of network;
(5) mode merging by Frame, has reduced the number of network management message and the number of times of wireless data frame transmitting-receiving, has improved network effective rate of utilization.
Accompanying drawing explanation
Fig. 1 is the state of each node and control flow chart in embodiment in the present invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in detail.
Wireless channel access control method based on virtual token of the present invention, comprises the following steps:
A, in certain area selected several nodes, node centered by the node of assigned address minimum (token is produced by Centroid all the time), other nodes are called radio node, and the address of each radio node is distributed unitedly in order by Centroid and kept the address of each radio node and Centroid continuous;
B, setting Centroid address are 0, and first Centroid produces token, then broadcasts a Frame and specifies certain radio node to hold token, and monitor network;
C, within a certain period of time, is being used token if Centroid can listen to the radio node of certain address, represents token transmission success; If the radio node of this address does not have Frame to need to send, broadcast the token frame of finishing using; If the radio node of this address has Frame to need to send, the sign that adds token to finish using in last Frame sending, the radio node of next address starts to prepare to hold token, and (a upper radio node is used token complete, by the mark position of Frame, be 1, next radio node starts to hold token by monitored data frame and when flag bit 1 being detected); Radio node also according to etc. the priority (general, important and urgent) of message to be sent dynamically change the priority of holding token, introduce secondary race condition, by the priority promotion of the node that has urgent message to send to high state;
D, radio node or Centroid, after having sent or specified the node of holding token, start to monitor network; If due to signals transmission make mistakes monitor less than, retransmit predetermined number of times; If next node is because depleted of energy or fault lost efficacy, a upper node is monitored less than there being node using channel, broadcasts a Frame, specifies another to hold token by node; Along with node adds or deviated from network, each address of node and number dynamically update, and the node that is greater than this address also will upgrade address separately, guarantees the continuity of each node address in whole network;
Whether E, Centroid are periodically monitored has new node to add, when listening to new node, add, for this node distributes address, its information broadcasting, to other node in network, and is upgraded to the number (complete and be appended to virtual token ring) of nodes; The mode that new node adopts Frame to merge, appends token in Frame and transmits with the form of flag bit;
If F radio node listens at the appointed time in network, do not have Frame to send, represent token lost, then Centroid regenerates a token;
If G radio node listens in network, have a plurality of nodes to send Frame, there are a plurality of tokens in representative simultaneously, and now all nodes abandon holding token, then by Centroid, regenerate a token;
H, repeat above steps A ~ G, realize the wireless channel access control method based on virtual token.
Shown in Fig. 1, the selected node of the present invention is comprised of seven states, respectively: initialization, networking, free time, etc. to be sent, secondary competition, send data and wait for and replying, initialization is first state of radio node, for completing the initialization of software and hardware resources and the assignment of each parameter; Networking is that radio node is elected Centroid in some way, and according to the state of size order distribution node address; Free time is the default conditions that enter after networking completes; Etc. to be sent be that radio node is received the Frame of need replying, or have and need the Frame initiatively sending and the state at place while not holding token; Secondary competition is to use token at a upper node, before next node prepares to hold token, for preventing that higher priority message (urgent message) from needing the node sending because waiting for the overtime state of token; Send data and be radio node and hold token at the appointed time, and do not have priority node to participate in token competition (not receiving the secondary competition frame of other node), can initiatively use token to send the state of data; Wait for that replying is that radio node has sent the Frame that needs reply, enters the state of replying place of waiting for after sending.
Seven state control procedures of above-mentioned each node specifically comprise the steps:
A, node initializing, complete the initialization of software and hardware resources and the assignment of each parameter;
B, enter networking state, node is elected Centroid in some way, and according to size order distribution node address; If receive the Frame of non-node, or erroneous frame, abandon this Frame, and remain on networking state;
C, enter idle condition, if receive and do not need the Frame of replying, data processing is remained on to this state later; If receive secondary competition frame, non-node data frame or erroneous frame, abandon and remain on this state;
If D receives the Frame of need replying, or need to initiatively send Frame, the state to be sent such as enter and wait for token;
If E monitors a node, (than the node of this node address little 1) uses token, and next node is prepared to hold token, for preventing the nodes to be sent such as higher priority message, enters secondary race condition;
If F does not receive the secondary competition frame of other node at the appointed time, use token to send data; If had, pass token to higher priority node;
If G node has sent the Frame that needs reply, after sending, enter wait recoil state, otherwise get back to idle condition;
H, enter and wait for that after recoil state, if receive the Frame of reply in official hour, or wait timeout is got back to idle condition.
Realized a kind of virtual token looped network for above seven in good shapely.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (8)

7. the wireless channel access control method based on virtual token as claimed in claim 1, it is characterized in that, in described certain area, selected node forms by seven states, respectively: initialization, networking, free time, etc. to be sent, secondary competition, send data and wait for and replying, initialization is first state of node, for completing the initialization of software and hardware resources and the assignment of each parameter; Networking is that node is elected Centroid in some way, and according to the state of size order distribution node address; Free time is the default conditions that enter after networking completes; Etc. to be sent be that node is received the Frame of need replying, or have and need the Frame initiatively sending and the state at place while not holding token; Secondary competition is to use token at a upper node, before next node prepares to hold token, for preventing that node that higher priority message need to send is because waiting for the overtime state of token; Send data and be node and hold token at the appointed time, and do not have priority node to participate in token competition, can initiatively use token to send the state of data; Wait for that replying is that node has sent the Frame that needs reply, enters the state of replying place of waiting for after sending.
CN201310500287.XA2013-10-232013-10-23Wireless channel access control method based on virtual tokenPendingCN103533661A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201310500287.XACN103533661A (en)2013-10-232013-10-23Wireless channel access control method based on virtual token

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201310500287.XACN103533661A (en)2013-10-232013-10-23Wireless channel access control method based on virtual token

Publications (1)

Publication NumberPublication Date
CN103533661Atrue CN103533661A (en)2014-01-22

Family

ID=49935233

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201310500287.XAPendingCN103533661A (en)2013-10-232013-10-23Wireless channel access control method based on virtual token

Country Status (1)

CountryLink
CN (1)CN103533661A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104410585A (en)*2014-09-122015-03-11云南电网公司Ethernet information real-time transmission method and device
CN104468302A (en)*2014-10-162015-03-25深圳市金证科技股份有限公司Token processing method and device and message handling cluster
CN107124522A (en)*2017-04-182017-09-01北京思特奇信息技术股份有限公司A kind of distributed bill record collection method and system
CN107371216A (en)*2017-09-132017-11-21湖南基石通信技术有限公司A kind of token subnet website cut-in method and device
CN107707385A (en)*2017-09-182018-02-16贵州白山云科技有限公司A kind of data reporting method and system
CN108628796A (en)*2018-04-132018-10-09深圳市科陆电子科技股份有限公司A kind of serial communication method and system
CN108834182A (en)*2018-04-282018-11-16中国科学院上海微系统与信息技术研究所 MAC Layer Channel Access and Resource Reservation Method Based on Token Ring
CN110071860A (en)*2019-04-012019-07-30深圳前海达闼云端智能科技有限公司Robot communication method, robot communication system and robot
CN111917664A (en)*2020-06-302020-11-10北京瀚诺半导体科技有限公司 A queue management method and system
WO2021226820A1 (en)*2020-05-122021-11-18深圳市欢太科技有限公司Permission configuration method and apparatus, and node device and data processing system
CN114531651A (en)*2022-04-242022-05-24华南理工大学Multi-agent wireless network dynamic networking method based on UWB technology
CN115499935A (en)*2022-09-062022-12-20哈尔滨工业大学Simultaneous same-frequency full-duplex dual-polarization ad hoc network access system and method based on double token buses

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20020071413A1 (en)*2000-03-312002-06-13Philips Electronics North America CorporationWireless MAC protocol based on a hybrid combination of slot allocation, token passing, and polling for isochronous traffic
CN1649319A (en)*2005-02-042005-08-03西安电子科技大学 Token transfer and management method of Ad Hoc network
US20060029073A1 (en)*2000-07-072006-02-09Gerard CervelloCollision avoidance in IEEE 802.11 contention free period (CFP) with overlapping basic service sets (BSSs)

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20020071413A1 (en)*2000-03-312002-06-13Philips Electronics North America CorporationWireless MAC protocol based on a hybrid combination of slot allocation, token passing, and polling for isochronous traffic
US20060029073A1 (en)*2000-07-072006-02-09Gerard CervelloCollision avoidance in IEEE 802.11 contention free period (CFP) with overlapping basic service sets (BSSs)
CN1649319A (en)*2005-02-042005-08-03西安电子科技大学 Token transfer and management method of Ad Hoc network

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
任平: "基于MR-MC的传感器网络架构及相关算法研究", 《中国博士学位论文全文数据库》*
刘泉等: "基于MS/TP协议的无线Ad Hoc网络", 《计算机工程》*

Cited By (22)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104410585A (en)*2014-09-122015-03-11云南电网公司Ethernet information real-time transmission method and device
CN104468302A (en)*2014-10-162015-03-25深圳市金证科技股份有限公司Token processing method and device and message handling cluster
CN104468302B (en)*2014-10-162018-03-30深圳市金证科技股份有限公司A kind of processing method and processing device of token
CN107124522A (en)*2017-04-182017-09-01北京思特奇信息技术股份有限公司A kind of distributed bill record collection method and system
CN107124522B (en)*2017-04-182020-02-04北京思特奇信息技术股份有限公司Distributed call ticket collection method and system
CN107371216A (en)*2017-09-132017-11-21湖南基石通信技术有限公司A kind of token subnet website cut-in method and device
CN107371216B (en)*2017-09-132020-03-27湖南基石通信技术有限公司Token subnet site access method and device
WO2019052571A1 (en)*2017-09-182019-03-21贵州白山云科技股份有限公司Data reporting method and system
CN107707385B (en)*2017-09-182019-03-12贵州白山云科技股份有限公司A kind of data reporting method and system
CN107707385A (en)*2017-09-182018-02-16贵州白山云科技有限公司A kind of data reporting method and system
US11483383B2 (en)2017-09-182022-10-25Guizhou Baishancloud Technology Co., Ltd.Data reporting method and system
CN108628796A (en)*2018-04-132018-10-09深圳市科陆电子科技股份有限公司A kind of serial communication method and system
CN108834182B (en)*2018-04-282021-04-13中国科学院上海微系统与信息技术研究所Token ring based wireless ad hoc network MAC layer channel access and resource reservation method
CN108834182A (en)*2018-04-282018-11-16中国科学院上海微系统与信息技术研究所 MAC Layer Channel Access and Resource Reservation Method Based on Token Ring
CN110071860A (en)*2019-04-012019-07-30深圳前海达闼云端智能科技有限公司Robot communication method, robot communication system and robot
CN110071860B (en)*2019-04-012021-11-09达闼机器人有限公司Robot communication method, robot communication system and robot
WO2021226820A1 (en)*2020-05-122021-11-18深圳市欢太科技有限公司Permission configuration method and apparatus, and node device and data processing system
CN115004643A (en)*2020-05-122022-09-02深圳市欢太科技有限公司Authority configuration method, device, node equipment and data processing system
CN115004643B (en)*2020-05-122023-09-08深圳市欢太科技有限公司 Permission configuration method, device, node device and data processing system
CN111917664A (en)*2020-06-302020-11-10北京瀚诺半导体科技有限公司 A queue management method and system
CN114531651A (en)*2022-04-242022-05-24华南理工大学Multi-agent wireless network dynamic networking method based on UWB technology
CN115499935A (en)*2022-09-062022-12-20哈尔滨工业大学Simultaneous same-frequency full-duplex dual-polarization ad hoc network access system and method based on double token buses

Similar Documents

PublicationPublication DateTitle
CN103533661A (en)Wireless channel access control method based on virtual token
US20110051645A1 (en)Sensor network system and communication method thereof
Pei et al.Blockchain-enabled dynamic spectrum access: cooperative spectrum sensing, access and mining
CN102752040B (en)Hybrid networking and communication method based on wireless and power line carrier
EP2925047B1 (en)Method for transmitting and receiving data
CN103826316A (en)Micropower wireless self-organized network broadcast communication method
CN103052032A (en)Methods for networking and data communicating of broadcast wireless network
Zhu et al.DC-MAC: A delay-aware and collision-free MAC protocol based on game theory for underwater wireless sensor networks
CN107231200A (en)A kind of water sound sensor network blending agent access control communication means based on sub-clustering
Murthy et al.Energy efficient scheduling in cross layer optimized clustered wireless sensor networks
US11616662B2 (en)Fractal tree structure-based data transmit device and method, control device, and intelligent chip
CN102624633A (en) A Time-Triggered SpaceWire Network Communication Method
Cengiz et al.Low energy fixed clustering algorithm (LEFCA) for wireless sensor networks
Haneef et al.Comparative analysis of classical routing protocol LEACH and its updated variants that improved network life time by addressing shortcomings in Wireless Sensor Network
CN104378426A (en)Load balancing method for real-time information distribution system
Xiaoping et al.An improved routing algorithm based on LEACH protocol
US8073014B2 (en)Method and apparatus for synchronizing nodes
Kumar et al.Survey on wireless sensor networks using MAC protocol
CN102769830A (en)Multicast message sending method, multicast message sending device and network device
Yang et al.Energy-aware real-time opportunistic routing for wireless ad hoc networks
Kaur et al.Securing the wireless sensor network from denial of sleep attack by isolating the nodes
Zhang et al.A relative clock based and energy sense MAC protocol for underwater acoustic communication networks
CN105101445B (en)A kind of time scheduling method and electronic equipment
CN102571430A (en)Method for synchronizing network devices and network devices
Golsorkhtabar et al.New power aware energy adaptive protocol with hierarchical clustering for WSN

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20140122


[8]ページ先頭

©2009-2025 Movatter.jp