CN106357305B - A kind of automatic network-building method, the apparatus and system of tree structure network - Google Patents

A kind of automatic network-building method, the apparatus and system of tree structure network Download PDF

Info

Publication number
CN106357305B
CN106357305B CN201610973736.6A CN201610973736A CN106357305B CN 106357305 B CN106357305 B CN 106357305B CN 201610973736 A CN201610973736 A CN 201610973736A CN 106357305 B CN106357305 B CN 106357305B
Authority
CN
China
Prior art keywords
node
central control
nodes
information
association request
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
CN201610973736.6A
Other languages
Chinese (zh)
Other versions
CN106357305A (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 CN201610973736.6A priority Critical patent/CN106357305B/en
Publication of CN106357305A publication Critical patent/CN106357305A/en
Application granted granted Critical
Publication of CN106357305B publication Critical patent/CN106357305B/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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/44Star or tree networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/244Connectivity information management, e.g. connectivity discovery or connectivity update using a network of reference devices, e.g. beaconing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to automatic network-building method, the apparatus and systems of a kind of tree structure network, belong to internet of things field.A kind of automatic network-building method of tree structure network, comprising the following steps: by central control node periodicity sending beacon message, after nodes receive beacon message, send association request information to central control node;Central control node retransmits association confirmation message to requesting node, is its distribution node mark and transfer resource;The step of new node networks, node removes and routing optimality is additionally provided in the method.A kind of automatic network-building method of tree structure network provided by the invention so that power equipment in tree network structure can quickly networking, solve in the prior art because the network equipment mostly with the technical problem that causes networking efficiency low due to message transmissions low efficiency.

Description

A kind of automatic network-building method, the apparatus and system of tree structure network
Technical field
The invention belongs to internet of things field, in particular to a kind of automatic network-building method, the device of tree structure network And system.
Background technique
Electric line carrier communication (referred to as: PLC) is a kind of communication technology carried out data transmission by electric wire.PLC is benefit Existing power grid is used as the transfer medium of signal, power grid is allow to carry out data communication, this mode while transmitting electric power Power equipment, instrument and household electrical appliance in power grid can effectively be monitored and controlled.Meanwhile power line carrier technology is inserted i.e. With, substantially increase production, work and life efficiency, largely saved cable wiring manufacture cost, and its stablize, can It leans on, system resource abundant is also easy to obtain.Above-mentioned various features and advantage make it be compared to other communication modes and more win one It raises.
Based on the long-distance meter-reading system of broadband power line carrier (BPL), AMR (remote meter reading) be in smart electric grid system most Basic application, broadband power line carrier electric energy meter are most important links during its realization.Remote meter reading (AMR) is electricity Instrument (water, coal gas) usage amount in energy table and other access electric energy meters passes through power line transmission to database server, and Carry out charging and the analysis of usage amount data, that is to say, that electricity consumption (water, coal gas) charge will be without relying on the originals such as manually visit, estimate Backward method begin to realize.Meanwhile both sides of supply and demand can be interacted preferably, and then be improved service quality, branch out canal Road.
The electricity consumption data of another aspect real-time and precise ensures that power supply department obtains information material proficiency, abundant.For example, By use the time be divided into charging, with electrical feature, consumption habit, load curve record, have a power failure alarm, stealing alarm, requirement predict, The information that the various traditional approach such as electric leakage record, long-range cutting can not obtain in time, to establish more accurate mathematical model, Science realizes the big target of energy-saving and emission-reduction.
The annual company standard modification plan of State Grid Corporation of China 2014 notifies, in national grid section [2014] 64, provides " power user power consumption information acquisition system " series standard.In the standard, in being given during single network organizing The networking behavior of centre control coordinator (abbreviation CCO), agent controller and equipment, but generally, specification description is rough, Especially it is not directed to concrete implementation details.
" power user power consumption information acquisition system " standard provided based on State Grid Corporation of China and actual power network Network structure, power consumer electricity consumption information acquire equipment network mode and use the progress networking of tree routing structure, as shown in Figure 1. This network structure is used not only for the networking structure of power consumer electricity consumption information acquisition equipment, is also largely used to various Internet of Things In, have a wide range of applications scene.In Practical Project realization, the realization of function cannot be only considered, it is also necessary to consider equipment Production and selling and later period operation maintenance cost equally exist this in the Internet of Things of other similar network topological structures A problem.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of automatic network-building method of tree structure network, device and being System so that power equipment in tree network structure can quickly networking, solve in the prior art because of the network equipment mostly and report The literary technical problem that transmission efficiency is low and causes networking efficiency low.
In order to achieve the above objectives, the invention provides the following technical scheme:
A kind of automatic network-building method of tree structure network, this method specifically includes the following steps:
S1: central control node powers on rear periodicity sending beacon message;
S2: after nodes receive the beacon message of central control node transmission, association request information is sent to center Control node;
S3: central control node receives the association request information of node transmission, handles association request information, examines Association request node legitimacy is looked into, if legal, sends association confirmation message to requesting node;If illegal, association is abandoned Solicited message;The association confirmation message includes the node identification that central control node is requesting node distribution.
Further, it after the central control node powers on, waits other nodes to send association request and starts timer; After central control node has handled each association request information, the timer will be all restarted;If the timer expiry, center control Node processed does not continue to receive association request information, then it is assumed that first nodes networking is completed.
Further, after the completion of the first nodes networking, central control node requests first nodes to send beacon message;And Start timer, carries out two-level node networking;
After the node of unfinished networking receives beacon message transmitted by first nodes, then the first nodes are set as this Locum's node of node, and association request information, locum's node forwarding are sent to locum's node The association request information is to central control node;
Central control node receives the association request information of locum's node forwarding, to association request information into Row processing, checks association request node legitimacy, if legal, sends association confirmation message to locum's node, interim generation Reason node is forwarded to requesting node for confirmation message is associated with;If illegal, association request information is abandoned;The association confirmation letter Breath includes the node identification that central control node is requesting node distribution;
If timer expiry, central control node does not continue to receive association request information, then it is assumed that two-level node group Net is completed, and the step is repeated, until all nodes all complete networking.
Further, the method also includes new node networking step, specifically: after new node powers on, be around search No there are other nodes, and select locum's node as oneself;
New node is saved to the locum sends association request information, and locum, which saves, believes the association request of new node Breath is forwarded to central control node;
Central control node handles association request information, checks association request node legitimacy, if legal, hair Send association confirmation message to locum's node, locum's node is forwarded to new node for confirmation message is associated with;If illegal, Then abandon association request information;The association confirmation message includes the node identification that central control node is new node distribution; Directly association request information is handled if being central control node if locum's section;
New node receives association confirmation message, then sets locum's node as father node, record central control node For the node identification of its distribution, complete to network.
Further, the new node is when selecting locum's node, if having central control node in the node searched, Then preferentially select central control node as locum's node, if not having, successively select first nodes, two-level node as Locum's node;If searching multiple nodes in same level-one, then the top-quality node of new node selection signal, which is used as, faces When agent node.
Further, the method also includes node removing step, specifically: the node receives association confirmation message Afterwards, then the networking of node is completed, the information that other nodes are sent on node searching transfer resource parses the content in information, will The node identification for issuing information node is recorded in the discovery list of node, while measurement receives the signal quality of information;If This node does not receive a certain nodal information in discovery list within continuous two discovery periods, then the node is arranged from discovery It is deleted in table;The node includes end node and agent node;
After end node reception to association confirmation message, start supervision timer, periodically sends discovery list information extremely Agent node is then transmit to central control node, is sent directly to central control node if end node is first nodes;
Agent node receives end segment point discovery list information, checks whether this node needs to report the discovery of agent node List information is to central control node, if agent node had reported the discovery list of oneself, and the discovery column of this node No change has taken place for table, then does not need to report the discovery list information of this node to central control node, then agent node is by end The discovery list information of node is reassembled into heartbeat message and sends toward even higher level of node;Otherwise, agent node is by this node It was found that list information is also assembled into heartbeat message, it is sent to even higher level of node;
Central control node collects the discovery list information of all nodes, has detected whether nodes break down or has been moved It removes, has node not in the discovery list information of all nodes if it exists, then determine the nodes break down or be removed, in Centre control node removes the node in routing iinformation.
Further, central control node discovery has nodes break down or is removed, then central control node into Row agent update configures again repair way by central control node sends agency's change solicited message and saves to the agency for removing node Then point reassigns agent node to remove the child node of node.
Further, the method also includes routing optimality step, specifically: after the completion of the node networking, center control Discovery list information of the node by periodic harvest from each node, and it is stored in the routing iinformation of central control node In;That is the central control node adjacent node information that saves each node in current network in real time;
Central control node routing optimality is since first nodes, it is assumed that each node in first nodes is agency's section Point, then that lists each first nodes communicates node, communicates the most first nodes of number of nodes and is determined as new agent node, with Its node communicated is all the child node of the node, have determined as in this process central control node, agent node or It is that the child node of agent node be not included in wherein, only one father node of each node;It is same former after first nodes are completed Reason carries out two-level node, and networking optimizes again, to the last first nodes;
Central control node is reassembled into a complete optimization routing table, at this time center control according to discovery list information Node processed will optimize routing table and original routing table is compared, and is compared one by one with node each in first nodes, then Two-level node, three-level node to the last first nodes, if the child node of comparison node changes, central control node Agency's change solicited message is sent to the node, modifies its child node route information;
Central control node sends agency's change solicited message, and the intermediate node of all processes is all asked according to agency's change The child node information for seeking the more new node in information, modifies the routing iinformation of this intermediate node.
A kind of automatic networking device of tree structure network, described device includes mesh information receiving unit, for receiving The mesh information that central controller and other devices are sent;Mesh information transmission unit, for receive central controller or After the beacon message that other devices are sent, association request information is sent to central control node;Routing iinformation storage element, is used for Store the routing iinformation of the present apparatus, the node identification and signal quality of higher level equipment, subordinate equipment including the present apparatus.
A kind of automatic network-building system of tree structure network, the system include central controller and automatic networking device, institute Stating central controller includes mesh information transmission unit, is used for periodicity sending beacon message when networking;Legitimacy detection Unit carries out validity checking to node after receiving the association request information that node is sent;Node removes checklist Member, for check in network whether have nodes break down or be removed;The automatic networking device includes that mesh information connects Unit is received, the mesh information sent for receiving central controller and other devices;Mesh information transmission unit, for receiving After the beacon message sent to central controller or other devices, association request information is sent to central control node;Routing letter Cease storage element, for storing the routing iinformation of the present apparatus, the node identification of higher level equipment, subordinate equipment including the present apparatus and Signal quality.
The beneficial effects of the present invention are: a kind of automatic network-building method of tree structure network provided by the invention, so that Power equipment is capable of quickly networking in tree network structure, solve in the prior art because of the network equipment mostly and message transmissions The technical problem that low efficiency causes networking efficiency low.
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 the equipment connection structure figure in PLC power meter reading system;
Fig. 2 is 1 route information table of tree structure network interior joint;
Fig. 3 is tree structure network Road by relation table;
Fig. 4 is 2 route information table of tree structure network interior joint;
Fig. 5 is 3 route information table of tree structure network interior joint;
Fig. 6 is that the discovery list of node 3 saves;
Fig. 7 is the route information table for increasing the node 3 after node 5;
Fig. 8 is the route information table for increasing the node 3 after node 6;
Fig. 9 is the scene for removing node;
Figure 10 is the node topology figure in routing optimality;
Figure 11 is the route information table saved in device memory;
Figure 12 is the group network process of first nodes after CCO device power-up in PLC system;
Figure 13 is the group network process of two-level node and the lower node of second level in PLC system;
Figure 14 is to increase new STA equipment schematic diagram in PLC system;
Figure 15 is to increase the association process such as STA equipment in PLC system after booting;
Figure 16 is that STA equipment schematic diagram is deleted in PLC system;
Figure 17 is the abnormal or removed treatment process of PLC system interior joint;
Figure 18 is routing optimality schematic diagram in PLC system;
Figure 19 is routing optimality schematic diagram in PLC system;
Figure 20 is that list preserving type is found in central control node.
Specific embodiment
Below in conjunction with attached drawing, a preferred embodiment of the present invention will be described in detail.
The automatic network-building method of a kind of tree structure network provided by the invention, so that power equipment is in tree network structure In can quickly networking, solve in the prior art because the network equipment mostly with message transmissions low efficiency due to cause networking efficiency low Technical problem.This method specifically includes the following steps:
Node in network, including central control node and other nodes, in order to adapt to tree-like networking structure in Internet of Things, Routing iinformation can be saved using tree structure body.Data structure includes node structure and child node structure in routing table, it Be defined as follows:
Node structure
The preservation format of routing table in memory is as shown in Fig. 2, wherein the highest node in tree structure network is known as Central control node, what is be directly connected with central control node is known as first nodes;Be connected with first nodes, but not with center What control node was connected is known as two-level node;The node for being connected with two-level node, but not being connected with first nodes, referred to as three-level Node.And so on, level Four node, Pyatyi node ..., if the node 1 in Fig. 3 is central control node.
In the Internet of Things of tree structure, all nodes all save the complete routing iinformation of this node node below, and This node also needs to save the node identification of father node.As shown in Figure 3.
Node 1 save routing table as shown in Fig. 2, node 2 save routing table as shown in figure 4, node 3 save routing Table is as shown in Figure 5.
Node in network, including central control node and other nodes all use tree node structure body and child node knot Structure body saves the discovery list of this node.
A kind of automatic network-building method of tree structure network provided by the invention, specifically includes the following steps:
S1: central control node powers on rear periodicity sending beacon message;It include to distribute to each node in the beacon The resource information that can be used;
S2: after nodes receive the beacon message of central control node transmission, association request information is sent to center Control node;Node can only carry out data when sending association request information on distributing to the transfer resource that this node uses It sends.
S3: central control node receives the association request information of node transmission, handles association request information, examines Association request node legitimacy is looked into, if legal, sends association confirmation message to requesting node;If illegal, association is abandoned Solicited message;The association confirmation message includes the node identification that central control node is requesting node distribution.
Should during, it is its child node that central control node, which will record requesting node, and the child node increased to In the routing table child node for entreating control node.Send association request node, receive central controller association confirmation message it Afterwards, the mark of record central control node distribution, and record the father node that central control node is this node.
After central control node powers on, other nodes are waited to send association request, and start timer;Center control section After point has handled each association request information, the timer will be all restarted;If the timer expiry, central control node do not have Continue to receive association request information, then it is assumed that first nodes networking is completed.
After the completion of first nodes networking, central control node request first nodes send beacon message and start timer, Carry out two-level node networking;
After the node of unfinished networking receives beacon message transmitted by first nodes, then the first nodes are set as this Locum's node of node, and association request information, locum's node forwarding are sent to locum's node The association request information is to central control node;
Central control node receives the association request information of locum's node forwarding, to association request information into Row processing, checks association request node legitimacy, if legal, sends association confirmation message to locum's node, interim generation Reason node is forwarded to requesting node for confirmation message is associated with;If illegal, association request information is abandoned;The association confirmation letter Breath includes the node identification that central control node is requesting node distribution.Meanwhile central control node will record association request The routing iinformation of node.
After locum's node receives association confirmation message, this node route list will be modified, setting sends association The node of solicited message is the child node of oneself, and sends the association confirmation letter from central control node in transfer resource transfer Breath;The node for sending association request receives and comes after the association request confirmation of automatic network, saves the node identification of distribution, and Locum's node is set as the father node of this node.
If timer expiry, central control node does not continue to receive association request information, then it is assumed that two-level node group Net is completed, and is repeated the above steps, until all nodes all complete networking.
In tree topology network, tree topology node is divided into many grades, and central control node uses rank groups Net mode is sequentially completed all classification networkings.Node between central control node and locum's node is known as forwarding section Point, forward node, which is received, is associated with confirmation message from central control node, needs to increase association request node into routing table, so Forward the association confirmation message received again afterwards.
Shown in Fig. 3, node 5 networks after completion, and the route information table of node 3 is as shown in Figure 7.
Central controller continues networking, the association confirmation message of node 6 is sent to, after node 3, then node 3 Routing iinformation is changed into shown in Fig. 8.
In actual application, after initial tree-like topologic network is completed, exist and increase node or remove node Situation, this will affect the record information of entire routing table.So after booting networking is completed, each node in network will be after The routing function of network is safeguarded in continuous co-ordination.
New node Adding Way, system is in networking initial procedure, for there are the intermediate node of child node, center controls The resource information that node will be distributed to intermediate node and be can be used, if central control node will be its point in central beacon With fixed agent beacon time slot, it to be used for broadcast agent beacon.In this process, central control node can also be believed in center Some specific node broadcasts are required to find beacon in mark.(i.e. central control node is all to central beacon for the node searching newly increased Phase property sends beacon message) signaling beacon that sends of agent beacon or endpoint node, then newly-increased node will select it In a node as locum's node, and send association request information to central control node.
Specific step is as follows:
After new node powers on, it whether there is other nodes around search, and select a locum as oneself Node;New node is when selecting locum's node, if having central control node in the node searched, preferential selection center Control node successively selects first nodes, two-level node as locum's node as locum's node if not;If In same level-one, multiple nodes are searched, then the top-quality node of new node selection signal is as locum's node.
It newly increases node and association request information, central control node is sent to central control node by locum's node After receiving association request information, newly-increased node legitimacy is checked, if illegally, abandoning association request information, if legal, It is then identified for its distribution node, then assembling association confirmation message is forwarded to newly to locum's node by locum's node Increase node.
After central control node issues association confirmation message, all nodes passed through, i.e. intermediate node need basis It is associated with confirmation message content, modifies the routing iinformation of this intermediate node, i.e., by the son of this intermediate node record locum's node A new child node is increased in node (new child node is exactly the node for sending association request).
It newly increases node and receives the association confirmation message from locum's node, then set locum's node and saved as father Point records central control node as the node identification of its distribution.
By several processes above, node is newly increased just into an effective node in entire tree-shaped topology network, and And nodal information is newly increased all recording from central control node to the intermediate node for newly increasing node.
Other than newly increasing node, in use, there is also node removal or node failures, cannot provide The step of whole routing function, the node removes, is as follows:
Node (including end node with agent node) receives be associated with confirmation message after, then complete the networking of node, node The information that other nodes are sent on transfer resource is searched for, the content in information is parsed, the node identification for issuing information node is remembered Record is in the discovery list of node, while measurement receives the signal quality of information;If this node is in continuous two discovery periods A certain nodal information in discovery list is not received inside, then the node is deleted from discovery list.
There is no the node of child node to be known as end node, periodicity sending is found list information, that is, end segment by end node After point completes association request process, start supervision timer, continues searching the information that other nodes are sent on transfer resource, solution The content in information is analysed, record issues the node identification of the information into discovery list, while measurement receives the signal matter of information Record if receiving the beacon message that other nodes are sent, is also sent the node identification of beaconing nodes in this process by amount It is stored in discovery list, while measuring the signal quality of beacon.Supervision timer time-out, then end node sends discovery list information To father node (father node can be agent node and be also possible to central control node), if a node is two discovery periods A certain nodal information in discovery list is not received inside, then the node is deleted from discovery list.
After agent node receives discovery list information, check whether this node needs to report agent node discovery list letter Central control node is ceased, if agent node had reported the discovery list of oneself, and it was found that there is no changing for list Become, then it is heartbeat message that agent node, which directly forwards the discovery list information of end node, otherwise needs this agent node more New oneself to find list and find that list information be also sent to central control node after update, i.e., forwarding discovery list information is When heartbeat message, increase the discovery list information of this node into heartbeat message.
From agent node into central control node transmission process, heartbeat message can pass through multiple intermediate nodes, each Intermediate node checks whether this node needs to report discovery list information to central control node, if intermediate node did not reported It was found that list information, or discovery list information have occurred and that change, then heartbeat message is parsed, the discovery list of this node is increased Information is into heartbeat message.
Central control node collects the discovery list information of all nodes, if there is node not in the hair of other nodes In existing list, it can be concluded that the nodes break down or being removed.
Central control node discovery removes node, needs to notify other nodes node removed, center control section Point carry out agent update configuration again repair way by.Central control node sends agency's change solicited message to removal node first Agent node, then for remove node child node reassign agent node, routing is repaired.
After the completion of each node networking, obtained by discovery list information and heartbeat message, central control node All nodes communicated with node 4, including node 6.If node 5 does not report discovery list information, and in node 4 and node Also without node 5 in 6 discovery list, then central control node thinks that node 5 is removed.
In the scene of Fig. 9, central control node sends agency's change solicited message to node 4, by node 5 from node 4 Child list in delete, and increase node 6, while it is its agent node that node 4, which is arranged,.Proxy information change request warp When crossing node 3, node 3 needs to modify routing iinformation, i.e., the child list of node 4 is recorded in modification node 3.
The step of above method gives device power-up automatic network-building, newly increases node and removes node, but networking After be formed by routing access be not necessarily optimum line, so also need to carry out in routing iinformation maintenance process periodically Route optimization process.
The routing optimality the following steps are included:
After each node completes routing table foundation in network, periodic harvest is come from each node by central control node Discovery list information, and be stored in central control node, i.e., central control node saves each in current network in real time The adjacent node information of node.
Central control node routing optimality is since first nodes, in discovery list search, as long as and center control section The node definition that point communicates is first nodes, it is then assumed that each node in first nodes is agent node, is then listed every A first nodes communicate node, communicate the most first nodes of number of nodes and are determined as agent node, the node communicated therewith is all It is the child node of the node.The son of central control node, agent node or agent node is had determined as in this process Node be not included in wherein, only one father node of each node.After first nodes are completed, same principle carries out two-level node Again networking optimizes, three-level node, to the last first nodes.
Central control node is reassembled into a complete optimization routing table, at this time center control according to discovery list information Node processed will optimize routing table and original routing table is compared, and is compared one by one with node each in first nodes, then Two-level node, three-level node to the last first nodes.If the child node of comparison node changes, central control node Agency's change solicited message is sent to the node, modifies its child node route information.
Central control node sends agency's change solicited message, and the intermediate node of all processes is all according to agency's change request The child node information of more new node in information, modifies the routing iinformation of this intermediate node.
Embodiment 1
Tree topology network is as shown in Figure 10, and circle indicates that each node, node A are central control node, node Between solid line routing iinformation, identical, but not route lines between broken line representation node, such as node C4 sends letter Breath, node C3 and node B2 can be received.
Data uplink of the present invention and data downlink transmission process are as follows:
Down direction, i.e. central control node send the direction of data to downstream site.Transmitted by central control node Contain destination node marking in data packet, after central control node sends data packet, first nodes can receive the data Packet, receives the node of the data packet, checks whether the destination node marking in data packet is this node or belongs to this node Node in subtree.If it is, handle the data packet or forward the data packet to next stage node, otherwise discard processing.Together Sample, next stage node receive the data packet, check whether destination node marking is this node or belongs in the subtree of this node Node.If it is, handling the data packet or forwarding the data packet to next stage node, otherwise packet discard is handled.? In every grade of node, have and only one node can forward the data packet, or have and only one node be destination node.Such as In Figure 10 route information table, central control node transmits packets to node D4, includes the mark of node D4 in the data packet. After central control node sends the data packet, node B1, node B2 and node B3 can receive the data packet, but save Point D4 is in the subtree of node B2, so child node B2 will forward the data packet, node B1 and node B3 are then directly abandoned.Section After point B2 forwards data packet, node C4 is received, and node C4 continues to forward, at this time node C3, node D4, node D5 and node D6 The data packet can be received, is handled then node D4 directly receives the data packet, node C3 will not be forwarded, because of node D4 is not the node in node C3 subtree.Node D5 and node D6 will not handle the data packet (destination node in data packet Mark and node D5 and node 6 are different).
Up direction, i.e. downstream site send the direction of data to central control node.Data transmitted by downstream site Containing the node identification of central control node in packet, after each intermediate node receives the data packet, check that the data packet issues Whether node is in this section point subtree, if it is, the data packet is transmitted to the father node of oneself by the node, until being forwarded to Central control node.As shown in Figure 1, it is assumed that node D4 transmits packets to central control node, then after node C4 is received, Since node D4 is this section point children tree nodes, so node C4 forwards the data packet.Node B2 receives the data of C4 node forwarding Packet, since C4 node is the children tree nodes on node B2, so node B2 will forward the data packet, until central control node is received To the data packet.As shown in Figure 10, it is assumed that node D4 transmits packets to central control node, must indicate that in the data packet The mark of agent node, after node D4 sends data packet, node C3, node C4, node D3 can receive the data packet, but It is only to only have node C4 mark identical with agent node in data packet, then forwards the data packet, and other nodes are due to agency Node identification is different and direct discard processing.In node C4 forwarding data packet, data packet agent node is modified into node again Data are forwarded a packet to central control node always by B2, the same manner.
In data packet up direction transmission process, if there are problem, i.e. node D4 hairs between node C4 and node D4 It send data packet to node C4, but does not receive the confirmation of node C4 always, then node D4 thinks to communicate out between node C4 Problem is showed.Node D4 preferentially selects superior node for agent node, if there is multiple nodes according in discovery list records All meet condition, then selecting a signal quality, good node is agent node.In Figure 10, node D4 can choose C3 node It is forwarded as agent node and sends data packet.
Embodiment 2
The preservation design realization process of routing table is as follows:
In PLC system, each equipment is initially used for saving the routing section of nodal information for complete documentation routing iinformation Point data structure (referred to as: T_NodeStruct), which includes the father node pointer of the node, and is directed toward next height The pointer of node, the structural body are indicated using standard C language are as follows:
Each child node therein then uses single linked list mode to be managed, and each child node uses child node data structure (referred to as: T_ChildStruct it) saves, which, which saves, is directed toward next next child node of peer, which adopts It is indicated with standard C language are as follows:
In order to which equipment each in PLC system effectively communicates, completely set then saving one in each equipment Routing table between standby, as shown in figure 11.
The center control coordinator CCO will save the complete routing iinformation of entire PLC system.
Other equipment only save this node node routing information below, do not save the routing of the above father node of the node Information.The node B2 of example as shown in figure 1 only saves the node identification (referred to as: TEI) of node B1, does not save node B1 and node Any routing iinformation of A.
Other equipment also need to save the TEI value of father node, are specifically stored in the parentTEI member of structural body, and Grade locating for this equipment is specifically stored in the stage member of structural body.
During the nodal information saves, each node only only one father node.
DataNode pointer in each child node, is directed toward the particular content of the child node.In Figure 11, face under node A DataNode will be directed toward B2 node in node B2 structural body.
Automatic network-building realizes that process is as follows:
In the incipient stage of PLC networking, although all PLC devices have been all connected in PLC network, all nodes The route information table of equipment is all empty.In PLC system, PLC device is using classification networking mode, so booting networking is always Since central control node, then classification carries out networking.After central control node networking is completed, start to carry out first order group Net, the first order starts to carry out the second level after completing, until not having next stage equipment in network or having had reached maximum level Other 15 grades of requirement.Here the group network process of central control node in PLC system is first introduced, it is specific as shown in figure 12.
Step 1: after central control node powers on, first listening to nearby mainly monitor other with the presence or absence of PLC sub-network The central beacon content of sub-network.If listening to the central beacon of other sub-networks, which coordinated interframe is initiated Journey, i.e. transmission interframe coordinate frame to other sub-networks, to obtain the transfer resource that can be used.Such as Figure 12 step 1.
Step 2: the transfer resource that central control node is obtained according to coordination sends center letter on specified transfer resource Mark.CSMA the and TDMA resource that the PLC network can be used is given in the center beacon.At this point, if other nodes Equipment (referred to as: STA) periodically scans for, until searching central beacon if not receiving central beacon.Such as Figure 12 step 2.
Step 3: node device searches after central beacon message, selects an association request random number, assembles Association request message in PLC system sends association request message in the region CSMA that central beacon provides, then waits The reply of CCO confirms.Such as step 4 in Figure 12.
Step 4: after central controller CCO completion booting powers on, the STA equipment of level-one being waited to send association request report Text, if receiving the association request message from node device STA, CCO checks whether the node is legal.If it is illegal section Point then directly abandons.If it is legitimate node, then CCO will be replied and is associated with confirmation message.It include to carry out auto correlation to ask in the message The association request random number in message is sought, and records a child node for sending that the node of association request message is CCO.Such as figure Step 5 in 12.
The association confirmation message that CCO is issued, all node devices in level-one can receive association confirmation message, Each node device for issuing association request, by the association confirmation random number and MAC Address in parsing association confirmation message.If With the matching of this node, then it is assumed that be that CCO confirms the association request of this node.
After step 5:CCO booting sends central beacon, the subsequent association request message of timer monitor will be started, waited Node device sends association request, receives the CCO of association request, after replying association confirmation message, restarts the timer. If the timer expiry, show that first nodes networking is completed.
It is powered in initial group network process in PLC, the group network process presented hereinbefore for illustrating first nodes, in PLC system, It can at most support 15 grades of networking.It is explained below the present invention is how to realize that multistage powers on networking.
According to PLC system network structure, second level nodes at different levels below are all needed with CCO progress interacting message if necessary To pass through superior node equipment.As shown in figure 13, in this embodiment, it is assumed that STA equipment is that the even higher level of node of new STA equipment is set It is standby.Concrete operations process is as follows:
After central control node completes booting networking, then central control node has been obtained and the direct phase of CCO The even facility information of node, and in the routing beacon table being stored in CCO equipment.
Central control node checks the route information table of CCO equipment, first of CCO first in taking-up CCO routing beacon Child node, it is assumed that the node is STA1.For CCO in central beacon, request STA1 sends discovery letter on specified transfer resource Mark.Step 2 in such as 13.
STA1 periodic receipt comes from the center CCO beacon, if CCO requires this STA1 node to send discovery beacon, STA1 node sends discovery beacon on the transfer resource that central beacon is specified, such as step 2 in Figure 13.
New STA node after booting powers on, will not stop the central beacon around search, agent beacon or discovery beacon, In this embodiment, if new STA equipment searches the discovery beacon from STA1, association request process is initiated.
Detailed process after new STA receives discovery beacon, assembles association request message to CCO, wraps in the association request The TEI value (abbreviation locum PCO) for sending the STA1 of discovery beacon is included.STA1 receives the pass from new STA node device Connection request, if indicating is to forward association request to even higher level of node due to receiving this section point discovery beacon.Same principle, Needed in association request message include new STA node MAC Address and level-one association request random number.
CCO receives the association request message of the new STA node from distal end, first checks for legitimacy, i.e. abbreviation MAC Address Whether in white list.If it is illegal association request message, CCO will be abandoned directly, and if it is legitimate node, then CCO is new STA node distributes TEI, and is sent to new STA node by being associated with confirmation message, comprising interim in the association confirmation message Act on behalf of the TEI value of PCO.
Other nodes receive association confirmation message between CCO and new STA node, whether check locum PCO node In this subtree.If there is the association confirmation message in the subtree of this node, is then forwarded, association is not otherwise forwarded to confirm Message.
The new STA node for having been sent from association request message, by the data block on foldback circuit.If received from agency The association confirmation message of sending, and MAC Address therein and association confirmation random number are identical as this node, then it is assumed that the association Confirmation message is that CCO responds the request of this node, this nodes records father node is locum PCO node.As walked in Figure 13 Rapid 6.
CCO is STA1 node assignment agent beacon times in central beacon, and STA1 node receives the generation specified from CCO After managing beacon times, agent beacon is sent.Such as step 7 in Figure 13.
CCO one association confirmation message of every transmission, then start timer, and other STA is waited to send association request message.Such as The fruit timer expiry, then CCO completes the group network process an of child node, and CCO is by all child nodes of poll, all child nodes Networking is all completed, then PLC system completes the group network process of this grade.
Group network process after complete description PLC system starts power up above includes that CCO powers on networking and at different levels The group network process of node.Successively similar, the second level, the third level, most 15 grades of group network process are completed in CCO control.
The realization process that new node networks is as follows:
Booting networking every time needs the time longer, but in practical application, is also frequently present in use process and increases STA section The scene of point, this will upset the routing iinformation of original each device node preservation, needs to re-start routing and optimization.? In the embodiment, need to increase X node as shown in figure 14, in use process, and X node can be received from node B3, section The information of point C4, node D6.It is specific as follows:
After PLC system networking is completed, if it is CCO equipment, then periodicity sending center beacon.If it is acting on behalf of PCO Equipment, then periodicity sending agent beacon.If it is general STA equipment, then discovery beacon is sent according to the requirement of CCO.Such as figure Step 1 in 15.
After new STA equipment booting in this, if having received the agent beacon that CCO sends central beacon, acts on behalf of PCO And STA sends discovery beacon., then new STA equipment preferentially selects central controller CCO, and secondly PCO is acted on behalf of in selection, finally selects Select locum PCO of the STA equipment for sending discovery beacon as new STA equipment transmission association request.If same excellent There are multiple equipments in first grade, then preferentially select the preferable equipment of SNR as locum PCO.Such as step 2 in Figure 15.
New STA equipment sends association request message, and CCO is waited to reply association confirmation message.Such as step 3,4 in Figure 15.Tool Body processing is identical as booting networking.
The realization process that malfunctioning node removes is as follows:
PLC system can smoothly complete data transmission and each node be it is inseparable, between distant-end node and CCO into Row message interaction, may forwarding Jing Guo multiple STA equipments.If removing STA equipment or STA in entire PLC system Equipment work is abnormal, not only influences this node normal work, also will affect the work of other nodes, so in PLC networking In the process, need to realize that node removes process.In Figure 16, if node C4 removes or breaks down, it will affect Node B2, node D4, node D5 and node D6.When node C4 is worked normally, C4 node is node D4, node D5 and section The father node of point D6.In practical applications, CCO not only has recorded routing iinformation, it is also necessary to collecting path information, i.e., in CCO Save node C3 and node D4 access, node D4 and node D5 access and node D5 and node D6 access.Realization when It waits, node removes process and is segmented into two parts, is that discovery node is removed first, followed by modification PLC system is set Standby middle routing information process.It is specific as follows:
After each node receives the confirmation of the association from CCO in PLC system, by the number of real-time monitoring surrounding devices transmission According to, and the signal noise ratio (referred to as: SNR) of TEI therein and measuring signal is parsed, it is stored in node discovery list. Such as step 1 in Figure 17, wherein distant-end node, the i.e. not no equipment of child node start the timer of a cycle, work as timer When overtime, discovery list message is sent to its father node.It include that STA detects all STA in discovery list message Device identification.
After the father node of STA node receives discovery list message, it is reassembled into heartbeat message and is sent out toward even higher level of node It send.If the heartbeat message in PCO node only includes the discovery list message of STA, PCO node can increase PCO's It was found that list is to heartbeat message.In the present invention, each heartbeat message can report the discovery message and PCO of a STA equipment The discovery message of node.
Central control node CCO receives heartbeat message at different levels from below, records the discovery list of each node.Center Control node CCO, detects whether all nodes have node to be removed.If there is node is removed, then CCO will organize road construction again By information.Such as step 3 and 4 in Figure 17.
Such as in such as Figure 16, since failure has occurred in node C4 or is removed, so central control node CCO will be modified The agent content of C3 agent node increases the child node that node D4 is node C3.
Central control node sends agency's change request message to PCO node is acted on behalf of, and wraps in agency's change request message The TEI value of agent node PCO and the TEI value of all child nodes of PCO are included.In central control node CCO and agent node Pass through all nodes between PCO, will all modify routing table information, and forwards agency's change message data block.
Such as in Figure 16, CCO send agency change request message arrive node C3 when, then node B1 forwarding act on behalf of When changing request message, the routing iinformation in node B2 is equally had modified.
It is to act on behalf of PCO node that the agency, which changes the node that message finally forwards, i.e. central control node CCO sends generation Reason change request message, after acting on behalf of PCO forwarding agency's change request message, next stage node no longer forwards the agency to change Request message.
In Figure 16, node C3 receives the agency from central control node CCO and changes request, then node C3 modifies oneself Routing iinformation, sets node D4 to the child node of oneself, and the agency is forwarded to change message.It, will after node D4 is received Node C3 is set as the father node of oneself.
As a same reason, the father node that central control node setting node D4 is node D5, that is, node D4 are D5 node Act on behalf of PCO node;The father node that node D5 is node D6 is set, that is, node D5 acts on behalf of PCO node for D6 node.? During central control node CCO sends agency's change request, the STA node of all processes requires to modify corresponding routing Information table.
After PLC system powers on, a group network process is carried out immediately.But after networking is completed, even if not increasing or moving Except node, due to the transformation of communication line, or during being switched on networking, the tree topology of central control node networking formation Structure is not necessarily optimization tree topology.As shown in figure 18, communication line is increased between node B3 and D6, saved There are communication lines between point B3 and node C4, and there is also communication lines between node C3 and node D4, it is also possible to which there are nodes Original communication line is already off between B2 and node C4, so in actual use, timing is needed to carry out route information table Optimization.
The routing table optimization of PLC system is divided into two stages, is the collection of routing iinformation first, followed by routing iinformation Optimization and re-configuration process, specific as follows:
After central control node CCO completes booting networking, CCO is broadcasted in agent beacon in central beacon, PCO The period of STA node periodicity sending discovery list message.After timer arrives, STA node sends discovery list message to father Node, that is, the agent node PCO of STA node.Such as step 1 in Figure 19.
Agent node PCO receives STA node discovery list message, then is assembled into heartbeat message.If acting on behalf of PCO node It was found that list did not report central control node CCO, then increase the discovery list for acting on behalf of PCO node in heartbeat message, i.e., There are the discovery lists of two nodes in heartbeat message.
During heartbeat message is sent to central control node CCO, it may be forwarded by multiple PCO, if pass through PCO node needs to report the discovery list of oneself, then parses heartbeat message by node PCO.If in the heartbeat message only The discovery list information of only one chapters and sections can then increase to the discovery list of oneself in heartbeat message by node PCO.
Act on behalf of whether PCO node adds oneself discovery list to heartbeat message, there are two types of scenes.One is PCO agencies Node did not report discovery list, and another kind is to act on behalf of PCO node to find that the discovery list of oneself has occurred and that change.
All STA nodes are collected in the central controller and act on behalf of the discovery list information of PCO node, in Figure 18 Routing infrastructure, collector node can save as shown in figure 20 in the central controller.In the discovery list records information, do not have Father node concept, the information of which node can be received by only having recorded each node in detail.
Step 3: in PLC system, route planning and control are completed by central controller, and central controller is from top to bottom Processing is optimized, i.e. central controller optimizes the STA list that first nodes are acted on behalf of first, then optimizes two-level node agency's STA list, to the last until level-one STA.Such as the step 3,4 in Figure 19.
Specific optimization process is as follows:
It is first nodes with the direct-connected node definition of central control node.
For each node in first nodes, storage information in search graph 20 counts the son of all first nodes Number of nodes.The most nodes of son node number are set first to act on behalf of PCO node, which will be all sub- sections other than father node The agent node of point, then counts the son node number of all other first nodes again, and the most node of selected son node number is Act on behalf of PCO node, the node by be all child nodes other than father node agent node.And so on, center control section All first nodes are handled.
Successively the same manner will handle two-level node, three-level node in central control node, to the last level-one.It is formed One complete route information table.
It will be optimal route information table according to the route information table that above step is formed.Since central control node, Successively since first nodes, node and the route information table saved originally are compared one by one.If the son section of a node Point changes, then central control node uses agent update message, and reconfigure the node acts on behalf of child node.With level-one section After point compares end, start two-level node, after two-level node terminates, continues three-level node, to the last first nodes are complete At.It is sent in agency's change request message in central control node, all nodes for receiving agency's change request require to update The routing iinformation of oneself.
The present invention also provides a kind of automatic networking device of tree structure network, the device be above-mentioned agent node or End node, the device include mesh information receiving unit, the mesh information sent for receiving central controller and other devices; Mesh information transmission unit, for sending association and asking after receiving the beacon message that central controller or other devices are sent Ask information to central control node;Routing iinformation storage element, for storing the routing iinformation of the present apparatus, including the upper of the present apparatus The node identification and signal quality of grade equipment, subordinate equipment.
A kind of automatic network-building system of tree structure network, the system include central controller and automatic networking device, institute Stating central controller includes mesh information transmission unit, is used for periodicity sending beacon message when networking;Legitimacy detection Unit carries out validity checking to node after receiving the association request information that node is sent;Node removes checklist Member, for check in network whether have nodes break down or be removed.
Automatic networking device includes mesh information receiving unit, the group sent for receiving central controller and other devices Net information;Mesh information transmission unit, for sending after receiving the beacon message that central controller or other devices are sent Association request information is to central control node;Routing iinformation storage element, for storing the routing iinformation of the present apparatus, including this dress The node identification and signal quality of the higher level equipment, subordinate equipment set.
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 (8)

1. a kind of automatic network-building method of tree structure network, it is characterised in that: this method specifically includes the following steps:
S1: central control node powers on rear periodicity sending beacon message;
S2: it after nodes receive the beacon message of central control node transmission, sends association request information to center and controls Node;
S3: central control node receives the association request information of node transmission, handles association request information, checks and closes Join requesting node legitimacy, if legal, sends association confirmation message to requesting node;If illegal, association request is abandoned Information;The association confirmation message includes the node identification that central control node is requesting node distribution;
After the central control node powers on, other nodes are waited to send association request, and start timer;Center control section After point has handled each association request information, the timer will be all restarted;If the timer expiry, central control node do not have Continue to receive association request information, then it is assumed that first nodes networking is completed;
After the completion of the first nodes networking, central control node request first nodes send beacon message and start timer, Carry out two-level node networking;
After the node of unfinished networking receives beacon message transmitted by first nodes, then the first nodes are set as this node Locum's node, and send association request information to locum's node, locum's node forwards the pass Join solicited message to central control node;
Central control node receives the association request information of locum's node forwarding, at association request information Reason, and check association request node legitimacy, if legal, association confirmation message is sent to locum's node, locum Node is forwarded to requesting node for confirmation message is associated with;If illegal, association request information is abandoned;The association confirmation message It include the node identification that central control node is requesting node distribution;
If timer expiry, central control node does not continue to receive association request information, then it is assumed that two-level node networking is complete At repeat the above steps the node progress next stage networking to non-networking, until all nodes all complete networking.
2. a kind of automatic network-building method of tree structure network according to claim 1, it is characterised in that: the method is also Including new node networking step, specifically: after new node powers on, it whether there is other nodes around search, and select one As the locum's node of oneself;
New node sends association request information to locum's node, and locum's node believes the association request of new node Breath is forwarded to central control node;
Central control node handles association request information, checks association request node legitimacy, if legal, send and closes Join confirmation message to locum's node, locum's node is forwarded to new node for confirmation message is associated with;If illegal, lose Abandon association request information;The association confirmation message includes the node identification that central control node is new node distribution;If facing When agent node be central control node then directly association request information is handled;
New node receives association confirmation message, records central control node as the node identification of its distribution, completes to network.
3. a kind of automatic network-building method of tree structure network according to claim 2, it is characterised in that: the new node It is preferential that central control node is selected to make if having central control node in the node searched when selecting locum's node Successively select first nodes, two-level node as locum's node if not having for locum's node;If in same level-one In, multiple nodes are searched, then the top-quality node of new node selection signal is as locum's node.
4. a kind of automatic network-building method of tree structure network according to claim 1, it is characterised in that: the method is also Including node removing step, specifically: after the node receives association confirmation message, then the networking of node is completed, node is searched The information that other nodes are sent on rope transfer resource parses the content in information, and the node identification for issuing information node is recorded In the discovery list of node, while measurement receives the signal quality of information;If this node is within continuous two discovery periods A certain nodal information in discovery list is not received, then the node is deleted from discovery list;The node includes end segment Point and agent node;
After end node reception to association confirmation message, start supervision timer, periodically sends discovery list information and extremely act on behalf of Node is then transmit to central control node, is sent directly to central control node if end node is first nodes;
Agent node receives end segment point discovery list information, checks whether this node needs to report the discovery list of agent node Information is to central control node, if agent node had reported the discovery list of oneself, and the discovery list of this node does not have It changes, does not then need to report the discovery list information of this node to central control node, then agent node is by end node Discovery list information be reassembled into heartbeat message toward even higher level of node send;Otherwise, agent node is by the discovery of this node List information is also assembled into heartbeat message, is sent to even higher level of node;
Central control node collects the discovery list information of all nodes, has detected whether nodes break down or has been removed, There is node not in the discovery list information of all nodes if it exists, then determine the nodes break down or is removed, center Control node removes the node in routing iinformation.
5. a kind of automatic network-building method of tree structure network according to claim 4, it is characterised in that: the center control Node discovery processed has nodes break down or is removed, then central control node carries out agent update configuration repair way again By then it is the son section of removal node that central control node, which sends agency's change solicited message to the agent node for removing node, Point reassigns agent node.
6. a kind of automatic network-building method of tree structure network according to claim 1, it is characterised in that: the method is also Including routing optimality step, specifically: after the completion of the node networking, periodic harvest is come from each section by central control node The discovery list information of point, and be stored in the routing iinformation of central control node;
Central control node routing optimality is since first nodes, it is assumed that and each node in first nodes is agent node, That then lists each first nodes communicates node, communicates the most first nodes of number of nodes and is determined as new agent node, with it The node communicated is all the child node of the node, have determined as in this process central control node, agent node or The child node of agent node be not included in wherein, only one father node of each node;After first nodes are completed, same principle Carrying out two-level node, networking optimizes again, to the last first nodes;
Central control node is reassembled into a complete optimization routing table, the section of center control at this time according to discovery list information Optimization routing table and original routing table are compared by point, are compared one by one with node each in first nodes, then second level Node, three-level node to the last first nodes, if the child node of comparison node changes, central control node is sent Agency's change solicited message modifies its child node route information to the node;
Central control node sends agency's change solicited message, and the intermediate node of all processes all changes request letter according to agency The child node information of more new node in breath, modifies the routing iinformation of this intermediate node.
7. a kind of tree structure network of the automatic network-building method based on any tree structure network of claim 1-6 Automatic networking device, it is characterised in that: described device includes mesh information receiving unit, for receiving central controller and other The mesh information that device is sent;
Mesh information transmission unit, for sending and closing after receiving the beacon message that central controller or other devices are sent Join solicited message to central control node;
Routing iinformation storage element, for storing the routing iinformation of the present apparatus, higher level equipment, subordinate equipment including the present apparatus Node identification and signal quality.
8. a kind of automatic network-building system of tree structure network, it is characterised in that: the system includes that central controller and right are wanted The automatic networking device of tree structure network described in asking 7, the central controller include mesh information transmission unit, are used for group Periodicity sending beacon message when net;
Legitimacy detection unit carries out validity checking to node after receiving the association request information that node is sent;
Node remove inspection unit, for check in network whether have nodes break down or be removed;
The automatic networking device of the tree structure network includes mesh information receiving unit as claimed in claim 7, for connecing Receive the mesh information that central controller and other devices are sent;
Mesh information transmission unit as claimed in claim 7, in the letter for receiving central controller or the transmission of other devices After marking information, association request information is sent to central control node;
Routing iinformation storage element as claimed in claim 7, for storing the routing iinformation of the present apparatus, the higher level including the present apparatus The node identification and signal quality of equipment, subordinate equipment.
CN201610973736.6A 2016-11-04 2016-11-04 A kind of automatic network-building method, the apparatus and system of tree structure network Active CN106357305B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610973736.6A CN106357305B (en) 2016-11-04 2016-11-04 A kind of automatic network-building method, the apparatus and system of tree structure network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610973736.6A CN106357305B (en) 2016-11-04 2016-11-04 A kind of automatic network-building method, the apparatus and system of tree structure network

Publications (2)

Publication Number Publication Date
CN106357305A CN106357305A (en) 2017-01-25
CN106357305B true CN106357305B (en) 2019-04-26

Family

ID=57864934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610973736.6A Active CN106357305B (en) 2016-11-04 2016-11-04 A kind of automatic network-building method, the apparatus and system of tree structure network

Country Status (1)

Country Link
CN (1) CN106357305B (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106875653A (en) * 2017-02-27 2017-06-20 广东电网有限责任公司茂名供电局 The method and device of concentrator discriminatory carrier electric energy meter change
CN109257319B (en) * 2017-07-12 2022-04-26 斑马智行网络(香港)有限公司 Internet of things, and routing and identifier distribution method, device, equipment and medium thereof
CN109495844A (en) * 2017-09-09 2019-03-19 湛引根 Wireless automatic coding
CN108135008A (en) * 2017-11-13 2018-06-08 新奥泛能网络科技股份有限公司 The method of star-like self-organizing network Centroid change
CN108344112A (en) * 2018-03-08 2018-07-31 上海物麒科技有限公司 It is matched by pipeline and encodes the multi-online air-conditioning system PLC network-building methods matched
CN108551684B (en) * 2018-03-20 2021-01-01 深圳友讯达科技股份有限公司 Node network access method and device
CN108712334A (en) * 2018-04-24 2018-10-26 四川斐讯信息技术有限公司 A kind of routing self-organizing method and its system
CN109347519B (en) * 2018-08-27 2021-11-30 全球能源互联网研究院有限公司 Power line carrier and wireless fusion multi-channel transmission method and device
CN110166340A (en) * 2019-06-05 2019-08-23 北京京投信安科技发展有限公司 T-NET full system type pictorial single line multi-source data acquiring and transmission system
CN110944314A (en) * 2019-12-06 2020-03-31 广东博智林机器人有限公司 BLE cascade network and link routing method and device thereof
CN111245727B (en) * 2020-01-07 2022-08-12 深圳市网心科技有限公司 Message routing method, electronic device, proxy node and medium based on DHT network
CN111182557B (en) * 2020-02-25 2023-07-07 广州致远电子股份有限公司 Detection networking system, method and storage medium based on tree network
CN114339844B (en) * 2020-09-30 2023-11-03 云米互联科技(广东)有限公司 Scene linkage fault analysis method, equipment and computer readable storage medium
CN112543040B (en) * 2020-11-27 2022-08-23 重庆邮电大学 Efficient BPLC network networking method
CN113923748B (en) * 2021-11-12 2023-06-02 重庆邮电大学 Method for forming cluster network based on proxy change
CN114978921B (en) * 2022-04-20 2024-04-02 北京中宸微电子有限公司 Network organization method and device based on binary tree
CN115174464B (en) * 2022-06-17 2023-06-16 江苏芯云电子科技有限公司 Method for quickly recovering off-network central coordinator
CN115225564B (en) * 2022-07-06 2023-05-26 重庆邮电大学 PLC and wireless heterogeneous network networking method
CN115242812A (en) * 2022-07-25 2022-10-25 济南浪潮数据技术有限公司 Node data synchronization method and device and computer readable storage medium
CN116644306B (en) * 2023-07-26 2023-10-10 深圳友讯达科技股份有限公司 Power data management method and system based on intelligent terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820660A (en) * 2010-03-26 2010-09-01 上海桑锐电子科技有限公司 Self-networking method for wireless routing Internet of things
CN103582065A (en) * 2012-07-31 2014-02-12 中国科学技术大学苏州研究院 Efficient ad hoc network routing method for wireless sensor network
CN103906044A (en) * 2014-03-04 2014-07-02 杭州迅龙科技有限公司 Networking method of wireless electricity consumption information acquisition ad hoc network
CN104378770A (en) * 2014-11-18 2015-02-25 合肥工业大学 Wireless networking method suitable for tree topology structure
CN104539315A (en) * 2014-12-02 2015-04-22 上海电器科学研究院 Rapid networking method for power line carrier communication

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820660A (en) * 2010-03-26 2010-09-01 上海桑锐电子科技有限公司 Self-networking method for wireless routing Internet of things
CN103582065A (en) * 2012-07-31 2014-02-12 中国科学技术大学苏州研究院 Efficient ad hoc network routing method for wireless sensor network
CN103906044A (en) * 2014-03-04 2014-07-02 杭州迅龙科技有限公司 Networking method of wireless electricity consumption information acquisition ad hoc network
CN104378770A (en) * 2014-11-18 2015-02-25 合肥工业大学 Wireless networking method suitable for tree topology structure
CN104539315A (en) * 2014-12-02 2015-04-22 上海电器科学研究院 Rapid networking method for power line carrier communication

Also Published As

Publication number Publication date
CN106357305A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
CN106357305B (en) A kind of automatic network-building method, the apparatus and system of tree structure network
CN103634873B (en) The wireless networking method and electricity meter-reading device systems of power meter reading system
WO2016026347A1 (en) Micropower wireless network self-networking method and micropower wireless network
CN105262687B (en) A kind of power information acquisition system group-net communication method based on WIA-PA technologies
CN103415054B (en) Hierarchical routing method based on distributed wireless aggregation networks
CN103337142B (en) The wireless networking method of electric energy meter management system
CN108171957B (en) Meter reading method, device and system and communication gateway
CN103957570B (en) A kind of network communicating system and its method for routing for electric power load control
CN106506043B (en) Data transmission method, control device and equipment in a kind of PLC system
CN109788444B (en) Node networking method applied to high-density multi-hop network
CN106340176A (en) Intelligent electricity meter information sharing method, intelligent electricity meter and acquisition router
CN104754688A (en) Routing method for entangled state based wireless Mesh quantum communication network
CN107018545B (en) A kind of ad hoc network method applied in wireless communication system
CN109121096A (en) Method and apparatus for determining the broadcast node in mesh network
CN103297342A (en) Energy-saving ZigBee network tree topology formation method
CN105208622A (en) High-efficiency dynamic automatic-maintenance routing list structure and routing list management method
CN110459049A (en) A kind of intelligent meter data recording system and its construction method based on Wisun agreement
CN104881976A (en) Data transmission method and data transmission apparatus
CN114615706A (en) Method for increasing communication capacity of micropower wireless network in smart power grid
US20160070718A1 (en) Apparatus and system for data mirror device
CN111935797A (en) Dynamic routing method for wireless communication network of low-voltage switch cabinet
CN106100995A (en) A kind of method for routing being applicable to power line carrier communication network network
CN104244423A (en) Wireless sensor network based multi-path transmission time slot scheduling algorithm
CN110336589B (en) Power line carrier communication method
CN201639600U (en) Intelligent low-voltage carrier networking 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