CN1414345A - Automatic routing method of radio meter data recording system - Google Patents
Automatic routing method of radio meter data recording system Download PDFInfo
- Publication number
- CN1414345A CN1414345A CN 01136618 CN01136618A CN1414345A CN 1414345 A CN1414345 A CN 1414345A CN 01136618 CN01136618 CN 01136618 CN 01136618 A CN01136618 A CN 01136618A CN 1414345 A CN1414345 A CN 1414345A
- Authority
- CN
- China
- Prior art keywords
- terminal
- concentrator
- address
- link information
- reliable
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 20
- 238000004891 communication Methods 0.000 claims abstract description 82
- 238000012360 testing method Methods 0.000 claims abstract description 53
- 230000005540 biological transmission Effects 0.000 claims description 9
- 230000002860 competitive effect Effects 0.000 claims description 9
- 230000004044 response Effects 0.000 claims description 3
- COCAUCFPFHUGAA-MGNBDDOMSA-N n-[3-[(1s,7s)-5-amino-4-thia-6-azabicyclo[5.1.0]oct-5-en-7-yl]-4-fluorophenyl]-5-chloropyridine-2-carboxamide Chemical compound C=1C=C(F)C([C@@]23N=C(SCC[C@@H]2C3)N)=CC=1NC(=O)C1=CC=C(Cl)C=N1 COCAUCFPFHUGAA-MGNBDDOMSA-N 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000000523 sample Substances 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- JEIPFZHSYJVQDO-UHFFFAOYSA-N ferric oxide Chemical compound O=[Fe]O[Fe]=O JEIPFZHSYJVQDO-UHFFFAOYSA-N 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention is applied to an automatic wireless meter reading system composed of a central station, a concentrator and terminals. First, each terminal makes the competition testing to determine which terminal can carry the reliable communication with itself and stores the addresses of these terminals. Then, the concentrator collects the reliable connection information of the each terminal as well as builds and stores the reliable connection information table. Finally, the concentrator builds and stores the route tables and the establishment status table of each terminal route. The invention realizes the automatic wireless communication between the concentrator and the terminals, and reduces the hand labor greatly as well as lowers the managing cost.
Description
Technical field: the invention belongs to electronic technology field, relate to the method that a kind of wireless kilowatt meter reading-out system is set up the communication route automatically.
Background technology: the automatic meter number recorder that has occurred at present is automanual, in certain sub-district or certain panel region, the ammeter of each resident family or water meter, gas meter all are transformed into the mode that can export pulse, with the ammeter is example, each ammeter is marked with a pulse constant, and on behalf of dial plate, the pulse constant change how many circles is kilowatt-hour.Suppose that 720 is pulse constants, just represent the ammeter dial plate changeed 720 the circle after, literary name be the electric degree number can increase by 1 the degree.The effect of photoelectric probe is exactly that the mechanical revolution of dial plate is converted to the electric pulse number, and just the ammeter dial plate whenever turns around and will make photoelectric probe produce an electric pulse, and this pulse will send acquisition terminal to by transmission line.Each acquisition terminal can connect 16 table meters at present, promptly is connected with 16 table meters with 16 transmission lines at most.Acquisition terminal has CPU and storer.Acquisition terminal can be gathered the pulse of 16 table meters simultaneously.Terminal can be converted to the electric degree number with pulse data according to the pulse constant.As being that the umber of pulse accumulative total that certain piece table meter transmits has reached 720 from certain root transmission line.The numeral of certain storage unit just adds 1 in the storer of terminal so.This numeral with ammeter on numeral be consistent.These data can preserved more than 10 years after the terminal power down.But the data that terminal collects collection from each table also will be transferred to a central computer and store and handle, and how to solve the transmission of data from the terminal to the central computer, and two kinds of schemes are arranged at present, and a kind of is artificial process, and a kind of is wireless automated communications method.Artificial process is by artificial hand-held data collector, arrives each terminal seat reading of data one by one, arrives the center calculation machine room then, data input computing machine.This method exhausts the people and drains the treasury.Wireless automated communications method is to set up a wireless communication system between central computer and all terminals, realizes the automatic transmission of data by wireless mode.Fig. 1 has shown the basic scheme of the wireless kilowatt meter reading-out system of Luoyang Zhuo Fei technological development company limited independent development, and the model of concentrator is 3YD-DCU in the system, has applied for patent, and application number is 01229317.2; The model of meter reading terminal is RMRS-2 in the system, and number of patent application is 01229319.9, no longer terminal and concentrator is described in detail herein.Owing to be subjected to the Wireless Management Committee predetermined restricted, the power of the wireless module of acquisition terminal is less.Promptly the ultimate range of two wireless module mutual communication only is about 100 meters.Far just can not receive mutually again.To be sent to a distant place to data, must adopt the mode of relay to transmit.It is 100 meters at every interval or less than 100 meters N1 that all distributing, N2, N3......Nn terminal.N1 sends data to N2, sends N3 after N2 receives again to, so just can send Nn to always, and this makes storage pass and sends out.Why between central computer and terminal, need to increase concentrator? this is because the distance of the terminal that central computer is installed from each user sub-district has all substantially exceeded 100 meters, terminal and central computer are impossible by wireless transmission directly, therefore each sub-district is except having acquisition terminal, also need a concentrator, pass through the mode swap data of wireless channel between concentrator and all terminals of this sub-district.It is might direct communication that each concentrator and distance are no more than 100 meters terminal, and surpass 100 meters the communicating by letter of terminal and concentrator with concentrator distance, will can with the terminal of concentrator direct communication the relay by those, carry out in the mode that relaying each other, storage are transmitted, just as the N1 that passes through of top introduction carries out to the mode of Nn relay.Concentrator is stored in the mass storage of itself by wireless channel, can get up the data aggregation of all terminals of whole sub-district in the mode of relaying each other.And concentrator can carry out in wired mode by telephone wire with communicating by letter of central computer.Therefore, communicating by letter between central computer and the concentrator can not be subjected to distance limit, even can dial from a distant place and cry communicating by letter of trunk call realization and concentrator.In brief, in the above-mentioned wireless kilowatt meter reading-out system, wired mode is used in the communication from the central computer to the concentrator; Each concentrator adopts wireless mode to each communication between terminals of its subordinate.Therefore, just must set up the route of communicating by letter between each terminal of concentrator and its subordinate.At present, also there is not the technical scheme of head it off to occur.
Summary of the invention: technical matters to be solved by this invention is, provides a kind of in above-mentioned wireless kilowatt meter reading-out system, realizes that concentrator and subordinate terminal set up the method for the route of communicate by letter automatically, sets up reliable radio communication and get in touch between concentrator and each terminal.
Technical scheme of the present invention is, a kind of automatic routing method that is used for wireless kilowatt meter reading-out system, it is applied to by a central station, is under the jurisdiction of a plurality of concentrators of central station, the wireless automatic meter recording system that is under the jurisdiction of the great amount of terminals of each concentrator, forms with some subscriber's meter meters that each terminal is connected by wired mode, each concentrator in this system and terminal all have the ability of emission/reception wireless signal, its transmission range is not more than 100 meters, it is characterized in that
(1) following three storage spaces all is set in the storer of each concentrator, deposit a reliable link information table in first storage space, this souvenir carries all terminals that concentrator and this concentrator be subordinate to and other can directly carry out the address of the terminal of radio communication; Deposit a routing table in second storage space, this souvenir carries the route of all terminal communications that this concentrator is subordinate to it; In the 3rd storage space, deposit a terminal route and set up information slip, put down in writing the route of all terminals that this concentrator is subordinate to and set up situation, need not transmit the terminal that can connect and put 1, need transmit the terminal that can connect through 1 time and put 2, need transmit the terminal that can connect through 2 times and put 3, the rest may be inferred by analogy; An address storage space is all arranged in the storer of each terminal/concentrator, and storage and this terminal be the address of the terminal of communication directly,
(2) each terminal challenge is tested the other-end that can carry out reliable wireless telecommunications with oneself, stores its address, and concrete grammar is as follows:
A. competitive channel, when any terminal monitors when being not less than 3 minutes communication is idle, through a random wait of 0~30 second after the time, competition is captured channel and is reliably connected test,
B. terminal/the concentrator that captures channel sends test frame to every other terminal, and in test frame, comprise the address of this terminal self and replied the address of all terminals of test frame,
C. competition is replied, all receive the terminal of above-mentioned test frame, if in the address list that had not replied in test frame its address, response test frame in the following manner then: through a random wait of 0~3 second after the time, carry out channel competition, capture the terminal of channel and send acknowledgement frame, in acknowledgement frame, comprise the address and the address of replying terminal of test terminal/concentrator to the terminal/concentrator that sends test frame; Terminal/the concentrator that sends test frame stores these addresses has replied in the address list; The terminal of so having replied just can not replied competition again, terminal/concentrator that remaining preparation is replied is competitive channel again, terminal/the concentrator that captures channel sends acknowledgement frame to the terminal of sending test frame, proceed to reply, up to the terminal/concentrator that sends test frame at the appointed time, again can not get till the acknowledgement frame
D. after a terminal/concentrator is finished the reliable wireless telecommunications test of oneself; Other terminal/concentrator is competitive channel again; Terminal/the concentrator that captures channel repeats above-mentioned b and two steps of c; Finish the reliable wireless telecommunications test of oneself; Until all terminal/concentrators are all finished the reliable wireless telecommunications test of oneself; At this moment; In the memory space of the address of each terminal/concentrator, storing the address that to carry out the other-end/concentrator of reliable wireless telecommunications with oneself; It is reliable link information
(3) concentrator is collected the reliable link information of each terminal, set up and preserve reliable link information table, the structure of reliable link information table is that concentrator and each affiliated terminal thereof respectively occupy delegation, first address of classifying this concentrator/terminal as is respectively classified as later on this concentrator/terminal and can be carried out the reliable communication terminal address in each row.The concrete grammar that concentrator is collected the reliable link information of each terminal is: at first, put into the reliable link information of concentrator oneself at first row, but put into the reliable link information of the terminal of concentrator direct communication then, but concentrator is collected the reliable link information of each terminal of next stage by the terminal of these direct communications then, collect the reliable link information of all terminals so successively
(4) concentrator foundation and storage routing table and terminal route are set up information slip, its method is: concentrator is according to reliable link information table, but at first be that hop count is that 0 terminal address adds routing table entry, set up this terminal location of information slip in route simultaneously and put 1 direct communication; Then according to reliable link information table, be that 1 terminal address adds routing table entry with hop count, set up this terminal location of information slip in route simultaneously and put 2; Be that 2,3,4 terminal address adds routing table entry successively with hop count, till all terminal addresss are all added routing table entry, promptly finished the foundation of routing table.
Above-mentioned automatic routing method as long as all concentrator/terminals wherein monitor the channel idle greater than 3 minutes, just begins competition and enters reliable connection test, and terminal just can provide up-to-date reliable link information in acknowledgement frame like this; Concentrator is by collecting the reliable link information table of renewal with each communication of terminal; When with certain terminal communication fault, concentrator upgrades routing table and routing condition foundation table according to the new route of paired this terminal of reliable link information hypergene.
The invention has the beneficial effects as follows and realized that concentrator communicates by letter with the automated wireless between the affiliated terminal, need not arrange the person of checking meter to check meter to each user terminal, can at any time, automatically copy and accept the table counting certificates such as water meter, ammeter, gas meter of user of power supply administration or property community user, be as foundation to user's charge.Significantly reduce hand labor, reduced managerial cost, improved automaticity.Use each terminal in the system of the present invention can test automatically can with other terminal of oneself carrying out reliable wireless communication; The reliable link information table that the reliable link information by each terminal under it constitutes can be collected, preserves and be safeguarded to concentrator; And can be according to reliable link information table, produce and safeguard routing table with each terminal communication automatically; The terminal that simultaneously can add up communication failure automatically.
Description of drawings:
Fig. 1 is a kind of wireless kilowatt meter reading-out system structural principle block diagram that is proposed by the present patent application people, its user is towards power supply administration or infrastructure management company, and it is by a central station, form by wired or a plurality of concentrators of infinitely getting in touch and the great amount of terminals that is subordinated to each concentrator with central station.Each terminal is connecting several subscriber's meter meters by wired mode, and between all terminals and the concentrator with the communication Data transmission.
Fig. 2 is a cyberrelationship example of supposing for the inventive method is described, have among the figure from 0 to 15 totally 16 communication main bodys, 0 represents concentrator, 1~15 represents 15 terminals respectively.Having only among the figure between the adjacent communication main body can direct communication, for example 0 only can with 1,4,5 totally 3 main body direct communications of communicating by letter, and 5 can with 0,1,2,4,6,8,9,10 totally 8 main body direct communications of communicating by letter.
Fig. 3 is the software flow pattern of automatic routing procedure concentrator.
Embodiment: following the present invention is described in further details.From Fig. 1 as seen, the present invention will solve concentrator and each communication between terminals route is set up problem.For ease of saying something, narrate in conjunction with the hypothesis network of Fig. 2.Suppose to have a radio meter register network as shown in Figure 2, the physical location that its terminal and concentrator are installed has formed as scheming represented neighbouring relations, promptly can direct communication between the adjacent communication main body among Fig. 2.For such specific embodiment, the present invention realizes the automatic foundation of communication route like this:
At first, following three storage spaces all are set in the storer of each concentrator, deposit a reliable link information table in first storage space, this souvenir carries all terminals that concentrator and this concentrator be subordinate to and other can directly carry out the address of the terminal of radio communication.Below table 1 be exactly a reliable link information table.The first from left row are all communication main bodys in the table, in the table each tabulation on the right show corresponding to the left side respectively communicate by letter main body, other communication main bodys of direct communication with it.Certainly, the content in the table is not having before the route foundation automatically, and it is progressively to finish by the foundation of automatic route.In 00 presentation graphs 2 in (XX represents arbitrarily fixing two digits) table 10, i.e. concentrator, 01~15 in the table 1 be 1~15 in the presentation graphs 2 respectively, i.e. 15 terminals.
The reliable link information table of table 1
| Terminal address | Can set up the reliable terminal that is connected with it | |||||||
| ???1 | ???2 | ???3 | ??4 | ??5 | ???6 | ???7 | ???8 | |
| ??XX00 | ??XX01 | ??XX04 | ??XX05 | ??0 | ??0 | ???0 | ???0 | ???0 |
| ??XX01 | ??XX00 | ??XX02 | ??XX04 | ??XX05 | ??XX06 | ???0 | ???0 | ???0 |
| ??XX02 | ??XX01 | ??XX03 | ??XX05 | ??XX06 | ??XX07 | ???0 | ???0 | ???0 |
| ??XX03 | ??XX02 | ??XX06 | ??XX07 | ??0 | ??0 | ???0 | ???0 | ???0 |
| ??XX04 | ??XX00 | ??XX01 | ??XX05 | ??XX08 | ??XX09 | ???0 | ???0 | ???0 |
| ??XX05 | ??XX00 | ??XX01 | ??XX02 | ??XX04 | ??XX06 | ???XX08 | ???XX09 | ???XX10 |
| ??XX06 | ??XX01 | ??XX02 | ??XX03 | ??XX05 | ??XX07 | ???XX09 | ???XX10 | ???XX11 |
| ??XX07 | ??XX02 | ??XX03 | ??XX06 | ??XX10 | ??XX11 | ???0 | ???0 | ???0 |
| ??XX08 | ??XX04 | ??XX05 | ??XX09 | ??XX12 | ??XX13 | ???0 | ???0 | ???0 |
| ??XX09 | ??XX04 | ??XX05 | ??XX06 | ??XX08 | ??XX10 | ???XX12 | ???XX13 | ???XX14 |
| ??XX10 | ??XX05 | ??XX06 | ??XX07 | ??XX09 | ??XX11 | ???XX13 | ???XX14 | ???XX15 |
| ?XX11 | ?XX06 | ?XX07 | ?XX10 | ?XX14 | ?XX15 | ?0 | ?0 | ?0 |
| ?XX12 | ?XX08 | ?XX09 | ?XX13 | ?0 | ?0 | ?0 | ?0 | ?0 |
| ?XX13 | ?XX08 | ?XX09 | ?XX10 | ?XX12 | ?XX14 | ?0 | ?0 | ?0 |
| ?XX14 | ?XX09 | ?XX10 | ?XX11 | ?XX13 | ?XX15 | ?0 | ?0 | ?0 |
| ?XX15 | ?XX10 | ?XX11 | ?XX14 | ?0 | ?0 | ?0 | ?0 | ?0 |
Deposit a routing table in second storage space, this souvenir carries the route of all terminal communications that this concentrator is subordinate to it.Below table 2 be exactly a routing table, the purpose terminal that will arrive from concentrator is shown in wherein the first from left tabulation.The hop count that certain terminal of arrival will be passed through is shown in the tabulation on the right.Certainly, the content of table 2 also will progressively be finished by the foundation of automatic route.
Table 2 routing table
| Incoming terminal | Hop count | |||||||
| ??0 | ??1 | ??2 | ??3 | ??4 | ??5 | ??6 | ??7 | |
| ??XX01 | ??XX01 | ??0 | ??0 | ??0 | ??0 | ??0 | ??0 | ??0 |
| ??XX04 | ??XX04 | ??0 | ??0 | ??0 | ??0 | ??0 | ??0 | ??0 |
| ??XX05 | ??XX05 | ??0 | ??0 | ??0 | ??0 | ??0 | ??0 | ??0 |
| ??XX02 | ??XX01 | ??XX02 | ??0 | ??0 | ??0 | ??0 | ??0 | ??0 |
| ??XX06 | ??XX01 | ??XX06 | ??0 | ??0 | ??0 | ??0 | ??0 | ??0 |
| ??XX08 | ??XX04 | ??XX08 | ??0 | ??0 | ??0 | ??0 | ??0 | ??0 |
| ??XX09 | ??XX04 | ??XX09 | ??0 | ??0 | ??0 | ??0 | ??0 | ??0 |
| ??XX10 | ??XX05 | ??XX10 | ??0 | ??0 | ??0 | ??0 | ??0 | ??0 |
| ??XX03 | ??XX01 | ??XX02 | ??XX03 | ??0 | ??0 | ??0 | ??0 | ??0 |
| ??XX07 | ??XX01 | ??XX02 | ??XX07 | ??0 | ??0 | ??0 | ??0 | ??0 |
| ??XX11 | ??XX01 | ??XX06 | ??XX11 | ??0 | ??0 | ??0 | ??0 | ??0 |
| ??XX12 | ??XX04 | ??XX08 | ??XX12 | ??0 | ??0 | ??0 | ??0 | ??0 |
| ??XX13 | ??XX04 | ??XX08 | ??XX13 | ??0 | ??0 | ??0 | ??0 | ??0 |
| ??XX14 | ??XX04 | ??XX09 | ??XX14 | ??0 | ??0 | ??0 | ??0 | ??0 |
| ??XX15 | ??XX05 | ??XX10 | ??XX15 | ??0 | ??0 | ??0 | ??0 | ??0 |
In the 3rd storage space, deposit a terminal route and set up information slip, put down in writing the route of all terminals that this concentrator is subordinate to and set up situation, need not transmit the terminal that can connect and put 1, need transmit the terminal that can connect through 1 time and put 2, need transmit the terminal that can connect through 2 times and put 3, the rest may be inferred by analogy.Below table 3 be exactly that the terminal route is set up information slip.The left side one tabulation shows that terminal address, the right are that route is set up situation in the table, unfoundedly puts 0, can direct communication put 1, need put 2 through what once transmit, need put 3 through what transmit for 2 times, and the like.
Table 3 terminal route is set up information slip
| Terminal address | Whether set up route (>0) |
| ?XX01 | ?1 |
| ?XX02 | ?2 |
| ?XX03 | ?3 |
| ?XX04 | ?1 |
| ?XX05 | ?1 |
| ?XX06 | ?2 |
| ?XX07 | ?3 |
| ?XX08 | ?2 |
| ?XX09 | ?2 |
| ?XX10 | ?2 |
| ?XX11 | ?3 |
| ?XX12 | ?3 |
| ?XX13 | ?3 |
| ?XX14 | ?3 |
| ?XX15 | ?3 |
In addition, an address storage space is arranged all in the storer of each terminal/concentrator, storage and this terminal be the address of the terminal of communication directly.
Automatically the process of route foundation is, at first, the other-end that each terminal challenge test can be carried out reliable wireless telecommunications with oneself, store its address, concrete grammar is as follows: a. competitive channel, when any terminal monitors when being not less than 3 minutes communication is idle, through a random wait of 0~30 second after the time, competition is captured channel and is reliably connected test.B. test, the terminal/concentrator that captures channel sends test frame to every other terminal, comprises the address of this terminal self and replied the address of all terminals of test frame in test frame.C. competition is replied, all receive the terminal of above-mentioned test frame, if in the address list that had not replied in test frame its address, response test frame in the following manner then: through a random wait of 0~3 second after the time, carry out channel competition, capture the terminal of channel and send acknowledgement frame, in acknowledgement frame, comprise the address and the address of replying terminal of test terminal/concentrator to the terminal/concentrator that sends test frame; Terminal/the concentrator that sends test frame stores these addresses has replied in the address list; The terminal of so having replied just can not replied competition again, terminal/concentrator that remaining preparation is replied is competitive channel again, terminal/the concentrator that captures channel sends acknowledgement frame to the terminal of sending test frame, proceed to reply, up to the terminal/concentrator that sends test frame at the appointed time, again can not get till the acknowledgement frame.D. after a terminal/concentrator is finished the reliable wireless telecommunications test of oneself, other terminal/concentrator is competitive channel again, terminal/the concentrator that captures channel repeats above-mentioned b and two steps of c, finish the reliable wireless telecommunications test of oneself, all finish the reliable wireless telecommunications test of oneself up to all terminal/concentrators, at this moment, in the storage space of the address of each terminal/concentrator, all storing the address that to carry out the other-end/concentrator of reliable wireless telecommunications with oneself, promptly reliable link information.Specific to the example of Fig. 2, after the competition test, obtain following result:
Can with terminal 1 direct communication have 0,2,4,5,6;
Can with terminal 2 direct communications have 1,3,5,6,7;
Can with terminal 3 direct communications have 2,6,7;
Can with terminal 4 direct communications have 0,1,5,8,9;
Can with terminal 5 direct communications have 0,1,2,4,6,8,9,10;
Can with terminal 6 direct communications have 1,2,3,5,7,9,10,11;
Can with terminal 7 direct communications have 2,3,6,10,11;
Can with terminal 8 direct communications have 4,5,9,11,12;
Can with terminal 9 direct communications have 4,5,6,8,10,12,13,14;
Can with terminal 10 direct communications have 5,6,7,9,11,13,14,15;
Can with terminal 11 direct communications have 6,7,10,14,15;
Can with terminal 12 direct communications have 8,9,13;
Can with terminal 13 direct communications have 8,9,10,12,14;
Can with terminal 14 direct communications have 9,10,11,13,15;
Can with terminal 15 direct communications have 10,11,14.
Total system is after reliable connection test after a while, and concentrator begins to collect and preserve the reliable link information of its each affiliated terminal, sets up and preserve reliable link information table.The structure of reliable link information table is that concentrator and each affiliated terminal thereof respectively occupy delegation, and first address of classifying this concentrator/terminal as is respectively classified as later on this concentrator/terminal and can be carried out the reliable communication terminal address in each row.The concrete grammar that concentrator is collected the reliable link information of each terminal is: at first, put into the reliable link information of concentrator oneself at first row, but put into the reliable link information of the terminal of concentrator direct communication then, but concentrator is collected the reliable link information of each terminal of next stage by the terminal of these direct communications then, collect the reliable link information of all terminals so successively, finish the reliable link information table as table 2.
Concentrator is by setting up the terminal that reliably is connected with oneself, and reliable link information table is set up in the reliable connection of collecting all terminals successively.And during the whole service afterwards, constantly change, refresh this reliable link information table.
Then, concentrator foundation and storage routing table and terminal route are set up information slip, its method is: concentrator is according to reliable link information table, i.e. table 1, but at first be that hop count is that 0 terminal address adds routing table entry with direct communication, i.e. table 2, simultaneously route set up information slip promptly this terminal location of table 3 put 1.Then according to reliable link information table 1, be that 1 terminal address adds routing table entry 2 with hop count, set up information slip 3 these terminal locations in route simultaneously and put 2.And the like, with hop count is that 2,3,4 terminal address adds routing table entry 2, simultaneously set up information slip 3 these terminal locations and put 3,4,5 in route, up to all terminal addresss are all added routing table entry 2 and route set up information slip 3 these terminal locations put the number till, promptly finished the foundation that routing table and route are set up information slip.
System's normal operation period, concentrator communicates by routing table and terminal, during communication routing iinformation is put into transmit frame.Except that reply data, also comprise the up-to-date reliable link information of this terminal in the acknowledgement frame of terminal, so that concentrator upgrades reliable link information table.Run into unsuccessful route, concentrator regenerates route according to reliable link information table.All the time the terminal that can't link up is listed the communication failure table in, sees Table 4.
Table 4 communication failure terminal list
| Communication failure terminal terminal address |
| ??????????XX05 |
| ??????????XX03 |
| ??????????... |
Main website regularly calls together and surveys concentrator fault terminal list, manually repairs the fault terminal.
Communication is with wireless mode between concentrator and the terminal or between terminal and the terminal, and the dependence communication protocol carries out, and communication protocol is equivalent to the language of communication between the terminal.Address information, routing iinformation, command code, data message in frame data, have been comprised.Table 5 is a kind of frame format of communication protocol.In this frame format, the relay address length of field is the summation of all relay address and destination address length.
Table 5 communication protocol frame format
| Bebinning character (68H) | The heading of regular length | ||
| Data length (L1) | |||
| Data length (L1) | |||
| Bebinning character (68H) | |||
| Relay address length of field (L2) | |||
| Relay address length of field (L2) | |||
| Terminal address (D1) | |||
| Terminal address (D2) | |||
| Control code (C) | Control domain | ||
| Control command (DA1) | |||
| Control command (DA2) | |||
| Data type sign indicating number (DT) | |||
| Terminal address B1 | First relay address | The terminal address sign indicating number | The relay address territory |
| Terminal address C1 | Second relay address | ||
| …… | .... . | ||
| Terminal address N1 | The purpose terminal address | ||
| Data volume 1 (F1) | The data field | ||
| …… | |||
| Data volume N (FN) | |
| Verification and (CS) | Message trailer |
| Termination character (16H) |
Automatically the software flow of routing procedure concentrator as shown in the figure.After the hardware initialization, check and whether set up routing table,, just begin regularly to patrol tasks such as survey if set up routing table; If no routing table just begins to set up set by step routing table, begin regularly to patrol tasks such as survey then.
Claims (2)
1, a kind of automatic routing method that is used for wireless kilowatt meter reading-out system, it is applied to by a central station, is under the jurisdiction of a plurality of concentrators of central station, the wireless automatic meter recording system that is under the jurisdiction of the great amount of terminals of each concentrator, forms with some subscriber's meter meters that each terminal is connected by wired mode, each concentrator in this system and terminal all have the ability of emission/reception wireless signal, its transmission range is not more than 100 meters, it is characterized in that
(1) following three storage spaces all is set in the storer of each concentrator, deposit a reliable link information table in first storage space, this souvenir carries all terminals that concentrator and this concentrator be subordinate to and other can directly carry out the address of the terminal of radio communication; Deposit a routing table in second storage space, this souvenir carries the route of all terminal communications that this concentrator is subordinate to it; In the 3rd storage space, deposit a terminal route and set up information slip, put down in writing the route of all terminals that this concentrator is subordinate to and set up situation, need not transmit the terminal that can connect and put 1, need transmit the terminal that can connect through 1 time and put 2, need transmit the terminal that can connect through 2 times and put 3, the rest may be inferred by analogy; An address storage space is all arranged in the storer of each terminal/concentrator, and storage and this terminal be the address of the terminal of communication directly,
(2) each terminal challenge is tested the other-end that can carry out reliable wireless telecommunications with oneself, stores its address, and concrete grammar is as follows:
A. competitive channel, when any terminal monitors when being not less than 3 minutes communication is idle, through a random wait of 0~30 second after the time, competition is captured channel and is reliably connected test,
B. terminal/the concentrator that captures channel sends test frame to every other terminal, and in test frame, comprise the address of this terminal self and replied the address of all terminals of test frame,
C. competition is replied, all receive the terminal of above-mentioned test frame, if in the address list that had not replied in test frame its address, response test frame in the following manner then: through a random wait of 0~3 second after the time, carry out channel competition, capture the terminal of channel and send acknowledgement frame, in acknowledgement frame, comprise the address and the address of replying terminal of test terminal/concentrator to the terminal/concentrator that sends test frame; Terminal/the concentrator that sends test frame stores these addresses has replied in the address list; The terminal of so having replied just can not replied competition again, terminal/concentrator that remaining preparation is replied is competitive channel again, terminal/the concentrator that captures channel sends acknowledgement frame to the terminal of sending test frame, proceed to reply, up to the terminal/concentrator that sends test frame at the appointed time, again can not get till the acknowledgement frame
D. after a terminal/concentrator is finished the reliable wireless telecommunications test of oneself; Other terminal/concentrator is competitive channel again; Terminal/the concentrator that captures channel repeats above-mentioned b and two steps of c; Finish the reliable wireless telecommunications test of oneself; Until all terminal/concentrators are all finished the reliable wireless telecommunications test of oneself; At this moment; In the memory space of the address of each terminal/concentrator, storing the address that to carry out the other-end/concentrator of reliable wireless telecommunications with oneself; It is reliable link information
(3) concentrator is collected the reliable link information of each terminal, set up and preserve reliable link information table, the structure of reliable link information table is that concentrator and each affiliated terminal thereof respectively occupy delegation, first address of classifying this concentrator/terminal as is respectively classified as later on this concentrator/terminal and can be carried out the reliable communication terminal address in each row.The concrete grammar that concentrator is collected the reliable link information of each terminal is: at first, put into the reliable link information of concentrator oneself at first row, but put into the reliable link information of the terminal of concentrator direct communication then, but concentrator is collected the reliable link information of each terminal of next stage by the terminal of these direct communications then, collect the reliable link information of all terminals so successively
(4) concentrator foundation and storage routing table and terminal route are set up information slip, its method is: concentrator is according to reliable link information table, but at first be that hop count is that 0 terminal address adds routing table entry, set up this terminal location of information slip in route simultaneously and put 1 direct communication; Then according to reliable link information table, be that 1 terminal address adds routing table entry with hop count, set up this terminal location of information slip in route simultaneously and put 2; Be that 2,3,4 terminal address adds routing table entry successively with hop count, till all terminal addresss are all added routing table entry, promptly finished the foundation of routing table.
2, automatic routing method according to claim 1, it is characterized in that, as long as all concentrator/terminals monitor the channel idle greater than 3 minutes, just begin competition and enter reliable connection test, terminal just can provide up-to-date reliable link information in acknowledgement frame like this; Concentrator is by collecting the reliable link information table of renewal with each communication of terminal; When with certain terminal communication fault, concentrator upgrades routing table and routing condition foundation table according to the new route of paired this terminal of reliable link information hypergene.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 01136618 CN1212708C (en) | 2001-10-23 | 2001-10-23 | Automatic routing method of radio meter data recording system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 01136618 CN1212708C (en) | 2001-10-23 | 2001-10-23 | Automatic routing method of radio meter data recording system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1414345A true CN1414345A (en) | 2003-04-30 |
| CN1212708C CN1212708C (en) | 2005-07-27 |
Family
ID=4673782
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 01136618 Expired - Fee Related CN1212708C (en) | 2001-10-23 | 2001-10-23 | Automatic routing method of radio meter data recording system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1212708C (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101504792B (en) * | 2009-02-23 | 2011-06-15 | 四川赛康电气有限责任公司 | User side centralized control and centralized copy system based on wireless sensor network and optimization method |
| CN101136723B (en) * | 2006-08-31 | 2012-07-04 | 上海协同科技股份有限公司 | Self-adaptive electric power carrier wave concentrator |
| CN103281318A (en) * | 2013-05-09 | 2013-09-04 | 浙江师范大学 | Attack testing device aiming at software defined network |
| CN103310621A (en) * | 2012-03-13 | 2013-09-18 | 周治江 | Address processing method for intelligent meter reading system equipment |
| CN104022916A (en) * | 2014-06-16 | 2014-09-03 | 洛阳愿景科技有限公司 | Method of determining path of dual-mode local communication module of concentrator in different time buckets |
| CN104158584A (en) * | 2014-07-29 | 2014-11-19 | 国家电网公司 | Optical network monitoring information fusion and interaction method |
| CN110557171A (en) * | 2019-09-06 | 2019-12-10 | 北京中科高鸿电子有限公司 | HPLC communication system and communication method |
-
2001
- 2001-10-23 CN CN 01136618 patent/CN1212708C/en not_active Expired - Fee Related
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101136723B (en) * | 2006-08-31 | 2012-07-04 | 上海协同科技股份有限公司 | Self-adaptive electric power carrier wave concentrator |
| CN101504792B (en) * | 2009-02-23 | 2011-06-15 | 四川赛康电气有限责任公司 | User side centralized control and centralized copy system based on wireless sensor network and optimization method |
| CN103310621A (en) * | 2012-03-13 | 2013-09-18 | 周治江 | Address processing method for intelligent meter reading system equipment |
| CN103281318A (en) * | 2013-05-09 | 2013-09-04 | 浙江师范大学 | Attack testing device aiming at software defined network |
| CN103281318B (en) * | 2013-05-09 | 2016-06-08 | 浙江师范大学 | A kind of attack test device for software definition network |
| CN104022916A (en) * | 2014-06-16 | 2014-09-03 | 洛阳愿景科技有限公司 | Method of determining path of dual-mode local communication module of concentrator in different time buckets |
| CN104158584A (en) * | 2014-07-29 | 2014-11-19 | 国家电网公司 | Optical network monitoring information fusion and interaction method |
| CN110557171A (en) * | 2019-09-06 | 2019-12-10 | 北京中科高鸿电子有限公司 | HPLC communication system and communication method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1212708C (en) | 2005-07-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| DE10152554B4 (en) | Data link radio network | |
| CN1182661C (en) | Interact relaying method used for radio meter data recording system | |
| US20090135762A1 (en) | Point-to-point communication within a mesh network | |
| CN101242379A (en) | Car damage identification method based on mobile communication terminal or network terminal | |
| MXPA06013088A (en) | Mesh amr network interconnecting to mesh wi-fi network. | |
| CN1212708C (en) | Automatic routing method of radio meter data recording system | |
| CN101626318B (en) | Multilevel communication system and communication detection method thereof | |
| CN115102807A (en) | Method, device, server, client and storage medium for data transmission of Internet of Things gateway | |
| CN102801548A (en) | Intelligent early warning method, device and information system | |
| CN2516977Y (en) | Time-division rate electric energy meter with GSM/CDMA radio digital communication device | |
| CN106027329A (en) | Push service testing method and device | |
| CN107864097B (en) | A method and system for distributing electricity consumption data | |
| EP2767069A1 (en) | Emission reporting and monitoring | |
| CN102830674A (en) | Automatic monitoring system and monitoring method for working conditions of pollution source discharging process | |
| CN113485912B (en) | Communication function simulation method for 1553B bus BC chip | |
| CN119172785B (en) | Management method and system for node network of railway dispatching centralized system | |
| CN115687280B (en) | A community information sharing system and method based on cloud platform | |
| CN214544335U (en) | Internet of things terminal equipment with optimized response mechanism in intelligent building | |
| CN105205605A (en) | Interactive service system of urban intelligent portal terminal and electricity marketing terminal | |
| CN114125769B (en) | A charging pile information interaction method, system, charging pile, equipment and medium | |
| CN117527856A (en) | An Internet-based cloud transmission method of refueling information | |
| CN202837987U (en) | Pollution source discharging process working condition automatic monitoring system | |
| CN102255981B (en) | Highly-efficient reliable acquisition station address allocation method and system | |
| CN115665037A (en) | Communication interaction method and system between terminal and master station | |
| CN1414343A (en) | Method used for intiating radio meter data recording system |
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 | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20050727 Termination date: 20101023 |