CN106506043B - Data transmission method, control device and equipment in a kind of PLC system - Google Patents

Data transmission method, control device and equipment in a kind of PLC system Download PDF

Info

Publication number
CN106506043B
CN106506043B CN201610973028.2A CN201610973028A CN106506043B CN 106506043 B CN106506043 B CN 106506043B CN 201610973028 A CN201610973028 A CN 201610973028A CN 106506043 B CN106506043 B CN 106506043B
Authority
CN
China
Prior art keywords
node
csma
slots
sub
length
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610973028.2A
Other languages
Chinese (zh)
Other versions
CN106506043A (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.)
Chongqing University of Post and Telecommunications
Original Assignee
Chongqing University of Post and Telecommunications
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 Chongqing University of Post and Telecommunications filed Critical Chongqing University of Post and Telecommunications
Priority to CN201610973028.2A priority Critical patent/CN106506043B/en
Publication of CN106506043A publication Critical patent/CN106506043A/en
Application granted granted Critical
Publication of CN106506043B publication Critical patent/CN106506043B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention relates to data transmission method, control device and the equipment in a kind of PLC system, belong to broadband power carrier communication field.Data transmission method in the PLC system includes first that CSMA time slot and TDMA slot etc. are distributed unitedly and planned to the transfer resource in system by central control node.Secondly, allocation result is sent to every grade of node in system, every grade of node can only occupy the transfer resource sub-slots progress data transmission for distributing to the same level, while every grade of node can receive the data on all transfer resource sub-slots;Data transmission method in a kind of PLC system provided by the invention has carried out reasonable distribution to transfer resource according to business demand, has improved transfer resource utilization efficiency, reduces mutual interference, improve the data transmission capabilities of entire PLC system.

Description

Data transmission method, control device and equipment in a kind of PLC system
Technical field
The invention belongs to mobile internet of things field, particularly belong to broadband power carrier communication, are related specifically to Transfer resource application method in broadband power line carrier system.
Background technique
Bandwidth carrier communication (referred to as: PLC) network is to realize low-voltage electricity user using low-voltage power line as telecommunication media Power information convergence, the communication network of transmission and interaction.According to the design feature of power line, the network topology of bandwidth carrier communication Structure tree structure, as shown in Figure 1.The network topology structure is centered on central control node (referred to as: CCO), with agency The multitiered network of all end nodes of node (referred to as: PCO) connection (referred to as: STA).Node B1, B2 and B3 belong to first device;Section Point C1, C2, C3, C4 belong to secondary equipment;Node D1, D2, D3, D4, D5, D6 belong to three-stage apparatus;Node E1, E2 belong to level Four Equipment.Line indicates there is routing between figure interior joint, can be normally carried out information exchange between two nodes, require supplementation with What is illustrated is not to be connected with each other between node, it is also possible to carry out mutual information interaction.Such as do not have between node B1 and node B2 There is line, but identify the data that node B1 is sent, node B2 can also be received, and vice versa.
For node Normal intercommunication each in PLC system, in PLC Chinese specification, two kinds of transmission are exactly defined Resource, i.e. Carrier Sense Multiple Access (referred to as: CSMA) and time division multiple access way (referred to as: TDMA), wherein in PLC system, All nodes can competitive way use CSMA time slot transfer resource, central control node specify TDMA be used for transmission fixation Business, but all nodes sharing TDMA slots.
For CSMA transfer resource, PLC system defines communication between each node and uses orthogonal frequency division multiple access (referred to as OFDMA) mode, they share identical frequency resource, and between each node other than selected routing is identical, it is also possible to It is identical with other nodes, so not only destination node can receive, other nodes when each node sends OFDMA data Also it can receive.If multiple nodes require to send data, may interfere, so existing PLC Chinese specification The CSMA transfer resource usage mode inefficiency of proposition, and mutual serious interference, leverage the number of PLC system According to transmittability.
For TDMA transfer resource, since all nodes all share the TDMA transfer resource region, if there are two nodes Transmitting message data is needed simultaneously, and TDMA slot does not provide collision detection mechanism, exists and seriously interferes with each other, and directly results in Data-message transmission failure, so there is very big limitation in carrying out business procedure, under transfer resource utilization efficiency is very low.
Summary of the invention
In view of this, the purpose of the present invention is to provide the data transmission methods in a kind of PLC system, for PLC system It plans defect existing for transfer resource, reasonable distribution has been carried out to transfer resource according to business demand, has improved transfer resource Utilization efficiency.
Another object of the present invention is to provide in a kind of PLC system data transfer controller and data transmission set It is standby.
In order to achieve the above objectives, the invention provides the following technical scheme:
A kind of data transmission method in PLC system, is divided into multiple sub-slots for transfer resource, and distribute in system Every grade of node, every grade of node occupies the transfer resource sub-slots progress data transmission for distributing to the same level, while every grade of node can Receive the data on all transfer resource sub-slots.
Further, after the transfer resource distributes, central control node passes through central beacon broadcast transfer resource distribution As a result, broadcasting transfer resource allocation result by agent beacon after each agent node receives central beacon;
Agent node and end node reception are to central control node allocation of transmission resources as a result, record central control node point The transfer resource sub-slots of place classification with this node;
Agent node and end node monitor the resource information from central control node in real time, if center control section Point has withdrawn transfer resource or has changed transfer resource planning, then each node is by real-time update, and works as frame and work.
Further, the transfer resource includes TDMA resource and the Carrier Sense Multiple Access side of TDMA Time Division Multiple Access mode The CSMA resource of formula;
In resource allocation process, total CSMA slot length is divided into multiple CSMA sub-slots by central control node, and every grade A CSMA sub-slots are occupied, every grade of node can only use the CSMA sub-slots of the same level to carry out data transmission, can receive institute There are the data on CSMA sub-slots;
Total TDMA slot length is divided into multiple TDMA sub-slots by central control node, and needs to carry out data transmission Each node distributes a fixed TDMA sub-slots, which can only send data on the TDMA sub-slots of distribution, can Receive the data on all TDMA sub-slots.
Further, the transfer resource is before being allocated, and central control node needs to carry out business detection, if not examining The business of having measured needs to be implemented, then is only allocated to CSMA resource;If there is business to need to be implemented, simultaneously to CSMA resource and TDMA resource is allocated.
Further, node is if necessary to transmission or forwarding service association message, then using classification where this node TDMA sub-slots transfer resource carries out data transmission;If it is sending or forwarding network operation message, then this node institute is used Data transmission is carried out in the CSMA sub-slots transfer resource of classification;The node includes central control node, agent node and end Node.
Further, the CSMA resource is allocated by the following method:
The number of nodes that central control node counts every grade is N0, N1, N2, N3..., Nk
Wherein, N0It does not include central node for node total numbers all below central control node;N1For first nodes and All child node sums below level-one;N2For child node sums all below two-level node and second level;N3For three-level node and All child node sums below three-level;NkFor all child node sums of k grades of nodes and k grades or less, k is less than 15 natural numbers;
Distribute to N of the central control node using the length of CSMA sub-slots 0 for total CSMA slot length0/(N0+N1+N2+ N3+...+Nk);Distribute to the N that 1 length of CSMA sub-slots that first nodes use is total CSMA slot length1/(N0+N1+N2+N3 +...+Nk);Distribute to the N that 2 length of CSMA sub-slots that two-level node uses is total CSMA slot time length2/(N0+N1+N2+ N3+...+Nk);Successively push away to give three-level, level Four ..., the CSMA sub-slots that k grades of nodes use.
Further, during being switched on networking, the CSMA resource is allocated by the following method:
When every grade of networking, it is assumed that this grade of number of nodes is identical with higher level, and does not have downstream site;
When first nodes networking, it is assumed that first nodes number is N1, then central control node uses CSMA sub-slots 0 Length be total CSMA slot length N1/(N1+N1)=1/2;The length for the CSMA sub-slots 0 that first nodes use is total The N of CSMA slot length1/(N1+N1)=1/2;
When two-level node networking, it is assumed that first nodes number is N1, then two-level node number is N1, so center control Node processed is the 2N of total CSMA slot length using the length of CSMA sub-slots 01/(2N1+2N1+N1)=2/5;First nodes make 1 length of CSMA sub-slots is the 2N of total CSMA slot length1/(2N1+2N1+N1)=2/5;The CSMA that two-level node uses 2 length of sub-slots is the N of total CSMA slot length1/(2N1+2N1+N1)=1/5;
When three-level node networking, it is assumed that first nodes number is N1, two-level node number is N2, then three-level node be N2So central control node is total CSMA slot length (N using the length of CSMA sub-slots 01+2N2)/(2N1+7N2);One 1 length of CSMA sub-slots that grade node uses is total CSMA slot length (N1+2N2)/(2N1+7N2);What two-level node used 2 length of CSMA sub-slots is the 2N of total CSMA slot length2/(2N1+7N2);3 length of CSMA sub-slots that three-level node uses is The N of total CSMA slot length2/(2N1+7N2), it successively pushes away to give level Four ..., the CSMA sub-slots that k grades of nodes use.
Further, the TDMA resource is allocated by the following method:
It is M that central control node, which counts each node to need the number of bearer service,1、M2、…、Ms(S value is less than or equal to 15), wherein M1For the portfolio that node 1 carries, M2For the portfolio ... that node 2 carries, MsFor the portfolio of node s carrying.
The TDMA sub-slots 1 for distributing to node 1 are the M of total TDMA length1/(M1+M2+..Ms);Distribute to node 2 TDMA sub-slots 2 are the M of total TDMA length2/(M1+M2+..Ms);It is total for successively pushing away to distribute to the TDMA sub-slots s of node s The M of TDMA lengths/(M1+M2+..Ms)。
A kind of data transfer controller in PLC system, the data transfer controller are the center control in PLC system Node processed includes transfer resource distribution module in described device, for transfer resource to be divided into multiple sub-slots, and distributes to Every grade of node in system, and described device occupies the transfer resource sub-slots progress data transmission for distributing to oneself, while device The data on all transfer resource sub-slots can be received.
Business detection module carries out transfer resource distribution for carrying out business detection according to demand.Specifically: the biography Defeated resource includes the TDMA resource of TDMA Time Division Multiple Access mode and the CSMA resource of Carrier Sense Multiple Access mode;The transmission Before being allocated, central control node needs to carry out business detection resource, if not detected, business is needed to be implemented, only CSMA resource is allocated;If there is business to need to be implemented, CSMA resource and TDMA resource are allocated simultaneously.
A kind of data transmission set in PLC system, the data transmission set be agent node in PLC system or End node includes resource information storage module in the equipment, distributes this node for recording central control node The transfer resource sub-slots of place classification, and the resource information from central control node is monitored in real time, if center control Node processed has withdrawn transfer resource or has changed transfer resource planning, then information in resource information storage module is real-time It updates.
The beneficial effects of the present invention are: the present invention by a kind of data transmission method in PLC system, control device and Equipment includes first that CSMA time slot and TDMA slot etc. carry out unified point to the transfer resource in system by central control node Match and plans.Secondly, allocation result is sent to every grade of node in system, every grade of node can only occupy the biography for distributing to the same level Defeated resource sub-slots carry out data transmission, while every grade of node can receive the data on all transfer resource sub-slots;This hair Data transmission method in a kind of PLC system of bright offer has carried out reasonable distribution to transfer resource according to business demand, has mentioned High transfer resource utilization efficiency reduces mutual interference, improves the data transmission capabilities of entire PLC system.
Detailed description of the invention
In order to keep the purpose of the present invention, technical scheme and beneficial effects clearer, the present invention provides following attached drawing and carries out Illustrate:
Fig. 1 is wideband electronic carrier communication network topological diagram;
Fig. 2 is transfer resource distribution and process for using figure;
Fig. 3 is that CSMA resource allocation uses schematic diagram;
Fig. 4 is that TDMA resource planning uses schematic diagram;
Fig. 5 is PLC system topology diagram in embodiment.
Specific embodiment
Below in conjunction with attached drawing, a preferred embodiment of the present invention will be described in detail.
Data transmission method in a kind of PLC system proposed by the present invention, this method provide transmission according to the demand of business Source has carried out reasonable distribution, and nodes at different levels carry out data transmission according to the transfer resource distributed, specifically, center control Transfer resource is divided into multiple sub-slots by node, and distributes to every grade of node in system, and every grade of node occupancy distributes to the same level Transfer resource sub-slots carry out data transmission, while every grade of node can receive the data on all transfer resource sub-slots.
Transfer resource includes the TDMA resource and Carrier Sense Multiple Access mode of TDMA Time Division Multiple Access mode in PLC system CSMA resource.
In resource allocation process, total CSMA slot length is divided into multiple CSMA sub-slots by central control node, and every grade A CSMA sub-slots are occupied, every grade of node can only use the CSMA sub-slots of the same level to carry out data transmission, can receive institute There are the data on CSMA sub-slots.
Total TDMA slot length is divided into multiple TDMA sub-slots by central control node, and needs to carry out data transmission Each node distributes a fixed TDMA sub-slots, which can only send data on the TDMA sub-slots of distribution, can Receive the data on all TDMA sub-slots.
A kind of data transmission method in PLC system, as shown in Figure 2, the specific steps are as follows:
Step 1: central control node carries out business detection, if not detected, business is needed to be implemented, only to CSMA Resource is allocated;If there is business to need to be implemented, CSMA resource and TDMA resource are allocated simultaneously.
Step 2: central control node passes through central beacon broadcast CSMA resource and TDMA resource allocation result, Ge Gedai After reason node receives central beacon, transfer resource (CSMA resource and TDMA resource) allocation result is broadcasted by agent beacon.
Step 3: each node, including agent node and end node receive the TDMA sub-slots of central control node distribution Transfer resource then records the TDMA sub-slots information, and record central control node distributes the place classification of this node CSMA sub-slots transfer resource.
Step 4: the node of allocation of transmission resources is then used if necessary to transmission or forwarding service association message TDMA sub-slots transfer resource, if it is transmitting or forwarding network operation message, then using the CSMA being classified where this node Time slot is transmitted.
Step 5: each node monitors the resource information from central control node in real time, if center control section Point has withdrawn transfer resource or has changed transfer resource planning, then each node is by real-time update, and works as frame and work.
In PLC system, the application method of CSMA transfer resource is that total CSMA slot length is divided into multiple CSMA sub-slots, One CSMA sub-slots of every grade of occupancy, every grade of node can only use the CSMA sub-slots of the same level to carry out data transmission, but can To receive the data on all CSMA sub-slots, as shown in Figure 3.
The size of CSMA sub-slots is determined by the son node number of transmission line carrying, and central control node counts every grade Number of nodes, including the same level interstitial content.It is assumed that total node number N0;All child node sums below first nodes and level-one are N1 A node;All child node sums below two-level node and second level are N2A node;Own below three-level node and three-level Child node sum is N3A node, similar approach calculate every grade of total node number N4, N5... N15
So the N that 0 length of CSMA sub-slots is total CSMA slot length can be used in central control node0/(N0+N1+N2+ N3+...+N15);1 length of CSMA sub-slots that first nodes can be used is the N of total CSMA slot time length1/(N0+N1+N2 +N3+...+N15);2 length of CSMA sub-slots that two-level node can be used is the N of the time span of total CSMA time slot2/(N0+N1 +N2+N3+...+N15);Successively the available three-level of similar approach, level Four ... the CSMA slot length of ten Pyatyis.
During interstitial content amounts to, central control node itself is disregarded.
During being switched on networking, central control node and child node are communicated using CSMA time slot, but the stage Central control node does not have complete routing iinformation, there is no every grade of interstitial content, such situation come by the following method into Row CSMA resource allocation.
When every grade of networking, it is assumed that this grade of number of nodes is identical with higher level, and does not have downstream site.
Such as during networking, first nodes networking, then first nodes and central control node occupy entire CSMA Time slot, so central control node is the 1/2 of total CSMA slot length using the length of CSMA sub-slots 0;First nodes use The length of CSMA sub-slots 1 is the 1/2 of total CSMA slot length.
When second level networking, if first nodes number is N1, it is assumed that all nodes below level-one are total in the network Number is N1, then the following total node number N1+N1 of central control node;Level-one and the following node total number of level-one: N1+N1;Second level section Point sum N1;So central control node is the 2N of total CSMA slot length using the length of CSMA sub-slots 01/(2N1+2N1+ N1)=2/5;1 length of CSMA sub-slots is total CSMA slot length (2N1)/(2N1+2N1+N1)=2/5, CSMA sub-slots 2 are long Degree is the N of total CSMA slot length1/(2N1+2N1+1N1)=1/5.
When three-level networking, it is assumed that first nodes number be N1, two-level node number be N2, then amount to central control node with Lower total node number: N1+N2+N2=N1+2N2;Level-one and the following node total number of level-one: N1+2N2;Second level and second level are with lower node Sum: 2N2;Three-level and the following node total number N of three-level2.So central control node is total using 0 length of CSMA sub-slots (the N of CSMA slot length1+2N2)/(N1+2N2+N1+2N2+2N2+N2)=(N1+2N2)/(2N1+7N2);1 length of CSMA sub-slots It is total CSMA slot length (N1+2N2)/(2N1+7N2), then 2 length of CSMA sub-slots is total CSMA slot length (2N2)/ (2N1+7N2), then 3 length of CSMA sub-slots is the N of total CSMA slot length2/(2N1+7N2), and so on it is available at different levels Every grade of CSMA sub-slots account for the ratio in CSMA time slot when networking.
TDMA slot transfer resource, usage mode are that total TDMA slot length is divided into multiple TDMA sub-slots, will be The each node for needing to carry out data transmission distributes a fixed TDMA sub-slots, which can only be in the TDMA period of the day from 11 p.m. to 1 a.m of distribution Data are sent in gap, but can receive the data on all TDMA sub-slots.
TDMA resource is allocated by the following method:
TDMA sub-slots length is determined by node bearer traffic, and central control node is in planning business procedure When, the number that each node needs bearer service is counted, TDMA sub-slots length is then carried out and divides.Such as center control section Point initiation business 1, business 2 ... business N, central control node plan the node that each business is related to according to route information table, If node 1 needs to handle or forwards 1 business, portfolio is defined as 1.Two business of processing or forwarding are then industry Business amount is 2, and so on, each maximum portfolio of node is N.The traffic volume measurement result of each node is false in statistic processes It is set to M1、M2、Ms(S value is less than or equal to 15), then when the TDMA sub-slots length scale that each node is assigned to is total TDMA The M of gap length1/(M1+M2+..Ms)、M2/(M1+M2+..Ms)、...Ms/(M1+M2+..Ms)。
In TDMA slot planning process, as shown in figure 4, since central control node can plan that multiple business pass simultaneously Defeated resource, so, then the node being related to is also more next more, may cause each TDMA sub-slots as business number increases It is too short, a complete message data cannot be transmitted, then central control node will reduce business number in synchronization, is reached Each TDMA sub-slots of distribution can carry the transmission of a message.
Data transfer controller in a kind of PLC system provided by the invention, the data transfer controller are PLC system Central control node in system includes transfer resource distribution module in device, for transfer resource to be divided into multiple sub-slots, And every grade of node in system is distributed to, and device occupies the transfer resource sub-slots progress data transmission for distributing to oneself, simultaneously Device can receive the data on all transfer resource sub-slots;Business detection module, for carrying out business detection, according to demand Carry out transfer resource distribution.
A kind of data transmission set in PLC system, data transmission set are agent node or end segment in PLC system Point includes resource information storage module in the equipment, the place of this node is distributed for recording central control node The transfer resource sub-slots of classification, and the resource information from central control node is monitored in real time, if center control section Point has withdrawn transfer resource or has changed transfer resource planning, then in real time more by information in resource information storage module Newly.
Embodiment:
In order to illustrate concrete application method of the invention in practical PLC system, the PLC of Fig. 5 topological structure is first just used Network illustrates networking process.
In the topological structure of Fig. 5, PLC network is divided into three-level, and node A therein is central control node;First nodes It is node B1, node B2 and node B3 composition;Two-level node is node C1, node C2, node C3, node C4 composition;Three-level section Point is node D1 and node D2 networking.It routes between solid line node between node, can be carried out between broken line representation node Information exchange, the selected routing of but not.
It will be described in terms of two below, be switched on the topological structure Route establishment powered on, and followed by central control node is complete The process of Cheng Yici meter reading.
The initial route setup process how to power on using invention completion booting is introduced first, and detailed process is as follows:
Step 1: after central control node powers on, transfer resource is divided into two parts by central control node, and one is Beacon slot, another region is then CSMA time slot, and central control node carries transfer resource distribution information in It entreats in beacon, is broadcasted in central beacon by central control node.
Step 2: according to the topological structure of Fig. 5, the central beacon of central control node broadcast will be by node B1, node B2 It is listened to node B3, and parses the central beacon content of central control node, obtained the letter of transfer resource CSMA time slot Breath, central control node and node B1, node B2 and node B3 share this CSMA time slot.The node of central beacon is received, it will Competitive way is used to send the association request message of oneself on CSMA time slot.Central control node is received from node B1, section The association request message of point B2 and node B3 then sends association request respectively and confirms node B1, node B2 and node B3.
Step 3: what central control node completed node B1, node B2 and node B3 enters network process (association request mistake Journey), central control node plans CSMA time slot and beacon slot again.Wherein, CSMA time slot is divided into three CSMA sub-slots, CSMA sub-slots 0 send message for central control node;CSMA sub-slots 1 are used for the transmission message of first nodes;When CSMA Gap 2 reports message request for new node.Meanwhile central control node will be node B1, node B2 and node B3 distribution discovery Beacon transmissions resource, the transfer resource that central control node is redistributed will broadcast in central beacon, node B1, node B2 and After node B3 receives central beacon, saves transfer resource and distribute information.Wherein, hair of the CSMA sub-slots 1 as first nodes The transfer resource of data is sent, then forwards the resource information in central beacon on discovery beacon.
Further supplementary explanation, in this step, when calculating CSMA sub-slots, it is unclear that two-level node number, institute When calculating, it is assumed that first nodes are identical with two-level node number, and do not have three-level node, then in center control section Point is 6/ (6+6+3)=6/15 of total CSMA length using the length of CSMA sub-slots 0;The length of CSMA sub-slots 1 is CSMA 6/ (6+6+3)=6/15, CSMA sub-slots, 2 length of total length is 3/ (6+6+3)=3/15 of CSMA total length.
Step 4: the discovery beacon of node B1, node B2 and node B2 broadcast, then according to Fig. 5 topological structure, node C1, node C2 and node C3 can receive the discovery beacon of node B1;Node C3 and node C4 can receive the discovery of node B2 Beacon.Two-level node C1, node C2, node C3 and node C4 are by resource information, the wherein transfer resource of CSMA sub-slots 2 Data are sent as two-level node to use.
Node C1, node C2, node C3 and node C4 are selected according to the signal quality for the discovery beacon for receiving first nodes It selects and has received the discovery beacon from node B1 and node B2 as oneself locum's node, such as node C3, according to signal Quality, node C3 preferentially select node B1 for the locum's node of oneself.
Node C1, node C2, node C3 and node C4 will be sent on 2 transfer resource of CSMA sub-slots using competitive way The association request message of oneself, each node is in association request message, it is necessary to indicate the locum's node of oneself.Node B1, node B2, node B3 receive the association request message from two-level node, if indicating that this section point is in association request message Locum's node of association request message, then first nodes will be closed on the transfer resource of CSMA sub-slots using competitive way Connection request message is forwarded to upper level, that is, is forwarded to central control node.
Step 5: central control node is received from the association request message for newly increasing node, then it is true to send association request Message is recognized to node is newly increased, and the node identification and newly-increased supernumerary segment for newly increasing node are carried in association request confirmation message The agent node mark of point.In the example it is assumed that the association request message that node C3 is sent, then confirming in association request In, it include for the node identification (referred to as: TEI) of node C3 distribution and the node identification of agent node B1.Center control section Point sends association request confirmation message in level-one CSMA sub-slots, and node B1, node B2 and node B3 can receive the pass Join request message data, but only node B1 is the agent node of node C3, so only node B1 forwards the association request Message.Same principle completes the association request process of node C1, node C2 and node C4.
Step 6: central control node completes the association request of two-level node and then secondary beacon transmissions of redistributing provide Source and the area CSMA transfer resource.In beacon transmissions resource, be node B1 and node B2 assignment agent beacon transmissions resource, due to Node B3 does not have child node, so not distributing agent beacon resource.Central control node be central beacon and agent beacon and It was found that the transfer resource of beacon distribution, is not overlapped in time, does not share, exclusive mode is used.It, will on CSMA transfer resource CSMA time slot is divided into four time slots, and CSMA sub-slots 0 are used for central control node, and CSMA sub-slots 1 are used for first nodes It uses, CSMA sub-slots 2 are used for two-level node, and CSMA sub-slots 3 are for newly increasing node use.
Further supplementary explanation, in this step, central control node has defined, and number of nodes is 3, two-level node Number is 4, then assumes that three-level number of nodes is 4, and without 5 grades of nodes, then can calculate 0 length of CSMA sub-slots is total CSMA 11/ (11+11+8+4)=11/34, CSMA sub-slots, 1 length of slot length be CSMA total length 11/ (11+11+8+4)= 11/34, CSMA sub-slots, 2 length is that 8/ (11+11+8+4)=8/34, CSMA sub-slots, 3 length of CSMA total length is CSMA 4/ (11+11+8+4)=4/34 of total length.
Again the transfer resource planned will broadcast each first nodes on the central beacon of central control node, i.e. the reality It applies after the node B1 in example, node B2 and node B3 receive central beacon, deletes the CSMA resource information recorded originally, save New CSMA resource information, and the transfer resource by CSMA sub-slots 2 as oneself transmission data.If referred in central beacon The fixed node is agent node, then the specified agent beacon of the node transmits upper broadcast agent beacon, in agent beacon in carrying The transfer resource for entreating beacon to carry distributes information.Node C1, node C1, node C3 and node C4 receive from superior node B1 and The agent beacon of node B2.
If central control node requesting node C1, node C2, node C3 and node C4 send discovery beacon, node D1 and node D2 will receive the discovery beacon from node C3 and node C4, then node D1 and node D2 will be saved in discovery beacon Transfer resource, and set CSMA sub-slots 3 as three-level node send data transfer resource.
Then according to the identical processing mode of step 5, the association request of node D1 and node D2 are completed.
And so on, the association request process of all nodes is completed using same way central control node, i.e. completion Fig. 5 The group network process of topological structure.
It is presented hereinbefore how the present invention to be used to complete PLC system initial group network process, the present invention is described below and is copied in electric power Application during table.
In order to more clearly illustrate process flow, in FIG. 5, it is assumed that central control node is in node C2, node C3 and section Point D1 carries out meter-reading function.Then specifically processing flow graph is as follows:
Step 1: counting each node processing task, and need to send data volume, and node A is 3, node C2 is 1, section Point D1 is 1, node C3 is 2, node B2 is 3.
Step 2: central control node is that the TDMA slot length of node A distribution is 3/ (3+ of total TDMA slot total length 3+2+1+1)=3/10, it is assumed that be TDMA sub-slots 1;TDMA sub-slots length for node B2 distribution is total TDMA slot length 3/ (3+3+2+1+1)=3/10, it is assumed that be TDMA sub-slots 2;TDMA sub-slots length for node C2 distribution is total TDMA 1/ (3+3+2+1+1)=1/10 of slot length, it is assumed that be TDMA sub-slots 3;For the TDMA sub-slots length of node D1 distribution It is 1/ (3+3+2+1+1)=1/10 of total TDMA slot length, it is assumed that be TDMA sub-slots 4;For TDMA of node C3 distribution Slot length is 2/ (3+3+2+1+1)=2/10 of total TDMA slot length, it is assumed that is TDMA sub-slots 5.
Table 1:TDMA sub-slots allocation table
Step 3: each node calculated according to portfolio is occupied the ratio of total TDMA by central control node, is calculated The start and end time of each TDMA slot, and broadcasted in central beacon, node B1 will acted on behalf of after receiving TDMA money is also forwarded in oneself agent beacon after forwarding TDMA resource allocation parameters, node C3 to receive agent beacon in beacon Source allocation of parameters.Each node receives the transfer resource TDMA allocation of parameters in central beacon or agent beacon, will be stored in In the node of oneself.Each node will send data packet (business report in the section TDMA that central control node is oneself distribution Text).
Step 4: according to mission requirements, central control node sends meter reading message to node respectively on TDMA sub-slots 1 C2, node C3 and node D1, node B2 will be forwarded on TDMA sub-slots 2, and node C3 forwards section on TDMA sub-slots 5 The meter reading message of point D1.It include the node identification (abbreviation: TEI of node C2, node C3 and node D1 in each message Value).
Step 5: node C2, node C3 and node D1 receive the meter reading message from central control node, are distributing respectively TDMA sub-slots on send meter reading result message.Specifically, node C2 sends service message on TDMA sub-slots 3;Section Point C3 sends service message on TDMA sub-slots 3;Node D1 sends service message on TDMA sub-slots 4.
In routing procedure, the message of node C3 forward node D1 on TDMA sub-slots 3;Node B2 is in TDMA sub-slots The message from node A, node C1, node C3 is forwarded on 2.
Step 6: central control node is after completing the meter reading task of node C2, node C3 or node D1, again The distribution of TDMA sub-slots is adjusted, and the broadcast adjustment TDMA slot parameter in central beacon immediately.In this embodiment, central Control node carries out node C2, node C3 and node D1 meter-reading function simultaneously, as long as completing the meter reading task of some node, then Central control node thinks that portfolio has occurred and that variation, then needs TDMA sub-slots parameter again.
Finally, it is stated that preferred embodiment above is only used to illustrate the technical scheme of the present invention and not to limit it, although logical It crosses above preferred embodiment the present invention is described in detail, however, those skilled in the art should understand that, can be Various changes are made to it in form and in details, without departing from claims of the present invention limited range.

Claims (5)

1. the data transmission method in a kind of PLC system, it is characterised in that: transfer resource is divided into multiple sub-slots, and is distributed To every grade of node in system, every grade of node occupies the transfer resource sub-slots progress data transmission for distributing to the same level, while every Grade node can receive the data on all transfer resource sub-slots;
After the transfer resource distributes, central control node passes through central beacon broadcast transfer resource allocation result, Ge Gedai After reason node receives central beacon, transfer resource allocation result is broadcasted by agent beacon;
Agent node and end node reception are to central control node allocation of transmission resources as a result, recording central control node point simultaneously The transfer resource sub-slots of place classification with this node;
Agent node and end node monitor the resource information from central control node in real time, if central control node is It is withdrawn transfer resource or changes transfer resource planning, then each node is by real-time update;
The transfer resource includes the TDMA resource of TDMA Time Division Multiple Access mode and the CSMA money of Carrier Sense Multiple Access mode Source;
In resource allocation process, total CSMA slot length is divided into multiple CSMA sub-slots, every grade of occupancy by central control node One CSMA sub-slots, every grade of node can only use the CSMA sub-slots of the same level to carry out data transmission, can receive all Data on CSMA sub-slots;
Total TDMA slot length is divided into multiple TDMA sub-slots by central control node, and each of to need to carry out data transmission Node distributes a fixed TDMA sub-slots, and each node for needing to carry out data transmission can only be in TDMA of distribution Data are sent on time slot, can receive the data on all TDMA sub-slots;
The transfer resource is before being allocated, and central control node needs to carry out business detection, if not detected business It needs to be implemented, then only CSMA resource is allocated;If there is business to need to be implemented, simultaneously to CSMA resource and TDMA resource into Row distribution;
Node is then transmitted using the TDMA sub-slots being classified where this node if necessary to transmission or forwarding service association message Resource carries out data transmission;If it is sending or forwarding network operation message, then using CSMA being classified where this node Slot transmission resource carries out data transmission;The node includes central control node, agent node and end node;
The CSMA resource is allocated by the following method:
The number of nodes that central control node counts every grade is N0, N1, N2, N3..., Nk
Wherein, N0It does not include central control node for node total numbers all below central control node;N1For first nodes and All child node sums below level-one;N2For child node sums all below two-level node and second level;N3For three-level node and All child node sums below three-level;NkFor all child node sums of k grades of nodes and k grades or less, k is less than 15 natural numbers;
Distribute to N of the central control node using the length of CSMA sub-slots 0 for total CSMA slot length0/(N0+N1+N2+N3 +...+Nk);Distribute to the N that 1 length of CSMA sub-slots that first nodes use is total CSMA slot length1/(N0+N1+N2+N3 +...+Nk);Distribute to the N that 2 length of CSMA sub-slots that two-level node uses is total CSMA slot time length2/(N0+N1+N2+ N3+...+Nk);Successively push away to give three-level, level Four ..., the CSMA sub-slots that k grades of nodes use.
2. the data transmission method in a kind of PLC system according to claim 1, it is characterised in that: in booting networking Cheng Zhong, the CSMA resource are allocated by the following method:
When every grade of networking, it is assumed that this grade of number of nodes is identical with higher level, and does not have downstream site;
When first nodes networking, it is assumed that first nodes number is N1, then central control node uses the length of CSMA sub-slots 0 Degree is the N of total CSMA slot length1/(N1+N1)=1/2;When the length for the CSMA sub-slots 0 that first nodes use is total CSMA The N of gap length1/(N1+N1)=1/2;
When two-level node networking, it is assumed that first nodes number is N1, then two-level node number is N1, so center control section Point is the 2N of total CSMA slot length using the length of CSMA sub-slots 01/(2N1+2N1+N1)=2/5;What first nodes used 1 length of CSMA sub-slots is the 2N of total CSMA slot length1/(2N1+2N1+N1)=2/5;The CSMA period of the day from 11 p.m. to 1 a.m that two-level node uses 2 length of gap is the N of total CSMA slot length1/(2N1+2N1+N1)=1/5;
When three-level node networking, it is assumed that first nodes number is N1, two-level node number is N2, then three-level node is N2Institute It the use of the length of CSMA sub-slots 0 is total CSMA slot length (N with central control node1+2N2)/(2N1+7N2);Level-one section 1 length of CSMA sub-slots that point uses is total CSMA slot length (N1+2N2)/(2N1+7N2);The CSMA that two-level node uses 2 length of sub-slots is the 2N of total CSMA slot length2/(2N1+7N2);3 length of CSMA sub-slots that three-level node uses is total The N of CSMA slot length2/(2N1+7N2), it successively pushes away to give level Four ..., the CSMA sub-slots that k grades of nodes use.
3. the data transmission method in a kind of PLC system according to claim 1, it is characterised in that: the TDMA resource It is allocated by the following method:
It is M that central control node, which counts each node to need the number of bearer service,1、M2、…、Ms, S value be less than or equal to 15, In, M1For the portfolio that node 1 carries, M2For the portfolio ... that node 2 carries, MsFor the portfolio of node s carrying;
The TDMA sub-slots 1 for distributing to node 1 are the M of total TDMA length1/(M1+M2+..Ms);Distribute to the TDMA period of the day from 11 p.m. to 1 a.m of node 2 Gap 2 is the M of total TDMA length2/(M1+M2+..Ms);The TDMA sub-slots s for successively pushing away to distribute to node s is total TDMA length Ms/(M1+M2+..Ms)。
4. the data in a kind of PLC system for implementing the data transmission method in any PLC system of claim 1-3 Transmission control unit, it is characterised in that: the data transfer controller is the central control node in PLC system, described device In include transfer resource distribution module, for transfer resource to be divided into multiple sub-slots, and distribute to every grade of node in system, And described device occupies the transfer resource sub-slots progress data transmission for distributing to oneself, while device can receive all transmission Data on resource sub-slots;
Business detection module carries out transfer resource distribution for carrying out business detection according to demand.
5. the data in a kind of PLC system for implementing the data transmission method in any PLC system of claim 1-3 Transmission device, it is characterised in that: the data transmission set is the agent node or end node in PLC system, the equipment In include resource information storage module, for record central control node distribute this node place classification transmission money Source sub-slots, and the resource information from central control node is monitored in real time, if central control node has withdrawn biography Defeated resource or change transfer resource planning, then by information real-time update in resource information storage module.
CN201610973028.2A 2016-11-04 2016-11-04 Data transmission method, control device and equipment in a kind of PLC system Active CN106506043B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610973028.2A CN106506043B (en) 2016-11-04 2016-11-04 Data transmission method, control device and equipment in a kind of PLC system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610973028.2A CN106506043B (en) 2016-11-04 2016-11-04 Data transmission method, control device and equipment in a kind of PLC system

Publications (2)

Publication Number Publication Date
CN106506043A CN106506043A (en) 2017-03-15
CN106506043B true CN106506043B (en) 2019-07-05

Family

ID=58323777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610973028.2A Active CN106506043B (en) 2016-11-04 2016-11-04 Data transmission method, control device and equipment in a kind of PLC system

Country Status (1)

Country Link
CN (1) CN106506043B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108696298B (en) * 2017-04-10 2020-11-17 华为技术有限公司 Data transmission method and device, power line communication network and power system
CN107733630B (en) * 2017-11-29 2020-05-01 北京中宸泓昌科技有限公司 Carrier resource allocation method and device based on broadband PLC
CN109347519B (en) * 2018-08-27 2021-11-30 全球能源互联网研究院有限公司 Power line carrier and wireless fusion multi-channel transmission method and device
CN110739987A (en) * 2018-10-16 2020-01-31 南京无疆界通信科技有限公司 Low-voltage power line broadband carrier communication system
CN110661551B (en) * 2019-09-29 2021-08-13 南方电网科学研究院有限责任公司 Method for adaptively adjusting beacon period time slot number
CN110995315B (en) * 2019-11-27 2022-02-11 深圳市力合微电子股份有限公司 Communication method based on high-speed power line carrier
CN111970030B (en) * 2020-07-22 2021-06-29 珠海中慧微电子有限公司 Signal transmitting method of broadband carrier communication network
CN114095059B (en) * 2020-08-24 2022-12-06 华为技术有限公司 Power line communication method, device and system
CN114204964B (en) * 2020-09-17 2022-12-06 华为技术有限公司 Power line network flow channel establishing method, device and system
CN113676885B (en) * 2021-08-20 2023-10-10 青岛鼎信通讯股份有限公司 Time slot dividing method based on TDMA

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103415018A (en) * 2013-08-23 2013-11-27 山东省计算中心 Communication resource allocation method of wireless sensor network
CN105430749A (en) * 2014-09-18 2016-03-23 电信科学技术研究院 Time slot selection method and device
CN106059624A (en) * 2016-05-27 2016-10-26 全球能源互联网研究院 Multi-frequency self-networking and communication method suitable for power line carrier communication system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2481421B (en) * 2010-06-23 2016-10-26 Gigle Networks Ltd Communications network and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103415018A (en) * 2013-08-23 2013-11-27 山东省计算中心 Communication resource allocation method of wireless sensor network
CN105430749A (en) * 2014-09-18 2016-03-23 电信科学技术研究院 Time slot selection method and device
CN106059624A (en) * 2016-05-27 2016-10-26 全球能源互联网研究院 Multi-frequency self-networking and communication method suitable for power line carrier communication system

Also Published As

Publication number Publication date
CN106506043A (en) 2017-03-15

Similar Documents

Publication Publication Date Title
CN106506043B (en) Data transmission method, control device and equipment in a kind of PLC system
CN106357305B (en) A kind of automatic network-building method, the apparatus and system of tree structure network
EP0976205B1 (en) Data transfer method and system in low voltage networks
WO2017005223A1 (en) Information sharing method of smart electricity meter, smart electricity meter and acquisition router
CN102883374B (en) Resource distribution method for satellite communication system
CN101729430B (en) Dynamic resource allocation system and allocation method used for supporting end-to-end time delay warranty
CN110380838A (en) Bandwidth allocation methods, device, user equipment and base station
KR20090006828A (en) Terminal
CN105959218A (en) Network route selection method and network route selection system
CN110113787B (en) Method, device and system for dynamically allocating wireless ad hoc network resources according to needs
CN101686177B (en) Dynamic bandwidth allocation method, equipment and system of multi-service transport network
CN105072589B (en) A kind of data transmission method and Wide Area Netweork base satation of Wide Area Netweork base satation
CN103607737A (en) Heterogeneous network service flow-dividing method and system
CN110191441A (en) The resource allocation methods and communication system of ground base station and multicast satellite
CN106533833A (en) Method for reducing conflict of carrier interception multipath accessing resources
CN108075928A (en) Network traffics Universal Simulation Model and method
CN103595764B (en) The Multi-service QoS safeguard system of a kind of ultra-large VSAT system and its implementation
CN102448120B (en) Multipath load sharing method and device
CN109429347A (en) Slot allocation method and device
CN114095059B (en) Power line communication method, device and system
CN201387555Y (en) Comprehensive remote control monitoring system
CN105611636A (en) Bandwidth distribution method and device of single-channel WiFi device
CN103079275B (en) Aggregated spectrum distribution method based on many knapsack problems
CN103249048B (en) A kind of neighbor networks disturbance coordination method and device
CN102761970B (en) CSMA time slot provides and obtains and network-building method, equipment and system

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