CN107579758A - A kind of two-way alternate communication method based on G3 PLC - Google Patents
A kind of two-way alternate communication method based on G3 PLC Download PDFInfo
- Publication number
- CN107579758A CN107579758A CN201710814295.XA CN201710814295A CN107579758A CN 107579758 A CN107579758 A CN 107579758A CN 201710814295 A CN201710814295 A CN 201710814295A CN 107579758 A CN107579758 A CN 107579758A
- Authority
- CN
- China
- Prior art keywords
- ammeter
- node
- concentrator
- hop
- communication method
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of two-way alternate communication method based on G3 PLC, it is characterised in that comprises the following steps:Step 1:Mesh network networking, form the netted topological network of multi-hop;Step 2:Lightweight demand distance vector routing algorithm of future generation is used in the netted topological network of multi-hop, establishes two-way dynamic routing;The present invention provides a kind of two-way alternate communication method based on G3 PLC, applied in AMRS, to solve the problems, such as that tradition can not realize bi-directional data real-time interactive based on FSK power-line carrier communications, improve the real-time of ammeter response and reporting events, realize marketing main website and the bi-directional data real-time interactive of electricity consumption side, meanwhile to solve to technical problems such as the controls of parameter such as networking generation of electricity by new energy power curve.
Description
Technical field
The present invention relates to technical field of electric power communication, more particularly to a kind of two-way alternate communication method based on G3-PLC.
Background technology
Tradition is based on FSK power-line carrier communications due to physical layer transmission rate limitation and a variety of static routing mechanism
The defects of, bi-directional data real-time interactive can not be realized, and its improved method is complicated, hardware interactions mechanism and O&M cost are high,
Effect is undesirable.
The content of the invention
The technical problem to be solved in the present invention is:
The present invention provides a kind of two-way alternate communication method based on G3-PLC, applied in AMRS, with solution
The problem of certainly tradition can not realize bi-directional data real-time interactive based on FSK power-line carrier communications, rung so as to improve ammeter
Marketing main website and the bi-directional data real-time interactive of electricity consumption side should be realized with the real-time of reporting events.
The technical scheme is that:
A kind of two-way alternate communication method based on G3-PLC, it is characterised in that comprise the following steps:
Step 1:Mesh network networking, form the netted topological network of multi-hop;
Step 2:Lightweight demand distance vector routing algorithm of future generation is used in the netted topological network of multi-hop, is established two-way
Dynamic routing.
Mesh network networking described in step 1, forms the netted topological network of multi-hop, and its step includes:
Step 1.1 concentrator G3-PLC modules power-up initializing simultaneously creates a subnet;
Electric current journey initializes in step 1.2 slave module.
It is double using the foundation of generation lightweight demand distance vector routing algorithm in the netted topological network of multi-hop described in step 2
To dynamic routing, its step includes:
Step 2.1 concentrator G3-PLC modules realize that lightweight demand distance vector route of future generation is calculated in 6LOWPAN layers
Method;
Step 2.2 establishes two-way dynamic routing stage by stage.
Application in AMRS comprises the following steps:
Step 4.1:Concentrator sends meter reading request data package;
Step 4.2:Ammeter carries out response to meter reading request;
Step 4.3:Ammeter event packet is through ammeter from node active reporting to concentrator.
Concentrator described in step 4.1 sends meter reading request data package, comprises the following steps:
Step 4.1.1 concentrators send meter reading data claim frame and transmitted to host node, and host node parses claim frame acquisition
Concentrator purpose meter reading address;
Whether step 4.1.2 host nodes check has to the path of the purpose ammeter in routing table;
Step 4.1.3 next-hop nodes check whether purpose table address is identical with Self address, and circulation is until amr frame arrives
Up to purpose ammeter.
Ammeter described in step 4.2 carries out response to meter reading request, comprises the following steps:
The data of step 4.2.1 ammeters parsing meter reading message and respond request, ammeter end carrier wave is sent to by reply data
From node;
Step 4.2.2 passes the meter reading data of ammeter response back host node from node;
The data that purpose ammeter node returns are sent to concentrator by step 4.2.3 host nodes.
Ammeter event packet described in step 4.3 through ammeter from node active reporting to concentrator, comprise the following steps:
Event packet is sent to ammeter from node by step 4.3.1 ammeters, using existing route or is established new from node
Path event packet is issued into next-hop node by ammeter;
Step 4.3.2 next-hop nodes are reported to event packet up to concentrator.
Beneficial effects of the present invention:
The present invention provides a kind of two-way alternate communication method based on G3-PLC, applied in AMRS, overcomes
The problem of tradition can not realize bi-directional data real-time interactive based on FSK power-line carrier communications, solve new to networking
The technical problems such as the controls of parameter such as energy generating power curve, realize that marketing main website and the bi-directional data of electricity consumption side are real-time
Interaction, improve the real-time of ammeter response and reporting events.
Brief description of the drawings
Fig. 1 route requests process schematics;
Fig. 2 route replies process schematics;
Electricity creates flow through a network figure on Fig. 3 concentrator nodes;
Electricity adds the flow through a network figure that concentrator creates on Fig. 4 ammeters.
Embodiment
A kind of two-way alternate communication method based on G3-PLC, it comprises the following steps:
Step 1:Mesh network networking, form the netted topological network of multi-hop;
Step 2:Lightweight demand distance vector routing algorithm of future generation is used in the netted topological network of multi-hop, is established two-way
Dynamic routing.
Mesh network networking described in step 1, forms the netted topological network of multi-hop, and its step includes:
Step 1.1 concentrator G3-PLC modules power-up initializing simultaneously creates a subnet, and it is as follows to create process:
(1) concentrator module electrification reset;
(2) concentrator sets the network identifier (subnet identifier) of primary module, and network identifier is defined as two bytes,
And it can not repeat.
(3) it is hexadecimal 0000 that primary module, which sets the module device indications of oneself,.
(4) self-administered ammeter archives are handed down to concentrator module by concentrator, form " the white name of concentrator module
It is single ", wherein ammeter archives must include electric meter address, and ammeter state is all engineering noise when initial, as follows:
(5) primary module creates subnet, waits slave module to initiate registration.
(6) when there is slave module to register, check whether the table address of the corresponding ammeter carried during slave module registration is reflecting
In firing table, as illustrated if, the table is one piece of table that this concentrator is responsible for, and receives application and by module corresponding to table address
Device identifier distributes to slave module, and connection status is changed to " activate " from default conditions " effective ".Otherwise refuse slave module to add
Subnet application.
Electric current journey initializes in step 1.2 slave module, and initialization flow is as follows:
(1) slave module electrification reset.
(2) slave module scanning subnet, overall network identifier is found, the best PAN nets of selection signal first add, such as quilt
Refusal will continue to select other PAN nets to add, such Xun rings.
(3) ammeter or device address initiate to add subnet application corresponding to slave module carrying.
(4) after adding subnet, primary module distributes a module device identifier (two bytes) and gives slave module, slave module root
According to network identifier and device identifier unique mark oneself.
It is double using the foundation of generation lightweight demand distance vector routing algorithm in the netted topological network of multi-hop described in step 2
To dynamic routing, its step includes:
Step 2.1 concentrator G3-PLC modules realize that lightweight demand distance vector route of future generation is calculated in 6LOWPAN layers
Method;
G3-PLC realizes lightweight demand distance vector routing algorithm of future generation in 6LOWPAN layers, and routing algorithm includes
Neighboar lists, routing table and route requests table;Neighboar lists have recorded the adjacent node that can be physically communicated with present node
Information, routing table, which have recorded present node, will reach destination node, the information such as address for the next-hop node to be passed through, route
Required list is interim table, for finding route and for keeping the tracking of certain route querying message.
Step 2.2 establishes two-way dynamic routing stage by stage;
1st stage:Route requests
Routing request packet (claiming RREQ afterwards) refers to a broadcast packet sent from source node S, if intermediate node receives,
Intermediate node will re-broadcast it once, and so repeatedly, until it reaches destination node D, route requests process is as follows:
(1) source node S produces a new RREQ message, and is broadcasted its neighbor node;
(2) if neighbor node finds there is route requests ID and source address all identicals in its route requests table
RREQ, then this RREQ message is abandoned, on the contrary this node will insert the RREQ message in route requests table, while
A routed path to origin node is created in routing table to record, and is then re-broadcast this RREQ message by the neighbor node
Go out;
(3) other intermediate node repeat step (2) steps;
(4) after destination node D receives this RREQ message, it will be checked whether in its corresponding route requests table
With the presence of route requests ID and source address all identical RREQ message, the routing cost if then comparing this two RREQ message
(there is the weak tendency link total number of cost=forward direction route cost+process on road), it is preferential relatively more preceding to route cost, if forward direction is route
Cost is identical, then the small routing cost of the weak tendency link total number passed through is smaller, if the latter's routing cost is smaller, will update the former
Forward direction route cost and process weak tendency link total number, retain the former if the latter's routing cost is bigger, i.e., route is kept
Optimal path, and the reverse route address in destination node routing table is updated simultaneously;
Second stage:Route replies
Route replies bag (claiming RREP afterwards) refers to a unicast packet sent by destination node D, by intermediate node along
Accessed path is forwarded to source node S, and route replies process is as follows:
(1) intermediate node receives unicast packet, checks the road whether having in the routing table of the intermediate node to source node S
Footpath, if abandoning this RREP message without if;
(2) whether intermediate node checks route requests ID and source address all identical RREP in its route requests table, if
This RREP message is not abandoned then, intermediate node compares the reverse route cost of this two RREP message if having, if after
Reverse route cost in person RREP more then abandons the RREP greatly, otherwise the reverse route cost in renewal route requests table, and
The RREP message is forwarded to its route requests table and route requests ID and source address all identical Message Records by the intermediate node
Reverse route address where node;
(3) if the link that at the same time RREP is passed through is weak tendency link, need to be passed through in the weak tendency link of the RREP message
Cross on the basis of bar numerical value plus 1, and the RREP is forwarded back on the path of source address from destination address, the value of reverse route cost
Hop-by-hop is cumulatively added, last intermediate node according to RREP in its routing table plus one its to destination node path record;
Now, source node S can actively send packet with destination node D and reach opposite end, i.e. source by this paths
Node S has the path to source node S into the routing table of the destination node D intermediate nodes passed through, also has to destination node D's
Path, therefore two-way dynamic routing is established, realize bi-directional data real-time interactive.Application in AMRS include with
Lower step:
Step 4.1:Concentrator sends meter reading request data package;
Concentrator sends meter reading request data package, and meter reading request data package passes through local Serial Port Transmission to the load of concentrator side
Meter reading request data package is transferred to ammeter end by ripple host node, carrier wave host node through G3-PLC carrier communication networks;
Step 4.2:Ammeter carries out response to meter reading request;
Ammeter carries out response to meter reading request, and reply data bag is transferred into the carrier wave at ammeter end from section through local serial ports
On point, the packet of response is transferred to concentrator side by carrier wave from node through G3-PLC carrier communication networks;
Step 4.3:Ammeter event packet is through ammeter from node active reporting to concentrator.
Concentrator described in step 4.1 sends meter reading request data package, comprises the following steps:
Step 4.1.1 concentrators send meter reading data claim frame and transmitted to host node, and host node parses claim frame acquisition
The meter reading address of concentrator syllabus:
Concentrator sends meter reading data claim frame, and through local Serial Port Transmission to concentrator host node, host node parsing should ask
Frame is sought, obtains the meter reading address of concentrator syllabus;
Whether step 4.1.2 host nodes check has to the path of the purpose ammeter in routing table:
Whether host node checks has in routing table to the path of the purpose ammeter, and amr frame is forwarded if having to the path
Next-hop node, if carrying out route discovery without if, purpose table path is arrived in foundation, and forwarding is given to the next-hop section in destination node path
Point.
Step 4.1.3 next-hop nodes check whether purpose table address is identical with Self address, and circulation is until amr frame arrives
Up to purpose ammeter:
Next-hop node receives the amr frame of host node forwarding, checks whether purpose table address is identical with Self address, if
It is identical, table where oneself is transmitted to, next-hop node is forwarded to if different.Circulation is until amr frame reaches purpose ammeter.
Ammeter described in step 4.2 carries out response to meter reading request, comprises the following steps:
Reply data is simultaneously sent to by step 4.2.1 ammeters parsing meter reading message and the data of respond request through local serial ports
Ammeter end carrier wave is from node;
Step 4.2.2 passes the meter reading data of ammeter response back host node from node;
The two-way routed path created from node according to host node, by the meter reading data of ammeter response through carrier communication net
Network passes host node back, if the route created before because a variety of causes interrupts, by initiating route discovery again from node, is created
Build the new route of an arrival host node;
The data that purpose ammeter node returns are sent to concentrator by step 4.2.3 host nodes by local serial ports.Step
Ammeter event packet described in 4.3 through ammeter from node active reporting to concentrator, comprise the following steps:
Event packet is sent to ammeter from node by step 4.3.1 ammeters, using existing route or is established new from node
Path event packet is issued into next-hop node by ammeter:
Event packet is sent to ammeter from node by ammeter through local serial ports, checked from node in routing table whether have to
The path of host node, amr frame is forwarded, if carrying out route discovery without if, to be established to the next-hop node in the path to master if having
The path of node, after the completion of path is established, relay to the next-hop node for reaching host node path;
Step 4.3.2 next-hop nodes are reported to event packet up to concentrator:
After next-hop node receives the reporting events packet for wanting the ammeter node forwarding of reported event, purpose section is checked
Whether dot address is identical with the address of oneself (i.e. whether oneself is host node), and reporting events packet is passed through into this if identical
Ground serial ports is transmitted to concentrator, and next-hop node is forwarded to if different, and circulation repeatedly, collects until reporting events packet reaches
Middle device.
Claims (7)
- A kind of 1. two-way alternate communication method based on G3-PLC, it is characterised in that comprise the following steps:Step 1:Mesh network networking, form the netted topological network of multi-hop;Step 2:Lightweight demand distance vector routing algorithm of future generation is used in the netted topological network of multi-hop, establishes two-way dynamic Route.
- A kind of 2. two-way alternate communication method based on G3-PLC according to claim 1, it is characterised in that:Mesh network networking described in step 1, forms the netted topological network of multi-hop, and its step includes:Step 1.1 concentrator G3-PLC modules power-up initializing simultaneously creates a subnet;Electric current journey initializes in step 1.2 slave module.
- A kind of 3. two-way alternate communication method based on G3-PLC according to claim 1, it is characterised in that:Two-way move is established using generation lightweight demand distance vector routing algorithm in the netted topological network of multi-hop described in step 2 State is route, and its step includes:Step 2.1 concentrator G3-PLC modules realize lightweight demand distance vector routing algorithm of future generation in 6LOWPAN layers;Step 2.2 establishes two-way dynamic routing stage by stage.
- A kind of 4. two-way alternate communication method based on G3-PLC according to claim 1, it is characterised in that:Application in AMRS comprises the following steps:Step 4.1:Concentrator sends meter reading request data package;Step 4.2:Ammeter carries out response to meter reading request;Step 4.3:Ammeter event packet is through ammeter from node active reporting to concentrator.
- 5. a kind of two-way alternate communication method based on G3-PLC according to claim 4, the concentrator described in step 4.1 Meter reading request data package is sent, is comprised the following steps:Step 4.1.1 concentrators send meter reading data claim frame and transmitted to host node, and host node parses the claim frame and obtains concentration Device purpose meter reading address;Whether step 4.1.2 host nodes check has to the path of the purpose ammeter in routing table;Step 4.1.3 next-hop nodes check whether purpose table address is identical with Self address, and circulation is until amr frame reaches mesh Ammeter.
- 6. a kind of two-way alternate communication method based on G3-PLC according to claim 4, the ammeter pair described in step 4.2 Meter reading request carries out response, comprises the following steps:The data of step 4.2.1 ammeters parsing meter reading message and respond request, ammeter end carrier wave is sent to from section by reply data Point;Step 4.2.2 passes the meter reading data of ammeter response back host node from node;The data that purpose ammeter node returns are sent to concentrator by step 4.2.3 host nodes.
- 7. a kind of two-way alternate communication method based on G3-PLC according to claim 4, the ammeter thing described in step 4.3 Part packet through ammeter from node active reporting to concentrator, comprise the following steps:Event packet is sent to ammeter from node by step 4.3.1 ammeters, and using existing route or new route is established from node Event packet is issued into next-hop node by ammeter;Step 4.3.2 next-hop nodes are reported to event packet up to concentrator.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710814295.XA CN107579758A (en) | 2017-09-11 | 2017-09-11 | A kind of two-way alternate communication method based on G3 PLC |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710814295.XA CN107579758A (en) | 2017-09-11 | 2017-09-11 | A kind of two-way alternate communication method based on G3 PLC |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107579758A true CN107579758A (en) | 2018-01-12 |
Family
ID=61035961
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710814295.XA Pending CN107579758A (en) | 2017-09-11 | 2017-09-11 | A kind of two-way alternate communication method based on G3 PLC |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107579758A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110047268A (en) * | 2019-04-25 | 2019-07-23 | 宁波三星医疗电气股份有限公司 | Meter register method and device |
CN111464435A (en) * | 2020-03-18 | 2020-07-28 | 深圳市力合微电子股份有限公司 | Internet of things-oriented network layer protocol for power line carrier communication |
CN113242140A (en) * | 2021-03-30 | 2021-08-10 | 宁波三星医疗电气股份有限公司 | G3 network topology data storage method and display method of embedded device and electronic device |
CN113747267A (en) * | 2021-08-10 | 2021-12-03 | 青岛鼎信通讯股份有限公司 | Power line data acquisition and fusion method based on HPLC (high performance liquid chromatography) main and auxiliary routes |
CN114373291A (en) * | 2022-01-19 | 2022-04-19 | 深圳市力合微电子股份有限公司 | Method for automatically registering G3-PLC electric meter to master station |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2068500A2 (en) * | 2007-12-03 | 2009-06-10 | Elbit Systems Electro-Optics Elop Ltd. | Method and system for flooding and multicast routing in an ad-hoc network |
CN102117537A (en) * | 2009-12-31 | 2011-07-06 | 深圳先进技术研究院 | Meter reading gateway, meter reading system and meter reading method |
CN103888357A (en) * | 2014-03-07 | 2014-06-25 | 清华大学 | Moving source routing method of dynamic transport network |
-
2017
- 2017-09-11 CN CN201710814295.XA patent/CN107579758A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2068500A2 (en) * | 2007-12-03 | 2009-06-10 | Elbit Systems Electro-Optics Elop Ltd. | Method and system for flooding and multicast routing in an ad-hoc network |
CN102117537A (en) * | 2009-12-31 | 2011-07-06 | 深圳先进技术研究院 | Meter reading gateway, meter reading system and meter reading method |
CN103888357A (en) * | 2014-03-07 | 2014-06-25 | 清华大学 | Moving source routing method of dynamic transport network |
Non-Patent Citations (2)
Title |
---|
张秋雁: "G3_PLC高速窄带载波在低压集抄中的应用", 《贵州电力技术》 * |
陈鑫雯: "基于G3标准自动抄表系统路由机制的设计与实现", 《湖南大学硕士学位论文》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110047268A (en) * | 2019-04-25 | 2019-07-23 | 宁波三星医疗电气股份有限公司 | Meter register method and device |
CN110047268B (en) * | 2019-04-25 | 2020-08-25 | 宁波三星医疗电气股份有限公司 | Meter reading method and device |
CN111464435A (en) * | 2020-03-18 | 2020-07-28 | 深圳市力合微电子股份有限公司 | Internet of things-oriented network layer protocol for power line carrier communication |
CN111464435B (en) * | 2020-03-18 | 2021-12-03 | 深圳市力合微电子股份有限公司 | Power line carrier communication method oriented to Internet of things |
CN113242140A (en) * | 2021-03-30 | 2021-08-10 | 宁波三星医疗电气股份有限公司 | G3 network topology data storage method and display method of embedded device and electronic device |
CN113747267A (en) * | 2021-08-10 | 2021-12-03 | 青岛鼎信通讯股份有限公司 | Power line data acquisition and fusion method based on HPLC (high performance liquid chromatography) main and auxiliary routes |
CN114373291A (en) * | 2022-01-19 | 2022-04-19 | 深圳市力合微电子股份有限公司 | Method for automatically registering G3-PLC electric meter to master station |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107579758A (en) | A kind of two-way alternate communication method based on G3 PLC | |
CN102037685B (en) | IP forwarding across a link state protocol controlled Ethernet network | |
CN102150148B (en) | Differentiated services for unicast multicast frames in layer 2 topologies | |
CN103346968B (en) | Method and apparatus for routing multicast data | |
CN1327667C (en) | Multicast route in AD-HOC network | |
Gui et al. | Scalable multicasting in mobile ad hoc networks | |
CN102957589B (en) | Method, network node and system for service data transmission | |
CN104378297A (en) | Message forwarding method and device | |
Tsai et al. | A path-connected-cluster wireless sensor network and its formation, addressing, and routing protocols | |
CN102769885B (en) | Method for realizing routing in sensor network and sensor network | |
CN102148756A (en) | IPv6 over low power wireless personal area network (6LoWPAN) neighbor discovery-based tree routing method | |
CN103841621B (en) | A kind of redundancy method for routing based on 6LoWPAN tree networks | |
CN105897605B (en) | A kind of power line carrier communication network network jamming control method based on IPv6 | |
CN103476081B (en) | Method for routing in wireless sensor network | |
CN104883304A (en) | Method for routing part entangled quantum pair bridging communication network | |
CN104618525B (en) | The method of seamless connection based on layering route cross-heterogeneous-network | |
Chiti et al. | Energy efficient routing algorithms for application to agro-food wireless sensor networks | |
Janicijević et al. | Routing protocol for low-power and lossy wireless sensor networks | |
CN1960325B (en) | Data process method in a bridging network, and a bridging network | |
CN105515986B (en) | Train Communication Network data processing method and system | |
Lau et al. | A distance-vector routing protocol for networks with unidirectional links | |
Liu et al. | The study of effectiveness for ad-hoc wireless network | |
CN106255166B (en) | A kind of method for routing based on content center network on multi-level topology figure | |
CN104601477B (en) | The cut-in method and route bridging equipment of TRILL network | |
Barange et al. | Review paper on implementation of multipath reactive routing protocol in manet |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180112 |