CN106533833A - Method for reducing conflict of carrier interception multipath accessing resources - Google Patents
Method for reducing conflict of carrier interception multipath accessing resources Download PDFInfo
- Publication number
- CN106533833A CN106533833A CN201611044703.XA CN201611044703A CN106533833A CN 106533833 A CN106533833 A CN 106533833A CN 201611044703 A CN201611044703 A CN 201611044703A CN 106533833 A CN106533833 A CN 106533833A
- Authority
- CN
- China
- Prior art keywords
- data
- website
- group
- csma
- equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B3/00—Line transmission systems
- H04B3/54—Systems for transmission via power distribution lines
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/62—Queue scheduling characterised by scheduling criteria
- H04L47/625—Queue scheduling characterised by scheduling criteria for service slots or service orders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/62—Queue scheduling characterised by scheduling criteria
- H04L47/625—Queue scheduling characterised by scheduling criteria for service slots or service orders
- H04L47/6275—Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Power Engineering (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention claims a method for reducing conflict of carrier interception multipath accessing resources, and belongs to the technical field of transmission resources in electric carrier communication systems. The method includes the steps of dividing all equipment sharing transmission resources into N groups, dividing the starting time area of carrier interception multipath accessing area into N conflict detection slots after grouping is finished, and preliminarily assigning a fixed conflict detection slot for each group of equipment on a CSMA transmission resource beginning area. The equipment of each group can only transmit data when no other equipment transmits data in the area, and the equipment of each group can neither conduct conflict detection during other moment nor start data transmission.
Description
Technical field
The present invention relates to power carrier communication system technical field, more particularly in broadband power carrier communication system
Carrier Sense Multiple Access transfer resource occupation mode.
Background technology
Carrier Sense Multiple Access (claims:Carrier Sense Multiple Access), two ways is segmented into,
Csma/collision detection method (claims Carrier Sense Multiple Access/Collision
Detection, referred to as:CSMA/CD) (claim with csma/conflict avoidance:Carrier Sense multiple
Access/Collision Avoidance, referred to as:CSMA/CA).All it is the media access control protocol of contention type, positioned at number
According to link layer, the former is used for cable network and the latter is used for wireless network.
In the network using distributed AC servo system, each node of bus is attached by way of competition, obtains bus
The right to use.Only obtaining usufructuary node just can be to bus sending information frame, the information frame owning attached bus
Node is perceived.Content in terms of including three below:Carrier sense -- node was sent before information frame is sent, it is necessary to intercept media
Whether idle condition is in;Multiple access -- with two kinds of implications, both represented that multiple nodes can be also illustrated that while access media
The information frame of one node transmission can be received by multiple nodes;Collision detection -- send node and send the same of information frame
When, it is necessary to media are monitored, judges whether to clash, i.e. synchronization, whether there is other nodes and also sending information frame.
In practical engineering application, using csmas of the CSMA/CD with collision detection, punching can be detected
It is prominent, but conflict " cannot be avoided ".Using CSMA/CA:Carrier Sense Multiple Access with conflict avoidance, sends while bag not
Can detect has Lothrus apterus on channel, " can only avoid " as far as possible.So in Carrier Sense Multiple Access CSMA systems, no matter adopting
Which kind of mode conflict cannot be all avoided to exist with.
In some special scenes, this conflict can be more serious, and system may be caused to carry out normal work.As schemed
Shown in 1, the transfer resource of all of equipment all shared systems, and each equipment in system is all in synchronous regime, but
When in system, each equipment needs to carry out data transmission, the situation due to not knowing other equipment, so setting at each
It is standby, it is required for checking whether other equipment is currently in use transfer resource when carrying out data transmission every time, if there is other
Equipment is currently in use the situation of transfer resource, then the equipment will automatically provide avoidance mechanism, waits the data transfer transmitted
After completing, reattempt and whether can use transfer resource.
In this scenario, each equipment is required for monitoring in real time and whether have on transfer resource Frame and send, if there is
Frame sends, then monitor the Frame, and judge the Frame end time.After the data frame transfer is finished, then
Check whether and can use transfer resource.If terminal is fewer in systems, and in the case that portfolio is also fewer,
Data transfer demands are disclosure satisfy that, but if devices in system is relatively more, and business is busier, this adds increased
Multiple equipment sends the situation of data simultaneously, is also increased by collision probability, and system transmission resources utilization rate will be caused to reduce, or even
System normally cannot be used.
As described above, the present invention proposes a kind of method for reducing collision probability, improves the transfer resource of system
Utilization rate, being prevented effectively from causes the situation of system congestion due to conflict.
The content of the invention
Present invention seek to address that above problem of the prior art.Propose a kind of Carrier Sense Multiple Access resource that reduces to rush
Prominent method.Technical scheme is as follows:
A kind of method for reducing Carrier Sense Multiple Access resource contention, which comprises the following steps:
The all devices of shared transfer resource are grouped, group number is N groups;
After packet is completed, the time started in Carrier Sense Multiple Access region is distinguished into N number of collision detection timeslice, is
Every group of equipment starts area in CSMA transfer resources and is expected one section of fixed collision detection timeslice of distribution, wherein every group of equipment only has
Detected when no other equipment carries out data transmission in this region and can just be carried out data transmission, this group of equipment can not be at which
He carries out collision detection constantly, can not proceed by data transfer.
Further, all devices by shared transfer resource carry out packet using following three kinds of packet modes
One of be grouped, including:First kind of way:Classified according to device identification;
The second way:It is grouped according to the priority of business datum in the priority or equipment of equipment;
The third mode:It is grouped according to the data volume size of data buffer storage in equipment.
Further, the collision detection time leaf length of the equipment is not less than Δ Tdelay+ΔTdetectTime, Δ Tdelay
The maximum transmission time shared in expression system between transfer resource equipment postpones, Δ TdetectExpression equipment is used to detect transmission
Whether there is the time of transmission data block in resource.
Further, when carrying out being grouped into N groups using site identity using first kind of way, it is assumed that first group and
There is website to need to carry out data transmission in shared CSMA time slots in three groups, then idiographic flow is as follows:
Step one:All site search beacon slots, according to time slot parameter in beacon, determine tdma slot it is interval,
CSMA slot sections and binding CSMA slot sections;
Step 2:In CSMA time slot start times, in first CSMA collision detection timeslice, can only be first packet
Website carries out detection use, and other packet websites can not be used;Data are sent due to there is website in first group, so first group
After website carries out collision detection in group, transmission data will be started in first CSMA collision detection timeslice;
Step 3:Although having website to need transmission data in the 3rd group, start just to have received first in CSMA time slots
The data that website sends in group, so data can not be sent on CSMA time slots, however it is necessary that website sends in first group of detection
The end time of data block;
Step 4:After website has sent data block in the first set, each website continues the respective CSMA conflicts of detection
Detection time piece, at the moment, as the first packet does not have a data transfer, second packet also no data transfer, so the
In three packet website CSMA collision detection timeslices, without discovery, other websites send data, then the website in the 3rd packet will
Data block is sent in the competition of the 3rd collision detection timeslice;
Step 5:In first group, website has sent data, and in the 3rd group, website has also sent data, if in CSMA time slots
In there remains enough time and send a data block, then after in the 3rd group, station data has sent, each website is by basis
Oneself place collision detection timeslice carries out the result of collision detection and uses transfer resource, if not enough transmission remaining time one
Data block, then abandon piece remaining time.
Further, in PLC system, data are sent and adopts SOF frame formats, load will be indicated in control frame
Lotus frame length, it is possible thereby to calculate the end time of load frame.
Advantages of the present invention and have the beneficial effect that:
In Practical Project is realized, if not adopting the inventive method, then in system, all shared transfer resources sets
It is standby to start all to carry out collision detection in CSMA regions, as long as data block is not detected by transfer resource transmitting, then
The equipment just can directly use transfer resource, and in large number quipments system, the conflict that distinct device is transmitted data block is general
Rate is greatly increased.If adopting the inventive method, devices in system is divided into into different packets first, is then set to different grouping
Standby to provide a fixed-conflict detection time piece, the equipment for being so assigned to each collision detection timeslice will be significantly less, false
It is fixed that all devices be divide into into N groups (N is more than or equal to 1), then in CSMA data transmission procedures, collision probability will reduce 1/N, institute
To also reduce the probability that distinct device is clashed in transfer resource transmitting data block.
Secondly, using the different grouping mode in the invention, the effect preferentially used by different transfer resources can be reached,
If be grouped according to device identification, then the equipment in system can be distributed in each packet in a balanced way.If root
It is grouped according to priority facility or business datum priority, then can be completed the prioritised transmission high priority on CSMA regions
The data or high-priority service data of equipment.It is grouped according to the buffer data size in equipment, buffer data size is big
, then can there is the probability that equipment cannot get transfer resource all the time in reduction system in equipment prioritised transmission data block.
So the probability that distinct device is clashed using transfer resource can be effectively reduced using the patent of invention.
Description of the drawings
Fig. 1 is CSMA competition conflict schematic diagrams in prior art;
Fig. 2 is preferred embodiment of the present invention device packets transmission schematic diagram;
Device packets transmission schematic diagram in Fig. 3 preferred embodiment of the present invention virtual carrier collision detection;
One website of Fig. 4 preferred embodiment of the present invention is grouped schematic diagram;
One data transfer schematic diagram of Fig. 5 preferred embodiment of the present invention;
Two service message priority packet schematic diagram of Fig. 6 preferred embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, detailed
Carefully describe.Described embodiment is only a part of embodiment of the present invention.
Technical scheme is as follows:
The present invention proposes the method that a kind of shared transfer resources of reduction CSMA cause to conflict, and it is characterized in that shared transmission
The all devices of resource are grouped, and to be every group of equipment start area in CSMA transfer resources is expected that one section of distribution is fixed to rush
Prominent detection time piece, this group of equipment are only detected in this region when no other equipment carries out data transmission and can just be carried out
Data transfer, this group of equipment can not carry out collision detection at other moment, can not proceed by data transfer.Such as Fig. 2 equipment
Shown in packet transmission schematic diagram, all devices in system are divided into into N groups first, the beginning in CSMA regions is divided into into N secondly
Individual collision detection timeslice, can only carry out collision detection in collision detection timeslice 1 in first group of equipment, if in punching
In prominent detection time piece 1, no equipment is used, then the terminal just log-on data block can be transmitted immediately, and other packet equipments are adopted
Same processing method.
In a CSMA region, identical device or distinct device can carry out the time sharing transmissions of multiple packets, not have
There is the equipment for carrying out data transmission by the transfer resource occupancy situation in monitoring CSMA regions in real time, transmit according in CSMA regions
The characteristic of packet, calculates the end time just in transmission data block, after waiting the packet end of transmission, further according to setting
The collision detection timeslice of standby residing this group of packet inspection, if this group of other equipment does not send data block, the equipment can
So that data block is sent on transfer resource.As shown in device packets transmission schematic diagram in Fig. 3 virtual carrier collision detection, during beginning
Device packets 1, device packets 2 are carved to all no transmission of data blocks of equipment in device packets M-1 (M is less than or equal to N), at M point
In group, equipment L in M collision detection timeslices is not detected by other-end and carries out transmission of data blocks, then equipment L is in transmission money
Data block is sent on source, after waiting the L device data block ends of transmission, collision detection timeslice of all devices in each self-grouping
On continue to detect whether to carry out data transmission.
Further describe:In system transmission data in need equipment CSMA regions proceed by transfer resource inspection
Survey, if equipment has detected transmission of data blocks on transfer resource, the equipment need not be in the collision detection time of oneself
Collision detection is carried out on piece, the equipment can not take transfer resource and carry out the transmission of data block.
There are three kinds of modes in the system equipment packet in the invention
First kind of way:Classified according to the mark of equipment, in systems, carried out phase intercommunication between equipment for convenience
Letter, each equipment have a unique device identification, and equipment can be divided into multigroup according to device identification by the invention, in CSMA
In region, to the collision detection timeslice that every group of equipment distribution is fixed.
The second way:Classified according to priority facility, in systems, different brackets equipment or same levels set
Standby different business data block, can all be allocated different priority, and the invention can be according to business number in equipment and equipment
It is grouped according to priority, the high equipment of priority or business datum block will distribute collision detection timeslice above.
The third mode:It is grouped according to the data volume of data buffer storage in equipment, in systems, distinct device is using punching
Prominent competitive way fights for transfer resource, is likely to result in the chance that some terminals cannot send data block all the time, result in logical
Letter obstruction.The present invention will be grouped according to buffer data size size, and the big packet distribution of buffer data size is in conflict above
In detection time piece.
In the present invention, the feature according to system, can select one way in which to carry out device packets, concrete packet count
Mesh is determined according to system features.
Also related to collision detection time leaf length in the invention, the concrete collision detection time leaf length of system according to
Different system feature determines, is determined in terms of two.
First aspect:The maximum transmission time shared in system between transfer resource equipment postpones, or referred to as between equipment
Transmission range on transfer resource.Transmission time length or the system of long transmission distance, then collision detection time leaf length is long,
It is assumed that:ΔTdelay。
Second aspect:Devices in system detects the time on transfer resource with the presence or absence of transmission data block, it is assumed that be:Δ
Tdetect。
Comprehensive situation above, the length of collision detection timeslice are not less than Δ Tdelay+ΔTdetectTime.
In Practical Project is realized, if not adopting the inventive method, then in system, all shared transfer resources sets
It is standby to start all to carry out collision detection in CSMA regions, as long as data block is not detected by transfer resource transmitting, then
The equipment just can directly use transfer resource, and in large number quipments system, the conflict that distinct device is transmitted data block is general
Rate is greatly increased.If adopting the inventive method, devices in system is divided into into different packets first, is then set to different grouping
Standby to provide a fixed-conflict detection time piece, the equipment for being so assigned to each collision detection timeslice will be significantly less, institute
To also reduce the probability that distinct device is clashed in transfer resource transmitting data block.
Secondly, using the different grouping mode in the invention, the effect preferentially used by different transfer resources can be reached,
If be grouped according to device identification, then the equipment in system can be distributed in each packet in a balanced way.If root
It is grouped according to priority facility or business datum priority, then can be completed the prioritised transmission high priority on CSMA regions
Equipment or high-priority service data.It is grouped according to the buffer data size in equipment, the big equipment of buffer data size is excellent
, then can there is the probability that equipment cannot get transfer resource all the time in reduction system in first transmission data block.
So the probability that distinct device is clashed using transfer resource can be effectively reduced using the patent of invention.
In order to better illustrate present invention application in systems in practice, this will be illustrated using three embodiments below
The using method of invention.
Instantiation one:
Broadband power carrier communication is (referred to as:PLC), be transmission medium with transmission line of electricity as carrier signal power communication
System.As transmission line of electricity possesses very firm supporting construction, and set up the conductor of more than 3 and (typically have three-phase good conductor
And one or two aerial earth wire), so power transmission line conveying power current while, with transmission carrier signal, not only economy but also ten
Divide reliable.This comprehensive utilization becomes the peculiar means of communication that all power departments are preferentially adopted in the world already.In order to promote
Company standard agreement has also been issued in the application of power line carrier, PLC, national grid《Power user power consumption information acquisition system communicates
Agreement》.
Signal modulation is carried out using OFDMA modes clearly in the protocol, three class resources is divide into using in transfer resource,
It is time-division TDMA resource that one class is fixed beacon resource, a class, and last class is then the CSMA moneys using shared competitive mode
Source.The invention is mainly used in the service efficiency for improving shared competitive mode CSMA transfer resource.According to the content of the invention, website packet
There are three kinds of modes, i.e., carry out classifying according to site identity, website priority is classified and save buffer data volume is classified.
First below using by the way of being grouped using site identity illustrate the present invention using method.In PLC systems
Site identity (abbreviation in system:TEI) using 12 bit identifications, it is grouped according to the TEI values of equipment, it is assumed that stand in the embodiment
Point is divided into N groups, then (TEI%N)+1 numerical value is exactly the specific packet number (remarks of website:% represents mathematics modular arithmetic).
Assume that the PLC system has 80 websites, be divided into 8 packets, 8 CSMA conflict times are added up to according to the present invention
Detection zone, i.e. N=8, then have 10 websites per group.Website is grouped schematic diagram packet configuration such as Fig. 4.
There is website to need to carry out data transmission in shared CSMA time slots in assuming first group and the 3rd group, then idiographic flow
It is as follows:
Step one:All site search beacon slots, according to time slot parameter in beacon, determine tdma slot it is interval,
CSMA slot sections and binding CSMA slot sections.
Step 2:In CSMA time slot start times, in first CSMA collision detection timeslice, can only be first packet
Website carries out detection use, and other packet websites can not be used.Data are sent due to there is website in first group, so first group
After website carries out collision detection in group, transmission data will be started in first CSMA collision detection timeslice.
Step 3:Although having website to need transmission data in the 3rd group, start just to have received first in CSMA time slots
The data that website sends in group, so data can not be sent on CSMA time slots, however it is necessary that website sends in first group of detection
The end time of data block, in PLC system, send data and adopt SOF frame formats, load frame length will be indicated in control frame
Degree, it is possible thereby to calculate the end time of load frame.
Step 4:After website has sent data block in the first set, each website continues the respective CSMA conflicts of detection
Detection time piece.As shown in Figure 5.At the moment, as the first packet does not have data transfer, also no data are passed second packet
It is defeated, so without discovery, other websites send data in the 3rd packet website CSMA collision detection timeslices, then the 3rd point
Website in group will send data block in the competition of the 3rd collision detection timeslice.In Fig. 5 data transfer schematic diagrams, frame period is responded
(RIFS), in referring to the scene of the frame that needs to await a response, between message and the Echo Frame of message, need between the protocol frame of physical layer
Minimum frame gap to be ensured.Competition frame period (CIFS) refers in the time slot for needing competition, when website needs to send message,
The minimum frame gap for ensureing is needed between the protocol frame of physical layer.
Step 5:In first group, website has sent data, and in the 3rd group, website has also sent data, if in CSMA time slots
In there remains enough time and send a data block, then after in the 3rd group, station data has sent, each website is by basis
Oneself place collision detection timeslice carries out the result of collision detection and uses transfer resource.If transmission one that remaining time is not enough
Data block, then abandon piece remaining time.
Using the method for the present invention, first group and the 3rd group of website are assigned to into different collision detection timeslices,
In one group website send data when, in the 3rd group website be not involved in competition send, so in reducing first group website by
Cause to send the probability of failure in conflict.
Specific embodiment two:
The method that site identity packet is employed in specific embodiment one, in practical engineering application, it would however also be possible to employ
Website priority or service priority are grouped, and are just employed priority mode below and are grouped.
In PLC system, the data message of transmission is segmented into two big class, and a class is using message, a class is net in addition
Network management sub-layer message.
In competitive channel, the higher message of priority or equipment relative to priority it is low should have higher channel
Competitiveness, i.e., should preempt collision detection timeslice.In frame starting (referred to as:SOF Variable Area) has a link
Identifier field, for representing different priority or different business.The priority of message is determined by classifying ruless and is shown in Table
1.
1 message classification rule table of table
VLAN is (referred to as:Vlan) label is used for message classification and prioritization.For application layer miscellaneous service
The priority definition of message is as shown in table 2, and can be with oneself definition for the priority of the message of network management sublayer.
2 service message priority of table
The network management sublayer message priority defined in the real-time example is higher than to apply message, and " actively will be noted from node
Volume " is referred to " network management sublayer message ", then can will be various packets as follows:
Table 3 is grouped according to priority
Description of the invention, then the collision detection timeslice of PLC transfer resource CSMA time slots is divided into into 5 portions
Divide, i.e. CSMA collision detection timeslice 1, CSMA collision detection timeslice 2, CSMA collision detection timeslice 3, CSMA collision detection
Timeslice 4, CSMA collision detection timeslice 5.Such as table 3, shown in Fig. 6 service message priority packet schematic diagrams.
In this example it is assumed that there is different websites to need to carry out to check meter message and communication test message while needing CSMA
Transfer resource, concrete operation step are as follows.
Step one:It is assumed that website L needs transmission to check meter message, website M needs to send communication test message, in website M and
After website L starts complete networking, two websites are synchronized on central control station point, and will be received from central control station
The central beacon of point.In central beacon, central control station point gives beacon slot, tdma slot, CSMA time slots and ties up
Determine CSMA time slot design parameters, each website will calculate the start and end time point in each transfer resource area.
Step 2:Website L and website M wait until CSMA time slot due ins, as website L transmission is checked meter message, and website M
Transmission communication test message, so website L detects whether that in CSMA collision detection timeslice 2 there are other websites sends number
According to if it is not, website L will use CSMA time interval resources competition between 2 websites is grouped.Use if there is website
CSMA time slots, then need to wait chance next time.
Step 3:Website L and website M, starts to detect whether that there are other websites sends data from CSMA time slots, in the reality
Apply in example, the data that website L starts to send in CSMA collision detection timeslice 2 will be received by website M, website M will parse station
The control frame that point L sends, and calculate the concrete time that website L sends message of checking meter.
Step 4:Website M waits website L to be sent completely message of checking meter, and website M is examined in CSMA collision detection timeslice 5
Survey and data are sent with the presence or absence of other websites, if it is not, website M sends communication check message.Otherwise website M is by under wait
Send opportunity.
Using the inventive method, the priority for sending message using website is grouped, and is the website point of different priorities
With fixed CSMA collision detection timeslices.Conflict during different websites transmission difference messages is effectively prevent, CSMA is improve
The utilization rate of time slot.
Specific embodiment three:
In addition to the mode is grouped by both the above example, can also be using data buffer storage in website according to the present invention
Data volume be grouped.
In this example it is assumed that maximum outgoing data amount is K bytes, website is divided into into L groups, then concrete packet such as table
Shown in 4.
Table 4 is grouped according to outgoing data amount
Data volume (M) | Packet |
(K/L) (L-1)=<M | 1 |
(K/L) (L-2)=<M<(K/L)(L-1) | 2 |
... | ... |
0=<M<K/L | L |
Parameter K byte and L packet counts are directed to, can be fixed in site apparatus design, it is also possible in central control
Broadcast in the central beacon of website.
In practice, it is assumed that data to be transmitted amount is K1 and K2 bytes to two websites of site STA 1 and STA2 respectively, according to
Table 4 is calculated, it is assumed that STA1 drops into the first packet and STA2 is dropped in second packet.When so STA1 and STA2 shares CSMA
It is as follows that gap sends data step:
Step one:Site STA 1 and the start of site STA 2 will synchronize to central control station point, and root after completing to network
According to the central beacon that central control station point is broadcasted, beacon slot, CSMA time slots, tdma slot and binding CSMA time slots are calculated
The starting and ending moment.
Step 2:When CSMA time slots arrive, STA1 has detected whether other websites in CSMA collision detection timeslice 1
Using transfer resource, if it is not, STA1 sends data on CSMA time slots.
Step 3:Site STA 2 detects CSMA time slots, if STA1 transmissions are received in CSMA collision detection timeslice 1
Data, then STA2 will not detect transmission data in CSMA collision detection timeslice 2, STA1 will be waited to be sent completely after,
Detect whether again to send data.
The communication blocking brought as the data volume of system transfers is excessive can effectively be alleviated using the packet mode
Problem.The unity of thinking of the packet mode and first two packet mode is further right according to the size of the data volume cached in equipment
Equipment is grouped, and the collision detection timeslice occupied by the bigger equipment of the data volume of caching is more forward, i.e., when no equipment
The packet that this group of equipment has precedence over below when carrying out data transmission carries out collision detection.
The above embodiment is interpreted as being merely to illustrate the present invention rather than limits the scope of the invention.
After the content of the record for having read the present invention, technical staff can be made various changes or modifications to the present invention, these equivalent changes
Change and modification equally falls into the scope of the claims in the present invention.
Claims (5)
1. it is a kind of reduce Carrier Sense Multiple Access resource contention method, it is characterised in that comprise the following steps:
The all devices of shared transfer resource are grouped, group number is N groups;
After packet is completed, the time started in Carrier Sense Multiple Access region is distinguished into N number of collision detection timeslice, is per group
Equipment starts area in CSMA transfer resources and is expected one section of fixed collision detection timeslice of distribution, wherein every group of equipment is only at this
Detect in region when no other equipment carries out data transmission and can just carry out data transmission, this group of equipment can not be at other
Quarter carries out collision detection, can not proceed by data transfer.
2. it is according to claim 1 reduce Carrier Sense Multiple Access resource contention method, it is characterised in that it is described will
The all devices of shared transfer resource are grouped to be grouped using one of following three kinds of packet modes, including:The first side
Formula:Classified according to device identification;
The second way:It is grouped according to the priority of business datum in the priority or equipment of equipment;
The third mode:It is grouped according to the data volume size of data buffer storage in equipment.
3. it is according to claim 1 and 2 reduce Carrier Sense Multiple Access resource contention method, it is characterised in that institute
The collision detection time leaf length for stating equipment is not less than Δ Tdelay+ΔTdetectTime, Δ TdelayTransmission is shared in expression system
Maximum transmission time between resource apparatus postpones, Δ TdetectExpression equipment is used to detect on transfer resource with the presence or absence of transmission
The time of data block.
4. it is according to claim 2 reduce Carrier Sense Multiple Access resource contention method, it is characterised in that
When carrying out being grouped into N groups using site identity using first kind of way, it is assumed that have website in first group and the 3rd group
Needs carry out data transmission in shared CSMA time slots, then idiographic flow is as follows:
Step one:All site search beacon slots, according to time slot parameter in beacon, determine tdma slot interval, CSMA
Slot section and binding CSMA slot sections;
Step 2:In CSMA time slot start times, in first CSMA collision detection timeslice, can only be first packet website
Detection use is carried out, other packet websites can not be used;Data are sent due to there is website in first group, so first group of website
After collision detection is carried out in group, transmission data will be started in first CSMA collision detection timeslice;
Step 3:Although having website to need transmission data in the 3rd group, start just to have received in first group in CSMA time slots
The data that website sends, so data can not be sent on CSMA time slots, however it is necessary that website sends data in first group of detection
The end time of block;
Step 4:After website has sent data block in the first set, each website continues the respective CSMA collision detection of detection
Timeslice, at the moment, as the first packet does not have a data transfer, second packet also no data transfer, so at the 3rd point
Data are sent without finding other websites in group website CSMA collision detection timeslices, then the website in the 3rd packet will be the
The competition of three collision detection timeslices sends data block;
Step 5:In first group, website has sent data, and in the 3rd group, website also sends data, if also remained in CSMA time slots
Remaining enough time sends a data block, then after in the 3rd group, station data has sent, each website will be according to oneself institute
The result that collision detection is carried out in collision detection timeslice uses transfer resource, if one data of not enough transmission remaining time
Block, then abandon piece remaining time.
5. it is according to claim 4 reduce Carrier Sense Multiple Access resource contention method, it is characterised in that in PLC
In system, send data and adopt SOF frame formats, load frame length will be indicated in control frame, it is possible thereby to calculate load frame
End time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611044703.XA CN106533833B (en) | 2016-11-24 | 2016-11-24 | A method of reducing Carrier Sense Multiple Access resource contention |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611044703.XA CN106533833B (en) | 2016-11-24 | 2016-11-24 | A method of reducing Carrier Sense Multiple Access resource contention |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106533833A true CN106533833A (en) | 2017-03-22 |
CN106533833B CN106533833B (en) | 2019-09-10 |
Family
ID=58356835
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611044703.XA Active CN106533833B (en) | 2016-11-24 | 2016-11-24 | A method of reducing Carrier Sense Multiple Access resource contention |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106533833B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107295567A (en) * | 2017-07-21 | 2017-10-24 | 重庆邮电大学 | A kind of unlimited resources collision detection method based on frame structure |
CN110190873A (en) * | 2019-05-30 | 2019-08-30 | 磐基技术有限公司 | A kind of wire communication method for supporting multi-user |
CN111405678A (en) * | 2020-02-19 | 2020-07-10 | 重庆邮电大学 | CSMA-CA method based on virtual carrier sensing and priority scheduling |
CN112332889A (en) * | 2017-04-10 | 2021-02-05 | 华为技术有限公司 | Data transmission method and device, power line communication network and power system |
CN113747582A (en) * | 2021-08-18 | 2021-12-03 | 珠海中慧微电子有限公司 | Configuration method and device of beacon time slot area, storage medium and node |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090040991A1 (en) * | 2007-08-08 | 2009-02-12 | Ntt Docomo, Inc. | Wireless communication device and wireless communication method |
CN102076068A (en) * | 2010-12-31 | 2011-05-25 | 吉林大学 | ZigBee energy saving method based on space-time adjustment |
CN102883460A (en) * | 2011-07-15 | 2013-01-16 | 中兴通讯股份有限公司 | Service data transmitting method and system |
-
2016
- 2016-11-24 CN CN201611044703.XA patent/CN106533833B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090040991A1 (en) * | 2007-08-08 | 2009-02-12 | Ntt Docomo, Inc. | Wireless communication device and wireless communication method |
CN102076068A (en) * | 2010-12-31 | 2011-05-25 | 吉林大学 | ZigBee energy saving method based on space-time adjustment |
CN102883460A (en) * | 2011-07-15 | 2013-01-16 | 中兴通讯股份有限公司 | Service data transmitting method and system |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112332889A (en) * | 2017-04-10 | 2021-02-05 | 华为技术有限公司 | Data transmission method and device, power line communication network and power system |
CN112332889B (en) * | 2017-04-10 | 2021-10-26 | 华为技术有限公司 | Data transmission method and device, power line communication network and power system |
CN107295567A (en) * | 2017-07-21 | 2017-10-24 | 重庆邮电大学 | A kind of unlimited resources collision detection method based on frame structure |
CN107295567B (en) * | 2017-07-21 | 2020-04-07 | 重庆邮电大学 | Wireless resource conflict detection method based on frame structure |
CN110190873A (en) * | 2019-05-30 | 2019-08-30 | 磐基技术有限公司 | A kind of wire communication method for supporting multi-user |
CN110190873B (en) * | 2019-05-30 | 2022-04-08 | 磐基技术有限公司 | Wired communication method supporting multiple users |
CN111405678A (en) * | 2020-02-19 | 2020-07-10 | 重庆邮电大学 | CSMA-CA method based on virtual carrier sensing and priority scheduling |
CN111405678B (en) * | 2020-02-19 | 2023-02-17 | 重庆邮电大学 | CSMA-CA method based on virtual carrier sensing and priority scheduling |
CN113747582A (en) * | 2021-08-18 | 2021-12-03 | 珠海中慧微电子有限公司 | Configuration method and device of beacon time slot area, storage medium and node |
CN113747582B (en) * | 2021-08-18 | 2024-04-05 | 珠海中慧微电子有限公司 | Configuration method, device, storage medium and node of beacon time slot area |
Also Published As
Publication number | Publication date |
---|---|
CN106533833B (en) | 2019-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106533833B (en) | A method of reducing Carrier Sense Multiple Access resource contention | |
CN101584234B (en) | Method of congestion management in a wireless mesh network, system and station of the wireless mesh network | |
CN109561513B (en) | Distributed conflict-free ad hoc network multiple access protocol | |
CN103929824A (en) | Wireless network node neutral access dynamic configuration method | |
EP1771027A1 (en) | Method and system for providing a modified time division multiple access (TDMA) for reduced delay | |
US9014156B2 (en) | Traffic forwarding in mesh networks | |
CN108494649B (en) | Bus system based on combination of polling and uniform time slot and data transmission method | |
WO2015062479A1 (en) | Method, device and system for monitoring terminal status | |
CN106506043A (en) | Data transmission method, control device and equipment in a kind of PLC system | |
CN102014045A (en) | Exchanger and method for controlling flow of same | |
CN106793114B (en) | Dynamic time slot allocation method, applicable medium access control system and node | |
CN109429347A (en) | Slot allocation method and device | |
CN108605337A (en) | A kind of method and apparatus of transmission control signaling | |
RU2598293C1 (en) | Method and apparatus for transmitting standard configuration data of improved system of selecting a transmitting protocol | |
CN106455073B (en) | Channel allocation method for security service in electric power wireless private network and central base station | |
CN102624620B (en) | A kind of transmission system of the Ethernet transmission method based on token frame | |
CN111278163B (en) | Channel access method for solving problem of hidden terminal of short-distance wireless Internet of things | |
Lee et al. | Cluster-based stable BSM dissemination system for safe autonomous platooning | |
CN115174026B (en) | Method and device for allocating number of beacon time slots and computer equipment | |
JP2003018162A (en) | Maintenance control system and maintenance control method | |
CN105141483A (en) | Multi-node network minimum communication interval measurement method based on CAN bus | |
CN112600712B (en) | Service quality scheduling method and device | |
CN111800823B (en) | Priority-based power wireless terminal data transmission method and device | |
CN102324953A (en) | Networking method for MAC (media access control) layer of low-voltage network power line carrier communication network | |
WO2016169265A1 (en) | Method and device for performing coordination among a plurality of power-line networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |