CN106453670A - Communication method, apparatus and system for smart meter - Google Patents

Communication method, apparatus and system for smart meter Download PDF

Info

Publication number
CN106453670A
CN106453670A CN201510470459.2A CN201510470459A CN106453670A CN 106453670 A CN106453670 A CN 106453670A CN 201510470459 A CN201510470459 A CN 201510470459A CN 106453670 A CN106453670 A CN 106453670A
Authority
CN
China
Prior art keywords
intelligent electric
electric meter
address
dcp
server
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
CN201510470459.2A
Other languages
Chinese (zh)
Other versions
CN106453670B (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 CN201510470459.2A priority Critical patent/CN106453670B/en
Publication of CN106453670A publication Critical patent/CN106453670A/en
Application granted granted Critical
Publication of CN106453670B publication Critical patent/CN106453670B/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/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

According to the embodiments of the invention, a communication method, apparatus and system for smart meter are provided. In the smart meter, the domain name of a parameter server is pre-stored. The method comprises the following steps. The smart meter obtains the IP address of the parameter server corresponding to the domain name from a domain name system (DNS) server. The smart meter, based on the IP address of the parameter server, obtains the IP address and the port number of a data acquiring platform (DCP) from the parameter server. The smart meter, based on the IP address and the port number of the DCP communicates with the DCP. According to the embodiments of the invention, based on the pre-stored domain name and the acquisition of the IP address of a parameter server from an DNS, it is possible to obtain the IP address and the port number of the data acquiring platform of the parameter server and to realize the communication with the data acquiring platform. Therefore, the smart meter can be automatically configured without the configuration by people on the site. As a result, when large scale deployment of smart meters takes place, the configuring workload can be reduced obviously.

Description

The methods, devices and systems of intelligent electric meter communication
Technical field
The present invention relates to the communications field, and more particularly, to the method for intelligent electric meter communication, device And system.
Background technology
At present in power meter reading system, there is communication ammeter side, can be divided into wired mode and wireless Mode.In population than the urban area of comparatively dense, mainly adopt programmable logic controller (PLC) (Programmable Logic Controller, abbreviation PLC), proposed standard (Recommeded Standard, abbreviation RS) the relatively short wired modes of transmission range such as 485, unified wiring, save Cost.And in some remote mountain areas, or the place such as big business, big factory, ammeter is installed and is relatively divided Dissipate, can compare high using wired mode cost it is possible to adopt GPRS (general packet radio service) (General Packet Radio Service, abbreviation GPRS) ammeter, using wireless communication mode.
Generally, GPRS power meter reading system is by the data acquisition platform (Data positioned at power office Collection Platform, abbreviation DCP) and the GPRS ammeter composition positioned at residential block, wherein DCP It is referred to as main website.Using the existing GPRS network of mobile communication or global system for mobile communications (Global System for Mobile Communication, abbreviation GSM) network, can be by GPRS The data of ammeter is wirelessly transferred to DCP.
GPRS ammeter does not need to connect up with communicating between DCP, long transmission distance, and system is easy for installation. GPRS ammeter is mainly connected with DCP by way of socket (socket) connects, and DCP is as socket Service end, its address is usually fixed allocation;The client that GPRS ammeter connects as socket End, when installing, GPRS ammeter needs configure the internet protocol of DCP to be connected in advance View (Internet Protocol, abbreviation IP) address and port numbers, will lead when electricity on GPRS ammeter Move and go to connect DCP, thus carrying out proper communication.
GPRS ammeter can be arranged by ammeter write by hand device.Ammeter write by hand device is typically gone out by ammeter producer Supporting offer during factory's GPRS ammeter.Ammeter write by hand device connects GPRS ammeter by way of infrared, reads Take and arrange the parameters of GPRS ammeter, such as IP address, baud rate etc..Due to ammeter write by hand Device adopts infrared mode to communicate, and transmission range is short, and therefore this mode is only applicable to manual site's configuration, Cannot remotely control.When needing the quantity of GPRS ammeter of configuration more, joined using ammeter write by hand device The workload put is very big.
Furthermore it is also possible to send to GPRS ammeter by portable machine at the scene control message to arrange GPRS ammeter.For example with 645 agreements, send 645 control messages, setting electricity to GPRS ammeter Some parameters of table.But this mode also must manual site operate, and needs to send using portable machine Message, the technical capability requirement for operator is higher.Equally, when the GPRS electricity needing configuration When the quantity of table is more, operation ratio is relatively time-consuming, and workload is very big.
Content of the invention
Embodiments provide a kind of methods, devices and systems of intelligent electric meter communication, can be automatic Configuration intelligent electric meter, configures intelligent electric meter without manual site, in large scale deployment intelligent electric meter, can Substantially reduce configuration work amount.
A kind of first aspect, there is provided method of intelligent electric meter communication, prestores ginseng in described intelligent electric meter The domain name of number server, methods described includes:Described intelligent electric meter obtains from domain name system DNS server Take the internet protocol address of the corresponding described parameter server of domain name;Described intelligent electric meter root According to the IP address of described parameter server, obtain data acquisition platform DCP's from described parameter server IP address and port numbers;Described intelligent electric meter according to the IP address of described DCP and port numbers with described DCP is communicated.
In conjunction with a first aspect, in the first possible implementation, described intelligent electric meter is from domain name system Dns server obtains the IP address of the corresponding described parameter server of domain name, including:Described intelligence Can ammeter be connected with the foundation of described dns server;Described intelligent electric meter sends to described dns server First inquiry request, described first inquiry request includes the domain name of described parameter server, and described first Inquiry request is used for asking the IP address of described parameter server;Described intelligent electric meter receives described DNS The first inquiry response that server sends, described first inquiry response includes the IP of described parameter server Address.
In conjunction with first aspect or the first possible implementation, in the possible implementation of second, Described intelligent electric meter, according to the IP address of described parameter server, obtains described from described parameter server The IP address of DCP and port numbers, including:Described intelligent electric meter is according to the IP ground of described parameter server Location is set up with described parameter server and is connected;Described intelligent electric meter sends second to described parameter server and looks into Ask request, described second inquiry request includes the mark of described intelligent electric meter, described second inquiry request For asking IP address and the port numbers of described DCP;Described intelligent electric meter receives described parameter server The second inquiry response sending, described second inquiry response includes IP address and the port of described DCP Number.
In conjunction with the possible implementation of second, in the third possible implementation, described second looks into Ask request to be additionally operable to ask initial authentication key, AES and authentication grade, described second inquiry response Also include described intelligent electric meter corresponding initial authentication key, AES and authentication grade.
A kind of second aspect, there is provided intelligent electric meter, including:Acquiring unit, for from domain name system Dns server get parms server the corresponding described parameter server of domain name Internet protocol IP Address;Described acquiring unit is additionally operable to, according to the IP address of described parameter server, from described parameter Server obtains IP address and the port numbers of data acquisition platform DCP;Communication unit, for according to institute State the IP address of DCP and port numbers are communicated with described DCP.
In conjunction with second aspect, in the first possible implementation of second aspect, described acquiring unit Specifically for:Set up with described dns server and be connected;Send the first inquiry to described dns server Request, described first inquiry request includes the domain name of described parameter server, described first inquiry request For asking the IP address of described parameter server;Receive the first inquiry that described dns server sends Response, described first inquiry response includes the IP address of described parameter server.
In conjunction with the first possible implementation of second aspect or second aspect, the second of second aspect In kind possible implementation, described acquiring unit specifically for:IP according to described parameter server Address is set up with described parameter server and is connected;Send the second inquiry request, institute to described parameter server State the mark that the second inquiry request includes described intelligent electric meter, described second inquiry request is used for asking institute State IP address and the port numbers of DCP;Receive the second inquiry response that described parameter server sends, institute State IP address and the port numbers that the second inquiry response includes described DCP.
In conjunction with the possible implementation of second aspect second, in the third possible realization of second aspect In mode, described second inquiry request is additionally operable to ask initial authentication key, AES and authentication grade, Also include in described second inquiry response described intelligent electric meter corresponding initial authentication key, AES and Authentication grade.
A kind of third aspect, there is provided intelligent electric meter communication system, including:Domain name system DNS services Device, parameter server, and as described in any one possible implementation of second aspect or second aspect Intelligent electric meter;Described dns server, for receiving the parameter server that described intelligent electric meter sends Domain name, determine the Internet protocol of described parameter server according to the domain name addresses of described parameter server IP address, and the IP address of described parameter server is sent to described intelligent electric meter;Described parameter service Device, for receiving the intelligent electric meter that described intelligent electric meter sends according to the IP address of described parameter server Mark, determine IP address and the port of data acquisition platform DCP according to the mark of described intelligent electric meter Number, and send the IP address of described DCP and port numbers to described intelligent electric meter, so that described intelligence electricity Table is communicated with described DCP according to the IP address of described DCP and port numbers.
In conjunction with the third aspect, in the first possible implementation of the third aspect, also include:Described DCP, for being communicated with described intelligent electric meter, to gather the data of described intelligent electric meter.
Based on technique scheme, by the domain name according to pre-stored from the name server service of getting parms The IP address of device, then obtains IP address and the port numbers of data acquisition platform from this parameter server, Intelligent electric meter can be automatically configured, configure intelligent electric meter without manual site, in large scale deployment intelligence electricity During table, configuration work amount can be substantially reduced.
Brief description
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be in the embodiment of the present invention The accompanying drawing of required use be briefly described it should be apparent that, drawings described below be only this Some embodiments of invention, for those of ordinary skill in the art, are not paying creative work Under the premise of, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the indicative flowchart of the method for intelligent electric meter communication according to embodiments of the present invention.
Fig. 2 is the request message form adopting in the method for intelligent electric meter communication according to embodiments of the present invention Schematic diagram.
Fig. 3 is the response message form adopting in the method for intelligent electric meter communication according to embodiments of the present invention Schematic diagram.
Fig. 4 is the schematic block diagram of intelligent electric meter communication system according to embodiments of the present invention.
Fig. 5 is the interaction signal in intelligent electric meter communication system according to embodiments of the present invention between each equipment Figure.
Fig. 6 is the schematic block diagram of intelligent electric meter according to embodiments of the present invention.
Fig. 7 is the schematic block diagram of intelligent electric meter according to another embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out Clearly and completely describe it is clear that described embodiment is a part of embodiment of the present invention, and not It is whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making wound The every other embodiment being obtained on the premise of the property made work, all should belong to the scope of protection of the invention.
It should be understood that the intelligent electric meter in the embodiment of the present invention can utilize cordless communication network, data is led to Cross and be wirelessly transmitted to DCP.Intelligent electric meter in the embodiment of the present invention can be for being applied to The GPRS ammeter of GPRS/GSM network, but the embodiment of the present invention is not limited to this, for example, intelligence electricity Table can also be the intelligent electric meter being applied to other wireless communication systems, for example:CDMA (Code Division Multiple Access, abbreviation CDMA) system, WCDMA (Wideband Code Division Multiple Access, abbreviation WCDMA) system, Long Term Evolution (Long Term Evolution, abbreviation LTE) system, LTE FDD (Frequency Division Duplex, Abbreviation FDD) system, LTE time division duplex (Time Division Duplex, abbreviation TDD), general Mobile communication system (Universal Mobile Telecommunication System, abbreviation UMTS) Or global interconnection inserting of microwave (Worldwide Interoperability for Microwave Access, referred to as WiMAX) communication system etc..
Fig. 1 is the indicative flowchart of the method 100 of intelligent electric meter communication provided in an embodiment of the present invention. Method 100 can be executed by intelligent electric meter, prestores the domain name of parameter server in intelligent electric meter.As figure Shown in 1, method 100 includes:
110th, intelligent electric meter is from domain name system (Domain Name System, abbreviation DNS) server The IP address of the parameter server getting parms corresponding to the domain name of server.
Intelligent electric meter directly cannot access parameter server according to domain name, needs to first pass through dns server The domain name of analytic parameter server, obtains corresponding IP address, to access this parameter server.
Dns server is the dns server of intelligent electric meter place network.
Dns server mainly passes through nslookup resolution table, including between domain name and IP address Corresponding relation, obtain the IP address of parameter server according to the domain name mapping of parameter server, need Illustrate, the IP corresponding to the domain name of the parameter server of name server memory storage of different regions Address can be different.In other words, parameter server has unique domain name, but the ginseng of different regions The IP address of number server can be different.
120th, intelligent electric meter, according to the IP address of parameter server, obtains DCP's from parameter server IP address and port numbers.
130th, intelligent electric meter is communicated with DCP according to the IP address of DCP and port numbers.
For example, intelligent electric meter can be by the data measuring, and such as electricity is sent to DCP.
In the embodiment of the present invention, got parms server from name server by the domain name according to pre-stored IP address, then obtain the IP address of DCP and port numbers from this parameter server, and and DCP Communicated, intelligent electric meter can be automatically configured, configured intelligent electric meter without manual site, extensive During deployment intelligent electric meter, configuration work amount can be substantially reduced.
Further, since intelligent electric meter can automatically configure IP address and the port numbers of DCP, need not be artificial Configuration, therefore reduces the technical capability to installation personnel and requires.
Alternatively, step 110 can include:
Intelligent electric meter is set up with dns server and is connected;
Intelligent electric meter to dns server send the first inquiry request, such as DNS request message, described First inquiry request includes the domain name of parameter server.Described first inquiry request is used for required parameter and takes The IP address of business device;
Intelligent electric meter receives the first inquiry response that dns server sends, and the first inquiry response includes The IP address of parameter server.
For example, when intelligent electric meter goes up electricity first, the domain name of Connecting quantity server can actively be initiated (such as Www.dcp.com request).After intelligent electric meter initiates the connection request of domain name, DNS can be triggered to First inquiry request of server.Dns server can be different in different regions network, and this DNS takes This domain name is mapped to the IP address of the parameter server of locality by business device.Dns server parses this parameter The domain name of server obtains corresponding IP address and returns to intelligent electric meter.
Alternatively, step 120 can include:
Intelligent electric meter is set up with parameter server and is connected;
Intelligent electric meter sends the second inquiry request to parameter server, and the second inquiry request includes intelligence electricity The mark of table, the second inquiry request is used for asking IP address and the port numbers of DCP;
Receive the second inquiry response that parameter server sends, the second inquiry response includes the IP of DCP Address and port numbers.
Alternatively, the second inquiry request can be also used for asking the initial authentication key of DCP, encryption to be calculated Method and authentication grade.Correspondingly, can also include in the second inquiry response that intelligent electric meter is corresponding initially to be recognized Card key, AES and authentication grade.
For example, after intelligent electric meter receives the IP address of parameter server, initiate transmission to parameter server Control protocol (Transmission Control Protocol, abbreviation TCP) connection request.Parameter services The service end that device connects as TCP, after accepting this connection, sets up TCP with this intelligent electric meter and is connected. Same TCP is connected, parameter server can arrange the maximum connection persistent period, if it exceeds The connection of this persistent period yet suffers from, then parameter server needs actively to disconnect this connection, prevents socket Number of resources is depleted.
After the TCP connection establishment of intelligent electric meter and parameter server, intelligent electric meter sends described second and looks into Ask request to parameter server, for getting parms.The second inquiry request in step 120 can adopt In distribution wire message specification (Device Line Message Specification, abbreviation DLMS) agreement Request message, as shown in Fig. 2 this request message includes object identity system (Object Identification System, abbreviation OBIS) information, this OBIS information is used for unique mark parameter to be asked, such as The IP address of DCP and port numbers.Meanwhile, the data division in this request message also includes intelligent electric meter Mark, such as logical device name.
Correspondingly, the second inquiry response can be using the response message shown in Fig. 3.Parameter server receives After the request message that intelligent electric meter sends, intelligent electric meter ginseng to be asked is known that according to OBIS information Number, the such as IP address of DCP and port numbers, the then mark according to intelligent electric meter (as logical device name) Search out the parameter of intelligent electric meter request in data base, and write that to return to this intelligence in response message electric Table.
It should be noted that the second inquiry request and the second inquiry response are not limited to shown in Fig. 2 and Fig. 3 DLMS protocol massages, can also adopt other messages, and these changes each fall within the model of the embodiment of the present invention In enclosing.
Certainly, in the OBIS shown in Fig. 2, uniquely identified parameter to be asked can also include initially recognizing Card key, AES and authentication grade etc.;Correspondingly, as shown in figure 3, acceptable in response message Including intelligent electric meter corresponding initial authentication key, AES and authentication grade etc..
It should be understood that can corresponding same initial authentication with multiple intelligent electric meters that same DCP is communicated Key, AES and authentication grade.But the embodiment of the present invention does not limit to this, with same DCP Each intelligent electric meter being communicated can also correspond to different initial authentication keys, AES and certification Grade.
When intelligent electric meter receives second inquiry response (response message as shown in Figure 3) of parameter server transmission Afterwards, that is, after execution of step 120, intelligent electric meter can actively disconnect and the TCP of parameter server connects Connect.
In step 130, intelligent electric meter can according to the IP address of the DCP getting and port numbers with DCP sets up TCP and connects.
After DCP receives intelligent electric meter link information (as TCP connection request), can actively initiate certification Flow process, when DCP and the information such as the certification key of ammeter, AES, authentication grade are all consistent, After then being calculated by AES, ciphertext should be consistent;After certification is passed through, intelligent electric meter and DCP Can be carried out normal service communication.
In view of the safety of data transfer, transmitting procedure can do following restriction:1st, intelligent electric meter with Interaction content between DCP adopts Advanced Encryption Standard (Advanced Encryption Standard, letter Claiming AES) -128 algorithms carry out data encryption, and encryption key can be with default configuration;2nd, intelligent electric meter connects When connecing parameter server, only allow to read data, the data-base content of parameter server does not allow to be modified, Prevent Tampering attack;3rd, intelligent electric meter is successfully connected using the initial key information obtaining from parameter server After meeting DCP, DCP needs remotely modifying approval-key information immediately, and when unmodified, intelligent electric meter is not permitted Permitted extraneous access ammeter data content.
In the embodiment of the present invention, got parms server from name server by the domain name according to pre-stored IP address, then obtain the IP address of DCP and port numbers from this parameter server, be capable of intelligence Automatically configuring of energy ammeter, configures intelligent electric meter without manual site, in large scale deployment intelligent electric meter, Configuration work amount can be substantially reduced.
Describe the side of intelligent electric meter communication provided in an embodiment of the present invention above in association with Fig. 1 to Fig. 3 in detail Method.Fig. 4 is the schematic block diagram of the intelligent electric meter communication system 400 of the embodiment of the present invention.As Fig. 4 institute Show, this intelligent electric meter communication system 400 includes:Intelligent electric meter 401, dns server 402, parameter Server 403;Wherein,
The method that intelligent electric meter 401 is used for realizing the intelligent electric meter communication as shown in Fig. 1 to Fig. 3 of the present invention;
Dns server 402, for receiving the domain name of the parameter server of intelligent electric meter 401 transmission, root Determine the internet protocol address of parameter server according to the domain name addresses of parameter server, and to intelligence Ammeter sends the IP address of parameter server;
Parameter server 403, for receiving the IP address according to parameter server 403 for the intelligent electric meter 401 The mark of the intelligent electric meter 401 sending, determines IP address and the end of DCP according to the mark of intelligent electric meter Slogan, and the IP address of DCP and port numbers are sent to intelligent electric meter 401, so that intelligent electric meter 401 IP address according to DCP and port numbers are communicated with DCP.
In the intelligent electric meter communication system of the embodiment of the present invention, intelligent electric meter can automatically configure DCP's IP address and port numbers, without manual site's configuration, in large scale deployment intelligent electric meter, can be notable Reduce configuration work amount.
Alternatively, intelligent electric meter communication system 400 can also include:DCP 404, for intelligent with this Ammeter 401 is communicated, to gather the data of this intelligent electric meter 401.
In the embodiment of the present invention, in parameter server, have recorded the information of the corresponding DCP of intelligent electric meter, As the IP address of DCP, port numbers, initial authentication key, AES and authentication grade etc..Parameter Server according to the mark of intelligent electric meter can determine the corresponding DCP of intelligent electric meter 401 IP address and Port numbers, it may also be determined that the corresponding initial authentication key of intelligent electric meter 401, AES and certification etc. Level.
Further, referring to Fig. 5, Fig. 5 is intelligent electric meter communication system 900 provided in an embodiment of the present invention Information between middle intelligent electric meter 401, dns server 402, parameter server 403 and DCP 404 Interaction schematic diagram.
501:Intelligent electric meter 401 sends the first inquiry request to dns server 402, and the first inquiry please Seek the domain name including parameter server 403, the first inquiry request is used for required parameter server 403 IP address;
502:Dns server 402 receives the first inquiry request, and the domain according to parameter server 403 Name determines the IP address of parameter server 403;
503:Dns server 402 sends the first inquiry response to intelligent electric meter 401, and the first inquiry rings The IP address of parameter server 403 should be included;
504:Intelligent electric meter 401 receives the first inquiry response, according to the IP address of parameter server 403 With parameter server 403 set up is connected, and to parameter server 403 transmission the second inquiry request, second Inquiry request includes the mark of intelligent electric meter 401, and the second inquiry request is used for asking the IP ground of DCP Location and port numbers;
505:Parameter server 403 receives the second inquiry request, and the mark according to intelligent electric meter, really The IP address of this DCP fixed and port numbers;
506:Parameter server 403 sends the second inquiry response to intelligent electric meter 401, and the second inquiry rings IP address and the port numbers of DCP should be included;
Wherein, the second inquiry request in step 503 and step 504 can be also used for asking intelligent electric meter 401 corresponding initial authentication keys, AES and authentication grade;Correspondingly, in the second inquiry response The corresponding initial authentication key of intelligent electric meter 401, AES and authentication grade can also be included;
507:Intelligent electric meter 401 receives the second inquiry response, and the IP address using DCP and port Number communicated with DCP, so that DCP 404 gathers the data of intelligent electric meter 401.
In the intelligent electric meter communication system of the embodiment of the present invention, intelligent electric meter can automatically configure DCP's IP address and port numbers, without manual site's configuration, in large scale deployment intelligent electric meter, can be notable Reduce configuration work amount.
With reference to Fig. 6 and Fig. 7, describe intelligent electric meter according to embodiments of the present invention in detail.
Fig. 6 is the schematic block diagram of intelligent electric meter 600 provided in an embodiment of the present invention.As shown in fig. 6, Intelligent electric meter 600 includes acquiring unit 610 and communication unit 620.
Acquiring unit 610, for the domain name correspondence of the server that gets parms from domain name system DNS server Parameter server IP address;
Acquiring unit 610 is additionally operable to, and according to the IP address of parameter server, obtains from parameter server The IP address of DCP and port numbers;
Communication unit 620, is communicated with DCP for the IP address according to DCP and port numbers.
In the embodiment of the present invention, got parms server from name server by the domain name according to pre-stored IP address, then obtain the IP address of DCP and port numbers from this parameter server, and and DCP Communicated, intelligent electric meter can be automatically configured, configured intelligent electric meter without manual site, extensive During deployment intelligent electric meter, configuration work amount can be substantially reduced.
Wherein, intelligent electric meter 600 can also include:Memory element, for storing the domain of parameter server Name.
Alternatively, acquiring unit 610 specifically for:
Set up with dns server and be connected;
Send the first inquiry request to dns server, the first inquiry request includes parameter server Domain name, the first inquiry request is used for the IP address of required parameter server;
Receive the first inquiry response that dns server sends, the first inquiry response includes parameter service The IP address of device.
Alternatively, acquiring unit 610 specifically for:
IP address according to parameter server is set up with parameter server and is connected;
Send the second inquiry request to parameter server, the second inquiry request includes the mark of intelligent electric meter Know, the second inquiry request is used for asking IP address and the port numbers of DCP;
Receive the second inquiry response that parameter server sends, the second inquiry response includes the IP of DCP Address and port numbers.
Alternatively, the second inquiry request is additionally operable to ask initial authentication key, AES and authentication grade, Can also include in second inquiry response the corresponding initial authentication key of intelligent electric meter 600, AES and Authentication grade.
Alternatively, intelligent electric meter can be GPRS ammeter.
It should be understood that intelligent electric meter 600 provided in an embodiment of the present invention may correspond to the embodiment of the present invention providing Intelligent electric meter communication method 100 in intelligent electric meter and intelligent electric meter provided in an embodiment of the present invention Intelligent electric meter 401 in communication system 400, and the modules/unit in intelligent electric meter 600 is upper State and other operates and/or function is respectively in order to realize the corresponding flow process of the method 100 of Fig. 1, for sake of simplicity, Will not be described here.
In the embodiment of the present invention, got parms server from name server by the domain name according to pre-stored IP address, then obtain the IP address of DCP and port numbers from this parameter server, and and DCP Communicated, intelligent electric meter can be automatically configured, configured intelligent electric meter without manual site, extensive During deployment intelligent electric meter, configuration work amount can be substantially reduced.
Fig. 7 is the schematic block diagram of the intelligent electric meter 700 that another embodiment of the present invention provides.As Fig. 7 institute Show, intelligent electric meter 700 includes processor 710, memorizer 720, bus system 730 and transceiver 740. Wherein, processor 710, memorizer 720 and transceiver 740 are connected by bus system 730, and this is deposited Reservoir 720 is used for store instruction, and this processor 710 is used for executing the instruction of this memorizer 720 storage, To execute:
Get parms the IP of the corresponding parameter server of domain name of server from domain name system DNS server Address, and the IP address according to parameter server, obtain IP address and the end of DCP from parameter server Slogan;
IP address according to DCP and port numbers are communicated with DCP.
In the embodiment of the present invention, got parms server from name server by the domain name according to pre-stored IP address, then obtain the IP address of DCP and port numbers from this parameter server, and and DCP Communicated, be capable of automatically configuring of intelligent electric meter, without situ configuration intelligent electric meter, thus subtracting Lack the configuration work of intelligent electric meter, be suitable for the scene of large scale deployment intelligent electric meter.
It should be understood that in embodiments of the present invention, this processor 710 can be CPU (Central Processing Unit, abbreviation CPU), this processor 710 can also be other general processors, numeral Signal processor (Digital Signal Processing, abbreviation DSP), special IC (Application Specific Integrated Circuit, abbreviation ASIC), field programmable gate array (Field-Programmable Gate Array, abbreviation FPGA) or other PLDs, Discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor Or this processor can also be any conventional processor etc..
This memorizer 720 can include read only memory and random access memory, and to processor 710 Provide instruction and data.The a part of of memorizer 720 can also include nonvolatile RAM. For example, memorizer 720 can be with the information of storage device type.
This bus system 730, in addition to including data/address bus, can also include power bus, controlling bus With status signal bus in addition etc..But for the sake of clear explanation, in figure, various buses are all designated as bus System 730.
During realizing, each step of said method can be integrated by the hardware in processor 710 The instruction of logic circuit or software form completes.Step in conjunction with the method disclosed in the embodiment of the present invention Hardware processor execution can be embodied directly in complete, or with the hardware in processor and software module group Close execution to complete.Software module may be located at random access memory, flash memory, read only memory, programmable Read in the ripe storage medium in this area such as memorizer or electrically erasable programmable memory, depositor. This storage medium is located at memorizer 720, and processor 710 reads the information in memorizer 720, in conjunction with it The step that hardware completes said method.For avoiding repeating, it is not detailed herein.
Wherein, memorizer 720 can be also used for storing the domain name of parameter server.
Transceiver 740 is used for receiving and transmitting signal under the control of the processor 710.Transceiver 740 specifically can use In:
Set up with dns server and be connected;
Send the first inquiry request to dns server, the first inquiry request includes parameter server Domain name, the first inquiry request is used for the IP address of required parameter server;
Receive the first inquiry response that dns server sends, the first inquiry response includes parameter service The IP address of device.
Transceiver 740 specifically can be additionally used in:
IP address according to parameter server is set up with parameter server and is connected;
Send the second inquiry request to parameter server, the second inquiry request includes the mark of intelligent electric meter Know, the second inquiry request is used for asking IP address and the port numbers of DCP;
Receive the second inquiry response that parameter server sends, the second inquiry response includes the IP of DCP Address and port numbers.
Alternatively, the second inquiry request is additionally operable to ask initial authentication key, AES and authentication grade, Can also include in second inquiry response the corresponding initial authentication key of intelligent electric meter 700, AES and Authentication grade.
Alternatively, intelligent electric meter can be GPRS ammeter.
It should be understood that intelligent electric meter 700 provided in an embodiment of the present invention may correspond to the embodiment of the present invention providing Intelligent electric meter communication method 100 in intelligent electric meter, intelligent electric meter provided in an embodiment of the present invention lead to Intelligent electric meter 401 in letter system 400 and intelligent electric meter provided in an embodiment of the present invention 600, and Above and other operation of the modules/unit in intelligent electric meter 700 and/or function are respectively in order to realize The corresponding flow process of the method 100 of Fig. 1, for sake of simplicity, will not be described here.
In the embodiment of the present invention, got parms server from name server by the domain name according to pre-stored IP address, then obtain the IP address of DCP and port numbers from this parameter server, and and DCP Communicated, intelligent electric meter can be automatically configured, configured intelligent electric meter without manual site, extensive During deployment intelligent electric meter, configuration work amount can be substantially reduced.
Those of ordinary skill in the art are it is to be appreciated that combine each of the embodiments described herein description The unit of example and algorithm steps, can be with the knot of electronic hardware or computer software and electronic hardware Close and to realize.These functions to be executed with hardware or software mode actually, depending on the spy of technical scheme Fixed application and design constraint.Professional and technical personnel can use not Tongfang to each specific application Method is realizing described function, but this realizes it is not considered that beyond the scope of this invention.
Those skilled in the art can be understood that, for convenience and simplicity of description, above-mentioned retouches The specific work process of system, device and the unit stated, may be referred to the correspondence in preceding method embodiment Process, will not be described here.
In several embodiments provided herein it should be understood that disclosed system, device and Method, can realize by another way.For example, device embodiment described above is only shown Meaning property, for example, the division of described unit, only a kind of division of logic function, actual can when realizing There to be other dividing mode, for example multiple units or assembly can in conjunction with or be desirably integrated into another System, or some features can ignore, or do not execute.Another, shown or discussed each other Coupling direct-coupling or communication connection can be the INDIRECT COUPLING of device or unit by some interfaces Or communication connection, can be electrical, mechanical or other forms.
The described unit illustrating as separating component can be or may not be physically separate, make For the part that unit shows can be or may not be physical location, you can with positioned at a place, Or can also be distributed on multiple NEs.Can select according to the actual needs part therein or The whole unit of person is realizing the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit In or unit is individually physically present it is also possible to two or more units are integrated in one In individual unit.
If described function is realized using in the form of SFU software functional unit and as independent production marketing or is made Used time, can be stored in a computer read/write memory medium.Based on such understanding, the present invention The part that substantially in other words prior art contributed of technical scheme or this technical scheme portion Divide and can be embodied in the form of software product, this computer software product is stored in a storage medium In, including some instructions with so that computer equipment (can be personal computer, server, Or network equipment etc.) execution each embodiment methods described of the present invention all or part of step.And it is front The storage medium stated includes:USB flash disk, portable hard drive, read only memory (Read-Only Memory, letter Claim ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited to In this, any those familiar with the art the invention discloses technical scope in, can be easily Expect change or replacement, all should be included within the scope of the present invention.Therefore, the protection of the present invention Scope should be defined by described scope of the claims.

Claims (10)

1. a kind of method of intelligent electric meter communication is it is characterised in that prestore parameter clothes in intelligent electric meter The domain name of business device, methods described includes:
Described intelligent electric meter obtains the corresponding described parameter clothes of domain name from domain name system DNS server The internet protocol address of business device;
Described intelligent electric meter, according to the IP address of described parameter server, obtains from described parameter server The IP address of data acquisition platform DCP and port numbers;
Described intelligent electric meter is communicated with described DCP according to the IP address of described DCP and port numbers.
2. method according to claim 1 is it is characterised in that described intelligent electric meter is from domain name system System dns server obtains the IP address of the corresponding described parameter server of domain name, including:
Described intelligent electric meter is set up with described dns server and is connected;
Described intelligent electric meter sends the first inquiry request to described dns server, and described first inquiry please Seek the domain name including described parameter server, described first inquiry request is used for asking described parameter service The IP address of device;
Described intelligent electric meter receives the first inquiry response that described dns server sends, and described first looks into Ask the IP address that response includes described parameter server.
3. method according to claim 1 and 2 it is characterised in that described intelligent electric meter according to The IP address of described parameter server, obtains IP address and the port numbers of DCP from described parameter server, Including:
Described intelligent electric meter is set up even with described parameter server according to the IP address of described parameter server Connect;
Described intelligent electric meter sends the second inquiry request, described second inquiry request to described parameter server Include the mark of described intelligent electric meter, described second inquiry request is used for asking the IP ground of described DCP Location and port numbers;
Described intelligent electric meter receives the second inquiry response that described parameter server sends, described second inquiry Response includes IP address and the port numbers of described DCP.
4. method according to claim 3 is it is characterised in that described second inquiry request is also used In request initial authentication key, AES and authentication grade, in described second inquiry response, also include institute State intelligent electric meter corresponding initial authentication key, AES and authentication grade.
5. a kind of intelligent electric meter is it is characterised in that include:
Acquiring unit, for from domain name system DNS server get parms server domain name corresponding The internet protocol address of described parameter server;
Described acquiring unit is additionally operable to, according to the IP address of described parameter server, from described parameter clothes Business device obtains IP address and the port numbers of data acquisition platform DCP;
Communication unit, is led to described DCP for the IP address according to described DCP and port numbers Letter.
6. intelligent electric meter according to claim 5 is it is characterised in that described acquiring unit is concrete For:
Set up with described dns server and be connected;
Send the first inquiry request to described dns server, described first inquiry request includes described The domain name of parameter server, described first inquiry request is used for asking the IP address of described parameter server;
Receive the first inquiry response that described dns server sends, described first inquiry response includes The IP address of described parameter server.
7. the intelligent electric meter according to claim 5 or 6 is it is characterised in that described acquiring unit Specifically for:
IP address according to described parameter server is set up with described parameter server and is connected;
Send the second inquiry request to described parameter server, described second inquiry request includes described intelligence The mark of energy ammeter, described second inquiry request is used for asking IP address and the port numbers of described DCP;
Receive the second inquiry response that described parameter server sends, described second inquiry response includes institute State IP address and the port numbers of DCP.
8. intelligent electric meter according to claim 7 is it is characterised in that described second inquiry request It is additionally operable to ask initial authentication key, AES and authentication grade, also wrap in described second inquiry response Include described intelligent electric meter corresponding initial authentication key, AES and authentication grade.
9. a kind of intelligent electric meter communication system is it is characterised in that include:Domain name system DNS server, Parameter server, and the intelligent electric meter as any one of claim 5 to 8;
Described dns server, for receiving the domain name of the parameter server that described intelligent electric meter sends, Determine the internet protocol address of described parameter server according to the domain name of described parameter server, and Send the IP address of described parameter server to described intelligent electric meter;
Described parameter server, for receiving the IP ground according to described parameter server for the described intelligent electric meter The mark of the intelligent electric meter that location sends, determines data acquisition platform DCP according to the mark of described intelligent electric meter IP address and port numbers, and send the IP address of described DCP and port numbers to described intelligent electric meter, So that described intelligent electric meter is communicated with described DCP according to the IP address of described DCP and port numbers.
10. system according to claim 9 is it is characterised in that also include:
Described DCP, for being communicated with described intelligent electric meter, to gather the data of described intelligent electric meter.
CN201510470459.2A 2015-08-04 2015-08-04 Method, device and system for communication of intelligent electric meter Active CN106453670B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510470459.2A CN106453670B (en) 2015-08-04 2015-08-04 Method, device and system for communication of intelligent electric meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510470459.2A CN106453670B (en) 2015-08-04 2015-08-04 Method, device and system for communication of intelligent electric meter

Publications (2)

Publication Number Publication Date
CN106453670A true CN106453670A (en) 2017-02-22
CN106453670B CN106453670B (en) 2020-01-03

Family

ID=59216544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510470459.2A Active CN106453670B (en) 2015-08-04 2015-08-04 Method, device and system for communication of intelligent electric meter

Country Status (1)

Country Link
CN (1) CN106453670B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517125A (en) * 2017-07-21 2017-12-26 新智数字科技有限公司 A kind of switching method, meter management method and corresponding intrument
CN110070703A (en) * 2019-05-06 2019-07-30 南方电网科学研究院有限责任公司 Communication method, device, system and medium of low-voltage meter reading communication system
CN107576926B (en) * 2017-08-09 2019-08-16 宁波三星医疗电气股份有限公司 A method of generating simulation ammeter returned data
CN111426864A (en) * 2020-04-18 2020-07-17 无锡意美浩科技有限公司 Universal meter with high-voltage warning function
CN111835087A (en) * 2020-08-03 2020-10-27 云南文衡驰光科技有限公司 Power grid safety system based on Beidou positioning technology
CN112510833A (en) * 2020-11-27 2021-03-16 珠海格力电器股份有限公司 Ammeter parameter configuration method, device and system
CN112885061A (en) * 2021-01-22 2021-06-01 江苏林洋能源股份有限公司 Method for realizing multi-device time-sharing communication based on electric meter

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558606A (en) * 2004-02-10 2004-12-29 Ut斯达康通讯有限公司 Network terminal automatic configuration method
CN101098319A (en) * 2006-06-27 2008-01-02 中国移动通信集团公司 IP multimedia subsystem based family gateway and configuring method thereof
CN102185859A (en) * 2011-05-09 2011-09-14 北京艾普优计算机系统有限公司 Computer system and data interaction method
CN102231765A (en) * 2011-06-28 2011-11-02 中兴通讯股份有限公司 Method and device for realizing load balance and set-top box
CN104333464A (en) * 2014-10-28 2015-02-04 华为技术有限公司 Automatic configuration method for base station network access, bearing device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558606A (en) * 2004-02-10 2004-12-29 Ut斯达康通讯有限公司 Network terminal automatic configuration method
CN101098319A (en) * 2006-06-27 2008-01-02 中国移动通信集团公司 IP multimedia subsystem based family gateway and configuring method thereof
CN102185859A (en) * 2011-05-09 2011-09-14 北京艾普优计算机系统有限公司 Computer system and data interaction method
CN102231765A (en) * 2011-06-28 2011-11-02 中兴通讯股份有限公司 Method and device for realizing load balance and set-top box
CN104333464A (en) * 2014-10-28 2015-02-04 华为技术有限公司 Automatic configuration method for base station network access, bearing device and system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517125A (en) * 2017-07-21 2017-12-26 新智数字科技有限公司 A kind of switching method, meter management method and corresponding intrument
CN107517125B (en) * 2017-07-21 2023-12-01 新智数字科技有限公司 Switching method, meter management method and corresponding device
CN107576926B (en) * 2017-08-09 2019-08-16 宁波三星医疗电气股份有限公司 A method of generating simulation ammeter returned data
CN110070703A (en) * 2019-05-06 2019-07-30 南方电网科学研究院有限责任公司 Communication method, device, system and medium of low-voltage meter reading communication system
CN111426864A (en) * 2020-04-18 2020-07-17 无锡意美浩科技有限公司 Universal meter with high-voltage warning function
CN111835087A (en) * 2020-08-03 2020-10-27 云南文衡驰光科技有限公司 Power grid safety system based on Beidou positioning technology
CN112510833A (en) * 2020-11-27 2021-03-16 珠海格力电器股份有限公司 Ammeter parameter configuration method, device and system
CN112885061A (en) * 2021-01-22 2021-06-01 江苏林洋能源股份有限公司 Method for realizing multi-device time-sharing communication based on electric meter
CN112885061B (en) * 2021-01-22 2022-12-13 江苏林洋能源股份有限公司 Method for realizing multi-device time-sharing communication based on electric meter

Also Published As

Publication number Publication date
CN106453670B (en) 2020-01-03

Similar Documents

Publication Publication Date Title
CN106453670A (en) Communication method, apparatus and system for smart meter
CN110692280B (en) Network access method, device and system
CN106993278A (en) A kind of method, relevant device and system for automatically controlling smart machine access
JP5063692B2 (en) Automatic configuration of base station router devices
CN101388912B (en) Removable card and a mobile wireless communication device
CN108616882A (en) Household appliance matches network method, method of network entry, device, storage medium and equipment
CN109644522A (en) For passing through the method and system of wireless network secure loading equipemtn
CN103686669A (en) Data service transmitting method and terminal
CN105739460A (en) Method and device for automatically generating control interface of Internet-of-Things household appliances
CN104412245A (en) Modular wireless power, light and automation control
CN101971694A (en) Touchless plug and play base station
CN102694804A (en) Realization method and device for intelligent home unified platform on basis of UPnP protocol
CN105933888A (en) Burning method and device of eSIM (Subscriber Identity Module) card based on NFC
CN109981360B (en) Internet of things equipment site opening method, device and system and storage medium
CN204215241U (en) A kind of soymilk machine
CN103929746A (en) Internet-surfing configuration method for equipment of Internet of things, equipment of Internet of things and user equipment
EP2827258A1 (en) Embedded network proxy system, terminal device and proxy method
CN103118443B (en) A kind of remote branch equipment configuration method and device
CN104618442A (en) Remote control method, equipment and system of air conditioner
JP2022513444A (en) Remote LPWAN gateway with backhaul in high latency communication system
CN112689316A (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN111066014A (en) Apparatus, method and program for remotely managing devices
CN114205378A (en) Network distribution method and device of Internet of things equipment, storage medium and electronic device
CN107205210A (en) Collocation method, device, system and the computer program of wireless network node
CN207354634U (en) The configuration system of radio network configuration equipment and wireless network node

Legal Events

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