CN106603735A - Method, device, and system of allocating communication addresses for intelligent instruments - Google Patents

Method, device, and system of allocating communication addresses for intelligent instruments Download PDF

Info

Publication number
CN106603735A
CN106603735A CN201510678813.0A CN201510678813A CN106603735A CN 106603735 A CN106603735 A CN 106603735A CN 201510678813 A CN201510678813 A CN 201510678813A CN 106603735 A CN106603735 A CN 106603735A
Authority
CN
China
Prior art keywords
identifier
mailing address
dcu
message
intelligence instrument
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510678813.0A
Other languages
Chinese (zh)
Other versions
CN106603735B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201510678813.0A priority Critical patent/CN106603735B/en
Priority to PCT/CN2016/084749 priority patent/WO2017067179A1/en
Publication of CN106603735A publication Critical patent/CN106603735A/en
Application granted granted Critical
Publication of CN106603735B publication Critical patent/CN106603735B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a method, a device, and a system of allocating communication addresses for intelligent instruments. The method comprises steps that a receiving main station of a data concentrating unit DCU is used to transmit an identifier notification message, which comprises a first identifier; the DCU is used to allocate a first communication address for the first identifier according to the identifier notification message, and is used to store a first identifier and first communication address pair; the DCU is used to broadcast and transmit a communication address allocation message, which comprises the first identifier and first communication address pair, and then a first intelligent instrument provided with the first identifier is used to configure the first communication address. By adopting the method, the device, and the system provided by the invention, the efficiency of allocating the communication addresses for the intelligent instruments is improved.

Description

A kind of methods, devices and systems of distribution intelligence instrument mailing address
Technical field
The present invention relates to communication technical field, more particularly to a kind of method of distribution intelligence instrument mailing address, Device and system.
Background technology
In intelligent meter data recording system, intelligent electric meter access data centralized unit (Data Concentrating Unit, Abbreviation DCU), DCU by network with it is senior metering framework (Advanced Metering Infrastructure, Abbreviation AMI) main website connection, main website can be entered to intelligent electric meter by the data of network collection intelligent electric meter Row control etc..
When between DCU and intelligent electric meter pass through RS (recommended standard, proposed standard) -485 When agreement is communicated, each intelligent electric meter will distribute a mailing address, also referred to as 485 addresses.It is logical It is often to distribute corresponding 485 address for each intelligent electric meter by attendant in main website, then in DCU Corresponding 485 address of each intelligent electric meter is input into, and corresponding 485 address is configured in each intelligent electric meter, So that DCU based on 485 addresses of each intelligent electric meter, can obtain the data of each intelligent electric meter.
During the present invention is realized, inventor has found that prior art at least has problems with:
Attendant needs to distinguish input communication address in main website, DCU and intelligent electric meter manually, configures work Work amount is big, less efficient.If main website, DCU and in any one there is configuration error, may all lead Address conflict is caused, the intelligent meter data recording system cannot normal work.
The content of the invention
A kind of methods, devices and systems of distribution mailing address are embodiments provided, for solving During for intelligence instrument distribution mailing address, attendant is needed manually in main website, DCU and Intelligent Instrument Input communication address, big, the less efficient problem of configuration work amount are distinguished in table, and can be avoided the occurrence of In main website, DCU, there is configuration error in any one, causes address conflict, and the intelligent meter data recording system cannot The situation of normal work.
A kind of first aspect, there is provided method of distribution mailing address, is performed by cells D CU in data set, Methods described is specifically included:
The identifier notification message that main website sends is received, the identifier notification message includes the first identifier;
According to identifier notification message, it is that first identifier distributes the first mailing address, and preserves described First identifier and the first mailing address pair;
Broadcast transmission mailing address assignment messages, the mailing address assignment messages include first mark Symbol and first mailing address pair, so that the configuration of the first intelligence instrument with first identifier is described First mailing address.
The identifier of the intelligence instrument provided according to main website by DCU, is intelligence instrument distribution mailing address, and Intelligence instrument is sent to by broadcast, automatically configures intelligence instrument, so, Maintenance free personnel's handss The mailing address that each intelligence instrument is configured in main website, DCU and intelligence instrument is moved, such that it is able to reduce deployment Cost, improves the efficiency and accuracy of mailing address distribution.With reference in a first aspect, the of the first aspect In a kind of possible implementation, in the identifier notification message, also include the second identifier;
According to the identifier notification message, it is that first identifier distributes the first mailing address, and preserves First identifier and first mailing address pair, including:
According to the identifier notification message, it is that first identifier distributes first mailing address, is Second identifier distributes the second mailing address, and preserves first identifier with described first communicatedly Location to and second identifier and second mailing address pair;
Also include second identifier and second mailing address pair in the mailing address assignment messages, So that the second intelligence instrument with second identifier configures second mailing address.
As such, it is possible to while distribute mailing address for multiple intelligence instruments, further raising mailing address distributes Efficiency.
With reference to the first possible implementation of first aspect, second in the first aspect may realization side In formula, the DCU, according to the identifier notification message, is that the first identifier distribution described first is led to Letter address, is that second identifier distributes the second mailing address, including:
According to the suitable of first identifier and second identifier is carried in the identifier notification message Sequence, is followed successively by first identifier and second identifier and distributes first mailing address and described the Two mailing addresses.
With reference in a first aspect, in the third possible implementation of the first aspect, the DCU broadcast is sent out After sending mailing address assignment messages, also include:
The address configuration success message that first intelligence instrument with first identifier sends is received, The address configuration success message includes first identifier.
So, DCU can confirm that whether the intelligence is successfully configured with the first mailing address of distribution.
May realization side with reference to any one in the third possible implementation of first aspect to first aspect Formula, in the 4th kind of possible implementation of the first aspect, methods described also includes:
The first data query message that the main website sends is received, first data query message includes institute State the first identifier;
According to first identifier, first mailing address is obtained;
The second data query message is sent to first intelligence instrument with first identifier, it is described Second data query message includes first mailing address
The first feedback message that first intelligence instrument sends is received, first feedback message includes institute State the current data of the first mailing address and first intelligence instrument;
First identifier is obtained according to first mailing address in first feedback message, to institute State main website and send the second feedback message, second feedback message includes the current of first intelligence instrument Data and first identifier.
A kind of second aspect, there is provided method of distribution mailing address, is performed by intelligence instrument, methods described Specifically include:
The mailing address assignment messages of DCU broadcast transmissions are received, the mailing address assignment messages include the One identifier and the first mailing address pair, first mailing address are the DCU according to the described first mark Symbol is distributed;
When it is the identifier of the intelligence instrument that the intelligence instrument determines first identifier, institute is configured State the first mailing address.
Intelligence instrument automatically configures mailing address according to mailing address assignment messages, can reduce being manually intelligence The lower deployment cost of energy instrument arrangement mailing address, it is to avoid human configuration malfunctions, improves mailing address distribution Accuracy.
With reference to second aspect, in the first possible implementation of the second aspect, in the intelligence instrument After configuring first mailing address, methods described also includes:
Address configuration success message is sent to the DCU, with to the DUC feed back the intelligence instrument into Work(is configured with first mailing address of the DCU distribution.
So, DUC can know whether the intelligence instrument is successfully configured with the first mailing address of distribution in time, Improve the efficiency of mailing address distribution.
May realization side with reference to any one in the first possible implementation of second aspect or second aspect Formula, in second possible implementation of the second aspect, methods described also includes:
The second data query message that the DCU sends is received, second data query message includes institute State the first mailing address;
According to second data query message, current data is obtained, and first is sent to the DCU and fed back Message, first feedback message include the current data of first mailing address and the intelligence instrument.
A kind of third aspect, there is provided cells D CU in data set, the DCU is with realizing said method The function of DCU behaviors.The function can be realized by hardware, it is also possible to performed by hardware corresponding soft Part is realized.The hardware or software include one or more modules corresponding with above-mentioned functions.
In a kind of possible implementation, the DCU includes:Processor, receptor and transmitter;Wherein,
The receptor, for receiving the identifier notification message of main website transmission, the identifier notification message Include the first identifier;
The processor, for according to the identifier notification message, being first identifier distribution first Mailing address, and first identifier is preserved with first mailing address pair;
The transmitter, for broadcast transmission mailing address assignment messages, in the mailing address assignment messages Including first identifier and first mailing address pair, so that with first identifier first Intelligence instrument configures first mailing address.
In alternatively possible implementation, the DCU includes:
First receiver module, for receiving the identifier notification message of main website transmission, the identifier notifies to disappear Breath includes the first identifier;
Distribute module, it is logical for according to the identifier notification message, being the first identifier distribution first Letter address, and first identifier is preserved with first mailing address pair;
First sending module, for broadcast transmission mailing address assignment messages, the mailing address assignment messages Include first identifier and first mailing address pair, so that with first identifier One intelligence instrument configures first mailing address.
A kind of fourth aspect, there is provided intelligence instrument, the intelligence instrument has realizes Intelligent Instrument in said method The function that table row is.The function can be realized by hardware, it is also possible to perform corresponding software by hardware Realize.The hardware or software include one or more modules corresponding with above-mentioned functions.
In a kind of possible implementation, the intelligence instrument includes:Processor and receptor;Wherein,
The receptor, for receiving the mailing address assignment messages of DCU broadcast transmissions, the mailing address Assignment messages include the first identifier and the first mailing address pair, and first mailing address is the DCU Distributed according to first identifier;
The processor, for, when it is determined that first identifier is the identifier of the intelligence instrument, matching somebody with somebody Put first mailing address.
In alternatively possible implementation, the intelligence instrument includes:
First receiver module, for receiving the mailing address assignment messages of DCU broadcast transmissions, it is described communicatedly Location assignment messages include the first identifier and the first mailing address pair, and first mailing address is described DCU is distributed according to first identifier;
Configuration module, for determining the mark that first identifier is the intelligence instrument when the intelligence instrument When knowing symbol, first mailing address is configured.
In terms of 5th, there is provided a kind of system of distribution mailing address, the system include main website, DCU and Intelligence instrument, wherein:
The main website, for sending identifier notification message to the DCU, in the identifier notification message Including the first identifier;
The DCU, for receiving the identifier notification message, according to the identifier notification message, be First identifier distributes the first mailing address, and preserves first identifier with described first communicatedly Location pair, broadcast transmission mailing address assignment messages, the mailing address assignment messages include first mark Know symbol and first mailing address pair;
The intelligence instrument, for receiving the mailing address assignment messages, and it is determined that first mark When according with the identifier for the intelligence instrument, first mailing address is configured.
In the embodiment of the present invention, DCU receives the identifier notification message that main website sends, identifier notification message Include the first identifier, DCU, according to the identifier notification message, is that the first identifier distribution first is led to Letter address, and the first identifier and the first mailing address pair are preserved, the distribution of DCU broadcast transmissions mailing address disappears Breath, mailing address assignment messages include the first identifier and the first mailing address pair, so that with the first mark The first intelligence instrument for knowing symbol configures the first mailing address, as such, it is possible to according to the intelligence instrument for receiving Identifier, distributes mailing address for intelligence instrument automatically, and Maintenance free personnel are manually in main website, DCU and intelligence The mailing address of each intelligence instrument is configured in energy instrument, such that it is able to reduce lower deployment cost, mailing address is improved The efficiency and accuracy of distribution.
Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to institute in embodiment description The accompanying drawing that needs are used is briefly described, it should be apparent that, drawings in the following description are only the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, Can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1 is a kind of method flow diagram of distribution mailing address provided in an embodiment of the present invention;
Fig. 2 is the method flow diagram of another kind of distribution mailing address provided in an embodiment of the present invention;
Fig. 3 is system framework figure provided in an embodiment of the present invention;
Fig. 4 is the method flow diagram of another distribution mailing address provided in an embodiment of the present invention;
Fig. 5 is a kind of method flow diagram of the current data of inquiry intelligence instrument provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of DCU provided in an embodiment of the present invention;
Fig. 7 is the structural representation of another kind of DCU provided in an embodiment of the present invention;
Fig. 8 is a kind of structural representation of intelligence instrument provided in an embodiment of the present invention;
Fig. 9 is the structural representation of another kind of intelligence instrument provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to the present invention Embodiment is described in further detail.
Embodiments provide a kind of system of distribution mailing address, including main website, DCU and some intelligence Can instrument, as shown in figure 3, for the system framework schematic diagram of the embodiment of the present invention.Each intelligence instrument can be with With unique identifier (such as table number), the intelligence instrument of all of user in certain regional (such as certain cell) Access in the DCU of this area, DCU and master station communication.
In the intelligent meter data recording system based on AMI, the main website in the present invention is AMI main websites.AMI main websites Can include data collection platform (Data collection platform, abbreviation DCP) equipment, also referred to as before Machine is put, is communicated with DCU by network.
Wherein, main website, for sending identifier notification message to DCU, identifier notification message includes the One identifier.
DCU, for receiving the identifier notification message of main website transmission, identifier notification message includes first Identifier, according to identifier notification message, is that the first identifier distributes the first mailing address, and preserves first Identifier and the first mailing address pair, broadcast transmission mailing address assignment messages, in mailing address assignment messages Including the first identifier and the first mailing address pair;
Each intelligence instrument in some intelligence instruments, can be used for receiving the mailing address point of DCU broadcast transmissions With message, mailing address assignment messages include the first identifier and the first mailing address pair, and first communicatedly Location is distributed according to the first identifier by DCU, when it is determined that the first identifier is the identifier of intelligence instrument, Configure the first mailing address, however, it is determined that the first identifier is not the identifier of itself, can terminate to process.
In being embodied as, DCU can receive the identifier notification message of main website transmission, can be then mark The first identifier in symbol notification message distributes corresponding mailing address (i.e. the first mailing address), and preserves the One identifier and the first mailing address pair, such as set up the identifier of intelligence instrument and the corresponding relation of mailing address Table, then DCU with broadcast mode send mailing address assignment messages, can wrap in mailing address assignment messages Include the first identifier and the first mailing address pair.DCU can a broadcast mode only send one group of intelligence instrument Identifier and mailing address pair, it is also possible to broadcast mode sends many group identifiers and mailing address pair, To improve the efficiency of mailing address distribution.
After intelligence instrument receives DCU transmission mailing address assignment messages, it may be determined that whether the first identifier It is the identifier of itself, if it is, the first mailing address can be configured, if it is not, then can abandon The mailing address assignment messages.
In the embodiment of the present invention, DCU receives the identifier notification message that main website sends, identifier notification message Include the first identifier, DCU, according to identifier notification message, is that the first identifier distributes first communicatedly Location, and the first identifier and the first mailing address pair are preserved, DCU broadcast transmission mailing address assignment messages, Mailing address assignment messages include the first identifier and the first mailing address pair, so as to have the first identifier The first intelligence instrument configure the first mailing address, as such, it is possible to according to the mark of the intelligence instrument for receiving Symbol, distributes mailing address for intelligence instrument automatically, and Maintenance free personnel are manually in main website, DCU and Intelligent Instrument The mailing address of each intelligence instrument is configured in table, such that it is able to reduce lower deployment cost, mailing address distribution is improved Efficiency and accuracy.
A kind of method of distribution mailing address is embodiments provided, by main website, DCU and Intelligent Instrument Interaction between table, completes the distribution of mailing address.Wherein, intelligence instrument can be intelligent electric meter, intelligence Water meter or intelligent gas meter etc..The present embodiment is illustrated so that intelligence instrument is as intelligent electric meter as an example, other situations It is similar to therewith.
As shown in figure 1, the handling process of DCU can include the steps in the method:
Step 101, DCU receive the identifier notification message that main website sends, and identifier notification message includes First identifier.
In force, main website can be by the identifier (i.e. the first identifier) of the ammeter for needing to distribute mailing address It is added in identifier notification message, then identifier notification message can be sent to corresponding DCU, DCU The identifier notification message of main website transmission can then be received, it is possible to which identifier notification message is parsed, Obtain the first identifier, it is possible to which the first identifier for receiving is stored.
Main website once can only send the identifier of an ammeter to DCU, it is also possible to once send to DCU The identifier of multiple ammeters, then can also include the second identifier in identifier notification message.
Step 102, DCU, according to identifier notification message, are that the first identifier distributes the first mailing address, And preserve the first identifier and the first mailing address pair.
In force, it is the mailing address of ammeter distribution that can prestore in DCU, and can be remembered Mailing address and untapped mailing address that record has been used, to be allocated process.Ammeter is communicatedly Location can be represented with 8 bits.It is after DCU receives the identifier notification message of main website transmission, right The identifier notification message is parsed, and obtains the first identifier, then can be in leading to that DCU is prestored In letter address, untapped mailing address is determined, in untapped mailing address, obtain first communicatedly Location, and then the first mailing address can be distributed to the corresponding ammeter of the first identifier, it is possible to preserve first Identifier and the first mailing address pair, set up the corresponding relation of identifier and mailing address.DCU can be with right Answer the form of relation table to store identifier and mailing address pair, as shown in table 1:
Table 1
The identifier of ammeter Mailing address
1230 00001100
1231 00001101
1232 00001110
1233 00001111
Optionally, also include the second identifier in above-mentioned identifier notification message, in the process of step 102 Journey can be as follows:DCU is that the first identifier distributes the first mailing address, is according to identifier notification message Second identifier distribute the second mailing address, and preserve the first identifier and the first mailing address to and second Identifier and the second mailing address pair.
In force, after DCU is received and is received the identifier notification message that main website sends, can be to the identifier Notification message is parsed, and is obtained the first identifier and the second identifier, then can be prestored in DCU Untapped mailing address in, choose two mailing addresses (i.e. the first mailing address and the second mailing address), First mailing address is distributed to into the corresponding ammeter of the first identifier, the second mailing address is distributed to into the second mark Know the corresponding ammeter of symbol, it is possible to preserve the first identifier and the first mailing address pair, and the second identifier With the second mailing address pair, the corresponding relation of identifier and mailing address is set up.
Further, DCU can be identified according to the first identifier and second is carried in identifier notification message The order of symbol, is followed successively by the first identifier and the second identifier distributes the first mailing address and the second mailing address.
Address pool can be provided with DCU, can be stored with the address pool whole mailing addresses, and The mailing address of ammeter will be already allocated to, the mailing address for having used will be labeled as, the communication for distributing will not done Address, is labeled as untapped mailing address.Or, DCU can only store untapped in address pool Mailing address (that is, does not do the mailing address for distributing).Or, DCU can have two address pools, deposit respectively Mailing address (that is, being already allocated to the mailing address of ammeter) and untapped mailing address that storage has been used (that is, not doing the mailing address for distributing).
Due to ammeter mailing address with 8 bits representing, DCU receive the first identifier of receipts and After second identifier, first can be obtained in untapped mailing address, according to the order of mailing address Mailing address and the second mailing address, and mark according to the first identifier and second is carried in identifier notification message Know the order of symbol, be followed successively by the first identifier and the second identifier distributes the first mailing address and second communicatedly Location, it is possible to which the identifier of ammeter and mailing address are carried out into corresponding record.For example, DCU is obtained from address pool It is 00001100,00001101,00001110,00001111 to get not currently used mailing address, is connect The identifier for receiving is 1230 and 1231, then can distribute to 1230 corresponding ammeters by 00001100, will 00001101 distributes to 1231 corresponding ammeters.
Step 103, DCU broadcast transmission mailing address assignment messages, mailing address assignment messages include One identifier and the first mailing address pair, so that the configuration of the first intelligence instrument with the first identifier first is led to Letter address.
In force, DCU is after the first ammeter with the first identifier configures the first mailing address, can be with By the first mailing address and the first identifier to being placed in mailing address assignment messages, the mailing address distribution disappears Cease for broadcast, then mailing address assignment messages can be sent in the form of broadcasting and the DCU connects The ammeter for connecing.Adopt 485 communication protocols to be communicated between DCU and ammeter.DCU is broadcasted to ammeter Mailing address assignment messages can be the message of Modbus forms, or High-Level Data Link Control The message of (High-Level Data Link Control, abbreviation HDLC) form.
The message of Modbus forms is as follows:
Address field is 8 (bit), for writing destination address, is represented generally with 8 bits.Ground Location scope is decimal scale 0~255, wherein, 0 is broadcast address, and 248~255 is reserved address, can be distributed to Address of node is 1~247.In the present invention, in the mailing address assignment messages that DCU is broadcasted to ammeter, should 00000000 is write in address field.
Can use self-defining function code in functional domain, it is special to indicate address distribution, the function code need with Other functions code makes a distinction, and so that ammeter is identified, the occurrence of the function code can be by each ammeter Producer's self-defining.
Data field is used to carry communication data.In the present invention, mailing addresses point of the DCU to ammeter broadcast transmission In with message, identifier and mailing address pair are write in data field.Data form in data field can be as Under:
{
Identifier;
Mailing address;
}
DCU may be calculated once for an ammeter distribution mailing address, it is also possible to once communicate for the distribution of multiple ammeters Address, when once distributing mailing address for multiple ammeters for DCU, the identifier of different ammeters and logical Letter address is to can be written in data field together according to above-mentioned form.
The message of HDLC forms is as follows:
Wherein, 0x7e is used for the beginning and end for representing message.
Destination address domain can be 16 (bit), and for writing destination address, source address field is 16 (bit), For writing source address, generally all it is representing with hexadecimal number.Address realm can be 0~0x3FFF, Wherein, 0x3FFF is broadcast address, and 0x00002~0x000F is reserved address, and remaining address can be distributed to Node.In the present invention, when DCU adopts HDLC forms to the mailing address assignment messages of ammeter broadcast transmission Message when, the address of DCU can be write in source address field, destination address writes broadcast address in domain 0x3FFF。
User data information is used to carry communication data.DCU can write identifier in user data information With mailing address pair.Data form in user data information can ibid Modbus messages.
DCU may be calculated once for an intelligence instrument distribution mailing address, it is also possible to be once multiple intelligence instruments Distribution mailing address, when once distributing mailing address for multiple ammeters for DCU, the mark of different ammeters Symbol and mailing address are known to being written in user data information together according to data form defined above.
Optionally, the first ammeter with the first identifier is successfully configured after the first mailing address, can be to DCU Send address configuration and match somebody with somebody success message, accordingly, the process of DCU can be as follows:DCU is received with first The address configuration success message that first intelligence instrument of identifier sends, address configuration success message include institute State the first identifier.Also include first mailing address in the address configuration success message.
DCU receives the address configuration of first ammeter with after success message, can confirm that described first is electric Telogenesis work(configuration address.If after DCU broadcast transmission mailing address assignment messages, do not connect in preset duration The address configuration for receiving first ammeter matches somebody with somebody success message, then it is assumed that this described first ammeter is without success Configuration address, can re-broadcast transmission mailing address assignment messages, wherein carrying the of first ammeter One identifier and the first mailing address pair.The accuracy of address distribution can so be improved.It is being once multiple In the case of ammeter distribution mailing address, if wherein certain (or some) is not received by preset duration The address configuration success message of ammeter, then DCU think that (a little) ammeter does not have successful configuration address, again During broadcast transmission mailing address assignment messages, it is only necessary in the message carry should (a little) ammeter identifier with Mailing address pair.So not only improve the efficiency of address distribution but also can guarantee that accuracy.
As shown in Fig. 2 the handling process of ammeter can include the steps in the method:
Step 201, intelligence instrument receive the mailing address assignment messages of DCU broadcast transmissions, mailing address point Include the first identifier and the first mailing address pair with message, the first mailing address is DCU according to the first mark Know symbol to be distributed.
In force, DCU is broadcast to mailing address assignment messages after ammeter, and ammeter can then be received Then the mailing address assignment messages can be parsed, be obtained by the mailing address assignment messages that DCU sends The first identifier therein and the first mailing address are taken, to carry out subsequent treatment.
Step 202, when intelligence instrument determines the identifier that the first identifier is intelligence instrument, intelligence instrument is matched somebody with somebody Put the first mailing address.
In force, ammeter gets the first identifier and the first mailing address in mailing address assignment messages Afterwards, the identifier of the ammeter can be obtained, if the first identifier (consistent) identical with the identifier of the ammeter, Then the ammeter can be stored to the first mailing address, using the first mailing address as oneself (ammeter) Mailing address.If the first identifier in mailing address assignment messages is different from the identifier of the ammeter (no Unanimously), then the mailing address assignment messages can be abandoned.
Optionally, after intelligence instrument configuration successful, DCU can be notified, corresponding processing procedure can be as follows: Intelligence instrument sends address configuration success message to DCU.
In force, the first ammeter with the first identifier is successfully configured after the first mailing address, Ke Yixiang DCU sends address configuration success message, so that DCU accurately knows whether first ammeter is successfully configured with Address.If after DCU broadcast transmission mailing address assignment messages, not receiving address in preset duration and matching somebody with somebody Success message is put, then can re-broadcast transmission mailing address assignment messages.
In the embodiment of the present invention, DCU receives the identifier notification message that main website sends, identifier notification message Include the first identifier, DCU, according to identifier notification message, is that the first identifier distributes first communicatedly Location, and the first identifier and the first mailing address pair are preserved, DCU broadcast transmission mailing address assignment messages, Mailing address assignment messages include the first identifier and the first mailing address pair, so as to have the first identifier The first intelligence instrument configure the first mailing address, as such, it is possible to according to the mark of the intelligence instrument for receiving Symbol, distributes mailing address for intelligence instrument automatically, and Maintenance free personnel are manually in main website, DCU and Intelligent Instrument The mailing address of each intelligence instrument is configured in table, such that it is able to reduce lower deployment cost, mailing address distribution is improved Efficiency and accuracy.
Embodiments provide a kind of system of distribution mailing address, including main website, data centralized unit DCU and intelligence instrument, as shown in figure 4, in the system, being the process bag of intelligence instrument distribution mailing address Include the steps:
Step 401, main website send identifier notification message to DCU, and the identifier notification message includes First identifier.
Main website can be by identifier (i.e. the first identifier) addition of the intelligence instrument for needing to distribute mailing address To in identifier notification message, then the identifier notification message can be sent to corresponding DCU.Specifically Ground, main website know that the intelligence instrument is connected to the DCU, when main website determines that the intelligence instrument needs distribution logical During letter address, such as when the intelligence instrument has just added the system, DCU of the main website to the intelligence instrument connection Send identifier notification message, the identifier notification message includes the identifier of the intelligence instrument, i.e., the One identifier.
Certainly, main website once can also issue multiple identifiers to the DCU, so that the DCU is the plurality of The corresponding intelligence instrument of identifier, is respectively allocated mailing address.
DCU can be parsed to identifier notification message, obtain the first identifier, it is possible to will receive The first identifier stored.
Step 402, DCU receive the identifier notification message that main website sends, logical according to the identifier Know message, be that the first identifier distributes the first mailing address, and preserve the first identifier and the first mailing address It is right.
In force, it is the mailing address of ammeter distribution that can prestore in DCU, and can be remembered Mailing address and untapped mailing address that record has been used, to be allocated process.Ammeter is communicatedly Location can be represented with 8 bits.DCU is received after receiving the identifier notification message that main website sends, The identifier notification message is parsed, the first identifier is obtained, then can be prestored in DCU In mailing address, untapped mailing address is determined, in untapped mailing address, obtain first and communicate Address, and then the first mailing address can be distributed to the corresponding ammeter of the first identifier, it is possible to preserve mark Know symbol and mailing address pair, set up the corresponding relation of identifier and mailing address, such as shown in table 1.
Step 403, DCU broadcast transmission mailing address assignment messages, mailing address assignment messages include One identifier and the first mailing address pair.
In force, DCU is after the first ammeter with the first identifier configures the first mailing address, can be with By the first mailing address and the first identifier to being placed in mailing address assignment messages, then in the form of broadcasting It is sent to the ammeter being connected with the DCU.Can be entered using 485 communication protocols between DCU and ammeter Row communication.In practice, DCU can adopt Modbus lattice to the mailing address assignment messages that ammeter is broadcasted The message of the message, or form of formula.
Step 404, intelligence instrument receive the mailing address assignment messages of DCU broadcast transmissions, mailing address point Include the first identifier and the first mailing address pair with message.
In force, ammeter can receive the mailing address assignment messages of DCU broadcast transmissions, then can be right The mailing address assignment messages are parsed, and obtain the first identifier therein and the first mailing address, so as to Carry out subsequent treatment.
Step 405, when intelligence instrument determines the mark that the first identifier is itself (that is, described intelligence instrument) Fu Shi, the intelligence instrument configure the first mailing address.
In force, ammeter gets the first identifier and the first mailing address in mailing address assignment messages Afterwards, the identifier of the ammeter can be obtained, if the first identifier (consistent) identical with the identifier of the ammeter, Then the ammeter can be stored to the first mailing address, using the first mailing address as the mailing address of oneself. If the first identifier (inconsistent) different from the identifier of the ammeter, the mailing address can be abandoned and distributed Message.
In the embodiment of the present invention, DCU receives the identifier notification message that main website sends, identifier notification message Include the first identifier, DCU, according to identifier notification message, is that the first identifier distributes first communicatedly Location, and the first identifier and the first mailing address pair are preserved, DCU broadcast transmission mailing address assignment messages, Mailing address assignment messages include the first identifier and the first mailing address pair, so as to have the first identifier The first intelligence instrument configure the first mailing address, as such, it is possible to according to the mark of the intelligence instrument for receiving Symbol, distributes mailing address for intelligence instrument automatically, and Maintenance free personnel are manually in main website, DCU and Intelligent Instrument The mailing address of each intelligence instrument is configured in table, such that it is able to reduce lower deployment cost, mailing address distribution is improved Efficiency and accuracy.
In addition, the embodiment of the present invention is additionally provided based on the above-mentioned mailing address for intelligence instrument distribution, carry out The processing procedure of intelligence instrument data query, wherein, intelligence instrument can be intelligent electric meter, intellectual water meter or Intelligent gas meter etc..The present embodiment is illustrated so that intelligence instrument is as intelligent electric meter as an example, other situations with etc Seemingly.As shown in figure 5, the process of the intelligence instrument data query specifically may comprise steps of:
Step 501, DCU receive the first data query message that main website sends, in the first data query message Including the first identifier.
In force, can be provided with main website for inquiring about the application program of ammeter data, attendant can To open the application program, the ammeter (i.e. the first ammeter) for needing to inquire about ammeter data, point then can be selected Hit the first ammeter data query option, main website can then receive to should the first ammeter data query instruction, Then the first data query message can be sent to DCU, can carry in the first data query message this First identifier of one ammeter.Or, main website can be sent to DCU when default polling cycle is reached First data query message, the first data query message include the first identifier of first ammeter.
In addition, attendant can also select to need in above-mentioned application program to inquire about the area of ammeter data DCU, then clicks on ammeter data query option.Main website can then receive to should DCU ammeter data Query statement, then can obtain the mark of the DCU, so can according to the identifier for prestoring with The corresponding relation of the mark of DCU, it is determined that the identifier of the ammeter being connected with the DCU, then can be to this DCU sends the first data query message, and it is some that the first data query message includes being connected with the DCU The identifier of ammeter.Or, attendant can send one to DCU by main website and not carry identifier Data query message (the 3rd data query message can be referred to as), after DCU receives the 3rd data query message, Data query message can be sent to all ammeters being connected with DCU, so as to carry out ammeter data inquiry.
Step 502, DCU obtain the first mailing address according to the first identifier.
In force, after DCU receives the first data query message that main website sends, the first data can be looked into Ask message to be parsed, obtain the first identifier in the first data query message, then can be according to advance The identifier of storage and the corresponding relation of mailing address, determine corresponding first mailing address of the first identifier,
Step 503, DCU send the second data query message to the first intelligence instrument with the first identifier, Second data query message includes the first mailing address.
In force, after DCU obtains the first mailing address, can be to the with the first identifier first intelligence Instrument sends the second data query message.For the feelings of the message that the second data query message is Modbus forms Condition, DCU can write the first mailing address in the address field of message, for the second data query message is The situation of the message of HDLC forms, DCU can write the first mailing address in the destination address domain of message.
Step 504, the first intelligence instrument receive the second data query message that DCU sends, and the second data are looked into Asking message includes the first mailing address.
In force, DCU sends second data query message to above-mentioned first ammeter based on the first mailing address Afterwards, first ammeter can then receive the second data query message of DCU transmissions, then can count to second Parsed according to query messages, obtained the first mailing address therein.
Step 505, according to the second data query message, the first intelligence instrument obtains current data, and to DCU Send the first feedback message, the first feedback message includes the current of the first mailing address and the first intelligence instrument Data.
In force, first ammeter may determine that whether first mailing address is used communicatedly with itself Location is identical, if identical, can obtain current ammeter data, then can be by ammeter data and first Mailing address is added in the first feedback message, and the first feedback message is sent to DCU.It is anti-for first Feedback message is the situation of the message of Modbus forms, and first ammeter can be by the first mailing address write message Address field in, when being the message of HDLC forms for the first feedback message, first ammeter can be with First mailing address is write in the source address field of message.
Step 506, DCU receive the first feedback message that the first intelligence instrument sends, in the first feedback message Including the first mailing address and the current data of the first intelligence instrument.
In force, first ammeter is sent after the first feedback message to DCU, and DCU can receive this First feedback message, then can parse to the first feedback message, obtain the first mailing address therein With the ammeter data of first ammeter, to carry out subsequent treatment.
Step 507, DCU obtain the first identifier according to the first mailing address in the first feedback message, to Main website sends the second feedback message, and the second feedback message includes the current data of the first intelligence instrument and first Identifier.
In force, after DCU obtains the ammeter data of the first mailing address and first ammeter, can basis The identifier for prestoring and the corresponding relation of mailing address, determine corresponding first mark of the first mailing address Symbol, then can be added to the ammeter data of first ammeter and the first identifier in the second feedback message, And then the second feedback message can be sent to main website.
In the embodiment of the present invention, DCU receives the identifier notification message that main website sends, identifier notification message Include the first identifier, DCU, according to identifier notification message, is that the first identifier distributes first communicatedly Location, and the first identifier and the first mailing address pair are preserved, DCU broadcast transmission mailing address assignment messages, Mailing address assignment messages include the first identifier and the first mailing address pair, so as to have the first identifier The first intelligence instrument configure the first mailing address, as such, it is possible to according to the mark of the intelligence instrument for receiving Symbol, distributes mailing address for intelligence instrument automatically, and Maintenance free personnel are manually in main website, DCU and Intelligent Instrument The mailing address of each intelligence instrument is configured in table, such that it is able to reduce lower deployment cost, mailing address distribution is improved Efficiency and accuracy.
Based on identical technology design, a kind of DCU is embodiments provided, for realizing above-mentioned distribution The function of DCU in the method for mailing address, as shown in fig. 6, the DCU includes:
First receiver module 610, for receiving the identifier notification message of main website transmission, the identifier is notified Message includes the first identifier;
Distribute module 620, for according to the identifier notification message, being first identifier distribution first Mailing address, and first identifier is preserved with first mailing address pair;
First sending module 630, for broadcast transmission mailing address assignment messages, the mailing address distribution disappears Breath includes first identifier and first mailing address pair, so that with first identifier First intelligence instrument configures first mailing address.
Optionally, also include the second identifier in the identifier notification message;
The distribute module 620, specifically for:According to the identifier notification message, it is first mark Symbol distribution first mailing address, is that second identifier distributes the second mailing address, and preserves described First identifier and first mailing address to and second identifier and second mailing address It is right;
Also include second identifier and second mailing address pair in the mailing address assignment messages, So that the second intelligence instrument with second identifier configures second mailing address.
Optionally, the DCU also includes:
Second receiver module, for receiving what first intelligence instrument with first identifier sent Address configuration success message, the address configuration success message include first identifier.
Optionally, the DCU also includes:
3rd receiver module, for receiving the first data query message that the main website sends, first number Include first identifier according to query messages;
Acquisition module, for according to first identifier, obtaining first mailing address;
Second sending module, for sending second to first intelligence instrument with first identifier Data query message, second data query message include first mailing address;
4th receiver module, for receiving the first feedback message that first intelligence instrument sends, described the One feedback message includes the current data of first mailing address and first intelligence instrument;
3rd sending module, for obtaining institute according to first mailing address in first feedback message The first identifier being stated, the second feedback message being sent to the main website, second feedback message includes described The current data of the first intelligence instrument and first identifier.
The embodiment of the present application additionally provides another kind of DCU, for realizing in the method for above-mentioned distribution mailing address The function of DCU, the structural representation of the DCU refer to Fig. 7.The DCU includes processor 710, connects Receive device 720 and transmitter 730;By total between the processor 710, receptor 720 and transmitter 730 Line 740 is connected with each other;Wherein:
The receptor 720, for receiving the identifier notification message of main website transmission, the identifier notifies to disappear Breath includes the first identifier;
The processor 710, for according to the identifier notification message, being first identifier distribution the One mailing address, and first identifier is preserved with first mailing address pair;
The transmitter 730, for broadcast transmission mailing address assignment messages, the mailing address assignment messages Include first identifier and first mailing address pair, so that with first identifier One intelligence instrument configures first mailing address.
The DCU can also include memorizer 750, and be stored with the memorizer 750 mapping table, For preserving first identifier and first mailing address pair.
Optionally, also include the second identifier in the identifier notification message;Correspondingly, the processor 710, specifically for:According to the identifier notification message, it is that the first identifier distribution described first is led to Letter address, is that second identifier distributes the second mailing address, and preserve first identifier with it is described First mailing address to and second identifier and second mailing address pair;
Also include second identifier and second mailing address pair in the mailing address assignment messages, So that the second intelligence instrument with second identifier configures second mailing address.
Optionally, the processor 710, specifically for:Described in carrying in the identifier notification message The order of the first identifier and second identifier, is followed successively by first identifier and second mark Symbol distributes first mailing address and second mailing address.
The processor 710 can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;Can also be several Word signal processor (DSP), special IC (ASIC), field programmable gate array (FPGA) or Person other PLDs etc..
When the processor 710 is CPU, the memorizer 750, it may also be used for storage program.Specifically, Program can include program code, and described program code includes computer-managed instruction.Memorizer 750 may Comprising RAM, it is also possible to also including nonvolatile memory (non-volatile memory), for example, at least one Individual disk memory.The program code that the processor 710 is stored in performing the memorizer 750, realizes Above-mentioned functions.
Optionally, the receptor 720, is additionally operable to receive first intelligence with first identifier The address configuration success message that instrument sends, the address configuration success message include first identifier.
Optionally, the receptor 720, is additionally operable to receive the first data query message that the main website sends, First data query message includes the first identifier;
The processor 710, is additionally operable to according to first identifier, obtains first mailing address, and Second data query is sent to the first intelligence instrument with first identifier by the transmitter 730 Message, second data query message include first mailing address;
The receptor 720, is additionally operable to receive the first feedback message that first intelligence instrument sends, described First feedback message includes the current data of first mailing address and first intelligence instrument;
The processor 710, is additionally operable to be obtained according to first mailing address in first feedback message First identifier, and the second feedback message is sent to the main website by the transmitter 730, it is described Second feedback message includes the current data of first intelligence instrument and first identifier.
Details in the present embodiment not to the greatest extent is referred to described in method shown in Fig. 1 and Fig. 4-5 of the present invention, herein not Repeat again.
In the embodiment of the present invention, DCU receives the identifier notification message that main website sends, identifier notification message Include the first identifier, DCU, according to the identifier notification message, is that the first identifier distribution first is led to Letter address, and the first identifier and the first mailing address pair are preserved, the distribution of DCU broadcast transmissions mailing address disappears Breath, mailing address assignment messages include the first identifier and the first mailing address pair, so that with the first mark The first intelligence instrument for knowing symbol configures the first mailing address, as such, it is possible to according to the intelligence instrument for receiving Identifier, distributes mailing address for intelligence instrument automatically, and Maintenance free personnel are manually in main website, DCU and intelligence The mailing address of each intelligence instrument is configured in energy instrument, such that it is able to reduce lower deployment cost, mailing address is improved The efficiency and accuracy of distribution.
Based on identical technology design, the embodiment of the present invention provides a kind of intelligence instrument, for realizing above-mentioned point The function of intelligence instrument in method with mailing address, as shown in figure 8, the intelligence instrument includes:
First receiver module 810 is for receiving the mailing address assignment messages of DCU broadcast transmissions, described logical Letter Address Assignment message includes the first identifier and the first mailing address pair, and first mailing address is institute State DCU to be distributed according to first identifier;
Configuration module 820, for determining that first identifier is the intelligence instrument when the intelligence instrument During identifier, first mailing address is configured.
Optionally, the intelligence instrument also includes:
First sending module, is allocated successfully message for sending address to the DCU, the address configuration into Work(message includes first identifier.
Optionally, the intelligence instrument also includes:
Second receiver module, for receiving the second data query message that the DCU sends, second number Include first mailing address according to query messages;
Second sending module, for according to second data query message, obtaining current data, and to institute State DCU and send the first feedback message, first feedback message includes first mailing address and described The current data of intelligence instrument.
Based on the method identical technology design with above-mentioned distribution mailing address, the embodiment of the present application is additionally provided Another kind of intelligence instrument, for realizing the function of intelligence instrument in the method for above-mentioned distribution mailing address, the intelligence The structural representation of energy instrument refers to Fig. 9.The intelligence instrument includes processor 910, receptor 920 and sends out Send device 930;Mutually interconnected by bus 940 between the processor 910, receptor 920 and transmitter 930 Connect;Wherein:
The receptor 920, for receiving the mailing address assignment messages of DCU broadcast transmissions, the communication Address Assignment message includes the first identifier and the first mailing address pair, and first mailing address is described DCU is distributed according to first identifier;
The processor 910, for when it is determined that first identifier is the identifier of the intelligence instrument, Configure first mailing address.
The intelligence instrument can also include memorizer 950, be stored with the memorizer 950 described first lead to Letter address and the identifier of the intelligence instrument.
The processor 910 can be general processor, including central processor CPU, NP etc.;Can be with It is digital signal processor (DSP), special IC (ASIC), field programmable gate array (FPGA) Or other PLDs etc..
When the processor 910 is CPU, the memorizer 950, it may also be used for storage program.Specifically, Program can include program code, and described program code includes computer-managed instruction.Memorizer 950 may Comprising RAM, it is also possible to also including nonvolatile memory, for example, at least one disk memory.The place The program code that reason device 910 is stored in performing the memorizer 950, realizes above-mentioned functions.
Optionally, the transmitter 930, it is for sending address configuration success message to the DCU, described Address configuration success message includes first identifier.
Optionally, the receptor 920, is additionally operable to receive the second data query message that the DCU sends, Second data query message includes first mailing address;
The processor 910, is additionally operable to, according to second data query message, obtain the intelligence instrument Current data, and the first feedback message is sent to the DCU by the transmitter, first feedback disappears Breath includes the current data of first mailing address and the intelligence instrument.
The memorizer 950 can be additionally used in the current data for storing the intelligence instrument.
Details in the present embodiment not to the greatest extent is referred to described in method shown in Fig. 2 and Fig. 4-5 of the present invention, herein not Repeat again.
In the embodiment of the present invention, intelligence instrument receives the mailing address assignment messages of DCU broadcast transmissions, and this leads to Letter Address Assignment message includes DCU for the mailing address of intelligence instrument distribution;The intelligence instrument is logical according to this Letter Address Assignment message, obtains mailing address corresponding with oneself identifier, and preserves (automatically configure) this Mailing address, can reduce the lower deployment cost of mailing address is manually configured for intelligence instrument, it is to avoid human configuration Error, improves the accuracy of mailing address distribution.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through Hardware is completing, it is also possible to instruct the hardware of correlation to complete by program, described program can be stored in In a kind of computer-readable recording medium, storage medium mentioned above can be read only memory, disk or CD etc..
Presently preferred embodiments of the present invention is the foregoing is only, it is not to limit the present invention, all the present invention's Within principle, any modification, equivalent substitution and improvements made etc. should be included in the protection model of the present invention Within enclosing.

Claims (23)

1. it is a kind of distribution mailing address method, it is characterised in that include:
In data set, cells D CU receives the identifier notification message that main website sends, the identifier notification message Include the first identifier;
The DCU, according to the identifier notification message, is that first identifier distributes the first mailing address, And first identifier is preserved with first mailing address pair;
The DCU broadcast transmissions mailing address assignment messages, the mailing address assignment messages include described First identifier and first mailing address pair, so that the first intelligence instrument with first identifier Configure first mailing address.
2. method according to claim 1, it is characterised in that also wrap in the identifier notification message Include the second identifier;
The DCU, according to the identifier notification message, is that first identifier distributes the first mailing address, And first identifier and first mailing address pair are preserved, including:
The DCU, according to the identifier notification message, is the first identifier distribution first communication Address, is that second identifier distributes the second mailing address, and preserves first identifier with described the One mailing address to and second identifier and second mailing address pair;
Also include second identifier and second mailing address pair in the mailing address assignment messages, So that the second intelligence instrument with second identifier configures second mailing address.
3. method according to claim 2, it is characterised in that the DCU is according to the identifier Notification message, is that first identifier distributes first mailing address, is the second identifier distribution Second mailing address, including:
The DCU is identified according to first identifier and described second is carried in the identifier notification message The order of symbol, be followed successively by first identifier and second identifier distribute first mailing address and Second mailing address.
4. method according to claim 1, it is characterised in that described in the DCU broadcast transmissions After mailing address assignment messages, methods described also includes:
The DCU receive address configuration that first intelligence instrument with first identifier sends into Work(message, the address configuration success message include first identifier.
5. the method according to any one of Claims 1-4, it is characterised in that methods described also includes:
The DCU receives the first data query message that the main website sends, first data query message Include first identifier;
The DCU obtains first mailing address according to first identifier;
The DCU sends the second data query to first intelligence instrument with first identifier and disappears Breath, second data query message include first mailing address;
The DCU receives the first feedback message that first intelligence instrument sends, first feedback message Include the current data of first mailing address and first intelligence instrument;
The DCU obtains first mark according to first mailing address in first feedback message Symbol, sends the second feedback message to the main website, and second feedback message includes first Intelligent Instrument The current data of table and first identifier.
6. it is a kind of distribution mailing address method, it is characterised in that include:
The mailing address assignment messages of intelligence instrument receiving data centralized unit DCU broadcast transmission, the communication Address Assignment message includes the first identifier and the first mailing address pair, and first mailing address is described DCU is distributed according to first identifier;
When it is the identifier of the intelligence instrument that the intelligence instrument determines first identifier, the intelligence Can the first mailing address described in instrument arrangement.
7. method according to claim 6, it is characterised in that in intelligence instrument configuration described the After one mailing address, methods described also includes:
The intelligence instrument sends address configuration success message to the DCU, to feed back institute to the DUC State first mailing address that intelligence instrument is successfully configured with the DCU distribution.
8. the method according to claim 6 or 7, it is characterised in that methods described also includes:
The intelligence instrument receives the second data query message that the DCU sends, second data query Message includes first mailing address;
According to second data query message, the intelligence instrument obtains current data, and to the DCU The first feedback message is sent, first feedback message includes first mailing address and the Intelligent Instrument The current data of table.
9. cells D CU in a kind of data set, it is characterised in that including receptor, transmitter and processor; Wherein,
The receptor, for receiving the identifier notification message of main website transmission, the identifier notification message Include the first identifier;
The processor, for according to the identifier notification message, being first identifier distribution first Mailing address, and first identifier is preserved with first mailing address pair;
The transmitter, for broadcast transmission mailing address assignment messages, in the mailing address assignment messages Including first identifier and first mailing address pair, so that with first identifier first Intelligence instrument configures first mailing address.
10. DCU according to claim 9, it is characterised in that in the identifier notification message also Including the second identifier;
The processor, specifically for according to the identifier notification message, being the first identifier distribution First mailing address, is that second identifier distributes the second mailing address, and preserves first mark Know symbol with first mailing address to and second identifier and second mailing address pair;
Also include second identifier and second mailing address pair in the mailing address assignment messages, So that the second intelligence instrument with second identifier configures second mailing address.
11. DCU according to claim 9, it is characterised in that the receptor, are additionally operable to receive The address configuration success message that first intelligence instrument with first identifier sends, the address Configuration successful message includes first identifier.
12. DCU according to any one of claim 9 to 11, it is characterised in that
The receptor, is additionally operable to receive the first data query message that the main website sends, first number Include the first identifier according to query messages;
The processor, is additionally operable to, according to first identifier, obtain first mailing address, and lead to Cross the transmitter the second data query message is sent to the first intelligence instrument with first identifier, Second data query message includes first mailing address;
The receptor, is additionally operable to receive the first feedback message that first intelligence instrument sends, and described the One feedback message includes the current data of first mailing address and first intelligence instrument;
The processor, is additionally operable to obtain institute according to first mailing address in first feedback message The first identifier is stated, and the second feedback message is sent to the main website by the transmitter, described second is anti- Feedback message includes the current data and first identifier of first intelligence instrument.
Cells D CU in a kind of 13. data sets, it is characterised in that include:
First receiver module, for receiving the identifier notification message of main website transmission, the identifier notifies to disappear Breath includes the first identifier;
Distribute module, it is logical for according to the identifier notification message, being the first identifier distribution first Letter address, and first identifier is preserved with first mailing address pair;
First sending module, for broadcast transmission mailing address assignment messages, the mailing address assignment messages Include first identifier and first mailing address pair, so that with first identifier One intelligence instrument configures first mailing address.
14. DCU according to claim 13, it is characterised in that in the identifier notification message also Including the second identifier;
The distribute module, specifically for:According to the identifier notification message, it is first identifier Distribute first mailing address, be that second identifier distributes the second mailing address, and preserve described the One identifier and first mailing address to and second identifier and second mailing address pair;
Also include second identifier and second mailing address pair in the mailing address assignment messages, So that the second intelligence instrument with second identifier configures second mailing address.
15. DCU according to claim 13, it is characterised in that the DCU also includes:
Second receiver module, for receiving what first intelligence instrument with first identifier sent Address configuration success message, the address configuration success message include first identifier.
16. DCU according to any one of claim 13 to 15, it is characterised in that the DCU Also include:
3rd receiver module, for receiving the first data query message that the main website sends, first number Include first identifier according to query messages;
Acquisition module, for according to first identifier, obtaining first mailing address;
Second sending module, for sending second to first intelligence instrument with first identifier Data query message, second data query message include first mailing address;
4th receiver module, for receiving the first feedback message that first intelligence instrument sends, described the One feedback message includes the current data of first mailing address and first intelligence instrument;
3rd sending module, for obtaining institute according to first mailing address in first feedback message The first identifier being stated, the second feedback message being sent to the main website, second feedback message includes described The current data of the first intelligence instrument and first identifier.
17. a kind of intelligence instruments, it is characterised in that include:
Receptor, it is for the mailing address assignment messages of receiving data centralized unit DCU broadcast transmission, described Mailing address assignment messages include the first identifier and the first mailing address pair, and first mailing address is The DCU is distributed according to first identifier;
Processor, for, when it is determined that first identifier is the identifier of the intelligence instrument, configuring institute State the first mailing address.
18. intelligence instruments according to claim 17, it is characterised in that the intelligence instrument also includes Transmitter;
The transmitter, for sending address configuration success message, the address configuration success to the DCU Message includes first identifier.
19. intelligence instruments according to claim 17 or 18, it is characterised in that
The receptor, is additionally operable to receive the second data query message that the DCU sends, second number Include first mailing address according to query messages;
The processor, is additionally operable to according to second data query message, obtains working as the intelligence instrument Front data, and the first feedback message, first feedback message are sent to the DCU by the transmitter Include the current data of first mailing address and the intelligence instrument.
20. a kind of intelligence instruments, it is characterised in that include:
First receiver module, for the mailing address assignment messages of receiving data centralized unit DCU broadcast transmission, The mailing address assignment messages include the first identifier and the first mailing address pair, and described first communicatedly Location is distributed according to first identifier by the DCU;
Configuration module, for determining the mark that first identifier is the intelligence instrument when the intelligence instrument When knowing symbol, first mailing address is configured.
21. intelligence instruments according to claim 20, it is characterised in that the intelligence instrument also includes:
First sending module, is allocated successfully message for sending address to the DCU, the address configuration into Work(message includes first identifier.
22. intelligence instruments according to claim 20 or 21, it is characterised in that the intelligence instrument Also include:
Second receiver module, for receiving the second data query message that the DCU sends, second number Include first mailing address according to query messages;
Second sending module, for according to second data query message, obtaining current data, and to institute State DCU and send the first feedback message, first feedback message includes first mailing address and described The current data of intelligence instrument.
23. a kind of systems of distribution mailing address, it is characterised in that including main website, cells D CU in data set And intelligence instrument;Wherein:
The main website, for sending identifier notification message to the DCU, in the identifier notification message Including the first identifier;
The DCU, for receiving the identifier notification message, according to the identifier notification message, be First identifier distributes the first mailing address, and preserves first identifier with described first communicatedly Location pair, broadcast transmission mailing address assignment messages, the mailing address assignment messages include first mark Know symbol and first mailing address pair;
The intelligence instrument, for receiving the mailing address assignment messages, and it is determined that first mark When according with the identifier for the intelligence instrument, first mailing address is configured.
CN201510678813.0A 2015-10-19 2015-10-19 Method, device and system for distributing communication addresses of intelligent instrument Active CN106603735B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510678813.0A CN106603735B (en) 2015-10-19 2015-10-19 Method, device and system for distributing communication addresses of intelligent instrument
PCT/CN2016/084749 WO2017067179A1 (en) 2015-10-19 2016-06-03 Method, apparatus and system for allocating communication address to smart meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510678813.0A CN106603735B (en) 2015-10-19 2015-10-19 Method, device and system for distributing communication addresses of intelligent instrument

Publications (2)

Publication Number Publication Date
CN106603735A true CN106603735A (en) 2017-04-26
CN106603735B CN106603735B (en) 2020-06-26

Family

ID=58554716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510678813.0A Active CN106603735B (en) 2015-10-19 2015-10-19 Method, device and system for distributing communication addresses of intelligent instrument

Country Status (2)

Country Link
CN (1) CN106603735B (en)
WO (1) WO2017067179A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107911493A (en) * 2017-10-31 2018-04-13 山东智造时代电气有限公司 Realize the method that the address of 485 equipment is distributed automatically in backstage
CN108270862A (en) * 2018-01-18 2018-07-10 华立科技股份有限公司 Ammeter data acquisition methods and device
CN109936640A (en) * 2017-12-19 2019-06-25 苏州阿特斯阳光电力科技有限公司 From the address distribution method and device of node device
CN110070703A (en) * 2019-05-06 2019-07-30 南方电网科学研究院有限责任公司 A kind of communication means, device, system and the medium of low-voltage collecting meter reading communication system
CN110635984A (en) * 2019-09-24 2019-12-31 杭州海兴电力科技股份有限公司 Method, device and system for obtaining communication address of electric meter
CN111586204A (en) * 2020-05-12 2020-08-25 广州极飞科技有限公司 Communication address allocation method, communication system, master device and slave device
CN111629080A (en) * 2020-05-22 2020-09-04 浙江东鸿电子科技有限公司 Method for automatically allocating electric meter address
CN112510833A (en) * 2020-11-27 2021-03-16 珠海格力电器股份有限公司 Ammeter parameter configuration method, device and system
CN113242170A (en) * 2021-05-21 2021-08-10 深圳易马达科技有限公司 Address allocation method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651722A (en) * 2009-08-28 2010-02-17 华为技术有限公司 Method, device and system for automatically allocating IP address
CN101763717A (en) * 2008-11-04 2010-06-30 上海协霖电子有限公司 Data collecting device based on DCPLC mode
CN102157057A (en) * 2011-05-09 2011-08-17 上海大学 Wi-Fi (Wireless Fidelity)-based wireless meter reading device
US20130070780A1 (en) * 2011-09-19 2013-03-21 Hiroshi HOZUMI Device, method, and system of communicating via relay device, and recording medium storing communication control program
CN103116975A (en) * 2013-01-21 2013-05-22 孙建东 Direct reading type remote meter reading system
US20130339794A1 (en) * 2012-06-19 2013-12-19 Oracle International Corporation Method and system for inter-processor communication
CN103686672A (en) * 2012-09-24 2014-03-26 华为终端有限公司 Method and device for transmitting data
JP2014110462A (en) * 2012-11-30 2014-06-12 Toshiba Corp Authentication device, method thereof, and control program
CN104579942A (en) * 2013-10-17 2015-04-29 中兴通讯股份有限公司 Network message forwarding method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5106707B1 (en) * 2012-01-10 2012-12-26 三菱電機株式会社 IP address distribution system and IP address distribution method
CN102685273B (en) * 2012-06-08 2015-08-19 陈梓平 The address distribution method of smart machine
CN103475747B (en) * 2013-08-21 2017-04-12 广东浩迪创新科技有限公司 Address information sending method of electric energy meter networked system capable of automatically sending address information

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101763717A (en) * 2008-11-04 2010-06-30 上海协霖电子有限公司 Data collecting device based on DCPLC mode
CN101651722A (en) * 2009-08-28 2010-02-17 华为技术有限公司 Method, device and system for automatically allocating IP address
CN102157057A (en) * 2011-05-09 2011-08-17 上海大学 Wi-Fi (Wireless Fidelity)-based wireless meter reading device
US20130070780A1 (en) * 2011-09-19 2013-03-21 Hiroshi HOZUMI Device, method, and system of communicating via relay device, and recording medium storing communication control program
US20130339794A1 (en) * 2012-06-19 2013-12-19 Oracle International Corporation Method and system for inter-processor communication
CN103686672A (en) * 2012-09-24 2014-03-26 华为终端有限公司 Method and device for transmitting data
JP2014110462A (en) * 2012-11-30 2014-06-12 Toshiba Corp Authentication device, method thereof, and control program
CN103116975A (en) * 2013-01-21 2013-05-22 孙建东 Direct reading type remote meter reading system
CN104579942A (en) * 2013-10-17 2015-04-29 中兴通讯股份有限公司 Network message forwarding method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107911493A (en) * 2017-10-31 2018-04-13 山东智造时代电气有限公司 Realize the method that the address of 485 equipment is distributed automatically in backstage
CN109936640A (en) * 2017-12-19 2019-06-25 苏州阿特斯阳光电力科技有限公司 From the address distribution method and device of node device
CN108270862A (en) * 2018-01-18 2018-07-10 华立科技股份有限公司 Ammeter data acquisition methods and device
CN110070703A (en) * 2019-05-06 2019-07-30 南方电网科学研究院有限责任公司 A kind of communication means, device, system and the medium of low-voltage collecting meter reading communication system
CN110635984A (en) * 2019-09-24 2019-12-31 杭州海兴电力科技股份有限公司 Method, device and system for obtaining communication address of electric meter
CN111586204A (en) * 2020-05-12 2020-08-25 广州极飞科技有限公司 Communication address allocation method, communication system, master device and slave device
CN111629080A (en) * 2020-05-22 2020-09-04 浙江东鸿电子科技有限公司 Method for automatically allocating electric meter address
CN112510833A (en) * 2020-11-27 2021-03-16 珠海格力电器股份有限公司 Ammeter parameter configuration method, device and system
CN113242170A (en) * 2021-05-21 2021-08-10 深圳易马达科技有限公司 Address allocation method and device

Also Published As

Publication number Publication date
CN106603735B (en) 2020-06-26
WO2017067179A1 (en) 2017-04-27

Similar Documents

Publication Publication Date Title
CN106603735A (en) Method, device, and system of allocating communication addresses for intelligent instruments
CN106357421A (en) Method and device for transmitting flexible business flow of Ethernet
CN107071077A (en) Mailing address distribution method, equipment and its system of air-conditioning system
CN104662977B (en) A kind of method, apparatus and system sending feedback information
CN100481832C (en) Communication device, edge router device, server device, communication system and communication method
CN104731028B (en) The method that signal is exchanged automatically between embedded multi -CPU plate based on signal name
CN106452506A (en) Method for one-off collection of a plurality of data items
CN101931936A (en) Method, system and terminal for transmitting business data and user data processing entity
CN107566264A (en) A kind of means of communication based on tree network, node and communication system
CN102404195A (en) Data transmission method, gateway and network system
CN102315964A (en) Loopback method for testing message and exchange device
CN109769038A (en) A kind of method and device of configuring internet protocol address
CN203706058U (en) CAN bus based multi-I/O board card expansion structure
CN105812221A (en) Data transmission device and method in virtual extensible local area network
CN103503413A (en) Method and device for transmitting network information
WO2021104392A1 (en) Backhaul method, unit, data allocation method and controller, network system, and medium
CN109947689A (en) A kind of method of automobile-used lithium ion battery case automatic numbering
WO2016101600A1 (en) Line card determination, determination processing method and device, and line card determination system
CN108718275A (en) Message forwarding method and device
CN104378217B (en) Determine the method and device of multicast group data
CN103823721A (en) Interprocess communication method and equipment
CN106648984A (en) Data backup method and device
CN103813460A (en) Method for identifying resources used for transmitting control channels
CN102299857A (en) Multicast message processing method, line card and communication equipment
CN102244615A (en) Forwarding entry sending method, device and system as well as autonomous system border router

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant