[go: up one dir, main page]

CN106817150A - A kind of method for preventing power line carrier communication network network congestion control - Google Patents

A kind of method for preventing power line carrier communication network network congestion control Download PDF

Info

Publication number
CN106817150A
CN106817150A CN201510871260.0A CN201510871260A CN106817150A CN 106817150 A CN106817150 A CN 106817150A CN 201510871260 A CN201510871260 A CN 201510871260A CN 106817150 A CN106817150 A CN 106817150A
Authority
CN
China
Prior art keywords
data
priority
power line
normal
line carrier
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
CN201510871260.0A
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.)
Jiangsu Linyang Solarfun Co Ltd
Original Assignee
Jiangsu Linyang Solarfun Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Linyang Solarfun Co Ltd filed Critical Jiangsu Linyang Solarfun Co Ltd
Priority to CN201510871260.0A priority Critical patent/CN106817150A/en
Publication of CN106817150A publication Critical patent/CN106817150A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2441Traffic characterised by specific attributes, e.g. priority or QoS relying on flow classification, e.g. using integrated services [IntServ]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/27Evaluation or update of window size, e.g. using information derived from acknowledged [ACK] packets

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

A kind of method for preventing power line carrier communication network network congestion control, in view of the security of significant data, original CSMA/CA agreements for being used in power line carrier communication are improved, high-priority data and normal precedence DBMS is splitted data into, significant data is set to high priority.In order to ensure the security reliability of high-priority data, one proprietary high priority competition passage is hewed out, it is ensured that the high priority data transmission of high priority.Only high-priority data is transmitted, and normal precedence DBMS could be transmitted, and is so prevented significant data and is dropped because of competition failure.In addition, in order to ensure data safety, RF/AF handshake was with the addition of before high-priority data is sent, after handshake is successfully received and dispatched, packet can just send.The also effect with channel booking of RF frames, when finding to have high-priority data pending, Break Row is entered to original normal priority data is activation, preferentially sends high-priority data.

Description

A kind of method for preventing power line carrier communication network network congestion control
Technical field
The design is related to intelligent grid field of power line communication, mainly to being used in existing power line carrier communication General CSMA/CA(Carrier Sense Multiple Access with Collision Avoidance are with punching The prominent csma for avoiding)Mechanism is improved, and realizes the control to power line carrier communication network network congestion.
Background technology
With the popularization of intelligent electric meter, the mode of artificial reading electricity has been taken leave of by electric company, can be in several ways Electricity is obtained, most common of which one kind is exactly power line carrier communication.It is cheap as ammeter number with operation cost to design According to the first-selection of communication.The power line carrier communication of early stage has a host node in a network, multiple from node, only main section Point can initiate communication, and communication transmission state could be entered after only receiving access information from node.Therefore, in the absence of electric power The conflict of line channel communication, but the utilization rate of network service is low.With carrying that the collection of electric power power information and field management are required Height, many power consumers need the active report of event that will can occur from node from node, therefore it is required that from node and host node Equally can actively initiate communication, the conflict that will be communicated so on power line, how according to power line carrier communication Feature handles communication contention aware well, the vital task as power line carrier communication research.
Communication contention aware refers to, when data are transmitted in a network, two equipment occur or two or more equipment sends number simultaneously According to phenomenon, so as to cause data congestion, the situation of loss of data in network.CSMA/CA agreements are normally at communication protocol Media access layer MAC(Media Access Control)Layer, is one of core algorithm of media access layer.It using detection and Two big means are avoided to avoid data collision, so as to ensure that the reliability of the transmission of data.When a node is wanted to send data When, channel is detected first, whether observation channel is idle.If channel idle, wait for a period of time, then send data, other Node all put channel busy flag bit NAV(Network Allocation Vector).When destination node receives data frame Afterwards, wait for a period of time transmission response ACK(Acknowledge)Frame.After source node receives ack msg frame, transmission is indicated Data are completed.After waiting one period, into competition window, the competition of each node is sent, and the node for obtaining transmission route is repeated Action is stated, the node without obtaining transmission route enters backoff state.
Because the major function of the channel of power line carrier communication is transmission electric power, designed for communication, therefore, it It is not a preferable communication line.The bandwidth and speed of its communication are restricted, if the general CSMA/ of simple use CA, when data communication is frequent, when channel congestion is serious, part of nodes may be constantly in avoidance state, according to CSMA/CA machines System, it is likely that the state for abandoning sending can be entered, consequently, it is possible to the loss of partial data is caused, it is of the invention by significant data and general Logical data separation comes, allow significant data prioritized contention send so that ensure important data on power line prioritised transmission and Reliability.
The content of the invention
The present invention increased the claim frame RF of significant data transmission on the basis of CSMA/CA agreements(Request Frame)With permission frame AF(Allow Frame)Order, so that it is guaranteed that the reliability of significant data communication, when a node needs When sending high-priority data, a request signal RF is first sent, reserve channel after destination node have received RF, replys AF Signal.After so both sides are successfully made RF/AF communication handshakes, the transmission of data is just carried out, it is ensured that the security reliability of data.
In addition, the present invention is also improved and divides to competition window, by competition window be divided into high priority window and Normal priority window.Important communication data is arranged to high-priority data, when there is sending competition, initially enters height Priority window is at war with, and waits high priority window to be finished, and entering back into normal priority window carries out data is activation competition, To ensure the preferential transmission of significant data.
In the present invention, the format setting of RF and AF is source node short address by we(2 bytes)It is short with destination node Address(2 bytes), and a mode bit(1 byte).The frame length of RF and AF is smaller, just corresponds to general data frame length / the tens of degree, to the expense very little of Internet resources.Therefore RF and AF orders, the transmission to the data on power line are increased Amount influence is simultaneously little, but has the interaction of RF and AF, but can preferably protect the safety of high-priority data, it is to avoid important The loss of data, also reduces data re-transmitting caused by factor data is lost.
On to the division of height priority window, can be according to some parameters(MaxBE is maximum index avoidance value, MacHighPriorityWindowSize is high priority window time piece number, and SlotTime is a time in CSMA/CA The duration of piece, maxBE and macHighPriorityWindowSize come from application layer, but oneself sets, and SlotTime comes from In 802.15.4 standards)To determine the length of window time, the window width of high priority is set in the present invention(HPCW time) For:
HPCW time = macHighPriorityWindowSize * SlotTime;
Due to keeping out of the way measure using binary system back off algorithm, then the window width of normal priority(NPCW time)It is then:
NPCW time = (2maxBE * SlotTime) – HPCW time;
Only when high priority window time is finished, normal priority window could be entered.
To ensure priority and reliability that significant data sends, this invention also proposed high-priority data preemptive type Transmission mechanism.When a node in network is sending normal precedence DBMS, channel is in busy state.Now, net A node in network receives the data of the high priority from application layer, high preferential in order to ensure this high priority data sends DBMS is seized the normal precedence DBMS that transmission mechanism will be transmitted and is interrupted, and retransmission state is placed it into, under wait Once send.High-priority data sending node is robbed after accounting for channel, preferentially by data is activation.
Brief description of the drawings
The fundamental diagram of Fig. 1 .CSMA/CA agreements;
Fig. 2 interframe spaces positions divide figure with competition window;
CSMA/CA agreement fundamental diagrams after Fig. 3 improvement;
Fig. 4 high-priority data transmission flow figures;
Fig. 5 high-priority datas seize transmission mechanism schematic diagram;
Specific implementation method
The present invention is discussed in detail below in conjunction with the accompanying drawings:
With reference to shown in Fig. 4, before data are sent, NB in initialization CSMA/CA(Keep out of the way number of times)And BE(Binary system index)Variable, NB is set to 0, BE and is set to MinBE(Binary system index minimum value), and low priority high to data judges.If Judge that this data is high-priority data, into high priority competition window, then start conflict avoiding mechanism, wait one and keep away The time is allowed, the avoidance time is random (CW)(According to the random number that competition window CW is generated), carry out physical layer and monitor PCS (physical carrier sense).When acknowledgement channel is idle, will be into data is activation state.If it find that at this channel In busy state, then add 1 by the variable of NB and BE, the value according to BE determines CW again(Competition window)Size.And judge Whether the value of NB is more than maxCSMABackoffs(Maximum keeps out of the way number of times)If the value of NB goes beyond the scope, transmission is exited, such as Fruit is without departing from into competition window.
If the data of high priority enter transmission state, a RF signal will be first sent to destination node, if target Node receives RF signals, will feed back an AF signal, the preparation of shaking hands before carrying out data transmission.If RF signals have been sent out Send, wait for a period of time, find to be responded without AF, can retransmit a RF, and count the transmission times of RF, if transmission times is super Go out scope, exit transmission state.
During data are sent, after frame transmission, meeting certain interval of time retransmits next frame or waits next Frame, this period is referred to as interframe space.Time interval between frame is very important for the transmission of data.With reference to Fig. 2 It is shown, in CSMA/CA agreements, there are two kinds of interframe spaces;Respectively CIFS and RIFS.CIFS(contention interframe space)Frame gap is referred to as fought for, it shows that data is activation is completed after followed by ACK frames are sent completely. RIFS(response interframe space)Referred to as reply interframe space, before it appears in ACK frames, data frame it Afterwards.Interval between RF and AF is referred to as SIFS(short interframe space)Short frame gap.
For normal priority data is activation, high-priority data is waited to be sent completely first, high priority close, Normal priority window is opened, and the data of normal priority carry out backoff contention into normal priority window, start physical layer Monitor(PCS), the acknowledgement channel free time, the data of transmission route are obtained, into the state of transmission, other data enter wait state.Obtain The node of transmission route need not carry out RF/AF and shake hands, directly send the data to destination node, destination node receive data it Afterwards, ACK frames are sent to source node, source node receives ACK frames, shows that data frame is sent completely.
In addition, in order to ensure the absolute priority of high-priority data transmission, it is contemplated that arrived high-priority data robbing Account for formula and send mechanism.With reference to shown in Fig. 5, when a normal precedence DBMS is just in transmission process, another section in network Point have received the data of the high priority that application layer is issued.Then this node is introduced into backoff state, right after keeping out of the way a period of time Power line is intercepted and is judged the low priority high of data on power line.If the data priority transmitted on power line is height During priority, then into wait state.If the data on power line are normal precedence DBMSs, node can send a RF Frame, carries out channel booking, and interrupt normal priority data is activation.After original node for sending is interrupted, retransmission flag can be put Position(Resend Flag), wait and sending next time.Compete channel node receive the AF frames that destination node sends after, connect Transmission data frame, after waiting until the ACK frames of destination node are replied, then this time high-priority data transmission terminates.

Claims (6)

1. a kind of method for preventing power line carrier communication network network congestion control, it is characterized in that it is used for power line carrier communication CSMA/CA agreements, the method is divided to competition window, is divided into high priority window and normal priority window, in hair When sending high-priority data, shaking hands for RF/AF is carried out first.
2. the method that described prevention power line carrier communication network network congestion control is required according to right 1, it is characterized in that, to competition The division of window is specially:High priority window temporal duration is:HPCW time = macHighPriorityWindowSize * SlotTime;Normal priority window temporal duration is:NPCW time = (2maxBE * SlotTime) – HPCW time;Before high priority window is located at normal priority window, it is ensured that high-priority data preferentially passes through.
3. the method that described prevention power line carrier communication network network congestion control is required according to right 1, it is characterized in that, sending Before when high-priority data, an interaction of RF/AF is had, source node sends RF, reserve channel, destination node After receiving RF signals, send AF and replied, show that channel is normal, can send, after RF/AF interactions are completed, source node Just data frame can be sent to destination node, destination node is received after the data frame of source node, send ACK frames and returned Multiple, source node is received after ACK frames, just shows that data is activation has been completed.
4. the method for the prevention power line carrier communication network network congestion control according to right 3, it is characterized in that, send RF in source node Afterwards, certain hour is waited, it is found that destination node does not send AF, show that channel is likely to occur certain exception;In this feelings Under condition, source node sends RF again, and the number of times of the RF to sending adds up, if sending RF number overflows scope, and does not have Normal AF signals are received, it can be determined that channel abnormal condition, into next round competition.
5. the method that described prevention power line carrier communication network network congestion control is required according to right 1, it is characterized in that, for general The data of logical priority:High priority window is waited to stop, normal priority window is opened, and carries out the hair of normal precedence DBMS Send;In to normal priority data transmission procedure, after not using RF/AF handshake mechanisms, source node to obtain transmission route, by data Destination node is sent to, destination node is received after data frame, replys ACK frames to source node, show that this data is activation is completed.
6. the method that described prevention power line carrier communication network network congestion control is required according to right 1, it is characterized in that, for height Priority data preemptive type transmitter system is specially:When the high-priority data that application layer is issued is received, first to keep out of the way one The section time, the data on channel are intercepted and judged, when being the discovery that high-priority data, to be waited to be sent, until entering Next round is competed, if it find that when being normal precedence DBMS, transmission RF frames give and interrupt, and seize channel, preferential to send, and are beaten Disconnected node, puts retransmission flag position, after waiting high-priority data to be sent completely, into next round competition.
CN201510871260.0A 2015-12-02 2015-12-02 A kind of method for preventing power line carrier communication network network congestion control Pending CN106817150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510871260.0A CN106817150A (en) 2015-12-02 2015-12-02 A kind of method for preventing power line carrier communication network network congestion control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510871260.0A CN106817150A (en) 2015-12-02 2015-12-02 A kind of method for preventing power line carrier communication network network congestion control

Publications (1)

Publication Number Publication Date
CN106817150A true CN106817150A (en) 2017-06-09

Family

ID=59108596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510871260.0A Pending CN106817150A (en) 2015-12-02 2015-12-02 A kind of method for preventing power line carrier communication network network congestion control

Country Status (1)

Country Link
CN (1) CN106817150A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107580042A (en) * 2017-08-30 2018-01-12 广东电网有限责任公司中山供电局 A method and system for transmitting distribution network data
WO2022089508A1 (en) * 2020-10-29 2022-05-05 华为技术有限公司 Service transmission method and apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107580042A (en) * 2017-08-30 2018-01-12 广东电网有限责任公司中山供电局 A method and system for transmitting distribution network data
WO2022089508A1 (en) * 2020-10-29 2022-05-05 华为技术有限公司 Service transmission method and apparatus

Similar Documents

Publication Publication Date Title
US8467327B2 (en) Sensor network system and communication method thereof
CN106852192B (en) Communication between the equipment of neighbours' sensing network
CA2390529C (en) Methods and apparatus for coordinating channel access to shared parallel data channels
EP2702730B1 (en) Effective circuits in packet-switched networks
WO2019148887A1 (en) Channel allocation method for vehicle ad hoc network
US7693175B1 (en) Prioritized access in a multi-channel MAC protocol
CN102413580A (en) Wireless network access control method
CN106533833B (en) A method of reducing Carrier Sense Multiple Access resource contention
US20200349099A1 (en) Roce over wireless
US8724650B2 (en) Management of access to a medium
US7613205B1 (en) Token-assignment networks over ethernet and methods therefor
WO2019062434A1 (en) Wireless communication method and related device
US6359899B1 (en) Priority access for real-time traffic in contention-based networks
CN107182105B (en) Information processing method, access point and station
CN106817150A (en) A kind of method for preventing power line carrier communication network network congestion control
Shao et al. Connectivity-aware medium access control in platoon-based vehicular ad hoc networks
KR101169993B1 (en) Apparatus and method for media access control based on competition of csma/ca
KR101234022B1 (en) Method of assigning priority to ZigBee node in ZigBee network
WO2017107736A1 (en) Method and apparatus for updating or modifying nav
US20170142750A1 (en) Method for Signal Transmission in the Downlink of Multi-Hop Wireless Communication Systems
CN107926061A (en) A kind of back-off method, transmission message approach and device
WO2009069047A1 (en) Link-based transmission queue structure for wireless networks
US9544235B2 (en) Scaling WiFi performance for large-audience environments via access points
KR101040290B1 (en) Priority-based wireless network system, wireless network communication method
Yaakob et al. Distributed collision control with the integration of packet size for congestion control in wireless sensor networks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170609