WO2022160698A1 - 计量自动化***的通信方法、***、装置和计算机设备 - Google Patents

计量自动化***的通信方法、***、装置和计算机设备 Download PDF

Info

Publication number
WO2022160698A1
WO2022160698A1 PCT/CN2021/115092 CN2021115092W WO2022160698A1 WO 2022160698 A1 WO2022160698 A1 WO 2022160698A1 CN 2021115092 W CN2021115092 W CN 2021115092W WO 2022160698 A1 WO2022160698 A1 WO 2022160698A1
Authority
WO
WIPO (PCT)
Prior art keywords
master station
energy meter
electric energy
communication module
communication
Prior art date
Application number
PCT/CN2021/115092
Other languages
English (en)
French (fr)
Inventor
尹仕红
王益军
王波
李伟华
赵雪松
范小飞
郭兴林
Original Assignee
深圳供电局有限公司
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 深圳供电局有限公司 filed Critical 深圳供电局有限公司
Publication of WO2022160698A1 publication Critical patent/WO2022160698A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • the present application relates to the field of power grid technology, and in particular, to a communication method, system, device, computer equipment and storage medium of a metering automation system.
  • the power grid metering automation system completes the collection of electricity consumption data through the collection terminal, and reports the collected electricity consumption data to the relevant system.
  • the acquisition terminal is connected to the provincial metering automation master station, and the collected data is reported to the provincial master station.
  • the provincial master station stores, distributes and utilizes the data, and the data utilization efficiency is low.
  • a communication method for a metering automation system comprising:
  • the access request of the municipal master station In response to the access request of the municipal master station obtained from the first communication module, establish a communication connection with the municipal master station; the access request carries the energy meter information requirement;
  • the electric energy meter data is collected according to the configuration task issued by the provincial master station received through the second communication module;
  • the access request further includes a link establishment request; the establishment of a communication connection with the city master station in response to the access request from the city master station obtained from the first communication module includes:
  • the first communication module includes a monitoring service port; before the acquiring the link establishment request of the city master station, the method further includes:
  • the link establishment request of the city master station is monitored on the monitoring service port.
  • the access request carries the energy meter information requirement; the access request is used to trigger the collection terminal to establish a communication connection with the prefecture and city master station, and obtain the electric energy with the electric energy
  • the pre-stored electric energy meter data corresponding to the meter information requirement is returned; the electric energy meter number is collected by the collection terminal according to the configuration task issued by the provincial master station received through the second communication module;
  • the sending an access request to the first communication module of the collection terminal includes:
  • the energy meter information requirement is sent to the first communication module of the collection terminal.
  • a communication system of a metering automation system comprising a collection terminal, a prefecture-level master station and a provincial-level master station; the collection terminal is wirelessly connected with the city master station through a first communication module; the collection terminal communicates with the city through a second communication module The module is wirelessly connected to the provincial master station, where:
  • the provincial master station configured to issue a configuration task to the second communication module of the collection terminal
  • the acquisition terminal is further configured to acquire, through the second communication module, a configuration task issued by the provincial master station, and collect and store electric energy meter data according to the configuration task;
  • the city master station for sending an access request to the first communication module of the collection terminal
  • the collection terminal is configured to establish a communication connection with the city master station in response to the access request; acquire pre-stored electric energy meter data corresponding to the electric energy meter information requirement carried in the access request; The electric energy meter data is sent to the municipal master station through the first communication module.
  • a communication device for a metering automation system comprising:
  • a request response module configured to establish a communication connection with the city master station in response to an access request from the city master station obtained from the first communication module; the access request carries the energy meter information requirement;
  • a data acquisition module configured to acquire pre-stored electric energy meter data corresponding to the electric energy meter information requirement; the electric energy meter data is collected according to the configuration task issued by the provincial master station received through the second communication module;
  • a data sending module configured to send the electric energy meter data to the city master station through the first communication module.
  • a communication device for a metering automation system comprising:
  • a request sending module is used to send an access request to the first communication module of the collection terminal; the access request carries the energy meter information requirement; the access request is used to trigger the collection terminal to establish a communication connection with the city master station , obtain and return the pre-stored electric energy meter data corresponding to the electric energy meter information demand; get;
  • a data receiving module configured to receive the electric energy meter data sent by the collecting terminal through the first communication module.
  • a computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the processor implements the steps of the communication method of the metering automation system in the above method embodiments.
  • the acquisition terminal in the metering automation system establishes a connection with the city master station by responding to the access request of the city master station obtained from the first communication module.
  • Communication connection obtain the pre-stored electric energy meter data corresponding to the electric energy meter information demand carried in the access request, and send it to the prefecture and city master station through the first communication module, wherein the electric energy meter data is received by the collection terminal according to the second communication module.
  • the configuration tasks issued by the provincial master station are collected.
  • the acquisition terminal acquires configuration tasks through the second communication module to collect the energy meter data, and establishes a communication connection with the prefectural and municipal master station through the first communication module to send the electric energy meter data, so that the acquisition terminal can directly report to the prefectural and municipal master station without going through the provincial master station.
  • the station provides data, which improves the communication efficiency between the acquisition terminal of the metering automation system and the prefecture-level master station, thereby improving the communication efficiency of the metering automation system.
  • Fig. 1 is the application environment diagram of the communication method of the metering automation system in one embodiment
  • FIG. 2 is a schematic flowchart of a communication method of a metering automation system in one embodiment
  • FIG. 3 is a schematic flowchart of a communication method of a metering automation system in one embodiment
  • FIG. 4 is a schematic diagram of a dual-master communication system of a metering automation system in one embodiment
  • FIG. 5 is a schematic flowchart of a communication method for a dual-master station of a metering automation system in one embodiment
  • FIG. 6 is a schematic flowchart of a communication method for a dual-master station of a metering automation system in one embodiment
  • FIG. 7 is a structural block diagram of a communication device of a metering automation system in one embodiment
  • FIG. 8 is a structural block diagram of a communication device of a metering automation system in one embodiment
  • Figure 9 is a diagram of the internal structure of a computer device in one embodiment.
  • first ⁇ second involved in the embodiments of the present invention is only to distinguish similar objects, and does not represent a specific ordering of objects. It is understandable that “first ⁇ second” is allowed The specific order or sequence may be interchanged under circumstances. It should be understood that the “first ⁇ second” distinctions may be interchanged under appropriate circumstances to enable the embodiments of the invention described herein to be practiced in sequences other than those illustrated or described herein.
  • the communication method of the metering automation system provided by the present application can be applied to the application environment shown in FIG. 1 .
  • the collection terminal 102 communicates with the provincial master station 104 and the prefecture master station 106 respectively through the network.
  • the collection terminal 102 receives the configuration task issued by the provincial master station 104 to collect and store the power meter data, and the collection terminal 102 responds to the access request from the prefecture-level master station 106 and sends the power meter data corresponding to the access request to the city master station. 106.
  • the collection terminal 102, the provincial master station 104 and the municipal master station 106 may be terminals, including but not limited to various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices; they may also be servers, It can be implemented with an independent server or a server cluster composed of multiple servers.
  • a communication method of a metering automation system is provided, and the method is applied to the collection terminal 102 of FIG. 1 as an example for description, including the following steps:
  • Step S201 establishing a communication connection with the prefecture and city master station in response to the access request obtained from the first communication module.
  • the collection terminal 102 can be configured with a first communication module that communicates with the prefecture-level master station, and a second communication module that communicates with the provincial-level master station, wherein the first communication module can be used according to the access request of the prefecture-level master station 106 Establish a communication connection.
  • the municipal master station 106 needs to analyze the electricity consumption of the station area according to the user's electricity consumption data to make a decision on power distribution and consumption, thereby generating the information demand of the electric energy meter.
  • the access request of the municipal master station 106 may carry the electric energy meter information requirement, so as to obtain the corresponding electric energy meter data from the collection terminal 102 to meet the usage requirement.
  • the electric energy meter information requirements may include electric energy meter identifiers, data types of electric energy meter data, etc. that the municipal master station 106 needs to acquire data from the collection terminal 102 .
  • the collection terminal 102 can obtain an access request from the prefecture-city master station 106 through the first communication module, and establish a communication connection with the prefecture-city master station 106 according to the access request.
  • Step S202 acquiring pre-stored electric energy meter data corresponding to the electric energy meter information requirement.
  • the electric energy meter data may be collected by the collection terminal 102 according to the configuration task issued by the provincial master station 104 received through the second communication module.
  • the configuration task may be the data type, data format, collection period, storage mode, etc. of the electric energy meter data determined by the provincial master station 104 .
  • the collection terminal 102 can collect and store the user's electric energy meter data according to the configuration task issued by the provincial master station 104 , and send the stored electric energy meter data to the prefecture and city master station 106 according to the access request of the prefecture-level master station 106 . That is to say, the electric energy meter data sent by the collection terminal 102 to the municipal master station 106 is consistent with the electric energy meter data sent by the collection terminal 102 to the provincial master station 104 according to the configuration task of the provincial master station 104 .
  • the collection terminal 102 can obtain the corresponding electric energy meter data from the storage module according to the electric energy meter information requirement carried in the access request of the prefecture and city master station.
  • Step S203 sending the electric energy meter data to the city master station through the first communication module.
  • the collection terminal 102 may send the acquired electric energy meter data to the prefecture-city master station 106 through the first communication module, so as to realize the communication between the collection terminal 102 and the prefecture-city master station 106 .
  • the collection terminal 102 in the measurement automation system establishes a communication connection with the prefecture and city master station 106 by responding to the access request of the prefecture and city master station 106 obtained from the first communication module.
  • the pre-stored electric energy meter data corresponding to the electric energy meter information requirements are sent to the prefecture-level master station 106 through the first communication module, wherein the electric energy meter data is collected by the collection terminal 102 according to the provincial master station 104 received through the second communication module.
  • the configuration tasks sent are collected.
  • the acquisition terminal 102 acquires the configuration tasks of the provincial master station 104 through the second communication module to collect the energy meter data, and establishes a communication connection with the prefecture-level master station 106 through the first communication module to send the electric energy meter data, so that the collection terminal 102 does not need to pass the provincial master station 106.
  • the station 104 can directly provide data to the city master station 106 , which improves the communication efficiency between the metering automation system collection terminal 102 and the city master station 106 .
  • the access request further includes a link-building request, and in step S201, it is determined that in response to the access request of the prefecture-city master station obtained from the first communication module, the step of establishing a communication connection with the prefecture-city master station includes:
  • the collection terminal 102 may be configured in a mixed operation mode, and communicate with the provincial master station 104 and the prefecture master station 106 in different communication modes, respectively.
  • the collection terminal 102 can be used as a server, set a first communication module, configure corresponding parameters, and wait for the city master station 106 to connect as a client.
  • the collection terminal 102 acquires a link establishment request from the prefecture-city master station 106 , establishes a communication link in response to the request, and performs data communication with the prefecture-city master station 106 .
  • the collection terminal can obtain the information demand of the electric energy meter sent by the prefecture and city master station 106 through the communication link.
  • the parameters that need to be configured on the collection terminal 102 include relevant parameters of the provincial master station 104 and the prefecture master station 106 .
  • the IP address and monitoring service port of the provincial master station can be configured, and the service port of the collection terminal can be configured, and the operation mode can be configured as a mixed operation mode. Open access ports.
  • the solution of the above-mentioned embodiment by obtaining the chain establishment request of the prefecture-city master station 106, responding to the chain establishment request, and establishing a communication link with the prefecture-city master station 106, so as to obtain the electric energy meter information requirements of the prefecture-city master station 106, so that the collection terminal 102 is capable of communicating with the municipal master 106 .
  • the first communication module includes a monitoring service port, and before obtaining the chain building request of the prefecture-city master station, the above method further includes:
  • the monitoring service port may be used to obtain a link establishment request of the port and take over to establish a communication connection.
  • the collection terminal 102 can be configured in a mixed operation mode, and establishes a monitoring service through the monitoring service port in the first communication module to monitor the link establishment request of the prefecture and city master station
  • the collection terminal 102 can monitor the link establishment request of the city master station 106 through the monitor service port, which improves the efficiency of establishing a communication connection.
  • the collection terminal 102 may act as a client to communicate with the provincial master station 104 as a server.
  • the collection terminal 102 can collect and store the electric energy meter data according to the configuration task issued by the provincial master station 104 , package and store the data into the task data format and upload it to the provincial master station 104 .
  • a communication method for a metering automation system is provided, and the method is applied to the city master station 106 in FIG. 1 as an example to illustrate, including the following steps:
  • Step S301 sending an access request to a first communication module of a collection terminal.
  • the access request carries the energy meter information requirement; the access request is used to trigger the acquisition terminal 102 to establish a communication connection with the prefecture-level master station 106, obtain pre-stored energy meter data corresponding to the energy meter information requirement and return it; the energy meter
  • the data is collected by the collection terminal 102 according to the configuration task issued by the provincial master station 104 received through the second communication module.
  • the prefecture-level main station 106 usually obtains the required electric energy meter data through the provincial-level main station 104, and the provincial-level main station 104 only transmits key data back to the prefecture-level main station 106 based on the consideration of transmission bandwidth, and the timeliness and integrity of the data are not compromised. lower.
  • the prefecture-level master station 106 can communicate with the collection terminal 102 through a communication module corresponding to the collection terminal 102 to obtain the electric energy meter data obtained and stored by the collection terminal 102 according to the configuration task issued by the provincial master station 104 .
  • the prefecture-level master station 106 can send an access request to the first communication module configured in the collection terminal 102, so that the collection terminal 102 can establish a communication connection with the prefecture-level master station 106.
  • the electric energy meter data collected and stored by the configuration task issued by the station 104 is returned to the prefectural master station 106 .
  • Step S302 receiving the electric energy meter data sent by the collection terminal through the first communication module
  • the prefecture-city master station 106 may obtain the electric energy meter data corresponding to the electric energy meter information demand returned by the collection terminal 102 from the first communication module of the collection terminal 102 .
  • the electric energy meter data obtained by the municipal master station 106 is consistent with the electric energy meter data obtained by the provincial master station 104 from the collection terminal 102 .
  • the prefecture and city master station 106 establishes a communication connection by sending an access request carrying the information demand of the electric energy meter to the first communication module configured in the collection terminal 102, and obtains the information corresponding to the information demand of the electric energy meter from the collection terminal.
  • Electric energy meter data wherein the electric energy meter data is the data collected and stored by the collection terminal 102 according to the configuration task issued by the provincial master station 104 through the second communication module, so that the prefecture-level master station 106 does not need to pass through the provincial master station 104.
  • Obtaining the required electric energy meter data directly through the collection terminal 102 improves the communication efficiency between the city master station 106 and the collection terminal 102 of the metering automation system, thereby improving the communication efficiency of the metering automation system.
  • the sending of an access request to the first communication module of the collection terminal determined in step S301 includes:
  • IP of the acquisition terminal and the monitoring service port of the first communication module of the acquisition terminal access the network corresponding to the acquisition terminal, and establish a client socket; establish a communication link with the acquisition terminal according to the client socket and the monitoring service port; link, and send the energy meter information request to the first communication module of the collection terminal.
  • the prefecture-level master station 106 may configure parameters, and access the collection terminal 102 for communication in the form of a client.
  • the prefectural master station 106 can obtain the IP of the collection terminal 102 and the monitoring service port of the first communication module.
  • the terminal 102 receives the link establishment request from the city master station 106 and establishes a communication link to start communication.
  • the city master station 106 can send the energy meter information request to the first communication module of the collection terminal 102 through the client socket.
  • the prefecture and city master station 106 accesses the collection terminal 102 in the form of a client, and can read the relevant data stored in the collection terminal 102, restricting the data modification authority of the city master station 102, which is beneficial to ensure that the collection terminal 102 in the metering automation system, provincial Consistency of data in the level master station 104 and the city master station 106.
  • the municipal master station 106 may obtain the SIM card (Subscriber Identity Module, customer identification module) and APN (Access Point Name, access point name) corresponding to the collection terminal 102 from the operator after dialing into the network, and then obtain An IP address, a client socket is established according to the IP address, and the collection terminal 102 is connected through the client socket.
  • the network card of the city master station 106 is configured with APN, APN user name, and APN password, which may be consistent with the collection terminal 102 .
  • the prefecture-level master station can establish the configuration table of the acquisition terminal, which can include the address of the acquisition terminal, the SIM card IP inserted in the acquisition terminal, the monitoring service port of the acquisition terminal, the file of the electric energy meter attached to the acquisition terminal, and the information requirements of the electric energy meter, etc.
  • the city master station can establish a connection with the corresponding acquisition terminal through the client socket according to the acquisition terminal IP and monitoring service port in the acquisition terminal configuration table. After the connection is successful, the city master station 106 can send the information requirements of the electric energy meter to the collection terminal 102 to obtain the corresponding electric energy meter data.
  • the city master station 106 may periodically send a heartbeat to the collection terminal 102 to monitor the communication link status from the application layer. If the link is abnormal, the municipal master station 106 closes the client Socket through the system call close, and releases the Socket resource.
  • the city master station 106 can establish a client socket by acquiring the IP of the acquisition terminal 102 and the monitoring service port, and establish a communication link with the acquisition terminal 102 in the form of a client through the client socket and the monitoring service port. Communication is carried out, and the required electric energy meter data is directly obtained from the collection terminal 102, which improves the efficiency of the municipal master station 106 to obtain the electric energy meter data. consistency.
  • the above communication method is applied to the system structure of the dual-master station communication of the metering automation system for description.
  • FIG. 4 is a schematic diagram of a dual-master communication system, including a provincial master station, a prefecture-level master station, an APN wireless public network, a collection terminal and an electric energy meter.
  • the provincial master station operates in the standard protocol task mode, and the provincial master station can read and write the data of the collection terminal.
  • the acquisition terminal can collect the data of the user's electric energy meter through the broadband carrier communication method and according to the configuration tasks issued by the provincial master station, and store the collected data locally. Upload to the provincial master station.
  • the prefecture-level master station can use the standard protocol active collection method to actively obtain the stored data from the collection terminal.
  • FIG. 5 and Figure 6 are schematic diagrams of the communication flow of the dual-master station.
  • the acquisition terminal can be configured with communication-related parameters and operation modes, including provincial service IPs, ports, and terminal service ports. It is configured in mixed operation mode and communicates after dialing into the network.
  • the acquisition terminal connects to the provincial master station as a client, and communicates with the provincial master station after the connection is successful.
  • the acquisition terminal establishes the monitoring service of the monitoring service port, and communicates with the prefecture-level master station after the link is established successfully.
  • the communication between the collection terminal and the provincial master station and the city master station can be carried out separately.
  • the relevant parameters and operation mode of the collection terminal can be set by the collection terminal service provider according to the parameters provided by the power supply department before being put into operation.
  • steps in the flowcharts of FIGS. 2-6 are shown in sequence according to the arrows, these steps are not necessarily executed in the sequence shown by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIGS. 2-6 may include multiple steps or multiple stages. These steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. The execution of these steps or stages The order is also not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the steps or phases within the other steps.
  • a communication system of a metering automation system includes a collection terminal, a prefecture-level master station, and a provincial-level master station, wherein the collection terminal is wirelessly connected to the prefecture-level master station through a first communication module; The collection terminal is wirelessly connected with the civil master station through the second communication module, wherein:
  • the provincial master station is used to issue configuration tasks to the second communication module of the acquisition terminal;
  • the acquisition terminal is also used for acquiring the configuration task issued by the provincial master station through the second communication module, and collecting and storing the electric energy meter data according to the configuration task;
  • the city master station is used to send an access request to the first communication module of the collection terminal;
  • the collection terminal is used to establish a communication connection with the main station of the prefecture and city in response to the access request; obtain the pre-stored electric energy meter data corresponding to the electric energy meter information demand carried in the access request; send the electric energy meter data to the City main station;
  • the provincial master station is also used to obtain the electric energy meter data uploaded by the acquisition terminal according to the configuration task;
  • the city master station is also used to receive the electric energy meter data sent by the collection terminal through the first communication module.
  • the communication system of the above-mentioned measurement automation system provides the solution of the measurement automation communication system with dual master stations.
  • the issued configuration task collects and stores the data of the electric energy meter, and sends the electric energy meter data to the prefecture-level master station in the form of a server through the first communication module, so that the prefecture-level master station can directly obtain it through the collection terminal without going through the provincial master station.
  • the required electric energy meter data improves the communication efficiency between the city master station and the collection terminal of the metering automation system, thereby improving the communication efficiency of the metering automation system.
  • a communication device of a metering automation system is provided, and the device 700 includes:
  • the request response module 701 is used to establish a communication connection with the prefecture and city master station in response to the access request of the city master station obtained from the first communication module; the access request carries the energy meter information requirement;
  • the data acquisition module 702 is used for acquiring pre-stored electric energy meter data corresponding to the electric energy meter information requirement; the electric energy meter data is collected according to the configuration task issued by the provincial master station received through the second communication module;
  • the data sending module 703 is used for sending the electric energy meter data to the prefectural master station through the first communication module.
  • the access request further includes a link establishment request
  • the request response module 701 is further configured to obtain the chain establishment request of the prefecture-city master station; in response to the link establishment request, establish a communication link with the prefecture-city master station; way to obtain the energy meter information requirements carried in the access request.
  • the first communication module includes a monitoring service port
  • the above-mentioned apparatus 700 is further configured to obtain a preset monitoring service port; and monitor the link establishment request of the city master station on the monitoring service port.
  • a communication device for a metering automation system is provided, and the device 800 includes:
  • the request sending module 801 is used to send an access request to the first communication module of the collection terminal; the access request carries the energy meter information requirement; the access request is used to trigger the collection terminal to establish a communication connection with the prefecture and city master station, and obtain the connection with the electric energy meter.
  • the pre-stored electric energy meter data corresponding to the information demand is returned; the electric energy meter number is collected by the acquisition terminal according to the configuration task issued by the provincial master station received through the second communication module;
  • the data receiving module 802 is configured to receive the electric energy meter data sent by the collecting terminal through the first communication module.
  • the request sending module 801 is further configured to obtain the IP of the collection terminal and the monitoring service port of the first communication module of the collection terminal; access the network corresponding to the collection terminal, and establish a client socket;
  • the monitoring service port is used to establish a communication link with the collection terminal; through the communication link, the electric energy meter information requirement is sent to the first communication module of the collection terminal.
  • Each module in the communication device of the above-mentioned metering automation system can be implemented in whole or in part by software, hardware and combinations thereof.
  • the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • the communication method of the metering automation system provided in this application can be applied to a computer device, and the computer device can be a server, and its internal structure diagram can be as shown in FIG. 9 .
  • the computer device includes a processor, memory, and a network interface connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium, an internal memory.
  • the nonvolatile storage medium stores an operating system, a computer program, and a database.
  • the internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium.
  • the database of the computer equipment is used to store the acquired electric energy meter data.
  • the network interface of the computer device is used to communicate with an external terminal through a network connection.
  • the computer program when executed by the processor, implements a communication method of a metrology automation system.
  • FIG. 9 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
  • a computer device including a memory and a processor, the memory stores a computer program, and the processor implements the steps in the above method embodiments when the processor executes the computer program.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps in the foregoing method embodiments.
  • Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, or optical memory, and the like.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • the RAM may be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Abstract

一种计量自动化***的通信方法、***、装置(700,800)、计算机设备和存储介质,其提升提高计量自动化***通信的效率。通信方法包括:计量自动化***中的采集终端(102)通过响应从第一通信模块获取到的地市主站(106)的访问请求,与地市主站(106)建立通信连接(S201),获取与访问请求中携带的电能表信息需求对应的预先存储的电能表数据(S202),通过第一通信模块发送给地市主站(106)(S203),其中电能表数据是采集终端(102)根据通过第二通信模块接收到的省级主站(104)下发的配置任务采集得到。采集终端(102)通过第二通信模块获取配置任务进行电能表数据采集,通过第一通信模块与地市主站(106)建立通信连接发送电能表数据。

Description

计量自动化***的通信方法、***、装置和计算机设备 技术领域
本申请涉及电网技术领域,特别是涉及一种计量自动化***的通信方法、***、装置、计算机设备和存储介质。
背景技术
随着电网自动化技术的发展,计量自动化***日益规模化。电网计量自动化***通过采集终端完成用电数据的采集,并将采集到的用电数据上报给相关***。
目前的技术中,采集终端接入省级计量自动化主站,并将采集到的数据上报给省级主站,由省级主站进行数据的存储、分配和利用,数据的利用效率较低。
发明内容
基于此,有必要针对目前技术中存在的采集终端采集到的用电数据利用效率低的技术问题,提供一种计量自动化***的通信方法、***、装置、计算机设备和存储介质。
一种计量自动化***的通信方法,所述方法包括:
响应于从第一通信模块获取到的地市主站的访问请求,与所述地市主站建立通信连接;所述访问请求中携带有电能表信息需求;
获取与所述电能表信息需求对应的预先存储的电能表数据;所述电能表数据根据通过第二通信模块接收到的省级主站下发的配置任务采集得到;
将所述电能表数据通过所述第一通信模块发送给所述地市主站。
在其中一个实施例中,所述访问请求还包括建链请求;所述响应于从第一通信模块获取到的地市主站的访问请求,与所述地市主站建立通信连接,包括:
获取所述地市主站的建链请求;
响应于所述建链请求,与所述地市主站建立通信链路;
通过所述通信链路,获取所述访问请求中携带的所述电能表信息需求。
在其中一个实施例中,所述第一通信模块包括监听服务端口;所述获取所述地市主站的建链请求之前,所述方法还包括:
获取预先设置的监听服务端口;
在所述监听服务端口监听所述地市主站的所述建链请求。
一种计量自动化***的通信方法,应用于地市主站,所述方法包括:
向采集终端的第一通信模块发送访问请求;所述访问请求中携带有电能表信息需求;所述访问请求用于触发所述采集终端建立与地市主站的通信连接,获取与所述电能表信息需求对应的预先存储的电能表数据并返回;所述电能表数为所述采集终端据根据通过第二通信模块接收到的省级主站下发的配置任务采集得到;
接收所述采集终端通过所述第一通信模块发送的所述电能表数据。
在其中一个实施例中,所述向采集终端的第一通信模块发送访问请求,包括:
获取所述采集终端的IP和所述采集终端的所述第一通信模块的监听服务端口;
接入所述采集终端对应的网络,建立客户端Socket;
根据所述客户端Socket和所述监听服务端口,与所述采集终端建立通信链路;
通过所述通信链路,向所述采集终端的所述第一通信模块发送所述电能表信息需求。
一种计量自动化***的通信***,包括采集终端、地市主站和省级主站;所述采集终端通过第一通信模块与所述地市主站无线连接;所述采集终端通过第二通信模块与所述省级主站无线连接,其中:
所述省级主站,用于向所述采集终端的所述第二通信模块下发配置任务;
所述采集终端,还用于通过所述第二通信模块获取所述省级主站下发的配置任务,根据所述配置任务采集电能表数据并存储;
所述地市主站,用于向所述采集终端的所述第一通信模块发送访问请求;
所述采集终端,用于响应于所述访问请求,与所述地市主站建立通信连接;获取与所述访问请求中携带的电能表信息需求对应的预先存储的电能表数据;将所述电能表数据通过所述第一通信模块发送给所述地市主站。
一种计量自动化***的通信装置,所述装置包括:
请求响应模块,用于响应于从第一通信模块获取到的地市主站的访问请求,与所述地市主站建立通信连接;所述访问请求中携带有电能表信息需求;
数据获取模块,用于获取与所述电能表信息需求对应的预先存储的电能表数据;所述电能表数据根据通过第二通信模块接收到的省级主站下发的配置任务采集得到;
数据发送模块,用于将所述电能表数据通过所述第一通信模块发送给所述地市主站。
一种计量自动化***的通信装置,所述装置包括:
请求发送模块,用于向采集终端的第一通信模块发送访问请求;所述访问请求中携带有电能表信息需求;所述访问请求用于触发所述采集终端建立与地市主站的通信连接,获取与所述电能表信息需求对应的预先存储的电能表数据并返回;所述电能表数为所述采集终端据根据通过第二通信模块接收到的省级主站下发的配置任务采集得到;
数据接收模块,用于接收所述采集终端通过所述第一通信模块发送的所述电能表数据。
一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述各方法实施例中计量自动化***的通信方法的步骤。
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述各方法实施例中计量自动化***的通信方法的步骤:
上述计量自动化***的通信方法、***、装置、计算机设备和存储介质中,计量自动化***中的采集终端通过响应从第一通信模块获取到的地市主站的访问请求,与地市主站建立通信连接,获取与访问请求中携带的电能表信息需求对应的预先存储的电能表数据,通过第一通信模块发送给地市主站,其中电能 表数据是采集终端根据通过第二通信模块接收到的省级主站下发的配置任务采集得到。采集终端通过第二通信模块获取配置任务进行电能表数据采集,通过第一通信模块与地市主站建立通信连接发送电能表数据,使得采集终端无需通过省级主站即可直接向地市主站提供数据,提高了计量自动化***采集终端和地市主站之间通信的效率,进而提高计量自动化***通信的效率。
附图说明
图1为一个实施例中计量自动化***的通信方法的应用环境图;
图2为一个实施例中计量自动化***的通信方法的流程示意图;
图3为一个实施例中计量自动化***的通信方法的流程示意图;
图4为一个实施例中计量自动化***双主站通信***的示意图;
图5为一个实施例中计量自动化***双主站通信方法的流程示意图;
图6为一个实施例中计量自动化***双主站通信方法的流程示意图;
图7为一个实施例中计量自动化***的通信装置的结构框图;
图8为一个实施例中计量自动化***的通信装置的结构框图;
图9为一个实施例中计算机设备的内部结构图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
需要说明的是,本发明实施例所涉及的术语“第一\第二”仅仅是是区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二”在允许的情况下可以互换特定的顺序或先后次序。应该理解“第一\第二”区分的对象在适当情况下可以互换,以使这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。
本申请提供的计量自动化***的通信方法,可以应用于如图1所示的应用环境中。其中,采集终端102分别通过网络与省级主站104和地市主站106进 行通信。采集终端102接收省级主站104下发的配置任务进行电能表数据采集并存储,采集终端102响应地市主站106的访问请求,将与访问请求对应的电能表数据发送给地市主站106。其中,采集终端102、省级主站104和地市主站106可以是终端,包括但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备;也可以是服务器,可以用独立的服务器或者是多个服务器组成的服务器集群来实现。
在一个实施例中,如图2所示,提供了计量自动化***的通信方法,以该方法应用于图1的采集终端102为例进行说明,包括以下步骤:
步骤S201,响应于从第一通信模块获取到的地市主站的访问请求,与地市主站建立通信连接。
其中,采集终端102可以配置与地市主站进行通信的第一通信模块,以及与省级主站进行通信的第二通信模块,其中第一通信模块可以用于根据地市主站106的访问请求建立通信连接。在计量自动化***的实际运行中,地市主站106需根据用户的用电数据,分析台区的用电情况以进行配用电决策,从而产生电能表信息需求。地市主站106的访问请求中可以携带电能表信息需求,以从采集终端102获得相应的电能表数据,满足使用需要。电能表信息需求可以包括地市主站106需要从采集终端102获取数据的电能表标识、电能表数据的数据类型等。
具体实现中,采集终端102可以通过第一通信模块获取地市主站106的访问请求,根据该访问请求,与地市主站106建立通信连接。
步骤S202,获取与电能表信息需求对应的预先存储的电能表数据。
其中,电能表数据可以是采集终端102根据通过第二通信模块接收到的省级主站104下发的配置任务采集得到。配置任务可以是省级主站104确定的电能表数据的数据类型、数据格式、采集周期以及存储模式等。采集终端102可以根据省级主站104下发的配置任务采集用户的电能表数据并进行存储,并根据地市主站106的访问请求,将存储的该电能表数据发送给地市主站106。也就是说,采集终端102发送给地市主站106的电能表数据,与采集终端102根据省级主站104的配置任务发送给省级主站104的电能表数据保持一致。
具体实现中,采集终端102可以根据地市主站的访问请求中携带的电能表信息需求,从存储模块获得对应的电能表数据。
步骤S203,将电能表数据通过第一通信模块发送给地市主站。
具体实现中,采集终端102可以通过第一通信模块,将获取到的电能表数据发送给地市主站106,实现采集终端102与地市主站106之间的通信。
上述计量自动化***方法中,计量自动化***中的采集终端102通过响应从第一通信模块获取到的地市主站106的访问请求,与地市主站106建立通信连接,获取与访问请求中携带的电能表信息需求对应的预先存储的电能表数据,通过第一通信模块发送给地市主站106,其中电能表数据是采集终端102根据通过第二通信模块接收到的省级主站104下发的配置任务采集得到。采集终端102通过第二通信模块获取省级主站104配置任务进行电能表数据采集,通过第一通信模块与地市主站106建立通信连接发送电能表数据,使得采集终端102无需通过省级主站104即可直接向地市主站106提供数据,提高了计量自动化***采集终端102和地市主站106之间通信的效率。
在一个实施例中,访问请求还包括建链请求,步骤S201中确定响应于从第一通信模块获取到的地市主站的访问请求,与地市主站建立通信连接的步骤包括:
获取地市主站的建链请求;响应于建链请求,与地市主站建立通信链路;通过通信链路,获取访问请求中携带的电能表信息需求。
本实施例中,采集终端102可以配置为混合运行模式,分别以不同的通信模式与省级主站104和地市主站106进行通信。采集终端102可以作为服务端,设置第一通信模块,并进行相应的参数配置,等待地市主站106作为客户端来连接。采集终端102获取地市主站106的建链请求,响应该请求建立通信链路,与地市主站106进行数据通信。采集终端可以通过通信链路获得地市主站106发送的电能表信息需求。
在一些实施例中,采集终端102在需要配置的参数包括省级主站104和地市主站106的相关参数。具体来说,采集终端102在投入使用前,可以配置好省级主站的IP地址和监听服务端口,并配置采集终端服务端口,并将运行模式 配置为混合运行模式,对地市主站106开放接入端口。
上述实施例的方案,通过获取地市主站106的建链请求,响应建链请求,与地市主站106建立通信链路,以获取地市主站106的电能表信息需求,使得采集终端102能够与地市主站106进行通信。
在一个实施例中,第一通信模块包括监听服务端口,获取地市主站的建链请求之前,上述方法还包括:
获取预先设置的监听服务端口;在监听服务端口监听地市主站的建链请求。
本实施例中,监听服务端口可以用于获取端口的建链请求并接管,以建立通信连接。在与地市主站106通信中,采集终端102可以配置为混合运行模式,通过第一通信模块中的监听服务端口建立监听服务,以监听地市主站的建链请求
上述实施例的方案,采集终端102可以通过监听服务端口监听地市主站106的建链请求,提升了建立通信连接的效率。
在一些实施例中,采集终端102可以作为客户端与作为服务端的省级主站104进行通信。采集终端102可以根据省级主站104下发的配置任务采集电能表数据并存储,打包存储的数据成任务数据格式后上传给省级主站104。
在一个实施例中,如图3所示,提供了一种计量自动化***的通信方法,以该方法应用于图1的地市主站106为例进行说明,包括以下步骤:
步骤S301,向采集终端的第一通信模块发送访问请求。
其中,访问请求中携带有电能表信息需求;访问请求用于触发采集终端102建立与地市主站106的通信连接,获取与电能表信息需求对应的预先存储的电能表数据并返回;电能表数据为采集终端102据根据通过第二通信模块接收到的省级主站104下发的配置任务采集得到。地市主站106通常通过省级主站104获得所需要的电能表数据,省级主站104基于传输带宽考虑,仅回传关键数据给地市主站106,数据的时效性和完整性都较低。地市主站106可以通过与采集终端102对应的通信模块,与采集终端102进行通信连接,获得采集终端102根据省级主站104下发的配置任务获取并存储的电能表数据。
具体实现中,地市主站106可以向采集终端102的配置的第一通信模块发 送访问请求,使得采集终端102与地市主站106建立通信连接,根据电能表信息需求,获取根据省级主站104下发的配置任务采集并存储的电能表数据,返回给地市主站106。
步骤S302,接收采集终端通过第一通信模块发送的电能表数据
具体实现中,地市主站106可以从采集终端102的第一通信模块,获得采集终端102返回的与电能表信息需求对应的电能表数据。在这种模式下,地市主站106获取的电能表数据与省级主站104从采集终端102获得的电能表数据保持一致。
上述计量自动化***方法中,地市主站106通过向采集终端102的配置的第一通信模块发送携带有电能表信息需求的访问请求,建立通信连接并从采集终端获取与电能表信息需求对应的电能表数据,其中,电能表数据是采集终端102根据省级主站104通过第二通信模块下发的配置任务采集并存储的数据,使得地市主站106无需通过省级主站104即可直接通过采集终端102获取所需的电能表数据,提高了计量自动化***地市主站106和采集终端102之间通信的效率,进而提高了计量自动化***的通信效率。
在一个实施例中,步骤S301确定的向采集终端的第一通信模块发送访问请求,包括:
获取采集终端的IP和采集终端的第一通信模块的监听服务端口;接入采集终端对应的网络,建立客户端Socket;根据客户端Socket和监听服务端口,与采集终端建立通信链路;通过通信链路,向采集终端的第一通信模块发送电能表信息需求。
本实施例中,地市主站106可以进行参数配置,以客户端的方式接入采集终端102进行通信。地市主站106可以获取到采集终端102的IP和第一通信模块的监听服务端口,地市主站在拨号入网后建立客户端Socket,基于客户端Socket连接采集终端102的监听服务端口,采集终端102接收地市主站106的建链请求,建立通信链路开始进行通信,地市主站106可以通过客户端Socket向采集终端102的第一通信模块发送电能表信息需求。地市主站106以客户端的方式接入采集终端102,可以读取采集终端102存储的相关数据,限制地市主 站102对数据的修改权限,有利于确保计量自动化***中采集终端102、省级主站104和地市主站106中数据的一致性。
在一些实施例中,地市主站106可以从运营商获得与采集终端102对应的SIM卡(Subscriber Identity Module,客户识别模块)和APN(Access Point Name,接入点名称)拨号入网后,获得一个IP地址,根据该IP地址建立客户端Socket,通过客户端Socket连接采集终端102。其中,地市主站106的网卡配置APN,APN用户名,APN密码,可以与采集终端102一致。地市主站可以建立采集终端配置表,可以包括采集终端地址、采集终端所插SIM卡IP、采集终端监听服务端口、采集终端下所挂电能表档案以及电能表信息需求等。地市主站可以根据采集终端配置表中的采集终端IP和监听服务端口,通过客户端Socket与对应的采集终端建立连接。连接成功后,地市主站106可以向采集终端102发送所电能表信息需求,以获得对应的电能表数据。在客户端Socket与采集终端102连接过程中,地市主站106可以定时向采集终端102发送心跳,从应用层监测通信链路状态。若链路异常,则地市主站106通过***调用close来关闭该客户端Socket,并释放Socket资源。
上述实施例的方案,地市主站106可以通过获取采集终端102的IP和监听服务端口,建立客户端Socket,通过客户端Socket和监听服务端口,以客户端的方式与采集终端102建立通信链路进行通信,直接从采集终端102获取所需的电能表数据,提高了地市主站106获取电能表数据的效率,地市主站106以客户端的方式接入,进一步确保计量自动化***中数据的一致性。
为了进一步阐述本申请计量自动化***的通信方法,将上述通信方法应用于计量自动化***双主站通信的***结构进行说明。
图4是一种双主站通信***的示意图,包括省级主站、地市主站、APN无线公网、采集终端及电能表。省级主站采用标准规约的任务方式运行,省级主站可以对采集终端的数据进行读写操作。采集终端可以通过宽带载波通讯方式,根据省级主站下发的配置任务,采集用户电能表数据,并将采集到的数据存储在本地,以任务方式主动上报的采集方式,通过APN无线公网上传给省级主站。地市主站可以采用标准规约的主动采集方式,主动从采集终端获取存储的数据。
图5和图6是双主站通信流程示意图,采集终端可以配置通信相关参数以及运行模式,包括省级服务IP以及端口、终端服务端口,并配置为混合运行模式,拨号入网后进行通信。在与省级主站的通信中,采集终端作为客户端连接省级主站,连接成功后与省级主站进行通信。在与地市主站的通信中,采集终端建立监听服务端口的监听服务,与地市主站建链成功后进行通信,其中,地市主站可以作为客户端连接采集终端。采集终端与省级主站及地市主站的通信可以分别进行。另外,采集终端的相关参数以及运行模式,可以在投运前由采集终端服务商根据供电部门提供的参数进行设置。
应该理解的是,虽然图2-6的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2-6中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。
在一个实施例中,提供了一种计量自动化***的通信***,该***包括采集终端、地市主站和省级主站,其中,采集终端通过第一通信模块与地市主站无线连接;采集终端通过第二通信模块与省级主站无线连接,其中:
省级主站,用于向采集终端的第二通信模块下发配置任务;
采集终端,还用于通过第二通信模块获取省级主站下发的配置任务,根据配置任务采集电能表数据并存储;
地市主站,用于向采集终端的第一通信模块发送访问请求;
采集终端,用于响应于访问请求,与地市主站建立通信连接;获取与访问请求中携带的电能表信息需求对应的预先存储的电能表数据;将电能表数据通过第一通信模块发送给地市主站;
省级主站,还用于获取采集终端根据配置任务上传的电能表数据;
地市主站,还用于接收采集终端通过第一通信模块发送的电能表数据。
上述计量自动化***的通信***,提供了双主站的计量自动化通信***的 方案,采集终端配置为混合运行模式,通过第二通信模块作为客户端接入省级主站,按照省级主站的下发的配置任务采集并存储电能表数据,通过第一通信模块以服务端的方式,向地市主站发送电能表数据,使得地市主站无需通过省级主站即可直接通过采集终端获取所需的电能表数据,提高了计量自动化***地市主站和采集终端之间通信的效率,进而提高了计量自动化***的通信效率。
在一个实施例中,如图7所示,提供了一种计量自动化***的通信装置,该装置700包括:
请求响应模块701,用于响应于从第一通信模块获取到的地市主站的访问请求,与地市主站建立通信连接;访问请求中携带有电能表信息需求;
数据获取模块702,用于获取与电能表信息需求对应的预先存储的电能表数据;电能表数据根据通过第二通信模块接收到的省级主站下发的配置任务采集得到;
数据发送模块703,用于将电能表数据通过第一通信模块发送给地市主站。
在一个实施例中,访问请求还包括建链请求,请求响应模块701进一步用于获取地市主站的建链请求;响应于建链请求,与地市主站建立通信链路;通过通信链路,获取访问请求中携带的电能表信息需求。
在一个实施例中,第一通信模块包括监听服务端口,上述装置700进一步用于获取预先设置的监听服务端口;在监听服务端口监听地市主站的建链请求。
在一个实施例中,如图8所示,提供了一种计量自动化***的通信装置,该装置800包括:
请求发送模块801,用于向采集终端的第一通信模块发送访问请求;访问请求中携带有电能表信息需求;访问请求用于触发采集终端建立与地市主站的通信连接,获取与电能表信息需求对应的预先存储的电能表数据并返回;电能表数为采集终端据根据通过第二通信模块接收到的省级主站下发的配置任务采集得到;
数据接收模块802,用于接收采集终端通过第一通信模块发送的电能表数据。
在一个实施例中,请求发送模块801,进一步用于获取采集终端的IP和采 集终端的第一通信模块的监听服务端口;接入采集终端对应的网络,建立客户端Socket;根据客户端Socket和监听服务端口,与采集终端建立通信链路;通过通信链路,向采集终端的第一通信模块发送电能表信息需求。
关于计量自动化***的通信装置的具体限定可以参见上文中对于计量自动化***的通信方法的限定,在此不再赘述。上述计量自动化***的通信装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
本申请提供的计量自动化***的通信方法,可以应用于计算机设备,该计算机设备可以是服务器,其内部结构图可以如图9所示。该计算机设备包括通过***总线连接的处理器、存储器和网络接口。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作***、计算机程序和数据库。该内存储器为非易失性存储介质中的操作***和计算机程序的运行提供环境。该计算机设备的数据库用于存储获取到的电能表数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种计量自动化***的通信方法。
本领域技术人员可以理解,图9中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器存储有计算机程序,该处理器执行计算机程序时实现上述各方法实施例中的步骤。
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述各方法实施例中的步骤。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于 一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (10)

  1. 一种计量自动化***的通信方法,其特征在于,应用于采集终端,所述方法包括:
    响应于从第一通信模块获取到的地市主站的访问请求,与所述地市主站建立通信连接;所述访问请求中携带有电能表信息需求;
    获取与所述电能表信息需求对应的预先存储的电能表数据;所述电能表数据根据通过第二通信模块接收到的省级主站下发的配置任务采集得到;
    将所述电能表数据通过所述第一通信模块发送给所述地市主站。
  2. 根据权利要求1所述的方法,其特征在于,所述访问请求还包括建链请求;所述响应于从第一通信模块获取到的地市主站的访问请求,与所述地市主站建立通信连接,包括:
    获取所述地市主站的建链请求;
    响应于所述建链请求,与所述地市主站建立通信链路;
    通过所述通信链路,获取所述访问请求中携带的所述电能表信息需求。
  3. 根据权利要求2所述的方法,其特征在于,所述第一通信模块包括监听服务端口;所述获取所述地市主站的建链请求之前,所述方法还包括:
    获取预先设置的监听服务端口;
    在所述监听服务端口监听所述地市主站的所述建链请求。
  4. 一种计量自动化***的通信方法,其特征在于,应用于地市主站,所述方法包括:
    向采集终端的第一通信模块发送访问请求;所述访问请求中携带有电能表信息需求;所述访问请求用于触发所述采集终端建立与地市主站的通信连接,获取与所述电能表信息需求对应的预先存储的电能表数据并返回;所述电能表数为所述采集终端据根据通过第二通信模块接收到的省级主站下发的配置任务采集得到;
    接收所述采集终端通过所述第一通信模块发送的所述电能表数据。
  5. 根据权利要求4所述的方法,其特征在于,所述向采集终端的第一通信模块发送访问请求,包括:
    获取所述采集终端的IP和所述采集终端的所述第一通信模块的监听服务端 口;
    接入所述采集终端对应的网络,建立客户端Socket;
    根据所述客户端Socket和所述监听服务端口,与所述采集终端建立通信链路;
    通过所述通信链路,向所述采集终端的所述第一通信模块发送所述电能表信息需求。
  6. 一种计量自动化***的通信***,其特征在于,包括采集终端、地市主站和省级主站;所述采集终端通过第一通信模块与所述地市主站无线连接;所述采集终端通过第二通信模块与所述省级主站无线连接,其中:
    所述省级主站,用于向所述采集终端的所述第二通信模块下发配置任务;
    所述采集终端,还用于通过所述第二通信模块获取所述省级主站下发的配置任务,根据所述配置任务采集电能表数据并存储;
    所述地市主站,用于向所述采集终端的所述第一通信模块发送访问请求;
    所述采集终端,用于响应于所述访问请求,与所述地市主站建立通信连接;获取与所述访问请求中携带的电能表信息需求对应的预先存储的电能表数据;将所述电能表数据通过所述第一通信模块发送给所述地市主站。
  7. 一种计量自动化***的通信装置,其特征在于,所述装置包括:
    请求响应模块,用于响应于从第一通信模块获取到的地市主站的访问请求,与所述地市主站建立通信连接;所述访问请求中携带有电能表信息需求;
    数据获取模块,用于获取与所述电能表信息需求对应的预先存储的电能表数据;所述电能表数据根据通过第二通信模块接收到的省级主站下发的配置任务采集得到;
    数据发送模块,用于将所述电能表数据通过所述第一通信模块发送给所述地市主站。
  8. 一种计量自动化***的通信装置,其特征在于,所述装置包括:
    请求发送模块,用于向采集终端的第一通信模块发送访问请求;所述访问请求中携带有电能表信息需求;所述访问请求用于触发所述采集终端建立与地市主站的通信连接,获取与所述电能表信息需求对应的预先存储的电能表数据 并返回;所述电能表数为所述采集终端据根据通过第二通信模块接收到的省级主站下发的配置任务采集得到;
    数据接收模块,用于接收所述采集终端通过所述第一通信模块发送的所述电能表数据。
  9. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至6中任一项所述的方法的步骤。
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至6中任一项所述的方法的步骤。
PCT/CN2021/115092 2021-01-27 2021-08-27 计量自动化***的通信方法、***、装置和计算机设备 WO2022160698A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110107619.2A CN112885069B (zh) 2021-01-27 2021-01-27 计量自动化***的通信方法、***、装置和计算机设备
CN202110107619.2 2021-01-27

