CN106453670B - Method, device and system for communication of intelligent electric meter - Google Patents

Method, device and system for communication of intelligent electric meter Download PDF

Info

Publication number
CN106453670B
CN106453670B CN201510470459.2A CN201510470459A CN106453670B CN 106453670 B CN106453670 B CN 106453670B CN 201510470459 A CN201510470459 A CN 201510470459A CN 106453670 B CN106453670 B CN 106453670B
Authority
CN
China
Prior art keywords
address
parameter server
dcp
intelligent electric
electric meter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510470459.2A
Other languages
Chinese (zh)
Other versions
CN106453670A (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

Images

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

Abstract

The embodiment of the invention provides a method, a device and a system for communication of an intelligent electric meter. The method comprises the following steps that a domain name of a parameter server is prestored in the intelligent electric meter, and comprises the following steps: the intelligent electric meter acquires the IP address of a parameter server corresponding to the domain name from a Domain Name System (DNS) server; the intelligent ammeter acquires the IP address and the port number of the data acquisition platform DCP from the parameter server according to the IP address of the parameter server; and the intelligent electric meter communicates with the DCP according to the IP address and the port number of the DCP. In the embodiment of the invention, the IP address of the parameter server is obtained from the domain name server according to the pre-stored domain name, then the IP address and the port number of the data acquisition platform are obtained from the parameter server, and the parameter server is communicated with the data acquisition platform, so that the intelligent electric meter can be automatically configured without manual field configuration, and the configuration workload can be remarkably reduced when the intelligent electric meter is deployed in a large scale.

Description

Method, device and system for communication of intelligent electric meter
Technical Field
The present invention relates to the field of communications, and more particularly, to a method, an apparatus, and a system for smart meter communication.
Background
At present, an ammeter side in an electric meter reading system has multiple communication modes which can be divided into a wired mode and a wireless mode. In urban areas with dense population, wired modes with relatively short transmission distances, such as a Programmable Logic Controller (PLC) and a Recommended Standard (RS) 485, are mainly adopted to uniformly wire, so that the cost is saved. In some remote mountainous areas, or large enterprises, large factories, and other places, the electric meters are installed relatively dispersedly, and the cost is higher by adopting a wired mode, so that the electric meters can adopt General Packet Radio Service (GPRS) to communicate in a wireless mode.
Generally, a GPRS power meter reading system is composed of a Data Collection Platform (DCP) located in a power bureau and a GPRS power meter located in a residential area, where the DCP may also be referred to as a master station. The data of the GPRS electricity meter can be transmitted to the DCP in a wireless manner by using the existing GPRS network or Global System for Mobile Communication (GSM) network of Mobile Communication.
The communication between the GPRS electric meter and the DCP does not need wiring, the transmission distance is long, and the system installation is convenient. The GPRS electric meter is mainly connected with the DCP in a socket connection mode, the DCP serves as a service end of the socket, and the address of the DCP is generally fixedly distributed; the GPRS electric meter is used as a client side connected with the socket, when the GPRS electric meter is installed, an Internet Protocol (IP) address and a port number of a DCP to be connected need to be configured in advance, and when the GPRS electric meter is powered on, the DCP can be actively connected, so that normal communication is carried out.
The GPRS electric meter can be set through the electric meter handsheet device. The electric meter hand-copying device is usually provided by an electric meter manufacturer in a matched manner when the GPRS electric meter is delivered from the electric meter manufacturer. The electric meter hand-copying device is connected with the GPRS electric meter in an infrared mode, and all parameters of the GPRS electric meter, such as IP addresses, baud rates and the like, are read and set. Because the electric meter hand-copying device adopts an infrared mode for communication, the transmission distance is short, so the mode is only suitable for manual field configuration and cannot be remotely controlled. When the quantity of GPRS electric meters needing to be configured is large, the workload of configuration by using the electric meter handsheet device is large.
In addition, the GPRS electric meter can be set by sending a control message to the GPRS electric meter through the portable machine on site. For example, a 645 protocol is adopted to send 645 control messages to the GPRS electric meter, and some parameters of the electric meter are set. However, this method also requires manual field operation, and requires a portable machine to send messages, which is highly demanding on the technical ability of the operator. Similarly, when the number of GPRS electric meters to be configured is large, the operation is time-consuming and the workload is large.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a system for intelligent electric meter communication, which can automatically configure an intelligent electric meter, do not need to manually configure the intelligent electric meter on site, and can obviously reduce configuration workload when the intelligent electric meter is deployed in a large scale.
In a first aspect, a method for communication of a smart meter is provided, where a domain name of a parameter server is prestored in the smart meter, and the method includes: the intelligent electric meter acquires an Internet Protocol (IP) address of the parameter server corresponding to the domain name from a Domain Name System (DNS) server; the intelligent ammeter acquires the IP address and the port number of a data acquisition platform (DCP) from the parameter server according to the IP address of the parameter server; and the intelligent electric meter communicates with the DCP according to the IP address and the port number of the DCP.
With reference to the first aspect, in a first possible implementation manner, the acquiring, by the smart meter, the IP address of the parameter server corresponding to the domain name from a domain name system DNS server includes: the intelligent electric meter is connected with the DNS server; the intelligent electric meter sends a first query request to the DNS, wherein the first query request comprises a domain name of the parameter server, and the first query request is used for requesting an IP address of the parameter server; and the intelligent electric meter receives a first query response sent by the DNS server, wherein the first query response comprises the IP address of the parameter server.
With reference to the first aspect or the first possible implementation manner, in a second possible implementation manner, the acquiring, by the smart meter, the IP address and the port number of the DCP from the parameter server according to the IP address of the parameter server includes: the intelligent electric meter establishes connection with the parameter server according to the IP address of the parameter server; the intelligent ammeter sends a second query request to the parameter server, wherein the second query request comprises an identifier of the intelligent ammeter, and the second query request is used for requesting an IP address and a port number of the DCP; and the intelligent ammeter receives a second query response sent by the parameter server, wherein the second query response comprises the IP address and the port number of the DCP.
With reference to the second possible implementation manner, in a third possible implementation manner, the second query request is further used for requesting an initial authentication key, an encryption algorithm, and an authentication level, and the second query response further includes the initial authentication key, the encryption algorithm, and the authentication level corresponding to the smart meter.
In a second aspect, a smart meter is provided, comprising: the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring an Internet Protocol (IP) address of a parameter server corresponding to a domain name of the parameter server from a Domain Name System (DNS) server; the acquisition unit is further used for acquiring the IP address and the port number of the DCP from the parameter server according to the IP address of the parameter server; a communication unit for communicating with the DCP according to the IP address and port number of the DCP.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the obtaining unit is specifically configured to: establishing a connection with the DNS server; sending a first query request to the DNS, wherein the first query request comprises a domain name of the parameter server, and the first query request is used for requesting an IP address of the parameter server; and receiving a first query response sent by the DNS, wherein the first query response comprises the IP address of the parameter server.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the obtaining unit is specifically configured to: establishing connection with the parameter server according to the IP address of the parameter server; sending a second query request to the parameter server, wherein the second query request comprises an identifier of the smart meter, and the second query request is used for requesting an IP address and a port number of the DCP; and receiving a second query response sent by the parameter server, wherein the second query response comprises the IP address and the port number of the DCP.
With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the second query request is further used for requesting an initial authentication key, an encryption algorithm, and an authentication level, and the second query response further includes the initial authentication key, the encryption algorithm, and the authentication level corresponding to the smart meter.
In a third aspect, a smart meter communication system is provided, including: a Domain Name System (DNS) server, a parameter server, and a smart meter according to the second aspect or any possible implementation manner of the second aspect; the DNS server is used for receiving the domain name of the parameter server sent by the intelligent electric meter, determining the IP address of the Internet protocol of the parameter server according to the domain name address of the parameter server, and sending the IP address of the parameter server to the intelligent electric meter; the parameter server is used for receiving the identification of the intelligent electric meter sent by the intelligent electric meter according to the IP address of the parameter server, determining the IP address and the port number of a data acquisition platform (DCP) according to the identification of the intelligent electric meter, and sending the IP address and the port number of the DCP to the intelligent electric meter, so that the intelligent electric meter can communicate with the DCP according to the IP address and the port number of the DCP.
With reference to the third aspect, in a first possible implementation manner of the third aspect, the method further includes: the DCP is used for communicating with the intelligent electric meter so as to collect data of the intelligent electric meter.
Based on the technical scheme, the IP address of the parameter server is obtained from the domain name server according to the pre-stored domain name, and then the IP address and the port number of the data acquisition platform are obtained from the parameter server, so that the intelligent electric meter can be automatically configured without manual field configuration, and the configuration workload can be remarkably reduced when the intelligent electric meter is deployed in a large scale.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for smart meter communication according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a request message format adopted in a method for communicating smart meters according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of a response message format adopted in a method for communicating by a smart meter according to an embodiment of the invention.
Fig. 4 is a schematic block diagram of a smart meter communication system according to an embodiment of the present invention.
Fig. 5 is a schematic diagram of interaction among devices in the smart meter communication system according to an embodiment of the invention.
Fig. 6 is a schematic block diagram of a smart meter according to an embodiment of the present invention.
Fig. 7 is a schematic block diagram of a smart meter according to another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, shall fall within the scope of protection of the present invention.
It should be understood that the smart meter in the embodiment of the present invention can transmit data to the DCP wirelessly by using a wireless communication network. The smart meter in the embodiment of the present invention may be a GPRS meter applied to a GPRS/GSM network, but the embodiment of the present invention is not limited thereto, for example, the smart meter may also be a smart meter applied to other wireless communication systems, for example: code Division Multiple Access (CDMA) System, Wideband Code Division Multiple Access (WCDMA) System, Long Term Evolution (LTE) System, LTE Frequency Division Duplex (FDD) System, LTE Time Division Duplex (TDD) System, Universal Mobile Telecommunications System (UMTS) or Worldwide Interoperability for Microwave Access (WiMAX) communication System, etc.
Fig. 1 is a schematic flow chart of a method 100 for communicating with a smart meter according to an embodiment of the present invention. The method 100 may be performed by a smart meter having a domain name for a parameter server pre-stored therein. As shown in fig. 1, the method 100 includes:
110. the intelligent electric meter obtains the IP address of the parameter server corresponding to the Domain Name of the parameter server from a Domain Name System (DNS).
The intelligent electric meter cannot directly access the parameter server according to the domain name, and needs to firstly resolve the domain name of the parameter server through the DNS server to obtain a corresponding IP address so as to access the parameter server.
The DNS server is a DNS server of the network where the intelligent electric meter is located.
The DNS server obtains the IP address of the parameter server according to the domain name resolution of the parameter server by mainly querying a domain name resolution table, which includes a correspondence between a domain name and an IP address, and it should be noted that the IP addresses corresponding to the domain names of the parameter server stored in the domain name servers in different regions may be different. In other words, the parameter servers have unique domain names, but the IP addresses of the parameter servers in different regions may be different.
120. And the intelligent electric meter acquires the IP address and the port number of the DCP from the parameter server according to the IP address of the parameter server.
130. And the intelligent electric meter communicates with the DCP according to the IP address and the port number of the DCP.
For example, the smart meter may transmit measured data, such as power, to the DCP.
In the embodiment of the invention, the IP address of the parameter server is obtained from the domain name server according to the pre-stored domain name, then the IP address and the port number of the DCP are obtained from the parameter server and are communicated with the DCP, the intelligent electric meter can be automatically configured, the intelligent electric meter does not need to be configured on site manually, and the configuration workload can be obviously reduced when the intelligent electric meter is deployed in a large scale.
In addition, the intelligent electric meter can automatically configure the IP address and the port number of the DCP without manual configuration, so that the technical capability requirement on an installer is reduced.
Optionally, step 110 may include:
the intelligent electric meter is connected with the DNS server;
the intelligent electric meter sends a first query request, such as a DNS request message, to the DNS server, wherein the first query request includes a domain name of the parameter server. The first query request is used for requesting an IP address of a parameter server;
the intelligent electric meter receives a first query response sent by the DNS server, wherein the first query response comprises the IP address of the parameter server.
For example, when the smart meter is first powered on, it may actively initiate a request to connect to a domain name (e.g., www.dcp.com) of the parameter server. After the intelligent electric meter initiates a connection request of a domain name, a first query request to the DNS server is triggered. The network may be different in different regions by a DNS server that maps the domain name to the IP address of the local parameter server. And the DNS server analyzes the domain name of the parameter server to obtain a corresponding IP address, and the IP address is returned to the intelligent electric meter.
Optionally, step 120 may include:
the intelligent electric meter is connected with the parameter server;
the intelligent electric meter sends a second query request to the parameter server, wherein the second query request comprises the identification of the intelligent electric meter and is used for requesting the IP address and the port number of the DCP;
and receiving a second query response sent by the parameter server, wherein the second query response comprises the IP address and the port number of the DCP.
Optionally, the second query request may also be used to request an initial authentication key, encryption algorithm, and authentication level of the DCP. Correspondingly, the second query response may further include an initial authentication key, an encryption algorithm, and an authentication level corresponding to the smart meter.
For example, after receiving the IP address of the parameter server, the smart meter initiates a Transmission Control Protocol (TCP) connection request to the parameter server. And the parameter server is used as a service end of the TCP connection, and establishes the TCP connection with the intelligent electric meter after receiving the connection. For the same TCP connection, the parameter server may set a maximum connection duration, and if the connection still exists beyond this duration, the parameter server needs to actively disconnect the connection, preventing the number of socket resources from being exhausted.
And after the TCP connection between the intelligent electric meter and the parameter server is established, the intelligent electric meter sends the second query request to the parameter server to acquire the parameters. The second query request in step 120 may be a request packet in a Distribution Line Message Specification (DLMS) protocol, as shown in fig. 2, where the request packet includes Object Identification System (OBIS) information, and the OBIS information is used to uniquely identify parameters to be requested, such as an IP address and a port number of the DCP. Meanwhile, the data portion of the request message further includes an identifier of the smart meter, such as a logical device name.
Accordingly, the second query response may use the response message shown in fig. 3. After receiving the request message sent by the smart meter, the parameter server can know the parameters to be requested by the smart meter, such as the IP address and the port number of the DCP, according to the OBIS information, then searches the parameters requested by the smart meter in the database according to the identification (such as the logical device name) of the smart meter, writes the parameters into a response message, and returns the response message to the smart meter.
It should be noted that the second query request and the second query response are not limited to the DLMS protocol messages shown in fig. 2 and 3, and other messages may be used, and these changes fall within the scope of the embodiments of the present invention.
Of course, the parameters to be requested uniquely identified in the OBIS shown in fig. 2 may also include an initial authentication key, an encryption algorithm, an authentication level, and the like; correspondingly, as shown in fig. 3, the response message may further include an initial authentication key, an encryption algorithm, an authentication level, and the like corresponding to the smart meter.
It should be understood that multiple smart meters communicating with the same DCP may correspond to the same initial authentication key, encryption algorithm, and authentication level. However, the embodiment of the present invention is not limited to this, and each smart meter communicating with the same DCP may also correspond to different initial authentication keys, encryption algorithms, and authentication levels.
After the smart meter receives the second query response (the response message shown in fig. 3) sent by the parameter server, that is, after step 120 is executed, the smart meter actively disconnects the TCP connection with the parameter server.
In step 130, the smart meter may establish a TCP connection with the DCP according to the acquired IP address and port number of the DCP.
After receiving connection information (such as a TCP connection request) of the intelligent electric meter, the DCP initiatively initiates an authentication process, and when the information of an authentication key, an encryption algorithm, authentication grade and the like of the DCP and the electric meter are consistent, a ciphertext calculated through the encryption algorithm is consistent; after the authentication is passed, the intelligent electric meter and the DCP can carry out normal service communication.
In consideration of the security of data transmission, the transmission process may be limited as follows: 1. the interactive content between the intelligent electric meter and the DCP adopts an Advanced Encryption Standard (AES) -128 algorithm for data Encryption, and an Encryption key can be configured by default; 2. when the intelligent electric meter is connected with the parameter server, only data reading is allowed, the database content of the parameter server is not allowed to be modified, and tampering attack is prevented; 3. after the intelligent electric meter is successfully connected with the DCP by adopting the initial key information acquired from the parameter server, the DCP needs to immediately and remotely modify the authentication key information, and the intelligent electric meter does not allow the external access to the data content of the electric meter when the authentication key information is not modified.
In the embodiment of the invention, the IP address of the parameter server is obtained from the domain name server according to the pre-stored domain name, and then the IP address and the port number of the DCP are obtained from the parameter server, so that the automatic configuration of the intelligent electric meter can be realized, the intelligent electric meter does not need to be configured on site manually, and the configuration workload can be obviously reduced when the intelligent electric meter is deployed in a large scale.
The method for communicating the smart meters according to the embodiment of the invention is described in detail above with reference to fig. 1 to 3. Fig. 4 is a schematic block diagram of a smart meter communication system 400 according to an embodiment of the present invention. As shown in fig. 4, the smart meter communication system 400 includes: the system comprises an intelligent electric meter 401, a DNS server 402 and a parameter server 403; wherein the content of the first and second substances,
the smart meter 401 is used for implementing the method for smart meter communication shown in fig. 1 to 3 according to the present invention;
the DNS server 402 is configured to receive a domain name of the parameter server sent by the smart meter 401, determine an internet protocol IP address of the parameter server according to the domain name address of the parameter server, and send the IP address of the parameter server to the smart meter;
the parameter server 403 is configured to receive the identifier of the smart meter 401 sent by the smart meter 401 according to the IP address of the parameter server 403, determine the IP address and the port number of the DCP according to the identifier of the smart meter, and send the IP address and the port number of the DCP to the smart meter 401, so that the smart meter 401 communicates with the DCP according to the IP address and the port number of the DCP.
In the intelligent electric meter communication system provided by the embodiment of the invention, the intelligent electric meter can automatically configure the IP address and the port number of the DCP, manual field configuration is not needed, and the configuration workload can be obviously reduced when the intelligent electric meter is deployed in a large scale.
Optionally, the smart meter communication system 400 may further include: the DCP 404 is configured to communicate with the smart meter 401 to collect data of the smart meter 401.
In the embodiment of the invention, the parameter server records the information of the DCP corresponding to the intelligent electric meter, such as the IP address, the port number, the initial authentication key, the encryption algorithm, the authentication level and the like of the DCP. The parameter server can determine the IP address and the port number of the DCP corresponding to the smart meter 401 according to the identifier of the smart meter, and can also determine an initial authentication key, an encryption algorithm and an authentication level corresponding to the smart meter 401.
Further, referring to fig. 5, fig. 5 is a schematic diagram of information interaction among the smart meter 401, the DNS server 402, the parameter server 403, and the DCP 404 in the smart meter communication system 900 according to the embodiment of the present invention.
501: the smart meter 401 sends a first query request to the DNS server 402, where the first query request includes a domain name of the parameter server 403, and the first query request is used for requesting an IP address of the parameter server 403;
502: the DNS server 402 receives the first query request, and determines the IP address of the parameter server 403 according to the domain name of the parameter server 403;
503: the DNS server 402 sends a first query response to the smart meter 401, wherein the first query response comprises the IP address of the parameter server 403;
504: the smart meter 401 receives the first query response, establishes connection with the parameter server 403 according to the IP address of the parameter server 403, and sends a second query request to the parameter server 403, where the second query request includes an identifier of the smart meter 401, and the second query request is used to request the IP address and the port number of the DCP;
505: the parameter server 403 receives the second query request, and determines the IP address and the port number of the DCP according to the identifier of the smart meter;
506: the parameter server 403 sends a second query response to the smart meter 401, where the second query response includes the IP address and the port number of the DCP;
the second query request in step 503 and step 504 may also be used to request an initial authentication key, an encryption algorithm, and an authentication level corresponding to the smart meter 401; correspondingly, the second query response may further include an initial authentication key, an encryption algorithm, and an authentication level corresponding to the smart meter 401;
507: the smart meter 401 receives the second query response, and communicates with the DCP using the IP address and the port number of the DCP, so that the DCP 404 collects data of the smart meter 401.
In the intelligent electric meter communication system provided by the embodiment of the invention, the intelligent electric meter can automatically configure the IP address and the port number of the DCP, manual field configuration is not needed, and the configuration workload can be obviously reduced when the intelligent electric meter is deployed in a large scale.
The smart meter according to an embodiment of the present invention is described in detail below with reference to fig. 6 and 7.
Fig. 6 is a schematic block diagram of a smart meter 600 according to an embodiment of the present invention. As shown in fig. 6, the smart meter 600 includes an acquisition unit 610 and a communication unit 620.
An obtaining unit 610, configured to obtain, from a domain name system DNS server, an IP address of a parameter server corresponding to a domain name of the parameter server;
the obtaining unit 610 is further configured to obtain an IP address and a port number of the DCP from the parameter server according to the IP address of the parameter server;
a communication unit 620 for communicating with the DCP according to the IP address and port number of the DCP.
In the embodiment of the invention, the IP address of the parameter server is obtained from the domain name server according to the pre-stored domain name, then the IP address and the port number of the DCP are obtained from the parameter server and are communicated with the DCP, the intelligent electric meter can be automatically configured, the intelligent electric meter does not need to be configured on site manually, and the configuration workload can be obviously reduced when the intelligent electric meter is deployed in a large scale.
Wherein, smart electric meter 600 can also include: and the storage unit is used for storing the domain name of the parameter server.
Optionally, the obtaining unit 610 is specifically configured to:
establishing connection with a DNS server;
sending a first query request to a DNS (domain name server), wherein the first query request comprises a domain name of a parameter server and is used for requesting an IP (Internet protocol) address of the parameter server;
and receiving a first query response sent by the DNS, wherein the first query response comprises the IP address of the parameter server.
Optionally, the obtaining unit 610 is specifically configured to:
establishing connection with the parameter server according to the IP address of the parameter server;
sending a second query request to the parameter server, wherein the second query request comprises an identifier of the intelligent electric meter and is used for requesting the IP address and the port number of the DCP;
and receiving a second query response sent by the parameter server, wherein the second query response comprises the IP address and the port number of the DCP.
Optionally, the second query request is further used for requesting an initial authentication key, an encryption algorithm, and an authentication level, and the second query response may further include the initial authentication key, the encryption algorithm, and the authentication level corresponding to the smart meter 600.
Alternatively, the smart meter may be a GPRS meter.
It should be understood that the smart meter 600 provided in the embodiment of the present invention may correspond to the smart meter in the method 100 for smart meter communication provided in the embodiment of the present invention and the smart meter 401 in the smart meter communication system 400 provided in the embodiment of the present invention, and the above and other operations and/or functions of each module/unit in the smart meter 600 are respectively for implementing the corresponding process of the method 100 of fig. 1, and are not described herein again for brevity.
In the embodiment of the invention, the IP address of the parameter server is obtained from the domain name server according to the pre-stored domain name, then the IP address and the port number of the DCP are obtained from the parameter server and are communicated with the DCP, the intelligent electric meter can be automatically configured, the intelligent electric meter does not need to be configured on site manually, and the configuration workload can be obviously reduced when the intelligent electric meter is deployed in a large scale.
Fig. 7 is a schematic block diagram of a smart meter 700 according to another embodiment of the present invention. As shown in fig. 7, the smart meter 700 includes a processor 710, a memory 720, a bus system 730, and a transceiver 740. Wherein, the processor 710, the memory 720 and the transceiver 740 are connected via the bus system 730, the memory 720 is used for storing instructions, and the processor 710 is used for executing the instructions stored in the memory 720 to execute:
acquiring the IP address of a parameter server corresponding to the domain name of the parameter server from a Domain Name System (DNS) server, and acquiring the IP address and the port number of the DCP from the parameter server according to the IP address of the parameter server;
and communicating with the DCP according to the IP address and the port number of the DCP.
In the embodiment of the invention, the IP address of the parameter server is obtained from the domain name server according to the pre-stored domain name, then the IP address and the port number of the DCP are obtained from the parameter server and are communicated with the DCP, so that the automatic configuration of the intelligent electric meter can be realized, the intelligent electric meter does not need to be configured on site, the configuration work of the intelligent electric meter is reduced, and the method and the device are suitable for a scene of deploying the intelligent electric meter in a large scale.
It should be understood that, in the embodiment of the present invention, the processor 710 may be a Central Processing Unit (CPU), and the processor 710 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 720 may include both read-only memory and random-access memory, and provides instructions and data to the processor 710. A portion of memory 720 may also include non-volatile random access memory. For example, memory 720 may also store device type information.
The bus system 730 may include a power bus, a control bus, a status signal bus, and the like, in addition to a data bus. For clarity of illustration, however, the various buses are designated in the figure as the bus system 730.
In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 710. The steps of a method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor. The software modules may be located in ram, flash, rom, prom, or eprom, registers, among other storage media as is well known in the art. The storage medium is located in the memory 720, and the processor 710 reads the information in the memory 720 and performs the steps of the above method in combination with the hardware thereof. To avoid repetition, it is not described in detail here.
Memory 720 may also be used to store, among other things, the domain name of the parameter server.
The transceiver 740 is used for transceiving signals under the control of the processor 710. The transceiver 740 may be specifically configured to:
establishing connection with a DNS server;
sending a first query request to a DNS (domain name server), wherein the first query request comprises a domain name of a parameter server and is used for requesting an IP (Internet protocol) address of the parameter server;
and receiving a first query response sent by the DNS, wherein the first query response comprises the IP address of the parameter server.
The transceiver 740 may be further specifically configured to:
establishing connection with the parameter server according to the IP address of the parameter server;
sending a second query request to the parameter server, wherein the second query request comprises an identifier of the intelligent electric meter and is used for requesting the IP address and the port number of the DCP;
and receiving a second query response sent by the parameter server, wherein the second query response comprises the IP address and the port number of the DCP.
Optionally, the second query request is further used for requesting an initial authentication key, an encryption algorithm, and an authentication level, and the second query response may further include the initial authentication key, the encryption algorithm, and the authentication level corresponding to the smart meter 700.
Alternatively, the smart meter may be a GPRS meter.
It should be understood that the smart meter 700 provided in the embodiment of the present invention may correspond to the smart meter in the method 100 for smart meter communication provided in the embodiment of the present invention, the smart meter 401 in the smart meter communication system 400 provided in the embodiment of the present invention, and the smart meter 600 provided in the embodiment of the present invention, and the above and other operations and/or functions of each module/unit in the smart meter 700 are respectively for implementing the corresponding process of the method 100 of fig. 1, and are not described herein again for brevity.
In the embodiment of the invention, the IP address of the parameter server is obtained from the domain name server according to the pre-stored domain name, then the IP address and the port number of the DCP are obtained from the parameter server and are communicated with the DCP, the intelligent electric meter can be automatically configured, the intelligent electric meter does not need to be configured on site manually, and the configuration workload can be obviously reduced when the intelligent electric meter is deployed in a large scale.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. The method for the communication of the intelligent electric meters is characterized by being used in an intelligent electric meter communication system comprising a DNS (domain name system) server, a plurality of parameter servers, a data acquisition platform (DCP) and a plurality of intelligent electric meters; the method comprises the following steps that a plurality of parameter servers have the same domain name, and each intelligent electric meter in a plurality of intelligent electric meters is prestored with the domain name, and the method comprises the following steps:
a first intelligent electric meter in the plurality of intelligent electric meters acquires an Internet Protocol (IP) address of a first parameter server corresponding to the domain name from the DNS server, wherein the first parameter server is any one of the plurality of parameter servers;
the first intelligent ammeter acquires the IP address and the port number of the first DCP from the first parameter server according to the IP address of the first parameter server;
the first intelligent electric meter communicates with the first DCP according to the IP address and the port number of the first DCP, and data measured by the first intelligent electric meter are sent to the first DCP.
2. The method of claim 1, wherein the step of obtaining, by a first smart meter of the plurality of smart meters, the IP address of the first parameter server corresponding to the domain name from the DNS server comprises:
the first intelligent electric meter is connected with the DNS server;
the first intelligent electric meter sends a first query request to the DNS, wherein the first query request comprises a domain name of the first parameter server, and the first query request is used for requesting an IP address of the first parameter server;
and the first intelligent electric meter receives a first query response sent by the DNS server, wherein the first query response comprises the IP address of the first parameter server.
3. The method according to claim 1 or 2, wherein the first smart meter obtains the IP address and the port number of the first DCP from the first parameter server according to the IP address of the first parameter server, and comprises:
the first intelligent electric meter establishes connection with the first parameter server according to the IP address of the first parameter server;
the first intelligent ammeter sends a second query request to the first parameter server, wherein the second query request comprises an identifier of the first intelligent ammeter, and the second query request is used for requesting an IP address and a port number of the first DCP;
and the first intelligent ammeter receives a second query response sent by the first parameter server, wherein the second query response comprises the IP address and the port number of the first DCP.
4. The method according to claim 3, wherein the second query request is further used for requesting an initial authentication key, an encryption algorithm and an authentication level, and the second query response further includes the initial authentication key, the encryption algorithm and the authentication level corresponding to the first smart meter.
5. The utility model provides a smart electric meter, its characterized in that for in the smart electric meter communication system including DNS server, a plurality of parameter server, data acquisition platform DCP to and a plurality of smart electric meter, wherein, a plurality of parameter server have same domain name, in each smart electric meter prestore in a plurality of smart electric meters the domain name includes:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring an Internet Protocol (IP) address of a first parameter server corresponding to a domain name of a parameter server from a Domain Name System (DNS) server;
the acquiring unit is further configured to acquire the IP address and the port number of the first data acquisition platform DCP from the first parameter server according to the IP address of the first parameter server;
the communication unit is used for communicating with the first DCP according to the IP address and the port number of the first DCP and sending the data measured by the first smart meter to the first DCP.
6. The smart meter of claim 5, wherein the obtaining unit is specifically configured to:
establishing a connection with the DNS server;
sending a first query request to the DNS, wherein the first query request comprises a domain name of the first parameter server, and the first query request is used for requesting an IP address of the first parameter server;
and receiving a first query response sent by the DNS server, wherein the first query response comprises the IP address of the first parameter server.
7. The smart meter according to claim 5 or 6, wherein the obtaining unit is specifically configured to:
establishing connection with the first parameter server according to the IP address of the first parameter server;
sending a second query request to the first parameter server, wherein the second query request comprises an identifier of the first smart meter, and the second query request is used for requesting an IP address and a port number of the first DCP;
and receiving a second query response sent by the first parameter server, wherein the second query response comprises the IP address and the port number of the first DCP.
8. The smart meter of claim 7, wherein the second query request is further configured to request an initial authentication key, an encryption algorithm, and an authentication level, and wherein the second query response further includes the initial authentication key, the encryption algorithm, and the authentication level corresponding to the smart meter.
9. A smart meter communication system, comprising: a domain name system, DNS, server, a first parameter server, and a first smart meter according to any of claims 5 to 8;
the DNS server is used for receiving the domain name of the first parameter server sent by the first intelligent electric meter, determining the IP address of the Internet protocol of the first parameter server according to the domain name of the first parameter server, and sending the IP address of the first parameter server to the first intelligent electric meter;
the first parameter server is used for receiving an identifier of a first intelligent electric meter sent by the first intelligent electric meter according to the IP address of the first parameter server, determining the IP address and the port number of a first data acquisition platform (DCP) according to the identifier of the first intelligent electric meter, and sending the IP address and the port number of the first DCP to the first intelligent electric meter, so that the first intelligent electric meter communicates with the first DCP according to the IP address and the port number of the first DCP, and sends data measured by the first intelligent electric meter to the first DCP.
10. The system of claim 9, further comprising:
the first DCP is used for communicating with the first intelligent electric meter so as to collect data of the first 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 CN106453670A (en) 2017-02-22
CN106453670B true 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)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 南方电网科学研究院有限责任公司 A kind of communication means, device, system and the medium of low-voltage collecting 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
CN112885061B (en) * 2021-01-22 2022-12-13 江苏林洋能源股份有限公司 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

Also Published As

Publication number Publication date
CN106453670A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN106453670B (en) Method, device and system for communication of intelligent electric meter
CN110692280B (en) Network access method, device and system
CN105578470B (en) Method, device and system for accessing Internet of things equipment to network
CN110072236B (en) Device connection method, device and system
CN105703938B (en) Equipment configuration method, configuration device and management equipment
CN105992306B (en) Binding method of terminal and home gateway
CN107770226B (en) Control method and device for smart home, home gateway and mobile terminal
EP3039824A1 (en) Smart object identification in the digital home
CN105612805A (en) Communication method, communication system and relevant device of wearable device
CN104053148A (en) Configuring Secure Wireless Networks
KR20140055130A (en) Terminal for payment and local network monitoring
CN104348903A (en) Communication system for establishing P2P connections and the corresponding devices
CN110730247B (en) Communication control system based on power line carrier
CN109981360B (en) Internet of things equipment site opening method, device and system and storage medium
CN104349316A (en) Network sharing device, network sharing system and network sharing method
CN112152887A (en) Network distribution method and device of household appliance, electronic device and storage medium
CN107205210B (en) Method, device, system and computer program for configuring wireless network node
EP2561696A1 (en) Method and apparatus for machine communication
CN105915416B (en) Information processing method and terminal equipment
CN105511275A (en) Method and device for controlling intelligent electric appliance
CN112689316B (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN107465998B (en) Multi-data acquisition system
JP2018507592A (en) Method, device, object, and corresponding computer program product for associating an object with a user
JP2016192706A (en) Information collection system, relay terminal, connection control method of relay terminal with center system, sensor terminal, connection control method of sensor terminal with center system
JP2006048459A (en) Radio data communication system

Legal Events

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