CN101951640B - Industrial wireless network media access control method - Google Patents

Industrial wireless network media access control method Download PDF

Info

Publication number
CN101951640B
CN101951640B CN 201010283362 CN201010283362A CN101951640B CN 101951640 B CN101951640 B CN 101951640B CN 201010283362 CN201010283362 CN 201010283362 CN 201010283362 A CN201010283362 A CN 201010283362A CN 101951640 B CN101951640 B CN 101951640B
Authority
CN
China
Prior art keywords
frame
data
access
industrial
control method
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.)
Expired - Fee Related
Application number
CN 201010283362
Other languages
Chinese (zh)
Other versions
CN101951640A (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.)
Shenyang University of Chemical Technology
Original Assignee
Shenyang University of Chemical Technology
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 Shenyang University of Chemical Technology filed Critical Shenyang University of Chemical Technology
Priority to CN 201010283362 priority Critical patent/CN101951640B/en
Publication of CN101951640A publication Critical patent/CN101951640A/en
Application granted granted Critical
Publication of CN101951640B publication Critical patent/CN101951640B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to an industrial wireless network media access control method. In the control method, four types of frames, namely a beacon frame, a data frame, a response frame and a command frame are specified; meanwhile, in the operating process of the method, a protocol session mechanism, an access mechanism, an interframe forced waiting mechanism, a withdrawing mechanism after a busy channel is detected, a data retransmission mechanism and a packet receiving repeated monitoring mechanism are integrated into a system through a state machine. In the method, a superframe mechanism is adopted and a competition period and a non-competition period in each superframe are allocated according to a periodic communication task and an aperiodic communication task in the industrial Internet of things, so that real-time scheduling of the periodic communication task and the aperiodic communication task which are transmitted by an upper layer in a data link layer is considered, and negative effects of severe reduction in the communication quality of wireless technology in an industrial environment on industrial network application can be effectively relieved.

Description

A kind of industrial wireless network media access control method
Technical field
The present invention relates to a kind of Industry Control method, particularly relate to a kind of industrial wireless network media access control method of special use.
Background technology
Problem in the data link layer mainly can classify as two large problems, and the one, access problem, the 2nd, scheduling problem.This is the media access control (MAC) method applicable function of wanting emphasis to realize just also.At present, overwhelming majority media access control (MAC) method applicable has only been considered the physical layer characteristics, do not consider high-rise, application layer particularly, and use as one in technical grade Internet of Things typical case---based on wireless industrial network networked control systems, the contact of its application layer and data link layer closely, its communication information major part in application layer to have determined in advance (the periodical communication task in the schedule time list of generation).In addition, radio communication is the communication quality degradation in industrial environment, and this is so that existing media access control (MAC) method applicable can not satisfy the application demand of industry wireless network preferably, and wireless technology is used at the industrial network control field and is obstructed.
Summary of the invention
The object of the present invention is to provide a kind of industrial wireless network media access control method of special use.The method is used superframe mechanism, distribute competition phase and non-competing phase in each superframe according to periodical communication task in the technical grade Internet of Things and aperiodicity communication task, effectively alleviate wireless technology communication quality degradation in industrial environment and use the negative effect that brings to industrial network.
The objective of the invention is to be achieved through the following technical solutions:
A kind of industrial wireless network media access control method, this control method regulation Four types frame: beacon frame, Frame, acknowledgement frame and command frame; The frame that sends in contention access period uses the machine-processed access channel with the CSMA/CA of time slot, and the data one of transmission are the aperiodicity data in the industrial network system, and the 2nd, there is not the successfully periodic data of transmission in the previous non-competing phase (CFP); Unexpectedly strive the phase non-, data transfer does not use CSMA/CA mechanism access channel, equipment all is that the time slot in appointment sends data, the data that send during this period are the periodical communication tasks in the industrial network system, the periodical communication task that namely this corresponding time generates in the high-rise dispatch list that generates; Simultaneously, the running of the method comprises: avoidance mechanism, data re-transmission mechanism, bag after protocol conversation mechanism, access mechanism, interframe force waiting mechanism, supervisory channel busy receive and repeat monitoring mechanism, more than mechanism by there being state machine that they are integrated into a system.
Described a kind of industrial wireless network media access control method, its described protocol conversation mechanism, during CFP, only relate to the mutual participation of two kinds of frames, comprise the Frame from the source to the destination node, the ACK frame that Frame is responded from the purpose to the source node; During CAP, relate to the mutual participation of four kinds of frames, before source node sends data to destination node, the participation that requires to send frame RTS and confirm to send frame CTS.
Described a kind of industrial wireless network media access control method, its described access mechanism relates to access mechanism during CAP, and this mechanism has adopted system to specify the access scheme of the carrier sense collision avoidance protocol (CSMA/CA) of keeping out of the way; All frames are all with the duration value of their busy channels that requires.
Described a kind of industrial wireless network media access control method, its described interframe is forced waiting mechanism, and one of transmission experience between two frames is forced the stand-by period: comprise distributed inter-frame space, the interFrameGap of short interFrameGap and expansion.
Described a kind of industrial wireless network media access control method, the avoidance mechanism after its described supervisory channel is busy, system determines back off time according to the priority of data, the time quantum that must experience as access channel institute again.
Described a kind of industrial wireless network media access control method, its described data re-transmission mechanism, acknowledgement frame takes defeat the triggering retransmission mechanism, and according to the size of Frame number of retransmissions is had different restrictions, the long bag of regulation retry maximum times and short bag retry maximum times.
Described a kind of industrial wireless network media access control method, its described bag receive and repeat monitoring mechanism, and after bag received, relevant information was stored; The bag that repeats to receive will be abandoned by the MAC layer.
Advantage of the present invention and effect are:
The present invention is directed to the scheduling problem of communication task (comprising periodic task and aperiodicity task) in data link layer of industrial network networked control systems, design a kind of industrial wireless network media access control method of special use.The method is used superframe mechanism, distributes competition phase and non-competing phase in each superframe according to periodical communication task in the technical grade Internet of Things and aperiodicity communication task.It has taken into account periodical communication task and the Real-Time Scheduling of aperiodicity communication task in data link layer that assign on the upper strata, can effectively alleviate wireless technology communication quality degradation in industrial environment and use the negative effect that brings to industrial network.
Description of drawings
Fig. 1 is superframe structure figure of the present invention;
Fig. 2 is finite state machine figure of the present invention.
Embodiment
The present invention is described in detail with reference to the accompanying drawings.
Control method of the present invention has been stipulated the Four types frame: beacon frame, Frame, acknowledgement frame and command frame.Beacon frame sends to be responsible for tissue by the communication controler in the wireless industrial control system (coordinator is such as the LAS among the FF) only.Beacon frame has mainly comprised the basic condition of communication controler self, and whether the initial time slot of superframe and other equipment of network have the information such as data in communication controler.The effect of beacon frame mainly is to allow subset obtain the essential information of parent device when subset adds network, wherein mainly comprises network identity, the network address and the MAC Address of parent device.Simultaneously, beacon frame is realized the synchronous of equipment room as the origin identification of superframe.Superframe is different from beacon frame, Frame, acknowledgement frame and command frame, and superframe is a kind of mechanism that the time is managed, and is not the institutional framework of data message, thereby is not a frame on the practical significance, is a kind of temporal concept.In network, utilize superframe that the call duration time of data is carried out strict division.The structure of superframe stipulated by communication controler, for each subnet be take superframe as the cycle organization network in the communication of equipment room, this cycle equals the grand cycle in the high-rise schedule time list that generates.Each superframe sends beacon frame as initial take communication controler, has comprised superframe with time of continuing and to during this period of time information such as distribution in this beacon frame.Behind beacon frame when other equipment receive superframe and begin in the network, just can be according to the task of wherein content arrangement oneself, for example enter resting state until this superframe finishes or waits for receive data, and utilize superframe structure effectively to control the access of wireless channel.The definition of superframe: communication channel is divided into beacon frame sends phase, contention access period (CAP) and three kinds of states of non-competing phase (CFP), as shown in Figure 1.Superframe is divided into several isometric time slots (time slot), and wherein beacon frame accounts for a time slot.After the beacon frame transmission phase finished, channel just entered contention access period (CAP) and (CFP) alternating phases of non-competing phase that provides in advance.The parameters such as timeslot number that the length of time slot, each contention access period (CAP) and each non-competing phase (CFP) comprise are all determined by communication controler, and are broadcast to whole network by beacon frame.And communication controler is the zero-time of periodical communication task in the schedule time list that generates according to high level and how much stipulates the beginning of each non-competing phase (CFP) and the timeslot number that takies, remaining other times all are defined as contention access period (CAP), that is to say that the corresponding periodical communication task of contention access period (CAP) sets aside some time.In contention access period, except acknowledgement frame with immediately following any Frame after the data request command acknowledgement frame, all frames of transmission all use the CSMA/CA mechanism access channel with time slot.The data that send during this period have two classes, the one, the aperiodicity data in the industrial network system, as report to the police, bursty data reads etc., the 2nd, not have the successfully periodic data of transmission in the previous non-competing phase (CFP).If equipment does not have these two classes data to send out within this period, equipment can enter resting state to save energy.Unexpectedly strive the phase non-, data transfer does not use CSMA/CA mechanism access channel, and equipment all is that the time slot in appointment sends data, thereby has avoided the conflict access.The data that send during this period are the periodical communication tasks in the industrial network system, the periodical communication task that namely this corresponding time generates in the high-rise dispatch list that generates.
The concrete operating mechanism of the present invention comprises following:
Protocol conversation mechanism: protocol conversation mechanism only relates to the mutual participation of two kinds of frames during CFP, comprise the Frame from the source to the destination node, the ACK frame that Frame is responded from the purpose to the source node.If source node does not receive the ACK frame, and the time slot of distributing to this equipment do not use then and can retransmit, until receive the ACK frame.If distributing to the time slot of this equipment has used and has not received yet the ACK frame, then this Frame will use CSMA/CA mechanism to continue to retransmit during back to back CAP, until overtime or exceed the number of retransmissions of system regulation, keep out of the way by the back off time of system's regulation if run into conflict, this time is to stipulate according to the priority of these data.During CAP, relate to the mutual participation of four kinds of frames, before source node sends data to destination node, the participation that requires to send frame RTS and confirm to send frame CTS, they are used for the channel reservation bandwidth.Source node sends RTS request channel reservation to destination node first, if success, destination node can respond a CTS frame, and this process can be regarded as shaking hands before the transmission of data.After this could be to the Frame of destination node transmission from source node, if destination node successfully receives, destination node then sends the ACK frame that this Frame is responded to source node.If source node does not receive the ACK frame, then can wait for limitedly retransmitting data frame of suitable back off time and number of times.
Access mechanism: relate to access mechanism during CAP, this mechanism has adopted system to specify the access scheme of the carrier sense collision avoidance protocol (CSMA/CA) of keeping out of the way.Before the transmission beginning, radio node elder generation monitor channel.If it is occupied to listen to channel, then this node can transmission package.If simultaneously transmission package of two or more radio nodes is arranged, then produces conflict, and cause one or more bags impaired.For fear of conflict, occupied if node monitored channel before the beginning transmission package, then automatically enter and keep out of the way the stage.The time quantum that back off algorithm is selected is to be determined according to the priority of these data by system.Stipulate that this node must be waited for and could attempt during this period of time sending bag, the time of giving out a contract for a project simultaneously must be the zero hour of a time slot.Avoid in order further to conflict, this mechanism is introduced the variable of network allocation vector (NAV, Network Allocation Vector).The time that NAV indicates certain radio node to think that channel must be waited for before again open.All with the duration value of their busy channels that requires, radio node can make its NAV remain renewal by checking this value to all frames.If certainly do not receive acknowledgement frame from the point of destination point, then this time transmission writes off, and may cause this node to continue to use above-mentioned mechanism that this frame is retransmitted.Above-mentioned activity is finished in must be during this CAP, if finish to still have Frame successfully to transmit to this CAP, will wait until that then continuing competitive channel during the next CAP transmits, until overtime or exceed the number of retransmissions of system's regulation.
Interframe is forced waiting mechanism: the transmission between two frames must be experienced one forces the stand-by period: comprise distributed (coordination function) interFrameGap (Distributed (coordination function) Interframe space, DIFS), short interFrameGap (Short Interframe space, SIFS) and the expansion interFrameGap (Extended Interframe space, EIFS).
Avoidance mechanism after supervisory channel is busy: system determines back off time according to the priority of data, the time quantum that must experience as access channel institute again.
Data re-transmission mechanism: acknowledgement frame takes defeat the triggering retransmission mechanism, and the size according to Frame has different restrictions to number of retransmissions, regulation long bag retry maximum times (long retry limit) and short bag retry maximum times (short retry limit).
Bag receives and repeats monitoring mechanism: after bag received, relevant information was stored.Any bag that repeats to receive will be abandoned by the MAC layer.
Such as Fig. 2, based on above mechanism by there being state machine that they are integrated into a system.

Claims (1)

1. an industrial wireless network media access control method is characterized in that this control method regulation Four types frame: beacon frame, Frame, acknowledgement frame and command frame; The frame that sends in contention access period uses csma with time slot/collision avoidance protocol CSMA/CA mechanism access channel, the data one that send are the aperiodicity data in the industrial network system, the 2nd, there is not the successfully periodic data of transmission at previous non-competing phase CFP; Unexpectedly strive the phase non-, data transfer does not use CSMA/CA mechanism access channel, equipment all is that the time slot in appointment sends data, the data that send during this period are the periodical communication tasks in the industrial network system, the periodical communication task that namely this corresponding time generates in the high-rise dispatch list that generates; Simultaneously, the running of the method comprises: avoidance mechanism, data re-transmission mechanism, bag after protocol conversation mechanism, access mechanism, interframe force waiting mechanism, supervisory channel busy receive and repeat monitoring mechanism, more than mechanism by there being state machine that they are integrated into a system;
Described protocol conversation mechanism only relates to the mutual participation of two kinds of frames during CFP, comprise the Frame from the source node to the destination node, replys the ACK frame to what Frame responded from the destination node to the source node; During contention access period CAP, relate to the mutual participation of four kinds of frames, before source node sends data to destination node, the participation that requires to send frame RTS and confirm to send frame CTS;
Described access mechanism relates to access mechanism during contention access period CAP, the access scheme of the csma that this access mechanism has adopted system to specify to keep out of the way/collision avoidance protocol CSMA/CA; All frames are all with the duration value of their busy channels that requires;
Described interframe is forced waiting mechanism, and one of transmission experience between two frames is forced the stand-by period: comprise distributed inter-frame space, the interFrameGap of short interFrameGap and expansion;
Avoidance mechanism after described supervisory channel is busy, system determines back off time according to the priority of data, the time quantum that must experience as access channel institute again;
Described data re-transmission mechanism, acknowledgement frame takes defeat the triggering retransmission mechanism, and according to the size of Frame number of retransmissions is had different restrictions, the long bag of regulation retry maximum times and short bag retry maximum times;
Described bag receives and repeats monitoring mechanism, and after bag received, relevant information was stored; The bag that repeats to receive will be abandoned by the MAC layer.
CN 201010283362 2010-09-16 2010-09-16 Industrial wireless network media access control method Expired - Fee Related CN101951640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010283362 CN101951640B (en) 2010-09-16 2010-09-16 Industrial wireless network media access control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010283362 CN101951640B (en) 2010-09-16 2010-09-16 Industrial wireless network media access control method

Publications (2)

Publication Number Publication Date
CN101951640A CN101951640A (en) 2011-01-19
CN101951640B true CN101951640B (en) 2013-02-20

Family

ID=43454965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010283362 Expired - Fee Related CN101951640B (en) 2010-09-16 2010-09-16 Industrial wireless network media access control method

Country Status (1)

Country Link
CN (1) CN101951640B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413580B (en) * 2011-11-16 2014-05-07 浙江宇脉科技有限公司 Method for controlling wireless network access
CN102857327B (en) * 2012-04-16 2014-12-03 华为技术有限公司 Data transmission method and apparatus
CN103747006A (en) * 2014-01-20 2014-04-23 沈阳化工大学 Medium access control method of wireless control network
CN106162731A (en) * 2015-03-23 2016-11-23 上海宝钢工业技术服务有限公司 Industrial field data transmission method based on 3G wireless network
CN113785538B (en) * 2019-05-03 2024-04-02 微芯片技术股份有限公司 Media access for time-sensitive and best effort data packets and related systems, methods and devices
EP4084417A4 (en) * 2019-12-25 2023-02-08 Panasonic Intellectual Property Management Co., Ltd. Communication device, communication system, communication control method and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100877633B1 (en) * 1999-07-09 2009-02-06 말리부 네트웍스, 인코퍼레이티드 Tcp/ip packet-centric wireless transmission system architecture
CN1784860B (en) * 2003-05-07 2011-09-21 索尼株式会社 Radio communication system,radio communication device,radio communication method, and computer program
CN101605357B (en) * 2009-07-01 2012-07-04 杭州华三通信技术有限公司 Method for accessing public switched telephone network by wireless network device and wireless network device

Also Published As

Publication number Publication date
CN101951640A (en) 2011-01-19

Similar Documents

Publication Publication Date Title
CN101951640B (en) Industrial wireless network media access control method
KR100564761B1 (en) The hybrid inter token Carrier Sensing Multiple Access/Collision Avoidance protocol
EP1233574B1 (en) Unified Channel Access for Supporting Quality of Service (QoS) in a Local Area Network
Shahin et al. Hybrid slotted-CSMA/CA-TDMA for efficient massive registration of IoT devices
JP4155801B2 (en) Method for securing channel of QoS manager in home plug network
JP4480563B2 (en) QoS control method for wireless LAN base station apparatus
CN100592715C (en) Wireless communication device and wireless communication method
US8416799B2 (en) Systems, methods and apparatuses for wireless communication
EP2485436A1 (en) Communication method in a profinet communication system
JP2010530712A (en) Method and apparatus for media access in a contention network
CN102625466A (en) Distributed media access method used in wireless local area network
CN103687045A (en) Method and device for service sending
CN102316518A (en) Improved request-to-send (RTS)/clear-to-send (CTS) communication control method
CN109982421A (en) A kind of low-power consumption narrowband radio network information channel cut-in method
Li et al. A cluster based on-demand multi-channel MAC protocol for wireless multimedia sensor networks
WO2015103834A1 (en) Method, device and system for realizing vlc dynamic access
Verma et al. A robust hybrid-MAC protocol for M2M communications
JP5376673B2 (en) Device for media access in contention network
CN105682102B (en) One kind exempting from authorization channel contention parameter generation method and device
JP5631845B2 (en) Wireless LAN access control method and wireless LAN system
JP5389839B2 (en) Wireless LAN access control method and wireless LAN system
KR101339604B1 (en) A method for resource management in multi-user hybrid medium access control (HMAC)-based wireless networks
WO2017024858A1 (en) Spectrum sharing method and device for unlicensed spectrum
CN116158167A (en) Method, device and system for controlling media access
Liu et al. A medium access scheme with dynamic contention window-based successive transmission for visible light communications system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20110119

Assignee: Shenyang Star Technology Co., Ltd.

Assignor: Shenyang University of Chemical Technology

Contract record no.: 2014210000046

Denomination of invention: Industrial wireless network media access control method

Granted publication date: 20130220

License type: Common License

Record date: 20140609

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130220

Termination date: 20150916

EXPY Termination of patent right or utility model