CN102547900B - Networking method for centralized reading - Google Patents

Networking method for centralized reading Download PDF

Info

Publication number
CN102547900B
CN102547900B CN201110451068.8A CN201110451068A CN102547900B CN 102547900 B CN102547900 B CN 102547900B CN 201110451068 A CN201110451068 A CN 201110451068A CN 102547900 B CN102547900 B CN 102547900B
Authority
CN
China
Prior art keywords
network
repeater
routing table
address
packet
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
CN201110451068.8A
Other languages
Chinese (zh)
Other versions
CN102547900A (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.)
SHENZHEN STAR INSTRUMENT CO Ltd
Original Assignee
SHENZHEN STAR INSTRUMENT CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN STAR INSTRUMENT CO Ltd filed Critical SHENZHEN STAR INSTRUMENT CO Ltd
Priority to CN201110451068.8A priority Critical patent/CN102547900B/en
Publication of CN102547900A publication Critical patent/CN102547900A/en
Application granted granted Critical
Publication of CN102547900B publication Critical patent/CN102547900B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a networking method and a networking system for centralized reading, wherein the networking method for centralized reading comprises the following steps that: a, a plurality of sets of routing tables which belong to different networks are built in a repeater, and corresponding network identities (ID) and network addresses are provided; b, a network ID number in a received data packet is obtained, compared with the network IDs in the routing tables, whether the routing tables contain the network ID number or not is judged, and if the network ID number is contained, a step c is switched to; if the network ID number is not contained, a step e is switched to; c, the network address of the targeted repeater of the data packet is acquired, and is judged to be consistent with the network address of the repeater of the network ID or not through comparison, if so, a step d is switched to; if not, the step e is switched to; d, the routing table of a router in the network is called, and the data packet is transmitted to a target address; and e, the centralize reading is finished. After the mode is adopted, the communication blackout problem which is caused by the unstable home of the repeater can be solved.

Description

The network-building method of centralized automatic meter-reading
Technical field
The present invention relates to a kind of networking mode and system, especially relate to a kind of network-building method of centralized automatic meter-reading and the group network system of centralized automatic meter-reading.
Background technology
Under normal circumstances, check meter in automatic network-building general, a node can only belong to 1 telegon, if adjacent two network a nets and b net are in same channel, and one from node under effective covering of these two networks, this will go wrong from node-home in that network.If after the telegon of a network performs automatic network-building, this is from node-home to a net (now will automatically disengage b network control system); After the telegon of b network performs automatic network-building, this has belonged to again b net (now will automatically disengage a network control system) from node.Communication failure certainly will be caused like this.
Such as, refer to Fig. 1, after C1 telegon MANET, generate a network, after C2 telegon MANET, generate b network.A, b two networks are adjacent, and overlap.In overlapping region, m1 is the ammeter belonging to telegon C1, and m2 is the ammeter belonging to telegon C2.R14 repeater belongs to a network of C1 telegon, C1 telegon need by R14 repeater could with the communication of m1 ammeter; R25 repeater belongs to the b network of C2 telegon, C2 telegon need by R25 repeater could with the communication of m2 ammeter.
If a repeater node can only belong to 1 network, so when C2 telegon performs automatic network-building, the R14 repeater being in network overlapped region can automatically disengage a network and enter b network, causes telegon C1 can not show communication with m1.In like manner, when C1 telegon performs automatic network-building, the R25 repeater being in network overlapped region can automatically disengage b network and enter a network, causes telegon C2 can not show communication with m2.Therefore the unstable problem that can cause communicating interrupt of repeater network ownership.
Summary of the invention
The technical problem that the present invention solves is to provide a kind of network-building method of automatic data logging and the group network system of automatic data logging, can solve the problem of the unstable communicating interrupt caused of repeater ownership in network overlapped region in prior art.
For solving the problems of the technologies described above, technical scheme provided by the invention is: the network-building method providing a kind of centralized automatic meter-reading, comprises the following steps:
Step a: set up the routing table that many covers belong to heterogeneous networks in the repeaters, corresponding network ID and the network address are provided;
Step b: obtain the network ID number in the packet received, compare with the network ID in described multiple routing table, judge whether there is this network ID number in described multiple routing table, if so, forward step c to; If not, then terminate;
Step c: the network address obtaining the target repeater of described packet, compares with the repeater network address under this network ID, and whether both judgements are consistent, if so, then forward steps d to; If not, then terminate;
Steps d: call the routing table of router under this network, forwarding data bag is to destination address;
Wherein, the multiple routing tables set up in described step a, each network of network address corresponding can be the same or different.
Wherein, described step b specifically comprises, and the network ID of described packet number is carried out comparison one by one with the network ID in described multiple routing table number, until search out identical network ID number; If all can not find the network ID number matched with this packet in multiple routing table, then terminate.
For solving the problems of the technologies described above, the present invention also provides a kind of group network system of centralized automatic meter-reading, comprises repeater, multiple terminal and multiple telegon; Described telegon is used for setting up, maintaining and supervising the network; Described repeater belongs to the routing table of the network that different telegon produces for setting up many covers, provide corresponding network ID and the network address; Described terminal is established a communications link by repeater and described telegon.
Adopt technique scheme, the invention has the beneficial effects as follows: owing to setting up multiple routing table in each repeater, the network address and network ID is provided with in each routing table, this routing table and each networks matches, when a repeater has n home network, just set up n routing table, also n the network address is namely had, at the repeater in network overlapped region, just can mate overlapped network simultaneously, terminal just effectively can be set up with network and communicate, therefore, a repeater can mate multiple network, check meter in networking whole, just can reduce the quantity of repeater, play and raise the efficiency, cost-saving effect.
Accompanying drawing explanation
Fig. 1 is the structure chart of the networking mode of centralized automatic meter-reading of the prior art;
Fig. 2 is the structure chart of the group network system of centralized automatic meter-reading provided by the invention;
Fig. 3 is the flow chart of the network-building method of centralized automatic meter-reading provided by the invention;
Fig. 4 is the flow chart of a kind of embodiment of the networking mode of centralized automatic meter-reading provided by the invention.
Embodiment
By describing technology contents of the present invention, structural feature in detail, realized object and effect, accompanying drawing is coordinated to be explained in detail below in conjunction with execution mode.
Refer to Fig. 2 to Fig. 3, the invention provides a kind of network-building method of centralized automatic meter-reading, comprise the following steps:
Step a: set up the routing table that many covers belong to heterogeneous networks in the repeaters, corresponding network ID and the network address are provided;
In the present embodiment, provide two telegons C1, C2, the network a set up respectively and network b, in two networks, if repeater R14 and R15, concrete methods of realizing is as follows:
Telegon C1 sets up network ID=a, repeater network address=a14, R14 routing table in a network ' a network routing table ' after performing automatic network-building in R14;
Telegon C2 sets up again network ID=b, repeater network address=b14, R14 routing table in b network ' b network routing table ' after performing automatic network-building in R14.
Following routing table (table one) is set up in R14:
When there is multiple repeater network coverage area, each repeater has a unique repeater network address at each network, and namely a repeater has n home network, just have n the network address, and each network address can be the same or different.
Such as: when there being R15 to be also in the area of coverage of two network a, b,
Following routing table (table two) is set up in R15:
Step b: obtain the network ID number in the packet received, compare with the network ID in described multiple routing table, judge whether there is this network ID number in described multiple routing table, if so, forward step c to; If not, then terminate;
Step c: the network address obtaining the target repeater of described packet, compares with the repeater network address under this network ID, and whether both judgements are consistent, if so, then forward steps d to; If not, then terminate;
Steps d: call the routing table of router under this network, forwarding data bag is to destination address;
Refer to Fig. 4, in the present embodiment, be described with the communication of R14 in network a, b adjacent networks, thus above-mentioned steps b-e is made explanations:
In wireless communication data bag, include No. ID, information transmission place network of network, the network address of target repeater.Repeater is by the judgement of software simulating to ' network ID ' information in wireless communication data bag, the judgement of ' network address ' information of target repeater, after information is identical, and then select the routing table of corresponding network to carry out relay communication, thus to realize 1 repeater be that multiple network carries out relay services.
First, the network ID of packet number is carried out comparison one by one with the network ID in described multiple routing table number, first whether judge in packet containing network ID=a's, if have, carry out next step, if no, then judge whether containing network ID=b in packet, if do not have, this packet is then described not in network coverage in the present embodiment, then process ends;
Contrary, if inquire network ID=a, then carry out next step and judge, whether the repeater network address in this packet of comparison is a14, if so, then the routing table of reference list one, namely call the routing table of R14 in a network, forwarding data is to destination address;
If inquire network ID=b, then judge whether the network address belongs to b14, if so, then call the routing table of R14 at b network, forwarding data is to destination address.
If all can not find the network address of coupling, then illustrate that the destination address of this packet is not in present networks coverage, then terminate this flow process.
Adopt in this way, comparison diagram 1 and Fig. 2, as long as the present invention adopts a R14, just can realize terminal communicating at network a and network b, realize the communication of C1 and m1, have and can carry out ultimate for b network, realize the communication of C2 and m2, and do not need to arrange R14, R25 (as Fig. 1) simultaneously, thus decrease the quantity of repeater, also save cost.
In addition, the present invention also provides a kind of group network system of automatic data logging, and the method that this system matches is above-mentioned comprises repeater, multiple terminal and multiple telegon;
Described telegon is used for setting up, maintaining and supervising the network;
Described repeater belongs to the routing table of the network that different telegon produces for setting up many covers, provide corresponding network ID and the network address;
Described terminal is established a communications link by repeater and described telegon.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (1)

