CN106506043A - 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
CN106506043A
CN106506043A CN201610973028.2A CN201610973028A CN106506043A CN 106506043 A CN106506043 A CN 106506043A CN 201610973028 A CN201610973028 A CN 201610973028A CN 106506043 A CN106506043 A CN 106506043A
Authority
CN
China
Prior art keywords
node
csma
slots
sub
central control
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
Application number
CN201610973028.2A
Other languages
Chinese (zh)
Other versions
CN106506043B (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 the data transmission method, control device and equipment in a kind of PLC system, belongs to broadband power carrier communication field.Data transmission method in the PLC system, first by central control node to system in transfer resource include that CSMA time slots and tdma slot etc. are distributed unitedly and planned.Secondly, every grade of node allocation result being sent in system, every grade of node can only take to be distributed to the transfer resource sub-slots of this grade and carries out data is activation, while every grade of node can receive the data on all transfer resource sub-slots;Data transmission method in a kind of PLC system that the present invention is provided, has carried out rational distribution according to business demand to transfer resource, improves transfer resource utilization ratio, reduces interference each other, improves the data transmission capabilities of whole 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 belongs to broadband power carrier communication, is related specifically to Transfer resource using method in broadband power line carrier system.
Background technology
Bandwidth carrier communicates (referred to as:PLC) network is using low-voltage power line as telecommunication media, realizes low-voltage electricity user Power information is converged, the communication network of transmission and interaction.According to the construction featuress of electric lines of force, the network topology of bandwidth carrier communication Structure tree structure, as shown in Figure 1.The network topology structure be with central control node (referred to as:CCO centered on), to act on behalf of Node is (referred to as:PCO) all end nodes are connected (referred to as:STA multitiered network).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.Between figure interior joint, line represents presence route, can be normally carried out information exchange, require supplementation between two nodes Illustrated is not connected with each other between node, it is also possible to carry out mutual information interaction.For example do not have between node B1 and node B2 There is line, but identify the data that node B1 sends, node B2 can also be received, and vice versa.
For each node Normal intercommunication in PLC system, in PLC Chinese specifications, two kinds of transmission are exactly defined Resource, i.e. Carrier Sense Multiple Access are (referred to as:CSMA) and time division multiple access way (referred to as:TDMA), wherein in PLC system, All nodes can competitive way using CSMA time slots transfer resource, central control node specify TDMA be used for transmit fixation Business, but all of nodes sharing tdma slot.
For CSMA transfer resources, PLC system defines communication between each node and adopts OFDM (referred to as OFDMA) mode, their shared identical frequency resources, and between each node in addition to selecting route and be identical, it is also possible to Identical with other nodes, so when each node sends OFDMA data, not only destination node can be received, other nodes Can also receive.If multiple nodes are required for sending data, then may interfere, so existing PLC Chinese specifications The CSMA transfer resource occupation mode inefficiencies of proposition, and serious interference each other, leverage the number of PLC system According to transmittability.
For TDMA transfer resources, as all nodes all share the TDMA transfer resources region, if there are two nodes Need transmitting message data simultaneously, and tdma slot does not provide collision detection mechanism, exists and seriously interferes, and directly results in Data-message transmission fails, so there is very big restriction in business procedure is carried out, transfer resource utilization ratio is very low.
Content of the invention
In view of this, it is an object of the invention to provide a kind of data transmission method in PLC system, for PLC system The defect that planning transfer resource is present, has carried out rational distribution according to business demand to transfer resource, has improve transfer resource Utilization ratio.
Another object of the present invention is to the data transfer controller and data transfer in a kind of PLC system of offer sets Standby.
For reaching above-mentioned purpose, the present invention provides following technical scheme:
Transfer resource is divided into multiple sub-slots, and is distributed in system by the data transmission method in a kind of PLC system Every grade of node, every grade of node takes to be distributed to the transfer resource sub-slots of this grade and carries out data is activation, while every grade of node can Receive the data on all transfer resource sub-slots.
Further, after the transfer resource is distributed, central control node is by central beacon broadcast transfer resource distribution As a result, after each agent 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 result, record central control node point The transfer resource sub-slots of the place classification with this node;
The resource information from central control node monitored in real time by agent node and end node, if central authorities' control section Point has withdrawn transfer resource or has changed transfer resource planning, then each node is by real-time update, and when frame action.
Further, the transfer resource includes TDMA resources and the Carrier Sense Multiple Access side of TDMA Time Division Multiple Access mode The CSMA resources of formula;
In resource allocation process, total CSMA slot lengths are divided into multiple CSMA sub-slots by central control node, per grade CSMA sub-slots are taken, per grade of node can only carry out data is activation using the CSMA sub-slots of this grade, can receive institute The data having 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 The fixed TDMA sub-slots of each node distribution one, the node can only send data on the TDMA sub-slots of distribution, can Receive the data on all TDMA sub-slots.
Further, before being allocated, central control node needs to carry out business detection the transfer resource, if not examining Service needed execution is measured, then only CSMA resources has been allocated;If there is service needed to execute, simultaneously to CSMA resources and TDMA resources are allocated.
Further, node is then classified using this node place if necessary to transmission or forwarding service association message TDMA sub-slots transfer resource carries out data is activation;If sending or forwarding network operation message, then using this node institute Data is activation 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 resources are allocated by the following method:
It is N that central control node counts per grade of nodes0, N1, N2, N3..., Nk
Wherein, N0For all node total numbers below central control node, central node is not included;N1For first nodes and All child node sums below one-level;N2For two-level node and less than two grades all child node sums;N3For three-level node and All child node sums below three-level;NkFor all child node sums below k levels node and k levels, k is less than 15 natural numbers;
Distribute to central control node using CSMA sub-slots 0 length be total CSMA slot lengths N0/(N0+N1+N2+ N3+...+Nk);Distribute to first nodes using 1 length of CSMA sub-slots be total CSMA slot lengths N1/(N0+N1+N2+N3 +...+Nk);Distribute to two-level node using 2 length of CSMA sub-slots be total CSMA slot times length N2/(N0+N1+N2+ N3+...+Nk);Push away successively and must give three-level, level Four ..., the CSMA sub-slots that k level nodes are used.
Further, during start networking, the CSMA resources are allocated by the following method:
When every grade of networking, it is assumed that this grade of nodes are identical with higher level, and without downstream site;
When first nodes networking, it is assumed that first nodes number is N1, then central control node is using CSMA sub-slots 0 Length be total CSMA slot lengths N1/(N1+N1)=1/2;First nodes using the length of CSMA sub-slots 0 be total The N of CSMA slot lengths1/(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 central authorities' control Node processed using CSMA sub-slots 0 length be total CSMA slot lengths 2N1/(2N1+2N1+N1)=2/5;First nodes make 1 length of CSMA sub-slots is the 2N of total CSMA slot lengths1/(2N1+2N1+N1)=2/5;The CSMA that two-level node is used 2 length of sub-slots is the N of total CSMA slot lengths1/(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 lengths (N using the length of CSMA sub-slots 01+2N2)/(2N1+7N2);One Level node using 1 length of CSMA sub-slots be total CSMA slot lengths (N1+2N2)/(2N1+7N2);Two-level node is used 2 length of CSMA sub-slots is the 2N of total CSMA slot lengths2/(2N1+7N2);Three-level node using 3 length of CSMA sub-slots be The N of total CSMA slot lengths2/(2N1+7N2), push away successively and must give level Four ..., the CSMA sub-slots that k level nodes are used.
Further, the TDMA resources are allocated by the following method:
It is M that central control node count each node to need the number of carrying business1、M2、…、Ms(S values are less than or equal to 15), wherein, M1For the portfolio that node 1 is carried, M2For the portfolio ... that node 2 is carried, MsFor the portfolio that node s is carried.
Distribute to the M of the TDMA sub-slots 1 for total TDMA length of node 11/(M1+M2+..Ms);Distribute to node 2 M of the TDMA sub-slots 2 for total TDMA length2/(M1+M2+..Ms);It is total to push away successively and must 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 central authorities' control in PLC system Node processed, includes transfer resource distribute module in described device, for transfer resource is divided into multiple sub-slots, and distribute to Every grade of node in system, and described device takes and distributes to the transfer resource sub-slots of oneself and carry out data is activation, while device The data on all transfer resource sub-slots can be received.
Business detection module, for carrying out business detection, is transmitted resource allocation according to demand.Specially:The biography Defeated resource includes the CSMA resources of the TDMA resources and Carrier Sense Multiple Access mode of TDMA Time Division Multiple Access mode;The transmission Before being allocated, central control node needs to carry out business detection resource, if being not detected by service needed execution, only CSMA resources are allocated;If there is service needed to execute, simultaneously CSMA resources and TDMA resources are allocated.
A kind of data transmission set in PLC system, the data transmission set be PLC system in agent node or End node, includes resource information storage module in the equipment, distribute this node for recording central control node Be located the transfer resource sub-slots being classified, and monitors the resource information from central control node in real time, if central authorities' control Node processed has withdrawn transfer resource or has changed transfer resource planning, then will be real-time for information in resource information storage module Update.
The beneficial effects of the present invention is:The present invention by the data transmission method in a kind of PLC system, control device and Equipment, first by central control node to system in transfer resource include that CSMA time slots and tdma slot etc. carry out unifying point Match somebody with somebody and plan.Secondly, every grade of node allocation result being sent in system, every grade of node can only take the biography for distributing to this grade Defeated resource sub-slots carry out data is activation, while every grade of node can receive the data on all transfer resource sub-slots;This Data transmission method in a kind of PLC system of bright offer, has carried out rational distribution according to business demand to transfer resource, has carried High transfer resource utilization ratio, interference each other is reduced, improve the data transmission capabilities of whole PLC system.
Description of the drawings
In order that the purpose of the present invention, technical scheme and beneficial effect are clearer, the present invention provides drawings described below and carries out Explanation:
Fig. 1 is wideband electronic carrier communication network topological diagram;
Fig. 2 is that transfer resource distributes and uses flow chart;
Fig. 3 uses schematic diagram for CSMA resource allocations;
Fig. 4 uses schematic diagram for TDMA MRPs;
Fig. 5 is PLC system topology diagram in embodiment.
Specific embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described in detail.
Data transmission method in a kind of PLC system proposed by the present invention, the method are provided to transmission according to the demand of business Source has carried out rational distribution, and nodes at different levels carry out data transmission according to the transfer resource for being distributed, specifically, central authorities' 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 takes distributes to this level Transfer resource sub-slots carry out data is activation, while every grade of node can receive the data on all transfer resource sub-slots.
In PLC system, transfer resource includes the TDMA resources and Carrier Sense Multiple Access mode of TDMA Time Division Multiple Access mode CSMA resources.
In resource allocation process, total CSMA slot lengths are divided into multiple CSMA sub-slots by central control node, per grade CSMA sub-slots are taken, per grade of node can only carry out data is activation using the CSMA sub-slots of this grade, can receive institute The data having 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 The fixed TDMA sub-slots of each node distribution one, the node 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 Fig. 2 comprise the following steps that:
Step one:Central control node carries out business detection, if being not detected by service needed execution, only to CSMA Resource is allocated;If there is service needed to execute, simultaneously CSMA resources and TDMA resources are allocated.
Step 2:Central control node is by central beacon broadcast CSMA resources and TDMA resource allocation results, each generation After reason node receives central beacon, transfer resource (CSMA resources and TDMA resources) allocation result is broadcasted by agent beacon.
Step 3:Each node, including agent node and end node, receives the TDMA sub-slots of central control node distribution Transfer resource, then record the TDMA sub-slots information, and record central control node distributes the place classification of this node CSMA sub-slots transfer resources.
Step 4:The node of allocation of transmission resources, if necessary to transmission or forwarding service association message, then uses TDMA sub-slots transfer resources, if transmission or forwarding network operation message, then the CSMA of the classification that is located using this node Time slot is transmitted.
Step 5:Each node monitors the resource information from central control node in real time, if central authorities' control section Point has withdrawn transfer resource or has changed transfer resource planning, then each node is by real-time update, and when frame action.
In PLC system, the using method of CSMA transfer resources is that total CSMA slot lengths are divided into multiple CSMA sub-slots, One CSMA sub-slots of per grade of occupancy, per grade of node can only carry out data is activation using the CSMA sub-slots of this grade, but can To receive the data on all CSMA sub-slots, as shown in Figure 3.
The size of CSMA sub-slots is the son node number that carried by transmission line determining, central control node counts per grade Nodes, including this grade of interstitial content.It is assumed that total nodes N0;Below first nodes and one-level, all child node sums are N1 Individual node;Two-level node and less than two grades all child node sums are N2Individual node;Own below three-level node and three-level Child node sum is N3Individual node, similar approach calculate per grade of total nodes N4, N5... N15.
So central control node can be the N of total CSMA slot lengths using 0 length of CSMA sub-slots0/(N0+N1+N2+ N3+...+N15);1 length of CSMA sub-slots that first nodes can be used is the N of total CSMA slot times 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 slots2/(N0+N1 +N2+N3+...+N15);Successively similar approach can obtain three-level, level Four ... the CSMA slot lengths of ten Pyatyis.
During interstitial content is amounted to, central control node itself is disregarded.
During start networking, central control node and child node are communicated using CSMA time slots, but the stage Central control node does not have complete routing iinformation, there is no per grade of interstitial content, and this kind of situation is by the following method entering Row CSMA resource allocations.
When every grade of networking, it is assumed that this grade of nodes are identical with higher level, and without downstream site.
For example during networking, first nodes networking, then first nodes and central control node take whole CSMA Time slot, so central control node is the 1/2 of total CSMA slot lengths using the length of CSMA sub-slots 0;First nodes are used The length of CSMA sub-slots 1 is the 1/2 of total CSMA slot lengths.
When secondary groups net, if first nodes number is N1, then it is assumed that in the network, below one-level, all nodes are total Number is N1, then total nodes N1+N1 below central control node;One-level and the following node total number of one-level:N1+N1;Two grades of sections Point sum N1;So central control node using CSMA sub-slots 0 length be total CSMA slot lengths 2N1/(2N1+2N1+ N1)=2/5;1 length of CSMA sub-slots is total CSMA slot lengths (2N1)/(2N1+2N1+N1)=2/5, CSMA sub-slots 2 are grown Degree is the N of total CSMA slot lengths1/(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 Total nodes down:N1+N2+N2=N1+2N2;One-level and the following node total number of one-level:N1+2N2;Two grades and two grades with lower node Sum:2N2;Three-level and 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 lengths1+2N2)/(N1+2N2+N1+2N2+2N2+N2)=(N1+2N2)/(2N1+7N2);1 length of CSMA sub-slots It is total CSMA slot lengths (N1+2N2)/(2N1+7N2), then 2 length of CSMA sub-slots is total CSMA slot lengths (2N2)/ (2N1+7N2), then 3 length of CSMA sub-slots is the N of total CSMA slot lengths2/(2N1+7N2), the like can obtain at different levels When networking, every grade of CSMA sub-slots account for the ratio in CSMA time slots.
Tdma slot transfer resource, its occupation mode are that total tdma slot length is divided into multiple TDMA sub-slots, will be The TDMA sub-slots for needing each node distribution one for carrying out data transmission fixed, the node 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 resources are allocated by the following method:
TDMA sub-slots length is determined that by node bearer traffic central control node is in planning business procedure When, counting each node needs the number of carrying business, then carries out the division of TDMA sub-slots length.Such as central authorities' 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 process or forwards 1 business, then portfolio is defined as 1.It is then industry to process or forward two business Business amount is 2, and by that analogy, the maximum portfolio of each node is N.In statistic processess, the traffic volume measurement result of each node is false It is set to M1、M2、Ms(S values be less than or equal to 15), then each node distribution to TDMA sub-slots length scales be total TDMA when 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, can plan that multiple business are passed due to central control node simultaneously Defeated resource, so with the increase of business number, then the node being related to is also more next more, may result in each TDMA sub-slots Too short, it is impossible to transmit a complete message data, then central control node will reduce business number in synchronization, reach Each TDMA sub-slots of distribution can carry the transmission of a message.
Data transfer controller in a kind of PLC system that the present invention is provided, the data transfer controller are PLC systems Central control node in system, includes transfer resource distribute module in device, for transfer resource is divided into multiple sub-slots, And every grade of node in system is distributed to, and device occupancy is distributed to the transfer resource sub-slots of oneself and carries out data is activation, while Device can receive the data on all transfer resource sub-slots;Business detection module, for carrying out business detection, according to demand It is transmitted resource allocation.
A kind of data transmission set in PLC system, data transmission set are the agent node in PLC system or end segment Point, includes resource information storage module in the equipment, distribute the place of this node for recording central control node The transfer resource sub-slots of classification, and monitor the resource information from central control node in real time, if central authorities' control section Point has withdrawn transfer resource or has changed transfer resource planning, then by information in resource information storage module in real time more Newly.
Embodiment:
In order to concrete application method of the invention in actual PLC system is described, first just using the PLC of Fig. 5 topological structure Network is illustrating 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 compositions;Two-level node is node C1, node C2, node C3, node C4 compositions;Three-level section Point is node D1 and node D2 networkings.It route between solid line node between node, can carries out between broken line representation node Information exchange, but the route that whether selectes.
To describe in terms of two below, the topological structure Route establishment of electricity in start, next to that central control node is complete Into the flow process that once checks meter.
Introducing first and how upper electric initial route setup process of starting shooting being completed using the invention, detailed process is as follows:
Step one:On central control node after electricity, transfer resource is divided into two parts by central control node, and one is Beacon slot, another region is then CSMA time slots, and central control node carries transfer resource distribution information in In the beacon of centre, 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 Listen to node B3, and parse the central beacon content of central control node, obtained the letter of transfer resource CSMA time slots Breath, central control node and node B1, node B2 and node B3 share this CSMA time slot.The node of central beacon is received, will The association request message of oneself is sent on CSMA time slots using competitive way.Central control node is received from node B1, section The association request message of point B2 and node B3, then send association request respectively and confirm 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 slots and beacon slot again.Wherein, CSMA time slots are divided into three CSMA sub-slots, CSMA sub-slots 0 are used for central control node and send message;CSMA sub-slots 1 are used for the transmission message of first nodes;During CSMA Gap 2 reports message request for new node.Meanwhile, central control node will be found for node B1, node B2 and node B3 distribution Beacon transmissions resource, the transfer resource that central control node is redistributed will be broadcasted in central beacon, node B1, node B2 and After node B3 receives central beacon, transfer resource distribution information is preserved.Wherein, the sending out as first nodes of CSMA sub-slots 1 The transfer resource of data is sent, then the resource information in central beacon is being found to forward on beacon.
Further remark additionally, in this step, when CSMA sub-slots are calculated, it is unclear that two-level node number, institute With when calculating, it is assumed that first nodes are identical with two-level node number, and without three-level node, then in central authorities' control section Point using CSMA sub-slots 0 length be total CSMA length 6/ (6+6+3)=6/15;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 lengths.
Step 4:Node B1, node B2 and the discovery beacon of 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, according to the signal quality choosing of the discovery beacon for receiving first nodes Select as oneself locum's node, such as node C3 have received the discovery beacon from node B1 and node B2, according to signal Quality, node C3 prioritizing selection node B1 are the locum's node of oneself.
Node C1, node C2, node C3 and node C4 will be sent using competitive way on 2 transfer resource of CSMA sub-slots 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 in association request message that this section point is Locum's node of association request message, then first nodes will pass using competitive way on the transfer resource of CSMA sub-slots Connection request message is forwarded to upper level, that is, be forwarded to central control node.
Step 5:Central control node is received from the association request message for newly increasing node, then send association request true Message is recognized to node is newly increased, carry the node identification for newly increasing node, and newly-increased supernumerary segment 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 sends, then confirm in association request In, include for node C3 distribution node identification (referred to as:TEI), and agent node B1 node identification.Central authorities' control section Point sends association request confirmation message in one-level CSMA sub-slots, and node B1, node B2 and node B3 can receive the pass Connection 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:After central control node completes the association request of two-level node, beacon transmissions money is redistributed again Source and CSMA areas transfer resource.In beacon transmissions resource, it is node B1 and node B2 assignment agent beacon transmissions resources, due to Node B3 does not have child node, so not distributing agent beacon resource.Central control node for central beacon and agent beacon and It was found that the transfer resource of beacon distribution, does not overlap in time, do not share, exclusive mode is used.On CSMA transfer resources, will CSMA time slots are 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 Use, CSMA sub-slots 2 are used for two-level node, CSMA sub-slots 3 are used for newly increasing node use.
Further remark additionally, in this step, clearly, and nodes are 3 to central control node, two-level node Number is 4, then assume that three-level nodes are 4, and do not have 5 grades of nodes, then can calculate 0 length of CSMA sub-slots for total CSMA 11/ (11+11+8+4)=11/34, CSMA sub-slots, 1 length of slot length be CSMA total lengths 11/ (11+11+8+4)= It is CSMA that 11/34, CSMA sub-slots, 2 length is 8/ (11+11+8+4)=8/34, CSMA sub-slots, 3 length of CSMA total lengths 4/ (11+11+8+4)=4/34 of total length.
Again the transfer resource that plans will broadcast each first nodes on the central beacon of central control node, i.e. the reality Apply after the node B1 in example, node B2 and node B3 receive central beacon, delete the CSMA resource informations of original record, preserve New CSMA resource informations, and using CSMA sub-slots 2 as the transfer resource for oneself sending data.If in central beacon middle finger The fixed node is agent node, then the upper broadcast agent beacon of the agent beacon transmission that the node is specified, in carrying in agent beacon The transfer resource distribution information that centre beacon is carried.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 finds beacon, then node D1 and node D2 can receive the discovery beacon from node C3 and node C4, then node D1 and node D2 will be preserved and be found in beacon Transfer resource, and set CSMA sub-slots 3 as three-level node send data transfer resource.
Then according to step 5 identical processing mode, the association request of node D1 and node D2 is completed.
By that analogy, the association request process of all nodes is completed using same way central control node, that is, complete Fig. 5 The group network process of topological structure.
Presented hereinbefore how to complete PLC system initial group network process using the present invention, be described below the present invention copy in electric power Application during table.
In order to handling process is described more clearly, 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.It is as follows that flow graph is then specifically processed:
Step one:Each node processing task is counted, and needs to send data volume, it is 1, section that node A is 3, node C2 It is that 2, node B2 is 3 that point D1 is 1, node C3.
Step 2:Central control node be node A distribution tdma slot length be total tdma slot total length 3/ (3+ 3+2+1+1)=3/10, it is assumed that for 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 for 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 for TDMA sub-slots 3;TDMA sub-slots length for node D1 distribution It is 1/ (3+3+2+1+1)=1/10 of total tdma slot length, it is assumed that for TDMA sub-slots 4;TDMA for node C3 distribution Slot length is 2/ (3+3+2+1+1)=2/10 of total tdma slot length, it is assumed that for TDMA sub-slots 5.
Table 1:TDMA sub-slots allocation tables
Step 3:Each node calculated according to portfolio is occupied central control node the ratio of total TDMA, is calculated The start and end time of each tdma slot, and broadcasted in central beacon, node B1 will be in agency after receiving TDMA resource allocation parameters, node C3 are forwarded also to forward TDMA moneys in oneself agent beacon after receiving agent beacon in beacon Source allocation of parameters.Each node receives central beacon or the transfer resource TDMA allocation of parameters in agent beacon, will be stored in In the node of oneself.Each node is by interval transmission packet (the business reports of TDMA that central control node is oneself distribution Text).
Step 4:According to mission requirements, central control node sends on TDMA sub-slots 1 respectively and checks meter message to node 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 message of checking meter of point D1.The node identification of node C2, node C3 and node D1 is included in each message (referred to as:TEI Value).
Step 5:Node C2, node C3 and node D1 receive the message of checking meter from central control node, respectively in distribution TDMA sub-slots on send and check meter 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 Forward on 2 from node A, node C1, node C3 message.
Step 6:Central control node after the task of checking meter for completing node C2, node C3 or node D1, again Adjustment TDMA sub-slots distribution, and broadcast adjustment tdma slot parameter in central beacon immediately.In this embodiment, central authorities Control node carries out node C2, node C3 and node D1 meter-reading functions simultaneously, as long as completing the task of checking meter of certain node, then Central control node thinks that portfolio has occurred and that change, then need TDMA sub-slots parameter again.
Finally illustrate, preferred embodiment above is only unrestricted in order to technical scheme to be described, although logical Cross above preferred embodiment to be described in detail the present invention, it is to be understood by those skilled in the art that can be In form and various changes are made to which in details, without departing from claims of the present invention limited range.

Claims (10)

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 takes to be distributed to the transfer resource sub-slots of this grade and carries out data is activation, while per Level node can receive the data on all transfer resource sub-slots.
2. the data transmission method in a kind of PLC system according to claim 1, it is characterised in that:The transfer resource After distributing, central control node receives central letter by central beacon broadcast transfer resource allocation result, each agent node After mark, transfer resource allocation result is broadcasted by agent beacon;
Agent node and end node reception are to central control node allocation of transmission resources result, while recording central control node point The transfer resource sub-slots of the place classification with this node;
The resource information from central control node monitored in real time by agent node and end node, if central control node is Through withdrawing transfer resource or changing transfer resource planning, then each node is by real-time update.
3. the data transmission method in a kind of PLC system according to claim 1, it is characterised in that:The transfer resource CSMA resources including the TDMA resources and Carrier Sense Multiple Access mode of TDMA Time Division Multiple Access mode;
In resource allocation process, total CSMA slot lengths are divided into multiple CSMA sub-slots, per grade of occupancy by central control node One CSMA sub-slots, per grade of node can only carry out data is activation using the CSMA sub-slots of this grade, can receive all Data on CSMA sub-slots;
Total tdma slot length is divided into multiple TDMA sub-slots by central control node, and for needing each for carrying out data transmission The fixed TDMA sub-slots of node distribution one, the node can only send data on the TDMA sub-slots of distribution, can receive Data on all TDMA sub-slots.
4. the data transmission method in a kind of PLC system according to claim 3, it is characterised in that:The transfer resource Before being allocated, central control node needs to carry out business detection, if being not detected by service needed execution, only right CSMA resources are allocated;If there is service needed to execute, simultaneously CSMA resources and TDMA resources are allocated.
5. the data transmission method in a kind of PLC system according to claim 3 or 4, it is characterised in that:If node is needed Send or forwarding service association message, then data are carried out using the TDMA sub-slots transfer resource of classification that this node is located Send;If sending or forwarding network operation message, then entered using the CSMA sub-slots transfer resources of classification that this node is located Row data is activation;The node includes central control node, agent node and end node.
6. the data transmission method in a kind of PLC system according to claim 3, it is characterised in that:The CSMA resources It is allocated by the following method:
It is N that central control node counts per grade of nodes0, N1, N2, N3..., Nk
Wherein, N0For all node total numbers below central control node, central node is not included;N1For first nodes and one-level All child nodes are total below;N2For two-level node and less than two grades all child node sums;N3For three-level node and three The following all child node sums of level;NkFor all child node sums below k levels node and k levels, k is less than 15 natural numbers;
Distribute to central control node using CSMA sub-slots 0 length be total CSMA slot lengths N0/(N0+N1+N2+N3 +...+Nk);Distribute to first nodes using 1 length of CSMA sub-slots be total CSMA slot lengths N1/(N0+N1+N2+N3 +...+Nk);Distribute to two-level node using 2 length of CSMA sub-slots be total CSMA slot times length N2/(N0+N1+N2+ N3+...+Nk);Push away successively and must give three-level, level Four ..., the CSMA sub-slots that k level nodes are used.
7. the data transmission method in a kind of PLC system according to claim 3, it is characterised in that:In start networking Cheng Zhong, the CSMA resources are allocated by the following method:
When every grade of networking, it is assumed that this grade of nodes are identical with higher level, and without downstream site;
When first nodes networking, it is assumed that first nodes number is N1, then central control node using CSMA sub-slots 0 length Degree is the N of total CSMA slot lengths1/(N1+N1)=1/2;First nodes using the length of CSMA sub-slots 0 be total CSMA when 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 central authorities' control section Point using CSMA sub-slots 0 length be total CSMA slot lengths 2N1/(2N1+2N1+N1)=2/5;First nodes are used 1 length of CSMA sub-slots is the 2N of total CSMA slot lengths1/(2N1+2N1+N1)=2/5;The CSMA period of the day from 11 p.m. to 1 a.m that two-level node is used 2 length of gap is the N of total CSMA slot lengths1/(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 The use of the length of CSMA sub-slots 0 is total CSMA slot lengths (N with central control node1+2N2)/(2N1+7N2);One-level section 1 length of CSMA sub-slots that point is used is total CSMA slot lengths (N1+2N2)/(2N1+7N2);The CSMA that two-level node is used 2 length of sub-slots is the 2N of total CSMA slot lengths2/(2N1+7N2);Three-level node using 3 length of CSMA sub-slots be total The N of CSMA slot lengths2/(2N1+7N2), push away successively and must give level Four ..., the CSMA sub-slots that k level nodes are used.
8. the data transmission method in a kind of PLC system according to claim 3, it is characterised in that:The TDMA resources It is allocated by the following method:
It is M that central control node count each node to need the number of carrying business1、M2、…、Ms(S values are less than or equal to 15), Wherein, M1For the portfolio that node 1 is carried, M2For the portfolio ... that node 2 is carried, MsFor the portfolio that node s is carried;
Distribute to the M of the TDMA sub-slots 1 for total TDMA length of node 11/(M1+M2+..Ms);Distribute to the TDMA period of the day from 11 p.m. to 1 a.m of node 2 M of the gap 2 for total TDMA length2/(M1+M2+..Ms);Push away successively must distribute to node s TDMA sub-slots s be total TDMA length Ms/(M1+M2+..Ms).
9. the data transfer controller in a kind of PLC system, it is characterised in that:The data transfer controller is PLC system In central control node, include transfer resource distribute module in described device, for transfer resource is divided into multiple period of the day from 11 p.m. to 1 a.m Gap, and every grade of node in system is distributed to, and described device occupancy is distributed to the transfer resource sub-slots of oneself and carries out data Send, while device can receive the data on all transfer resource sub-slots;
Business detection module, for carrying out business detection, is transmitted resource allocation according to demand.
10. the data transmission set in a kind of PLC system, it is characterised in that:The data transmission set is the generation in PLC system Reason node or end node, include resource information storage module in the equipment, for recording central control node point The transfer resource sub-slots of the place classification with this node, and monitor the resource information from central control node in real time, If central control node has withdrawn transfer resource or has changed transfer resource planning, by resource information storage module Middle information real-time update.
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 true CN106506043A (en) 2017-03-15
CN106506043B 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)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733630A (en) * 2017-11-29 2018-02-23 北京中宸泓昌科技有限公司 A kind of carrier wave resource allocation method and device based on broadband PLC
WO2018188477A1 (en) * 2017-04-10 2018-10-18 华为技术有限公司 Data transmission method and apparatus, power line communication network, and power system
CN109347519A (en) * 2018-08-27 2019-02-15 全球能源互联网研究院有限公司 A kind of multi-channel transmission method and device of power line carrier and wireless fusion
CN110661551A (en) * 2019-09-29 2020-01-07 南方电网科学研究院有限责任公司 Method for adaptively adjusting beacon period time slot number
CN110739987A (en) * 2018-10-16 2020-01-31 南京无疆界通信科技有限公司 Low-voltage power line broadband carrier communication system
CN110995315A (en) * 2019-11-27 2020-04-10 深圳市力合微电子股份有限公司 Communication method based on high-speed power line carrier
CN111970030A (en) * 2020-07-22 2020-11-20 珠海中慧微电子有限公司 Signal transmitting method of broadband carrier communication network
CN113676885A (en) * 2021-08-20 2021-11-19 青岛鼎信通讯股份有限公司 TDMA time slot dividing method based on beacon indication
WO2022041914A1 (en) * 2020-08-24 2022-03-03 华为技术有限公司 Power line communication method, device, and system
CN114204964A (en) * 2020-09-17 2022-03-18 华为技术有限公司 Power line network flow channel establishing method, device and system

Citations (4)

* 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
US20140056340A1 (en) * 2010-06-23 2014-02-27 Broadcom Corporation Power line communications device transmitting at differing power levels in same communication
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140056340A1 (en) * 2010-06-23 2014-02-27 Broadcom Corporation Power line communications device transmitting at differing power levels in same communication
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

Cited By (18)

* Cited by examiner, † Cited by third party
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
WO2018188477A1 (en) * 2017-04-10 2018-10-18 华为技术有限公司 Data transmission method and apparatus, power line communication network, and power system
CN108696298A (en) * 2017-04-10 2018-10-23 华为技术有限公司 Data transmission method and device, power line communication network, electric system
CN112332889B (en) * 2017-04-10 2021-10-26 华为技术有限公司 Data transmission method and device, power line communication network and power system
CN108696298B (en) * 2017-04-10 2020-11-17 华为技术有限公司 Data transmission method and device, power line communication network and power system
CN107733630A (en) * 2017-11-29 2018-02-23 北京中宸泓昌科技有限公司 A kind of carrier wave resource allocation method and device based on broadband PLC
CN107733630B (en) * 2017-11-29 2020-05-01 北京中宸泓昌科技有限公司 Carrier resource allocation method and device based on broadband PLC
CN109347519A (en) * 2018-08-27 2019-02-15 全球能源互联网研究院有限公司 A kind of multi-channel transmission method and device of power line carrier and wireless fusion
CN110739987A (en) * 2018-10-16 2020-01-31 南京无疆界通信科技有限公司 Low-voltage power line broadband carrier communication system
CN110661551A (en) * 2019-09-29 2020-01-07 南方电网科学研究院有限责任公司 Method for adaptively adjusting beacon period time slot number
CN110995315A (en) * 2019-11-27 2020-04-10 深圳市力合微电子股份有限公司 Communication method based on high-speed power line carrier
CN110995315B (en) * 2019-11-27 2022-02-11 深圳市力合微电子股份有限公司 Communication method based on high-speed power line carrier
CN111970030A (en) * 2020-07-22 2020-11-20 珠海中慧微电子有限公司 Signal transmitting method of broadband carrier communication network
WO2022041914A1 (en) * 2020-08-24 2022-03-03 华为技术有限公司 Power line communication method, device, and system
CN114204964A (en) * 2020-09-17 2022-03-18 华为技术有限公司 Power line network flow channel establishing method, device and system
CN114204964B (en) * 2020-09-17 2022-12-06 华为技术有限公司 Power line network flow channel establishing method, device and system
CN113676885A (en) * 2021-08-20 2021-11-19 青岛鼎信通讯股份有限公司 TDMA time slot dividing method based on beacon indication
CN113676885B (en) * 2021-08-20 2023-10-10 青岛鼎信通讯股份有限公司 Time slot dividing method based on TDMA

Also Published As

Publication number Publication date
CN106506043B (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN106506043A (en) Data transmission method, control device and equipment in a kind of PLC system
CN101800693B (en) Method for managing data transmission in moca network and coaxial cable network
CN104066092B (en) A kind of frequency spectrum distributing method, device and system
CN101808033B (en) Method and apparatus for allocating reservation bandwidth of traffic
CN103841044A (en) Bandwidth control method based on software-defined networking and oriented to different types of flow
CN106211339B (en) The method and apparatus of resource allocation in car networking system
CN104320358A (en) QoS (Quality of Service) business control method in power telecommunication net
RU2012146974A (en) CENTRALIZED DYNAMIC ALLOCATION OF CHANNELS FOR INTERNAL NETWORKS OF MEDICAL INSTITUTION
CN103402261B (en) Self-adaption multi-service resource allocation method and device
CN112583729B (en) Path flow distribution method, network equipment and network system
CN103023822B (en) Fixed-length time slot based dynamic channel allocation method for time division duplex/time division multiple access
CN105959218A (en) Network route selection method and network route selection system
CN106533833B (en) A method of reducing Carrier Sense Multiple Access resource contention
CN109769306A (en) Shared channel resources dispatching distribution method and system suitable for electric power wireless private network
CN105072589B (en) A kind of data transmission method and Wide Area Netweork base satation of Wide Area Netweork base satation
CN107846341A (en) Method, relevant apparatus and the system of schedules message
CN104901902B (en) A kind of flow control methods and device
CN102904836A (en) Real-time service time slot encapsulating method for multi-frequency time-division multiple-address access system
CN109429347A (en) Slot allocation method and device
CN101730233A (en) Resource processing methods
CN106775961A (en) A kind of method of cross-system data and signal transmission
CN105025578A (en) Method for utilizing television frequency band white space spectrums in Internet of vehicles
CN105978779B (en) Real-time communication method, apparatus and system based on industry internet
CN100539523C (en) A kind of dynamic link bandwidth allocation methods that is used for Resilient Packet Ring
CN104283805B (en) A kind of SDN file transmitting method and equipment

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