CN115134389A - 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
CN115134389A
CN115134389A CN202211068672.7A CN202211068672A CN115134389A CN 115134389 A CN115134389 A CN 115134389A CN 202211068672 A CN202211068672 A CN 202211068672A CN 115134389 A CN115134389 A CN 115134389A
Authority
CN
China
Prior art keywords
meter reading
parallel
concentrator
meter
electric energy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211068672.7A
Other languages
Chinese (zh)
Other versions
CN115134389B (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

Landscapes

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

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 reading multiple electric meters indirectly through a concentrator, the interaction between the HES and the concentrator must also adopt a serial solution, i.e. when receiving the response of the last electric meter, the request of the next electric meter is issued, otherwise, the concentrator task is overstocked and is overtime.
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 management system of an electric energy meter.
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 number of the returned electric energy meter data is judged to be the same as the number of the generated meter reading requests.
Further, the step of generating a plurality of meter reading requests based on the preset meter reading demand 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 a concurrent meter reading request queue includes:
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 device 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 parallel meter reading program implements the steps of the parallel meter reading method as described above.
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 diagram of an apparatus architecture of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart 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 objects of the present invention will be further explained 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 number of the returned electric energy meter data is judged to be the same as the number of the generated meter reading requests.
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 the HES end to send the meter reading request to the concentrator, breaks through the limitation of the current HES end serial scheme, and improves the overall meter reading performance of the intelligent management system of the 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 described previously.
Optionally, the device may also include a camera, RF (Radio Frequency) circuitry, sensors, audio circuitry, WiFi modules, and the like. 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 of the apparatus 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 number of the returned electric energy meter data is judged to be the same as the number of the generated meter reading requests.
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 a 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 comprises:
monitoring the real-time occupied number of communication channels of the concentrator;
and if the occupied quantity is less 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:
step 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. 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 that needs to be read from the electric energy meter, such as related data of 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 concentrators, so that the HES end can send meter reading requests to the concentrators in parallel, 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 from the concurrent meter reading request queue for the first time, 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 different 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 less 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 waiting to be sent, sending and processing, wherein the waiting to be sent 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; the meter reading request is processed to be sent to the concentrator, and the concentrator returns the electric energy meter data based on the 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 counted 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 step 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 request.
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 schematic diagram of a meter reading process 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 device provided by the embodiment of the invention are the same as those 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 device 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 herein again.
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 an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. 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 not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

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;
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.
2. The parallel meter reading method according to claim 1, wherein the step of generating a plurality of meter reading requests based on the preset meter reading requirement configuration comprises:
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.
3. The parallel meter reading method of claim 2, wherein the step of adding each meter reading request to a 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.
4. The method of reading meter in parallel as set forth in claim 3, wherein the step of sending each of the meter reading requests concurrently to a concentrator comprises:
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.
5. The parallel meter reading method according to claim 4, wherein the step of sending the meter reading request to the concentrator corresponding to the concurrent meter reading request queue comprises:
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. The method of reading a meter in parallel as set forth in claim 5, 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.
7. The parallel meter reading method according to claim 6, 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.
8. A parallel meter reading device is characterized by comprising:
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 when the number of the returned electric energy meter data is judged to be the same as the number of the meter reading requests, one-time parallel meter reading is completed.
9. 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 the steps of the parallel meter reading method according to any one of claims 1 to 7 are realized when the parallel meter reading program is executed by the processor.
10. 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 7.
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 true CN115134389A (en) 2022-09-30
CN115134389B 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 (11)

* 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
CN111369773A (en) * 2020-02-14 2020-07-03 国网新疆电力有限公司电力科学研究院 Electricity price parameter issuing method and system based on transparent task
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
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
WO2022097761A1 (en) * 2020-11-03 2022-05-12 (주)누리텔레콤 Advanced metering infrastructure and control method of advanced metering infrastructure

Patent Citations (11)

* 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
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
CN113242059A (en) * 2021-06-09 2021-08-10 武汉中原电子信息有限公司 Lock-free multi-coordination processing thread concurrent meter reading method based on double-ring queue
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

Also Published As

Publication number Publication date
CN115134389B (en) 2022-12-27

Similar Documents

Publication Publication Date Title
CN111475298B (en) Task processing method, device, equipment and storage medium
CN112272239B (en) Edge calculation method and device, intelligent terminal and computer readable storage medium
CN108984282A (en) The scheduler of AMP architecture with closed-loop characteristic controller
CN111813516A (en) Resource control method and device, computer equipment and storage medium
CN107729143B (en) Application control method and device, storage medium and electronic equipment
CN105719221A (en) Path cooperation programming method and device aiming at multitask
CN103647685A (en) Processing method for unloading and receiving test result information
CN103905410A (en) Multi-channel communication protocol converter capable of converting user-defined protocol to Modbus protocol
CN110262796A (en) Data processing method, device and electronic equipment based on java
CN112882833B (en) Data acquisition method and device, computer equipment and storage medium
CN115134389B (en) Parallel meter reading method, device, equipment and computer readable storage medium
CN107707602B (en) Data communication processing terminal, method and computer readable storage medium
CN112987597B (en) FSU control method, device, equipment and computer readable storage medium
CN112231167A (en) Cloud resource monitoring method, device, equipment and storage medium
CN104065684A (en) Information processing method, electronic device and terminal device
CN105939388A (en) Method for pushing business content and content controller
CN102761613A (en) Mobile terminal and device information obtaining method and system thereof as well as server
CN108769072A (en) Establish the method, apparatus and communication system of connection
CN114967612A (en) Method and device for generating control system configuration diagram, electronic equipment and storage medium
CN114462780A (en) Robot scheduling method and device, computer equipment and storage medium
CN203325197U (en) Front-end information collection device for internet of things
CN113964396A (en) Battery, battery identification method and device, electronic equipment and readable storage medium
CN111339196A (en) Data processing method and system based on block chain and computer readable storage medium
CN207975808U (en) A kind of air detection terminal and system based on cloud platform
Sun et al. A token-ring-like real-time response algorithm of Modbus/TCP message based on μC/OS-II

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