1. a network-building method for centralized automatic meter-reading, is characterized in that, comprises the following steps:
Step a: set up the routing table that many covers belong to heterogeneous networks in the repeaters, corresponding network ID and the network address are provided;
Step b: obtain the network ID number in the packet received, compare with the network ID in described multiple routing table, judge whether there is this network ID number in described multiple routing table, if so, forward step c to; If not, then terminate;
Step c: the network address obtaining the target repeater of described packet, compares with the repeater network address under this network ID, and whether both judgements are consistent, if so, then forward steps d to; If not, then terminate;
Steps d: call the routing table of router under this network, forwarding data bag is to destination address;
The multiple routing tables set up in described step a, each network of network address corresponding can be the same or different;
Described step b specifically comprises, and the network ID of described packet number is carried out comparison one by one with the network ID in described multiple routing table number, until search out identical network ID number; If all can not find the network ID number matched with this packet in multiple routing table, then terminate.
CN201110451068.8A 2011-12-29 2011-12-29 Networking method for centralized reading Active CN102547900B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110451068.8A CN102547900B (en) 2011-12-29 2011-12-29 Networking method for centralized reading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110451068.8A CN102547900B (en) 2011-12-29 2011-12-29 Networking method for centralized reading

Publications (2)

Publication Number Publication Date
CN102547900A CN102547900A (en) 2012-07-04
CN102547900B true CN102547900B (en) 2015-07-22

Family

ID=46353582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110451068.8A Active CN102547900B (en) 2011-12-29 2011-12-29 Networking method for centralized reading

Country Status (1)

Country Link
CN (1) CN102547900B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104640127B (en) * 2014-12-30 2018-01-19 南昌市科陆智能电网科技有限公司 A kind of recognition methods of node-home of wireless self-organization network and system
WO2018058316A1 (en) * 2016-09-27 2018-04-05 深圳市思达仪表有限公司 Networking method for centralized meter reading and networking system for centralized meter reading

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1502195A (en) * 2001-03-20 2004-06-02 ���˹���Ѷ��� System, method and apparatus that isolate virtual private network (VPN) and best effort traffic to resist denial of service attacks
CN102223734A (en) * 2011-06-14 2011-10-19 广州从兴电子开发有限公司 Wireless communication network and communication method of same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002198989A (en) * 2000-12-25 2002-07-12 Yaskawa Electric Corp Control system and network relay method for it

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1502195A (en) * 2001-03-20 2004-06-02 ���˹���Ѷ��� System, method and apparatus that isolate virtual private network (VPN) and best effort traffic to resist denial of service attacks
CN102223734A (en) * 2011-06-14 2011-10-19 广州从兴电子开发有限公司 Wireless communication network and communication method of same

Also Published As

Publication number Publication date
CN102547900A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
CN103238298B (en) Routing protocols for power line communications
CN104469890B (en) The ad hoc network method and system of power line carrier and wireless hybrid network
CN104936168B (en) A kind of efficient wireless mesh network-building method
CN105163349B (en) A kind of multiple gateway Wireless Mesh network implementation method based on IEEE802.11s
CN103731842B (en) Wireless relay networking system and method
CN106302058A (en) The coordination system and method for intelligent domestic system based on Zigbee wireless communication technology
CN204795616U (en) ZIGBEE network access control device
CN105025529B (en) A kind of method and wireless sound box switching access point
CN104918302B (en) A kind of method and wireless sound box for building wireless mesh network
CN103580963A (en) Outdoor wireless data device and signal processing method thereof
CN101453413A (en) Method and apparatus for automatic topology discovery and resource management in PBB network
CN109041272A (en) A kind of network-building method and its communication means of LoRa ad hoc network
CN105099902A (en) Routing method for quantum Mesh network
CN101808045B (en) Method and exchange equipment for preventing old information message circulation in MSTP (Multiple Spanning Tree Protocol)
CN110167100A (en) The selection method of relay node in a kind of Internet of Things
CN102916887B (en) OpenFlow out-of-band networking method based on in-band virtual channel
CN102547900B (en) Networking method for centralized reading
CN102724767A (en) Virtual private network access method and device for mobile user
CN102238683A (en) Routing information acquisition and transmission method for wireless mesh network
CN203801076U (en) Electric power emergency field communication network
CN106130833A (en) Home network fusion method based on Inter MAC layer and device
CN105050148B (en) A kind of implementation method of wireless sense network routing
CN107087265A (en) A kind of communicator and method for connecting multiple WiFi Direct groups
CN106332102A (en) Heterogeneous network architecture in internet of things
CN106533934A (en) Border gateway applicable to all interconnected manufacturing networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant