CN115134389B - Parallel meter reading method, device, equipment and computer readable storage medium - Google Patents

Parallel meter reading method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN115134389B
CN115134389B CN202211068672.7A CN202211068672A CN115134389B CN 115134389 B CN115134389 B CN 115134389B CN 202211068672 A CN202211068672 A CN 202211068672A CN 115134389 B CN115134389 B CN 115134389B
Authority
CN
China
Prior art keywords
meter reading
concentrator
parallel
meter
reading request
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
CN202211068672.7A
Other languages
Chinese (zh)
Other versions
CN115134389A (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.)
Svi Intelligent Measurement System Service Changsha Co ltd
Original Assignee
Svi Intelligent Measurement System Service Changsha 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 Svi Intelligent Measurement System Service Changsha Co ltd filed Critical Svi Intelligent Measurement System Service Changsha Co ltd
Priority to CN202211068672.7A priority Critical patent/CN115134389B/en
Publication of CN115134389A publication Critical patent/CN115134389A/en
Application granted granted Critical
Publication of CN115134389B publication Critical patent/CN115134389B/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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/60Arrangements in telecontrol or telemetry systems for transmitting utility meters data, i.e. transmission of data from the reader of the utility meter

Abstract

The invention discloses a parallel meter reading method, a device, equipment and a computer readable storage medium, wherein the parallel meter reading method comprises the following steps: generating a plurality of meter reading requests based on preset meter reading demand configuration; each meter reading request is sent to a concentrator in parallel; and receiving the electric energy meter data returned by the concentrator based on the meter reading request, and completing one-time parallel meter reading when the quantity of the returned electric energy meter data is judged to be the same as the quantity of the generated meter reading request. The HES terminal sends the meter reading request to the concentrator in parallel, so that the limitation of the current HES terminal serial scheme is broken, and the integral meter reading performance of the intelligent management system of the electric energy meter is improved.

Description

Parallel meter reading method, device, equipment and computer readable storage medium
Technical Field
The invention relates to the technical field of electric power metering, in particular to a parallel meter reading method, a parallel meter reading device, parallel meter reading equipment and a computer readable storage medium.
Background
In a traditional meter reading system, a concentrator and electric meters communicate through a narrow-band carrier (PLC), but the Communication rate is limited by the technology, and the concentrator can only adopt a serial mode when processing the request tasks of a plurality of electric meters below the concentrator. When a plurality of electric meters are read indirectly through a concentrator, the interaction between the HES and the concentrator must also adopt a serial solution, namely, a request of the next electric meter is sent after the response of the last electric meter is received, otherwise, the task of the concentrator is backlogged and overtime is caused.
With the rapid development of Broadband Power Line Communication (BPLC) technology, it has been widely applied in AMI solutions in the home and abroad Power industries. Compared with the traditional narrow-band communication, the communication rate of the BPLC is greatly improved, and the concentrators of some manufacturers realize concurrent reading of a plurality of electric meters based on the BPLC, which is a future development trend. However, the serial scheme is still adopted at the HES end currently, and the advantages of the BPLC are not reflected, so that the meter reading performance of the whole intelligent management system of the electric energy meter is limited.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a parallel meter reading method, a parallel meter reading device, parallel meter reading equipment and a computer readable storage medium, and aims to solve the technical problem that the current HES end limits the meter reading performance of an intelligent electric energy meter management system.
In order to achieve the above object, the present invention provides a parallel meter reading method, which is applied to an HES end of an electric energy meter information management system, and comprises the following steps:
generating a plurality of meter reading requests based on preset meter reading demand configuration;
each meter reading request is sent to a concentrator in parallel;
and receiving the electric energy meter data returned by the concentrator based on the meter reading request, and completing one-time parallel meter reading when the quantity of the returned electric energy meter data is judged to be the same as the quantity of the generated meter reading request.
Further, the step of generating a plurality of meter reading requests based on the preset meter reading requirement configuration includes:
generating an electric energy meter address data set of the electric energy meter to be read according to the meter reading area corresponding to the preset meter reading requirement configuration;
generating a reading instruction according to the preset meter reading requirement configuration;
generating a plurality of meter reading requests according to the address data set and the reading instruction, wherein each meter reading request comprises an electric energy meter address of an electric energy meter to be read and the reading instruction;
and adding each meter reading request into a concurrent meter reading request queue.
Further, the step of adding each meter reading request into the concurrent meter reading request queue comprises:
determining the concentrator corresponding to the meter reading request according to the electric energy meter address in the meter reading request;
and adding the meter reading request into the concurrent meter reading request queue of the concentrator.
Further, the step of sending each meter reading request to the concentrator concurrently includes:
acquiring the meter reading request from the concurrent meter reading request queue;
and sending the meter reading request to the concentrator corresponding to the concurrent meter reading request queue.
Further, the step of sending the meter reading request to the concentrator corresponding to the concurrent meter reading request queue includes:
if the meter reading request sent this time is sent for the first time in the concurrent meter reading request queue, acquiring the parallel quantity configuration of the concentrator, wherein the parallel quantity configuration is the upper limit of the quantity of the meter reading requests processed by the concentrator in parallel;
and sending the meter reading requests with the quantity corresponding to the parallel quantity configuration to the concentrator.
Further, after the step of sending the meter reading requests of the number corresponding to the parallel number configuration to the concentrator, the method further includes:
monitoring the real-time occupied number of communication channels of the concentrator;
and if the occupied quantity is smaller than the parallel quantity configuration, continuously sending a meter reading request to the concentrator so as to enable the real-time occupied quantity to be the same as the parallel quantity configuration.
Further, the step of monitoring the real-time occupied number of the communication channels of the concentrator includes:
counting a first quantity of the meter reading requests sent to the concentrator and a second quantity of the electric energy meter data returned by the concentrator;
monitoring the real-time occupancy amount by calculating in real-time a difference between the first amount and the second amount.
In addition, in order to achieve the above object, the present invention further provides a parallel meter reading device, including:
the generating module is used for generating a plurality of meter reading requests based on preset meter reading demand configuration;
the sending module is used for sending each meter reading request to the concentrator;
and the receiving module is used for receiving the electric energy meter data returned by the concentrator based on the meter reading request, and completing one-time parallel meter reading when the number of the returned electric energy meter data is judged to be the same as the number of the meter reading requests.
In addition, in order to achieve the above object, the present invention further provides a parallel meter reading device, including: the system comprises a memory, a processor and a parallel meter reading program which is stored on the memory and can run on the processor, wherein when the parallel meter reading program is executed by the processor, the steps of the parallel meter reading method are realized.
In addition, in order to achieve the above object, the present invention further provides a computer-readable storage medium, where a parallel meter reading program is stored, and when the parallel meter reading program is executed by a processor, the steps of the parallel meter reading method are implemented.
According to the parallel meter reading method, the parallel meter reading device, the parallel meter reading equipment and the computer readable storage medium, an HES end of an electric energy meter information management system generates a plurality of meter reading requests through preset meter reading requirement configuration; each meter reading request is sent to a concentrator in parallel; and receiving the electric energy meter data returned by the concentrator based on the meter reading request, and completing one-time parallel meter reading when the quantity of the returned electric energy meter data is judged to be the same as the quantity of the generated meter reading request. The HES terminal sends the meter reading request to the concentrator in parallel, so that the limitation of the current HES terminal serial scheme is broken, and the integral meter reading performance of the intelligent management system of the electric energy meter is improved.
Drawings
Fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart diagram of a first embodiment of the parallel meter reading method;
FIG. 3 is a schematic diagram of a meter reading process of the meter reading method of the present invention.
The implementation, functional features and advantages of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: generating a plurality of meter reading requests based on preset meter reading demand configuration; each meter reading request is sent to a concentrator in parallel; and receiving the electric energy meter data returned by the concentrator based on the meter reading request, and completing one-time parallel meter reading when the quantity of the returned electric energy meter data is judged to be the same as the quantity of the generated meter reading request.
However, the serial scheme is still adopted at the current HES end, and the advantages of the BPLC are not reflected, so that the meter reading performance of the whole intelligent electric energy meter management system is limited.
The invention provides a solution, which enables an HES end to send a meter reading request to a concentrator, breaks through the limitation of the current HES end serial scheme, and improves the overall meter reading performance of an intelligent management system of an electric energy meter.
As shown in fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a PC, and can also be a mobile terminal device with a display function, such as a smart phone, a server, a tablet computer, a portable computer and the like.
As shown in fig. 1, the apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the device may also include a camera, RF (Radio Frequency) circuitry, sensors, audio circuitry, wiFi modules, and so forth. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the configuration of the apparatus shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a parallel meter reading program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting a background server and communicating data with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the parallel meter reading program stored in the memory 1005, and perform the following operations:
generating a plurality of meter reading requests based on preset meter reading demand configuration;
each meter reading request is sent to a concentrator in parallel;
and receiving the electric energy meter data returned by the concentrator based on the meter reading request, and completing one-time parallel meter reading when the quantity of the returned electric energy meter data is judged to be the same as the quantity of the generated meter reading request.
Further, the processor 1001 may call the parallel meter reading program stored in the memory 1005, and further perform the following operations:
the step of generating a plurality of meter reading requests based on preset meter reading demand configuration comprises the following steps:
generating an electric energy meter address data set of the electric energy meter to be read according to the meter reading area corresponding to the preset meter reading requirement configuration;
generating a reading instruction according to the preset meter reading requirement configuration;
generating a plurality of meter reading requests according to the address data set and the reading instruction, wherein each meter reading request comprises an electric energy meter address of an electric energy meter to be read and the reading instruction;
and adding each meter reading request into a concurrent meter reading request queue.
Further, the processor 1001 may call the parallel meter reading program stored in the memory 1005, and further perform the following operations:
the step of adding each meter reading request into the concurrent meter reading request queue comprises the following steps:
determining the concentrator corresponding to the meter reading request according to the electric energy meter address in the meter reading request;
and adding the meter reading request into the concurrent meter reading request queue of the concentrator.
Further, the processor 1001 may call the parallel meter reading program stored in the memory 1005, and further perform the following operations:
the step of sending each meter reading request to the concentrator comprises the following steps:
acquiring the meter reading request from the concurrent meter reading request queue;
and sending the meter reading request to the concentrator corresponding to the concurrent meter reading request queue.
Further, the processor 1001 may call the parallel meter reading program stored in the memory 1005, and further perform the following operations:
the step of sending the meter reading request to the concentrator corresponding to the concurrent meter reading request queue comprises the following steps:
if the current meter reading request is sent for the first time in the concurrent meter reading request queue, acquiring the parallel quantity configuration of the concentrator, wherein the parallel quantity configuration is the upper limit of the quantity of the meter reading requests processed in parallel by the concentrator;
and sending the meter reading requests with the quantity corresponding to the parallel quantity configuration to the concentrator.
Further, the processor 1001 may call the parallel meter reading program stored in the memory 1005, and further perform the following operations:
after the step of sending the meter reading requests of the number corresponding to the parallel number configuration to the concentrator, the method further includes:
monitoring the real-time occupied number of communication channels of the concentrator;
and if the occupied quantity is smaller than the parallel quantity configuration, continuously sending a meter reading request to the concentrator so as to enable the real-time occupied quantity to be the same as the parallel quantity configuration.
Further, the processor 1001 may call the parallel meter reading program stored in the memory 1005, and further perform the following operations:
the step of monitoring the real-time occupied number of the communication channels of the concentrator comprises:
counting a first quantity of the meter reading requests sent to the concentrator and a second quantity of the electric energy meter data returned by the concentrator;
monitoring the real-time occupancy amount by calculating in real-time a difference between the first amount and the second amount.
Referring to fig. 2, a parallel meter reading method according to a first embodiment of the present invention includes:
s10, generating a plurality of meter reading requests based on preset meter reading demand configuration;
in the power grid industry, meter reading work is performed by an intelligent meter reading system (namely AMI), and the intelligent meter reading system can be simply composed of an HES end, a concentrator and an intelligent electric meter. At present, the concentrator and the intelligent electric energy meter are usually in communication through broadband carrier waves, and the concentrators of some manufacturers also have the capability of concurrent communication, which is not described herein again. The HES end and the concentrator communicate with each other through the ethernet, which has a stronger communication capability than the carrier communication. The HES end is used for man-machine interaction, namely, workers of a power supply company can send meter reading instructions through the HES end or change meter reading requirements, and the HES end can also execute meter reading tasks at regular time. It can be understood that, in this implementation, an implementation subject of the parallel meter reading method is an HES end, the HES end may generate a plurality of meter reading requests based on a preset meter reading requirement configuration, and the preset meter reading requirement configuration may be a timed meter reading task, or may be actively triggered or input by a worker.
Further, generating an electric energy meter address data set of the electric energy meter to be read according to the meter reading area corresponding to the preset meter reading requirement configuration; generating a reading instruction according to the preset meter reading requirement configuration; generating a plurality of meter reading requests according to the address data set and the reading instruction, wherein each meter reading request comprises an electric energy meter address of an electric energy meter to be read and the reading instruction; and adding each meter reading request into a concurrent meter reading request queue.
Specifically, the preset meter reading requirement configuration may include a meter reading area and a reading instruction, where the reading instruction includes data content to be read from the electric energy meter, for example, related data of the daily electricity consumption of the user, such as electricity consumption, electricity current, electricity voltage, and the like. The electric energy meter to be read can be determined by presetting a meter reading area in the meter reading demand configuration, and the address of each electric energy meter to be read in the meter reading area is obtained to generate an electric energy meter address data set. And generating meter reading requests according to the electric energy meter address data set and the reading instruction, namely, each meter reading request comprises an electric energy meter address of the electric energy meter to be read and a reading instruction. And adding each meter reading request into a concurrent meter reading request queue, wherein the adding sequence of each meter reading request is not limited.
Further, the concentrator corresponding to the meter reading request is determined according to the electric energy meter address in the meter reading request; and adding the meter reading request into the concurrent meter reading request queue of the concentrator.
Specifically, the concentrator is generally responsible for data acquisition of hundreds of electric energy meters, and a meter reading area corresponding to a preset meter reading requirement configuration may also be correspondingly configured with a plurality of concentrators. Different concentrators are responsible for different slice regions in the meter reading region, and a concurrent meter reading request queue is distributed to each concentrator in the HES end. And sending each meter reading request to a corresponding concurrent meter reading request queue according to the electric energy meter address in each meter reading request, for example, if the electric energy meter corresponding to the electric energy meter address of one meter reading request is in a zone in charge of the concentrator A, adding the meter reading request to the concurrent meter reading request queue A corresponding to the concentrator A.
Step S20, each meter reading request is sent to a concentrator in parallel;
further, obtaining the meter reading request from the concurrent meter reading request queue; and sending the meter reading request to the concentrator corresponding to the concurrent meter reading request queue.
Specifically, each meter reading request in the concurrent meter reading request queue of each concentrator is sent to the concentrator corresponding to the concurrent meter reading request queue, so that the concentrator acquires data from the corresponding electric energy meter after receiving the meter reading request to obtain electric energy meter data and returns the electric energy meter data to the HES terminal.
It can be understood that, in this example, each concurrent meter reading request queue can simultaneously send different numbers of meter reading requests to the corresponding concentrator, so that the HES end can concurrently send meter reading requests to the concentrators, the limitation of the current HES end serial scheme is broken, and the overall meter reading performance of the intelligent management system for the electric energy meter is improved.
Further, if the meter reading request sent this time is the initial sending in the concurrent meter reading request queue, obtaining the parallel quantity configuration of the concentrator, wherein the parallel quantity configuration is the upper limit of the quantity of the concentrator for processing the meter reading requests in parallel; and sending the meter reading requests with the quantity corresponding to the parallel quantity configuration to the concentrator.
Specifically, based on the above example, each concentrator has a corresponding concurrent meter reading request queue, and the basis for each concurrent meter reading request queue to send meter reading requests to the corresponding concentrator is configured according to the parallel number of the concentrators. Taking a concurrent meter reading request queue as an example for explanation, if a meter reading request is sent for the first time from the concurrent meter reading request queue, firstly, the parallel quantity configuration of the concentrator corresponding to the concurrent meter reading request queue is obtained, and the parallel quantity configuration is the upper limit of the quantity of the meter reading requests processed by the concentrator in parallel, in the actual application process, as the concentrator may come from different manufacturers and the concentrators of different manufacturers may have different models and processing performances, the parallel quantity configuration of different concentrators may be different (there are 6 concurrent and 8 concurrent commonly used, that is, the concentrator may process 6 meter reading requests or 8 meter reading requests simultaneously). And if the concentrator is configured to be 8 paths in parallel, 8 meter reading requests are sent to the concentrator from the concurrent meter reading request queue.
Further, after the step of sending the meter reading requests of the number corresponding to the parallel number configuration to the concentrator, the parallel meter reading method further includes: monitoring the real-time occupied number of communication channels of the concentrator; and if the occupied quantity is smaller than the parallel quantity configuration, continuously sending a meter reading request to the concentrator so as to enable the real-time occupied quantity to be the same as the parallel quantity configuration.
Specifically, the real-time occupied number of communication channels of each concentrator, that is, the number of meter reading requests currently processed by each concentrator, is monitored. And if the currently occupied number of the communication channels of one concentrator is less than the centralized parallel number configuration, continuously sending meter reading requests from the corresponding message queues, so that the real-time meter reading request processing number of the concentrator is consistent with the parallel number configuration, and the processing efficiency of the concentrator is ensured.
Further, the step of monitoring the real-time occupied number of the communication channels of the concentrator includes: counting a first quantity of the meter reading requests sent to the concentrator and a second quantity of the electric energy meter data returned by the concentrator; monitoring the real-time occupancy amount by calculating in real-time a difference between the first amount and the second amount.
Specifically, in the concurrent meter reading request queue, the states of each meter reading request can be divided into three types: the method comprises the steps of sending, sending and processing, wherein the sending indicates that a meter reading request is in a concurrent meter reading request queue and is not sent to a concentrator; the transmitted meter reading request is the data which is transmitted to the concentrator and does not receive the data returned by the concentrator; has been processed as such and has been sent to the concentrator and the concentrator has returned energy meter data based on such meter reading request. And counting and sending the quantity of the meter reading requests in the sent state in the meter reading request queue, and taking the quantity as a first quantity. And counting the number of the meter reading requests in the processed state in the concurrent meter reading request queue, and taking the number as a second number. The first number is greater than or equal to the second number, and when the first number is greater than the second number, the concentrator currently has an idle communication channel, so that meter reading requests to be sent in the concurrent meter reading request queue are continuously sent to the concentrator, the specific sending number can be a difference value between the first number and the second number, and the obtained difference value is actually the number of the idle communication channels of the concentrator. It can be understood that, in this embodiment, when the HES end sends the meter reading request to the concentrator, the corresponding number of meter reading requests are sent according to the ability of the concentrator to process the meter reading requests in parallel, so as to avoid the meter reading requests overstocked or overstocked in the concentrator from causing blockage of the communication channel of the concentrator, which affects the meter reading efficiency of the intelligent management system for the electric energy meter.
And S30, receiving the electric energy meter data returned by the concentrator based on the meter reading request, and completing one-time parallel meter reading when the quantity of the returned electric energy meter data is judged to be the same as the quantity of the generated meter reading requests.
Specifically, after receiving a meter reading request sent by the HES terminal, the concentrator reads a reading instruction in the meter reading request for the electric energy meter corresponding to the electric energy meter address based on the electric energy meter address in the meter reading request, and obtains data (i.e., electric energy meter data) related to the user electricity consumption recorded on the electric energy meter. And returning the collected data of the electric energy meter to the concentrator, so as to finish a meter reading request. And when the quantity of the electric energy meter data received by the HES end is the same as the quantity of the generated meter reading requests, judging that the parallel meter reading is finished. As shown in fig. 3, a meter reading flow diagram in the parallel meter reading method of the present invention includes an HES, a concentrator 1, an electric energy meter 2, and an electric energy meter N. The HES sends a plurality of meter reading requests (from the meter reading request 1 to the meter reading request N) to the concentrator 1 in parallel, and the concentrator 1 reads the data of the electric energy meters from the electric energy meters after receiving the meter reading requests. The concentrator 1 returns the read data of each electric energy meter to the HES again, and therefore the whole meter reading process is completed.
In this embodiment, an HES end of the electric energy meter information management system generates a plurality of meter reading requests through preset meter reading demand configuration; each meter reading request is sent to a concentrator in parallel; and receiving the electric energy meter data returned by the concentrator based on the meter reading request, and completing one-time parallel meter reading when the quantity of the returned electric energy meter data is judged to be the same as the quantity of the generated meter reading request. The HES terminal sends the meter reading request to the concentrator in parallel, so that the limitation of the current HES terminal serial scheme is broken, and the integral meter reading performance of the intelligent management system of the electric energy meter is improved.
In addition, an embodiment of the present invention further provides a parallel meter reading device, where the parallel meter reading device includes:
the generating module is used for generating a plurality of meter reading requests based on preset meter reading demand configuration;
the sending module is used for sending each meter reading request to the concentrator;
and the receiving module is used for receiving the electric energy meter data returned by the concentrator based on the meter reading request, and completing one-time parallel meter reading when the number of the returned electric energy meter data is judged to be the same as the number of the meter reading requests.
Optionally, the generating module is further configured to:
generating an electric energy meter address data set of the electric energy meter to be read according to the meter reading area corresponding to the preset meter reading requirement configuration;
generating a reading instruction according to the preset meter reading requirement configuration;
generating a plurality of meter reading requests according to the address data set and the reading instruction, wherein each meter reading request comprises an electric energy meter address of an electric energy meter to be read and the reading instruction;
and adding each meter reading request into a concurrent meter reading request queue.
Optionally, the generating module is further configured to:
determining the concentrator corresponding to the meter reading request according to the electric energy meter address in the meter reading request;
and adding the meter reading request into the concurrent meter reading request queue of the concentrator.
Optionally, the sending module is further configured to:
acquiring the meter reading request from the concurrent meter reading request queue;
and sending the meter reading request to the concentrator corresponding to the concurrent meter reading request queue.
Optionally, the sending module is further configured to:
if the meter reading request sent this time is sent for the first time in the concurrent meter reading request queue, acquiring the parallel quantity configuration of the concentrator, wherein the parallel quantity configuration is the upper limit of the quantity of the meter reading requests processed by the concentrator in parallel;
and sending the meter reading requests with the quantity corresponding to the parallel quantity configuration to the concentrator.
Optionally, the sending module is further configured to:
monitoring the real-time occupied number of communication channels of the concentrator;
and if the occupied quantity is smaller than the parallel quantity configuration, continuously sending a meter reading request to the concentrator so as to enable the real-time occupied quantity to be the same as the parallel quantity configuration.
Optionally, the sending module is further configured to:
counting a first quantity of the meter reading requests sent to the concentrator and a second quantity of the electric energy meter data returned by the concentrator;
monitoring the real-time occupancy amount by calculating in real-time a difference between the first amount and the second amount.
The parallel meter reading device provided by the invention adopts the parallel meter reading method in the embodiment, and solves the technical problem that the current HES end causes the limit to the meter reading performance of the intelligent management system of the electric energy meter. Compared with the prior art, the beneficial effects of the parallel meter reading method and the device provided by the embodiment of the invention are the same as the beneficial effects of the parallel meter reading method provided by the embodiment, and other technical characteristics in the parallel meter reading method are the same as those disclosed by the embodiment method, which are not repeated herein.
In addition, an embodiment of the present invention further provides a parallel meter reading device, where the parallel meter reading device includes: the system comprises a memory, a processor and a parallel meter reading program which is stored on the memory and can run on the processor, wherein when the parallel meter reading program is executed by the processor, the steps of the parallel meter reading method are realized.
The specific implementation of the parallel meter reading method and the device of the invention is basically the same as that of each embodiment of the new parallel meter reading method and is not described again here.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a parallel meter reading program is stored on the computer-readable storage medium, and when the parallel meter reading program is executed by a processor, the steps of the parallel meter reading method are implemented.
The specific implementation mode of the medium is basically the same as that of each embodiment of the new parallel meter reading method, and the detailed description is omitted here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. 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 (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, a computer, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes performed by the present invention or directly or indirectly applied to other related technical fields are also included in the scope of the present invention.

Claims (7)

1. A parallel meter reading method is characterized in that the parallel meter reading method is applied to an HES end of an electric energy meter information management system, and the method comprises the following steps:
generating a plurality of meter reading requests based on preset meter reading demand configuration;
each meter reading request is sent to a concentrator in parallel;
receiving the electric energy meter data returned by the concentrator based on the meter reading request, and completing one-time parallel meter reading when the number of the returned electric energy meter data is judged to be the same as the number of the generated meter reading requests;
the step of generating a plurality of meter reading requests based on preset meter reading demand configuration comprises the following steps:
generating an electric energy meter address data set of the electric energy meter to be read according to the meter reading area corresponding to the preset meter reading requirement configuration;
generating a reading instruction according to the preset meter reading requirement configuration;
generating a plurality of meter reading requests according to the address data set and the reading instruction, wherein each meter reading request comprises an electric energy meter address of an electric energy meter to be read and the reading instruction;
adding each meter reading request into a concurrent meter reading request queue, wherein each concurrent meter reading request queue is obtained by distributing each concentrator by the HES end;
the step of sending each meter reading request to the concentrator comprises the following steps:
acquiring the meter reading request from the concurrent meter reading request queue;
sending the meter reading request to the concentrator corresponding to the concurrent meter reading request queue;
the step of sending the meter reading request to the concentrator corresponding to the concurrent meter reading request queue comprises the following steps:
if the meter reading request sent this time is sent for the first time in the concurrent meter reading request queue, acquiring the parallel quantity configuration of the concentrator, wherein the parallel quantity configuration is the upper limit of the quantity of the meter reading requests processed by the concentrator in parallel;
and sending the meter reading requests with the quantity corresponding to the parallel quantity configuration to the concentrator.
2. The parallel meter reading method according to claim 1, wherein the step of adding each meter reading request to a parallel meter reading request queue comprises:
determining the concentrator corresponding to the meter reading request according to the electric energy meter address in the meter reading request;
and adding the meter reading request into the concurrent meter reading request queue of the concentrator.
3. The method of reading a meter in parallel according to claim 2, wherein after the step of sending a number of the meter reading requests corresponding to the parallel number configuration to the concentrator, the method further comprises:
monitoring the real-time occupied number of communication channels of the concentrator;
and if the occupied quantity is smaller than the parallel quantity configuration, continuously sending a meter reading request to the concentrator so as to enable the real-time occupied quantity to be the same as the parallel quantity configuration.
4. The parallel meter reading method according to claim 3, wherein the step of monitoring the real-time occupied number of the communication channels of the concentrator comprises:
counting a first quantity of the meter reading requests sent to the concentrator and a second quantity of the electric energy meter data returned by the concentrator;
monitoring the real-time occupancy amount by calculating in real-time a difference between the first amount and the second amount.
5. The parallel meter reading device is applied to an HES (high-order environment) end of an electric energy meter information management system, and comprises the following components:
the generating module is used for generating a plurality of meter reading requests based on preset meter reading demand configuration;
the sending module is used for sending each meter reading request to the concentrator;
the receiving module is used for receiving the electric energy meter data returned by the concentrator based on the meter reading request, and when the number of the returned electric energy meter data is judged to be the same as the number of the meter reading request, one-time parallel meter reading is completed;
the step of generating a plurality of meter reading requests based on preset meter reading demand configuration comprises the following steps:
generating an electric energy meter address data set of the electric energy meter to be read according to the meter reading area corresponding to the preset meter reading requirement configuration;
generating a reading instruction according to the preset meter reading requirement configuration;
generating a plurality of meter reading requests according to the address data set and the reading instruction, wherein each meter reading request comprises an electric energy meter address of an electric energy meter to be read and the reading instruction;
adding each meter reading request into a concurrent meter reading request queue, wherein each concurrent meter reading request queue is obtained by distributing each concentrator by the HES end;
the step of sending each meter reading request to the concentrator comprises the following steps:
acquiring the meter reading request from the concurrent meter reading request queue;
sending the meter reading request to the concentrator corresponding to the concurrent meter reading request queue;
the step of sending the meter reading request to the concentrator corresponding to the concurrent meter reading request queue comprises the following steps:
if the meter reading request sent this time is sent for the first time in the concurrent meter reading request queue, acquiring the parallel quantity configuration of the concentrator, wherein the parallel quantity configuration is the upper limit of the quantity of the meter reading requests processed by the concentrator in parallel;
and sending the meter reading requests with the quantity corresponding to the parallel quantity configuration to the concentrator.
6. A parallel meter reading device is characterized by comprising: the system comprises a memory, a processor and a parallel meter reading program which is stored on the memory and can run on the processor, wherein when the parallel meter reading program is executed by the processor, the steps of the parallel meter reading method in any one of claims 1 to 4 are realized.
7. A computer-readable storage medium, wherein a parallel meter reading program is stored on the computer-readable storage medium, and when executed by a processor, the parallel meter reading program implements the steps of the parallel meter reading method according to any one of claims 1 to 4.
CN202211068672.7A 2022-09-02 2022-09-02 Parallel meter reading method, device, equipment and computer readable storage medium Active CN115134389B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211068672.7A CN115134389B (en) 2022-09-02 2022-09-02 Parallel meter reading method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211068672.7A CN115134389B (en) 2022-09-02 2022-09-02 Parallel meter reading method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN115134389A CN115134389A (en) 2022-09-30
CN115134389B true CN115134389B (en) 2022-12-27

Family

ID=83387375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211068672.7A Active CN115134389B (en) 2022-09-02 2022-09-02 Parallel meter reading method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN115134389B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282249A (en) * 2015-10-30 2016-01-27 国网新疆电力公司电力科学研究院 Device and method for remotely issuing electric energy meter parameters and control commands based on transparent collection tasks
CN105788226A (en) * 2016-03-17 2016-07-20 长沙瑞斯康通信技术有限公司 Broadband carrier parallel meter reading method and broadband carrier parallel meter reading system
CN106384495A (en) * 2016-09-20 2017-02-08 国网新疆电力公司电力科学研究院 Transmission method and transmission device for transparent tasks of electricity consumption information acquisition service
CN106408920A (en) * 2016-10-21 2017-02-15 国网上海市电力公司 Low-voltage grid meter reading data collecting method based on HomePlug AV
CN107146395A (en) * 2017-06-13 2017-09-08 珠海慧信微电子有限公司 The kilowatt meter reading-out system and meter register method communicated based on bandwidth carrier
CN107507404A (en) * 2017-09-21 2017-12-22 国网上海市电力公司 A kind of Automatic meter reading system of multiple-in-one
KR20210004409A (en) * 2019-07-04 2021-01-13 송우혁 Autonomous integrated remote meter reading and fare notification system
CN113242059A (en) * 2021-06-09 2021-08-10 武汉中原电子信息有限公司 Lock-free multi-coordination processing thread concurrent meter reading method based on double-ring queue

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111369773A (en) * 2020-02-14 2020-07-03 国网新疆电力有限公司电力科学研究院 Electricity price parameter issuing method and system based on transparent task
WO2022097761A1 (en) * 2020-11-03 2022-05-12 (주)누리텔레콤 Advanced metering infrastructure and control method of advanced metering infrastructure
CN114374888A (en) * 2021-12-14 2022-04-19 国网江苏省电力有限公司淮安供电分公司 Automatic meter reading method, system and device based on multiple simultaneous multi-meter and multi-data items of HPLC

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282249A (en) * 2015-10-30 2016-01-27 国网新疆电力公司电力科学研究院 Device and method for remotely issuing electric energy meter parameters and control commands based on transparent collection tasks
CN105788226A (en) * 2016-03-17 2016-07-20 长沙瑞斯康通信技术有限公司 Broadband carrier parallel meter reading method and broadband carrier parallel meter reading system
CN106384495A (en) * 2016-09-20 2017-02-08 国网新疆电力公司电力科学研究院 Transmission method and transmission device for transparent tasks of electricity consumption information acquisition service
CN106408920A (en) * 2016-10-21 2017-02-15 国网上海市电力公司 Low-voltage grid meter reading data collecting method based on HomePlug AV
CN107146395A (en) * 2017-06-13 2017-09-08 珠海慧信微电子有限公司 The kilowatt meter reading-out system and meter register method communicated based on bandwidth carrier
CN107507404A (en) * 2017-09-21 2017-12-22 国网上海市电力公司 A kind of Automatic meter reading system of multiple-in-one
KR20210004409A (en) * 2019-07-04 2021-01-13 송우혁 Autonomous integrated remote meter reading and fare notification system
CN113242059A (en) * 2021-06-09 2021-08-10 武汉中原电子信息有限公司 Lock-free multi-coordination processing thread concurrent meter reading method based on double-ring queue

Also Published As

Publication number Publication date
CN115134389A (en) 2022-09-30

Similar Documents

Publication Publication Date Title
CN111813516B (en) Resource control method and device, computer equipment and storage medium
CN112272239A (en) Edge calculation method and device, intelligent terminal and computer readable storage medium
CN111475298A (en) Task processing method, device, equipment and storage medium
CN107729143B (en) Application control method and device, storage medium and electronic equipment
CN107318119B (en) Household appliance networking method, household appliance and computer readable storage medium
CN104333913A (en) Electronic device and online setting method of external network and electronic device
CN103647685A (en) Processing method for unloading and receiving test result information
US10627792B2 (en) Client and server in supervisory control and data acquisition system
CN103905410A (en) Multi-channel communication protocol converter capable of converting user-defined protocol to Modbus protocol
CN114564294A (en) Intelligent service arranging method and device, computer equipment and storage medium
CN110555155B (en) Article information recommendation method, device and storage medium
CN115134389B (en) Parallel meter reading method, device, equipment and computer readable storage medium
CN110913362A (en) Method and device for realizing wireless signal test through client and test equipment
CN112882833B (en) Data acquisition method and device, computer equipment and storage medium
CN112987597B (en) FSU control method, device, equipment and computer readable storage medium
Chen et al. Big data collection gateway for vision-based smart meter reading network
CN108769072A (en) Establish the method, apparatus and communication system of connection
CN111339196B (en) Data processing method and system based on block chain and computer readable storage medium
CN203325197U (en) Front-end information collection device for internet of things
CN113849285A (en) Delay task processing method and device, electronic equipment and storage medium
CN102761613A (en) Mobile terminal and device information obtaining method and system thereof as well as server
CN114297035B (en) Production monitoring method, system, equipment and computer readable storage medium
CN104035654A (en) Information processing method and electronic devices
CN112770180A (en) Energy-saving control method and device for set top box and computer readable storage medium
CN106020617B (en) Display method and device

Legal Events

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