Publications (1)

Publication Number Publication Date
WO2022160698A1 true WO2022160698A1 (zh) 2022-08-04

Family

ID=76052490

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/115092 WO2022160698A1 (zh) 2021-01-27 2021-08-27 计量自动化***的通信方法、***、装置和计算机设备

Country Status (2)

Country Link
CN (1) CN112885069B (zh)
WO (1) WO2022160698A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112885069B (zh) * 2021-01-27 2022-04-12 深圳供电局有限公司 计量自动化***的通信方法、***、装置和计算机设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7248978B2 (en) * 1997-02-12 2007-07-24 Power Measurement Ltd. System and method for routing power management data via XML firewall
CN201674278U (zh) * 2010-01-13 2010-12-15 山东电力集团公司 省市两级分布式供购售一体化在线监测***
CN105337408A (zh) * 2015-05-29 2016-02-17 国家电网公司 电能信息采集现场快速消缺***
CN105657016A (zh) * 2015-12-30 2016-06-08 青岛高校信息产业股份有限公司 一种重点用能单位能耗在线监测方法
CN110928258A (zh) * 2019-12-04 2020-03-27 北京杰控科技有限公司 一种工业数据采集***
CN112885069A (zh) * 2021-01-27 2021-06-01 深圳供电局有限公司 计量自动化***的通信方法、***、装置和计算机设备

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IT1257167B (it) * 1992-10-27 1996-01-05 Metodo per il miglioramento della gestione delle reti di distribuzionein particolare di gas, acqua, energia elettrica, calore.
KR20010109852A (ko) * 2000-06-02 2001-12-12 김태훈 계량기 자동관리 시스템
KR100577547B1 (ko) * 2003-10-01 2006-05-10 이운영 특정구역 원격감시 시스템 및 그 운영방법
JP4481858B2 (ja) * 2005-03-30 2010-06-16 株式会社日立製作所 情報伝送方法及び情報伝送システム
KR100893625B1 (ko) * 2007-04-26 2009-04-20 제아정보통신(주) 원격 제어 지원 가능한 홍수 예/경보 시스템
CN101431240A (zh) * 2008-12-19 2009-05-13 四川省电力公司 一种计及梯级电站的省地一体化avc***控制方法
CN101958582A (zh) * 2010-10-29 2011-01-26 广东电网公司电力科学研究院 变电站视频及环境监控省级主站***
CN102539911A (zh) * 2012-01-13 2012-07-04 广东电网公司电力科学研究院 物联网架构下的电能智能计量***
CN104917793A (zh) * 2014-03-13 2015-09-16 ***通信集团河北有限公司 一种访问控制方法、装置及***
CN103824168B (zh) * 2014-03-17 2017-09-01 国家电网公司 一种基于两级部署和多级应用模式的电能服务管理平台
CN103886733A (zh) * 2014-04-01 2014-06-25 珠海市钰盈电子科技有限公司 一种智能gprs服务端集中器
EP3150019B1 (en) * 2014-06-02 2020-07-22 Nokia Solutions and Networks Oy Multipath tcp with lte connections
CN104167740B (zh) * 2014-08-12 2016-06-08 广东电网公司电力调度控制中心 500kV变电站35kV电容电抗省地协同自动控制***及方法
CN105356620B (zh) * 2015-09-29 2019-01-15 国网内蒙古东部电力有限公司电力科学研究院 电能质量监测***
CN106162583B (zh) * 2016-09-07 2020-12-22 高新兴物联科技有限公司 一种抄表***及其处理方法
CN106448110B (zh) * 2016-10-26 2022-09-16 南方电网科学研究院有限责任公司 基于北斗卫星的计量自动化数据采集***及方法
CN209087126U (zh) * 2018-11-12 2019-07-09 广州贝罗信息科技有限公司 一种基于北斗的双通道的电力采集终端
CN209233564U (zh) * 2019-06-11 2019-08-09 成都宽域信息安全技术有限公司 电力监控***多层布局网络安全态势感知***
CN210983731U (zh) * 2019-12-10 2020-07-10 深圳供电局有限公司 电能表智能采集装置、电能表及***
CN111475478A (zh) * 2020-02-28 2020-07-31 国电南瑞科技股份有限公司 一种异构配电自动化***、省地1+n图形同步方法、省级配电主站及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7248978B2 (en) * 1997-02-12 2007-07-24 Power Measurement Ltd. System and method for routing power management data via XML firewall
CN201674278U (zh) * 2010-01-13 2010-12-15 山东电力集团公司 省市两级分布式供购售一体化在线监测***
CN105337408A (zh) * 2015-05-29 2016-02-17 国家电网公司 电能信息采集现场快速消缺***
CN105657016A (zh) * 2015-12-30 2016-06-08 青岛高校信息产业股份有限公司 一种重点用能单位能耗在线监测方法
CN110928258A (zh) * 2019-12-04 2020-03-27 北京杰控科技有限公司 一种工业数据采集***
CN112885069A (zh) * 2021-01-27 2021-06-01 深圳供电局有限公司 计量自动化***的通信方法、***、装置和计算机设备

Also Published As

Publication number Publication date
CN112885069A (zh) 2021-06-01
CN112885069B (zh) 2022-04-12

Similar Documents

Publication Publication Date Title
US9883321B2 (en) Method and apparatus for M2M device subscription
CN105095022B (zh) 一种数据备份方法及装置
CN110515522B (zh) 设备数据的接入方法、装置、计算机设备和存储介质
CN104321717A (zh) 远程服务器的功率管理控制
CN103078759B (zh) 计算节点的管理方法及装置、***
Qian et al. An edge-computing paradigm for internet of things over power line communication networks
EP3146766B1 (en) Managing effects of a scheduled outage of mains power
CN104751305A (zh) 一种基于故障分析抢修的智能交互***及其控制方法
CN113703363B (zh) 智能边缘计算网关在电力调度云的即插即用方法
CN110716989A (zh) 维度数据处理方法、装置、计算机设备和存储介质
CN104065538B (zh) 网络性能的测量控制方法、控制服务器和***
WO2022160698A1 (zh) 计量自动化***的通信方法、***、装置和计算机设备
CN112019378B (zh) 一种故障排查方法及装置
CN113285926A (zh) 面向电力监控***的蜜罐诱捕方法、装置、计算机设备
CN114217981A (zh) 银企直连的通信方法、装置、计算机设备和存储介质
US11650263B1 (en) System for determining power consumption by devices
Cai et al. Design and implementation of a WiFi sensor device management system
CN114138501A (zh) 用于现场安全监控的边缘智能服务的处理方法和装置
CN112015813B (zh) 配电网的数据共享方法、***、装置和计算机设备
CN104462235A (zh) 一种基于Restful Web Service的物联网通用事件服务机制
Bellin et al. A preliminary study on the power consumption of virtualized edge 5g core networks
CN114978814A (zh) 基于电力物联网的共享用电网关和***
CN112468350A (zh) 一种电力物联网的运行参数配置管理方法及装置
Bartol et al. Secure data exchange between IoT endpoints for energy balancing using distributed ledger
CN106330486A (zh) 一种通信***网管终端移动化的方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21922293

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 07.12.2023)