CN116736002A - Electric energy data acquisition method and system, storage medium and terminal - Google Patents
Electric energy data acquisition method and system, storage medium and terminal Download PDFInfo
- Publication number
- CN116736002A CN116736002A CN202310592397.7A CN202310592397A CN116736002A CN 116736002 A CN116736002 A CN 116736002A CN 202310592397 A CN202310592397 A CN 202310592397A CN 116736002 A CN116736002 A CN 116736002A
- Authority
- CN
- China
- Prior art keywords
- electric energy
- data
- feedback data
- storage space
- energy feedback
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000004458 analytical method Methods 0.000 claims abstract description 15
- 238000013519 translation Methods 0.000 claims abstract description 13
- 238000013480 data collection Methods 0.000 claims abstract description 5
- 238000004891 communication Methods 0.000 claims description 29
- 238000012545 processing Methods 0.000 claims description 12
- 230000005540 biological transmission Effects 0.000 claims description 9
- 238000006243 chemical reaction Methods 0.000 claims description 8
- 238000002955 isolation Methods 0.000 claims description 8
- 230000001360 synchronised effect Effects 0.000 claims description 7
- 238000012544 monitoring process Methods 0.000 abstract description 9
- 238000012360 testing method Methods 0.000 abstract description 7
- 230000008901 benefit Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
- 238000011176 pooling Methods 0.000 description 1
- 238000010248 power generation Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
- 210000003813 thumb Anatomy 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R11/00—Electromechanical arrangements for measuring time integral of electric power or current, e.g. of consumption
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R11/00—Electromechanical arrangements for measuring time integral of electric power or current, e.g. of consumption
- G01R11/02—Constructional details
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R11/00—Electromechanical arrangements for measuring time integral of electric power or current, e.g. of consumption
- G01R11/02—Constructional details
- G01R11/04—Housings; Supporting racks; Arrangements of terminals
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/0092—Arrangements for measuring currents or voltages or for indicating presence or sign thereof measuring current only
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application discloses a method, a system, a storage medium and a terminal for collecting electric energy data, which relate to the technical field of data collection and mainly aim to solve the technical problem that the existing monitoring requirements for the running state of electric power equipment cannot be met, so that field operators are still required to carry out covering type overhaul test to check and analyze the running state of the electric power equipment, and the labor cost is increased. Comprising the following steps: respectively converting a plurality of acquisition instructions aiming at the electric energy data into acquisition instruction messages based on a preset protocol; issuing each acquisition instruction message to a corresponding electric energy data acquisition terminal, and receiving a message of electric energy feedback data sent by each electric energy data acquisition terminal; and respectively analyzing and translating the messages of the electric energy feedback data based on the preset protocol to obtain a plurality of electric energy feedback data after the analysis and translation are completed, and storing the electric energy feedback data in a preset storage space.
Description
Technical Field
The present application relates to the field of data acquisition technologies, and in particular, to a method and system for acquiring electric energy data, a storage medium, and a terminal.
Background
In order to meet the electric quantity related business requirements of departments such as dispatching, settlement and marketing, and avoid the situation of overlarge data processing pressure caused by excessive data acquisition items, in the existing electric power system, in general, the acquisition data of a main gateway port electric energy meter and a power saving port electric energy meter are only provided with three-channel load curve data, wherein the three-channel load curve data comprise forward active electric quantity data, reverse active electric quantity data and A-phase current average values, and the forward active electric quantity data and the reverse active electric quantity data are mainly applied to electric quantity data statistics accounting, cross-power saving quantity data accounting and the like; the average value of the A-phase current can be used for judging whether the transmission state of the electric quantity metering device is normal or not.
However, based on the data acquisition method, the monitoring requirement for the operation state of the power equipment cannot be met, so that field operators are still required to carry out covering type overhaul test to check and analyze the operation state of the power equipment, and the technical problem of increasing the labor cost is solved.
Disclosure of Invention
In view of this, the application provides a method, a system, a storage medium and a terminal for collecting electric energy data, which mainly aims to solve the technical problems that the existing monitoring requirements for the operation state of electric power equipment cannot be met, and thus field operators are still required to carry out covering type overhaul tests to check and analyze the operation state of the electric power equipment, so that the labor cost is increased.
According to one aspect of the present application, there is provided a method for collecting electric energy data, comprising:
respectively converting a plurality of acquisition instructions aiming at the electric energy data into acquisition instruction messages based on a preset protocol;
issuing each acquisition instruction message to a corresponding electric energy data acquisition terminal, and receiving a message of electric energy feedback data sent by each electric energy data acquisition terminal;
and respectively analyzing and translating the messages of the electric energy feedback data based on the preset protocol to obtain a plurality of electric energy feedback data after the analysis and translation are completed, and storing the electric energy feedback data in a preset storage space.
Preferably, after the storing the plurality of power feedback data in the preset storage space, the method further includes:
the electric energy feedback data of the target station in the preset period are fetched from the preset storage space;
and determining the operation state of the power equipment of the target plant according to the electric energy feedback data.
Preferably, before the converting the plurality of collection instructions for the electric energy data into collection instruction messages respectively based on the preset protocol, the method further includes:
invoking a preset number of task threads from a task thread pool;
and configuring corresponding task thread parameters for each task thread according to a preset rule, and generating a plurality of acquisition instructions aiming at electric energy data.
Preferably, the issuing the collection instruction message to the corresponding electric energy data collection terminal specifically includes:
and adding each acquisition instruction message to the tail of a message queue of the corresponding electric energy data acquisition terminal according to the identification mark of each electric energy data acquisition terminal so as to wait for issuing.
Preferably, the storing the plurality of electrical energy feedback data in a preset storage space specifically includes:
performing longitudinal encryption processing on a plurality of pieces of electric energy feedback data to obtain electric energy feedback data ciphertext, and storing the electric energy feedback data ciphertext in a first storage space;
synchronizing the electric energy feedback data ciphertext with a second storage space in a unidirectional transmission mode through a forward isolation device, wherein the second storage space is a transit storage space and is used for isolating the first storage space from a third storage space;
and transmitting and storing the ciphertext of the electric energy feedback data synchronous with the second storage space to the third storage space.
Preferably, before the converting the plurality of collection instructions for the electric energy data into collection instruction messages respectively based on the preset protocol, the method further includes:
and performing time setting operation on each electric energy data acquisition terminal based on the preset protocol.
According to another aspect of the present application, there is provided a system for collecting electrical energy data, comprising:
the conversion module is used for respectively converting a plurality of acquisition instructions aiming at the electric energy data into acquisition instruction messages based on a preset protocol;
the issuing module is used for issuing each acquisition instruction message to a corresponding electric energy data acquisition terminal and receiving the message of electric energy feedback data sent by each electric energy data acquisition terminal;
and the storage module is used for respectively analyzing and translating the messages of the electric energy feedback data based on the preset protocol to obtain a plurality of electric energy feedback data after the analysis and translation are completed, and storing the electric energy feedback data in a preset storage space.
Preferably, after the storage module, the system further comprises:
the first calling module is used for calling the electric energy feedback data of the target plant station in a preset period from the preset storage space;
and the determining module is used for determining the operation state of the power equipment of the target plant station according to the electric energy feedback data.
Preferably, before the conversion module, the system further comprises:
the second calling module is used for calling a preset number of task threads from the task thread pool;
the configuration module is used for configuring corresponding task thread parameters for each task thread according to preset rules and generating a plurality of acquisition instructions aiming at electric energy data.
Preferably, the issuing module is specifically configured to:
and adding each acquisition instruction message to the tail of a message queue of the corresponding electric energy data acquisition terminal according to the identification mark of each electric energy data acquisition terminal so as to wait for issuing.
Preferably, the storage module is specifically configured to:
performing longitudinal encryption processing on a plurality of pieces of electric energy feedback data to obtain electric energy feedback data ciphertext, and storing the electric energy feedback data ciphertext in a first storage space;
synchronizing the electric energy feedback data ciphertext with a second storage space in a unidirectional transmission mode through a forward isolation device, wherein the second storage space is a transit storage space and is used for isolating the first storage space from a third storage space;
and transmitting and storing the ciphertext of the electric energy feedback data synchronous with the second storage space to the third storage space.
Preferably, before the conversion module, the system further comprises:
and the time setting module is used for performing time setting operation on each electric energy data acquisition terminal based on the preset protocol.
According to still another aspect of the present application, there is provided a storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to the above-described power data collection method.
According to still another aspect of the present application, there is provided a terminal including: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the electric energy data acquisition method.
By means of the technical scheme, the technical scheme provided by the embodiment of the application has at least the following advantages:
the application provides a method, a system, a storage medium and a terminal for collecting electric energy data, which are characterized in that a plurality of collecting instructions aiming at the electric energy data are respectively converted into collecting instruction messages based on a preset protocol; secondly, issuing each acquisition instruction message to a corresponding electric energy data acquisition terminal, and receiving a message of electric energy feedback data sent by each electric energy data acquisition terminal; and finally, respectively analyzing and translating the messages of the electric energy feedback data based on the preset protocol to obtain a plurality of electric energy feedback data after the analysis and translation are completed, and storing the electric energy feedback data in a preset storage space. Compared with the prior art, the embodiment of the application issues various data acquisition instructions to each electric energy data acquisition terminal based on the preset protocol, receives the electric energy feedback data, further stores the electric energy feedback data and analyzes the running state of the electric power equipment by using the electric energy feedback data, meets the monitoring requirement on the running state of the electric power equipment, does not need operators to arrive at the field for maintenance and test, and further reduces the labor cost.
The foregoing description is only an overview of the present application, and is intended to be implemented in accordance with the teachings of the present application in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present application more readily apparent.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
fig. 1 shows a flowchart of a method for collecting electric energy data according to an embodiment of the present application;
FIG. 2 is a flowchart of another method for collecting electric energy data according to an embodiment of the present application;
fig. 3 shows a schematic diagram of a power data transmission channel according to an embodiment of the present application;
FIG. 4 shows a block diagram of a power data acquisition system according to an embodiment of the present application;
fig. 5 shows a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Meanwhile, it should be understood that the sizes of the respective parts shown in the drawings are not drawn in actual scale for convenience of description.
The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the application, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
Embodiments of the application are operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known computing systems, environments, and/or configurations that may be suitable for use with the computer system/server include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, mainframe computer systems, and distributed cloud computing technology environments that include any of the foregoing, and the like.
A computer system/server may be described in the general context of computer-system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc., that perform particular tasks or implement particular abstract data types. The computer system/server may be implemented in a distributed cloud computing environment in which tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computing system storage media including memory storage devices.
The embodiment of the application provides a method for collecting electric energy data, as shown in fig. 1, which comprises the following steps:
101. and respectively converting a plurality of acquisition instructions aiming at the electric energy data into acquisition instruction messages based on a preset protocol.
The system comprises a power data acquisition instruction, a power data acquisition instruction and a power generation instruction, wherein the power data acquisition instruction comprises an acquisition instruction for forward active interval electric quantity, an acquisition instruction for reverse active accumulated electric quantity, an acquisition instruction for A-phase voltage, an acquisition instruction for C-phase current and the like; the acquisition instruction message can be obtained by converting an acquisition instruction aiming at the electric energy data according to a preset protocol; the protocol functions as a translation look-up table. In the embodiment of the application, the current execution end can be arranged in the monitoring unit of the main station of the power system and used for monitoring the running state of the power equipment in the factory or carrying out statistical analysis on electric quantity data and the like.
102. And sending each acquisition instruction message to a corresponding electric energy data acquisition terminal, and receiving the message of electric energy feedback data sent by each electric energy data acquisition terminal.
The electric energy data acquisition terminal acquires electric energy data through a plurality of electric energy meters arranged below, and particularly, the electric energy data acquisition terminal is provided with a plurality of electric energy meters below, physical communication is carried out between the electric energy data acquisition terminal and the electric energy meters based on 485 communication serial ports, and real-time communication interaction is carried out with the electric energy meters through meter communication protocols (which can be researched and developed and regulated by meter manufacturers). The electric energy data acquisition terminal issues corresponding data acquisition instructions to each electric energy meter according to the corresponding meter rule so as to acquire data items defined by multiple channels, the data items are stored in the electric energy data acquisition terminal, the electric energy data acquisition terminal interacts with the current execution end, and the acquired electric energy data are transmitted to the current execution end. It can be understood that the current execution end, the electric energy data acquisition terminal and the electric energy meter all have communication interaction relations, the current execution end receives the electric energy data acquired by the electric energy data acquisition terminal, the electric energy data acquisition terminal receives the electric energy data acquired by the electric energy meter, and the electric energy data acquisition terminal is used as relay equipment to complete acquisition and forwarding of the electric energy data.
It should be noted that all collected data of the electric energy data collection terminal are derived from the electric energy meter, so all data items are generated by the electric energy meter. In addition, the electric energy data is transmitted in the form of messages when being transmitted among the current execution end, the electric energy data acquisition terminal and the electric energy meter.
103. And respectively analyzing and translating the messages of each electric energy feedback data based on a preset protocol to obtain a plurality of electric energy feedback data after the analysis and translation are completed, and storing the plurality of electric energy feedback data in a preset storage space.
In the embodiment of the application, the message structure comprises a message head and a message body, wherein the message head mainly comprises a starting character and a message length; the message body is a general data set. For example, the data unit identifier 1 is composed of a type identifier, a variable structure qualifier, a transmission reason, a cumulative amount (electric energy) data terminal device address, a record address, etc., and the CP32+8b specifies each item of content (for example, a type identifier) as a fixed system parameter, 1 or 2 8 bits groups, 1 or 2 bytes, and a 16-ary corresponding message structure occupies 2 characters in length. The data unit identifier 2 consists of an information body address, an information element set, an information body time stamp, etc., with CP8i +8j +8tb specifying that the information body address, if present, is 1 8-bit group, the information element set is 8-bit group, and the information body time stamp, if present, is 7 octets (year-month-day-time-minute-second-millisecond). It should be noted that the above content is only a general rule, and the message content cannot be constrained, and the adaptive configuration can be performed according to the service requirement. Based on this, the message of the electrical energy feedback data sent by the electrical energy data acquisition terminal in the embodiment step 102 may be translated, so as to obtain the electrical energy feedback data, and further store and apply the electrical energy feedback data.
Compared with the prior art, the embodiment of the application issues various data acquisition instructions to each electric energy data acquisition terminal based on the preset protocol, receives the electric energy feedback data, further stores the electric energy feedback data and analyzes the running state of the electric power equipment by using the electric energy feedback data, meets the monitoring requirement on the running state of the electric power equipment, does not need operators to arrive at the field for maintenance and test, and further reduces the labor cost.
The embodiment of the application provides another method for collecting electric energy data, as shown in fig. 2, which comprises the following steps:
201. and performing time setting operation on each electric energy data acquisition terminal based on a preset protocol.
In the embodiment of the present application, the purpose of the clock synchronization operation is to keep the clocks of the source device and the target device synchronous, and since the internal clock of the physical device is not an atomic clock, clock deviation is easy to generate after a period of operation, and therefore, clock calibration (i.e. the clock synchronization operation) needs to be performed before the collection of the electrical energy data or after a period of operation. Specifically, the current execution end issues a time setting operation instruction, and the electric energy data acquisition terminal synchronizes the time of the current execution end so as to finish the time setting operation. The method can include inquiring the operation of the electric energy data acquisition terminal on the time source, designating the operation of the electric energy meter list on the time source and the like. The method comprises the steps of inquiring the time source operation of the electric energy data acquisition terminal, specifically, inquiring which time source exists in the electric energy data acquisition terminal, and storing related time source addresses by the electric energy data acquisition terminal, wherein the time source operation can be divided into an internal time source (namely equipment per se) and an external time source (namely other physical equipment). The current execution end inquires the time source of the electric energy data acquisition terminal, so as to determine whether the electric energy data acquisition terminal has a relevant calibration time source and the distribution condition of the time source. The method comprises the steps that the current execution end sets the authority of the electric energy data acquisition terminal to time sources, wherein the authority comprises the internal time sources, namely the electric energy data acquisition terminal does not perform time setting operation on external time setting instructions; or an external time source is appointed, namely the electric energy data acquisition terminal can receive a time setting instruction from the external time source. The specified electric energy meter list time setting operation is specifically that the current execution end specifies an electric energy meter serial number set under the electric energy data acquisition terminal, namely, the current execution end issues a time setting instruction to the electric energy meter set under the electric energy data acquisition terminal, and after the current execution end generates the time setting instruction of the electric energy meter, the electric energy data acquisition terminal forwards the time setting instruction to execute the time setting operation of the electric energy meter.
202. An acquisition instruction for the electrical energy data is generated.
In the embodiment of the application, the acquisition instruction for the electric energy data can be generated based on the multithreading cooperation and the thread pooling technology so as to improve the processing efficiency of the data. On one hand, the multithreading collaboration can be based on multithreading of the electric energy data acquisition terminals communicated under the netty communication framework, and one electric energy data acquisition terminal IP generates a corresponding thread to communicate with; on the other hand, an electric energy data acquisition terminal IP generates a message processing thread to send and respond the message, and the communication thread and the message processing thread of the same IP finish data exchange based on the message queue. Based on this, the current execution end may call a preset number of task threads (active threads are stored in the thread pool for call) from the task thread pool (e.g. the timing scheduling thread pool), and configure task thread parameters (e.g. collect once per minute) for each task thread according to preset rules (e.g. minutes, hours, days, months, weeks) and generate collection instructions, including but not limited to collection instructions, time synchronization instructions, event queries, etc.
Correspondingly, the embodiment step 202 specifically includes: invoking a preset number of task threads from a task thread pool; corresponding task thread parameters are configured for each task thread according to preset rules, and a plurality of acquisition instructions aiming at electric energy data are generated.
203. And respectively converting a plurality of acquisition instructions aiming at the electric energy data into acquisition instruction messages based on a preset protocol.
In the embodiment of the application, based on a preset protocol, the acquisition instruction aiming at the electric energy data is spliced into a 16-system message instruction according to a contracted structure. The length occupied by each part of data can be analyzed according to the corresponding table structure in the protocol.
204. And sending each acquisition instruction message to a corresponding electric energy data acquisition terminal, and receiving the message of electric energy feedback data sent by each electric energy data acquisition terminal.
In the embodiment of the application, the acquisition instruction aiming at the electric energy data carries the identification mark of the corresponding electric energy data acquisition terminal, and each acquisition instruction message can be newly added to the tail of the message queue of the corresponding electric energy data acquisition terminal according to the identification mark for issuing. In addition, the issuing manner of the collection instruction message is the same as that of the embodiment step 102, so that the description thereof is omitted here.
Correspondingly, in step 204 of the embodiment, each acquisition instruction message is issued to the corresponding electric energy data acquisition terminal, which specifically includes: and adding each acquisition instruction message to the tail of a message queue of the corresponding electric energy data acquisition terminal according to the identification mark of each electric energy data acquisition terminal so as to wait for issuing.
205. And respectively analyzing and translating the messages of each electric energy feedback data based on a preset protocol to obtain a plurality of electric energy feedback data after the analysis and translation are completed, and storing the plurality of electric energy feedback data in a preset storage space.
In a specific application scenario, as shown in fig. 3, the electric energy data transmission channel encrypts the electric energy feedback data after the analysis and translation processing by a longitudinal encryption device to ensure the safety of the electric energy feedback data, sends the ciphertext of the electric energy feedback data into a message queue for storage, reads the message queue data through a link, and persists to a two-region database (namely a first storage space); secondly, storing the electric energy feedback data ciphertext in a log form to generate a data log file, and synchronizing the data log file of the second scheduling area (namely the first storage space) to the third scheduling area (namely the second storage space) through a forward isolation device; finally, through a thumb log frame of dispatching three areas (second storage space), the text is read to a message queue of four areas (third storage space) for storage, and then the information queue data is read by the Flink and is persisted to a four-area database (third storage space).
It should be noted that, the second storage space is a transit storage space, and is used for isolating the first storage space and the third storage space, so as to protect the security of the first storage space network, and only allow the data of the first storage space to be synchronized to the second storage space, thereby completing unidirectional data synchronization. The method is realized by arranging a forward isolation device, wherein the forward isolation device is used for isolating a network, so that a network source and a terminal cannot complete data exchange through any communication protocol.
Accordingly, in step 205 of the embodiment, the storing the plurality of electrical energy feedback data in the preset storage space specifically includes: performing longitudinal encryption processing on a plurality of electric energy feedback data to obtain an electric energy feedback data ciphertext, and storing the electric energy feedback data ciphertext in a first storage space; synchronizing the ciphertext of the electric energy feedback data with a second storage space in a unidirectional transmission mode through a forward isolation device, wherein the second storage space is a transit storage space and is used for isolating the first storage space from a third storage space; and transmitting and storing the ciphertext of the electric energy feedback data synchronous with the second storage space to the third storage space.
206. And analyzing the running state of the power equipment.
In the embodiment of the application, the electric energy feedback data in the first quarter of the year in the target factory is extracted for corresponding analysis of the running state of the electric power equipment, including statistics of the electric power data, electric power balance analysis, equipment abnormality analysis, equipment state evaluation and the like.
Correspondingly, the embodiment step 206 specifically includes: the method comprises the steps of calling electric energy feedback data of a target station in a preset period from a preset storage space; and determining the operation state of the power equipment of the target plant according to the electric energy feedback data.
The application provides a method for collecting electric energy data, which comprises the steps of firstly, respectively converting a plurality of collecting instructions aiming at the electric energy data into collecting instruction messages based on a preset protocol; secondly, issuing each acquisition instruction message to a corresponding electric energy data acquisition terminal, and receiving a message of electric energy feedback data sent by each electric energy data acquisition terminal; and finally, respectively analyzing and translating the messages of the electric energy feedback data based on the preset protocol to obtain a plurality of electric energy feedback data after the analysis and translation are completed, and storing the electric energy feedback data in a preset storage space. Compared with the prior art, the embodiment of the application issues various data acquisition instructions to each electric energy data acquisition terminal based on the preset protocol, receives the electric energy feedback data, further stores the electric energy feedback data and analyzes the running state of the electric power equipment by using the electric energy feedback data, meets the monitoring requirement on the running state of the electric power equipment, does not need operators to arrive at the field for maintenance and test, and further reduces the labor cost.
Further, as an implementation of the method shown in fig. 1, an embodiment of the present application provides a system for collecting electric energy data, as shown in fig. 4, where the system includes:
the conversion module 31, the issuing module 32, the storage module 33.
The conversion module 31 is configured to convert a plurality of acquisition instructions for the electric energy data into acquisition instruction messages respectively based on a preset protocol;
the issuing module 32 is configured to issue each acquisition instruction packet to a corresponding electric energy data acquisition terminal, and receive a packet of electric energy feedback data sent by each electric energy data acquisition terminal;
the storage module 33 is configured to respectively parse and translate the messages of the electrical energy feedback data based on the preset protocol, obtain a plurality of electrical energy feedback data after parsing and translating, and store the electrical energy feedback data in a preset storage space.
In a specific application scenario, after the storage module, the system further includes:
the first calling module is used for calling the electric energy feedback data of the target plant station in a preset period from the preset storage space;
and the determining module is used for determining the operation state of the power equipment of the target plant station according to the electric energy feedback data.
In a specific application scenario, before the conversion module, the system further includes:
the second calling module is used for calling a preset number of task threads from the task thread pool;
the configuration module is used for configuring corresponding task thread parameters for each task thread according to preset rules and generating a plurality of acquisition instructions aiming at electric energy data.
In a specific application scenario, the issuing module is specifically configured to:
and adding each acquisition instruction message to the tail of a message queue of the corresponding electric energy data acquisition terminal according to the identification mark of each electric energy data acquisition terminal so as to wait for issuing.
In a specific application scenario, the storage module is specifically configured to:
performing longitudinal encryption processing on a plurality of pieces of electric energy feedback data to obtain electric energy feedback data ciphertext, and storing the electric energy feedback data ciphertext in a first storage space;
synchronizing the electric energy feedback data ciphertext with a second storage space in a unidirectional transmission mode through a forward isolation device, wherein the second storage space is a transit storage space and is used for isolating the first storage space from a third storage space;
and transmitting and storing the ciphertext of the electric energy feedback data synchronous with the second storage space to the third storage space.
In a specific application scenario, before the conversion module, the system further includes:
and the time setting module is used for performing time setting operation on each electric energy data acquisition terminal based on the preset protocol.
The application provides an electric energy data acquisition system, which comprises the steps of firstly, respectively converting a plurality of acquisition instructions aiming at electric energy data into acquisition instruction messages based on a preset protocol; secondly, issuing each acquisition instruction message to a corresponding electric energy data acquisition terminal, and receiving a message of electric energy feedback data sent by each electric energy data acquisition terminal; and finally, respectively analyzing and translating the messages of the electric energy feedback data based on the preset protocol to obtain a plurality of electric energy feedback data after the analysis and translation are completed, and storing the electric energy feedback data in a preset storage space. Compared with the prior art, the embodiment of the application issues various data acquisition instructions to each electric energy data acquisition terminal based on the preset protocol, receives the electric energy feedback data, further stores the electric energy feedback data and analyzes the running state of the electric power equipment by using the electric energy feedback data, meets the monitoring requirement on the running state of the electric power equipment, does not need operators to arrive at the field for maintenance and test, and further reduces the labor cost.
According to one embodiment of the present application, there is provided a storage medium storing at least one executable instruction for performing the method for collecting electrical energy data in any of the above-described method embodiments.
Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.), and includes several instructions for causing a computer device (may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective implementation scenario of the present application.
Fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present application, and the specific embodiment of the present application is not limited to the specific implementation of the terminal.
As shown in fig. 5, the computer device may include: a processor 402, a communication interface (Communications Interface) 404, a memory 406, and a communication bus 408.
Wherein: processor 402, communication interface 404, and memory 406 communicate with each other via communication bus 408.
A communication interface 404 for communicating with network elements of other devices, such as clients or other servers.
The processor 402 is configured to execute the program 410, and may specifically perform relevant steps in the above-described embodiment of the method for collecting electrical energy data.
In particular, program 410 may include program code including computer-operating instructions.
The processor 402 may be a central processing unit CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of the present application. The one or more processors included in the computer device may be the same type of processor, such as one or more CPUs; but may also be different types of processors such as one or more CPUs and one or more ASICs.
Memory 406 for storing programs 410. Memory 406 may comprise high-speed RAM memory or may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
Program 410 may be specifically operable to cause processor 402 to:
respectively converting a plurality of acquisition instructions aiming at the electric energy data into acquisition instruction messages based on a preset protocol;
issuing each acquisition instruction message to a corresponding electric energy data acquisition terminal, and receiving a message of electric energy feedback data sent by each electric energy data acquisition terminal;
and respectively analyzing and translating the messages of the electric energy feedback data based on the preset protocol to obtain a plurality of electric energy feedback data after the analysis and translation are completed, and storing the electric energy feedback data in a preset storage space.
The storage medium may also include an operating system, a network communication module. The operating system is a program of entity device hardware and software resources that manages the collection of the above-described power data, supporting the execution of information handling programs and other software and/or programs. The network communication module is used for realizing communication among all components in the storage medium and communication with other hardware and software in the information processing entity equipment.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different manner from other embodiments, so that the same or similar parts between the embodiments are mutually referred to. For system embodiments, the description is relatively simple as it essentially corresponds to method embodiments, and reference should be made to the description of method embodiments for relevant points.
The method and system of the present application may be implemented in a number of ways. For example, the methods and systems of the present application may be implemented by software, hardware, firmware, or any combination of software, hardware, firmware. The above-described sequence of steps for the method is for illustration only, and the steps of the method of the present application are not limited to the sequence specifically described above unless specifically stated otherwise. Furthermore, in some embodiments, the present application may also be embodied as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present application. Thus, the present application also covers a recording medium storing a program for executing the method according to the present application.
It will be appreciated by those skilled in the art that the modules or steps of the application described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a memory device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (9)
1. A method for collecting electrical energy data, comprising:
respectively converting a plurality of acquisition instructions aiming at the electric energy data into acquisition instruction messages based on a preset protocol;
issuing each acquisition instruction message to a corresponding electric energy data acquisition terminal, and receiving a message of electric energy feedback data sent by each electric energy data acquisition terminal;
and respectively analyzing and translating the messages of the electric energy feedback data based on the preset protocol to obtain a plurality of electric energy feedback data after the analysis and translation are completed, and storing the electric energy feedback data in a preset storage space.
2. The method of claim 1, wherein after storing the plurality of power feedback data in the predetermined storage space, the method further comprises:
the electric energy feedback data of the target station in the preset period are fetched from the preset storage space;
and determining the operation state of the power equipment of the target plant according to the electric energy feedback data.
3. The method according to claim 1, wherein before the converting the plurality of collection instructions for the electrical energy data into collection instruction messages, respectively, based on a preset protocol, the method further comprises:
invoking a preset number of task threads from a task thread pool;
and configuring corresponding task thread parameters for each task thread according to a preset rule, and generating a plurality of acquisition instructions aiming at electric energy data.
4. The method according to claim 1, wherein the issuing each collection instruction message to a corresponding electrical energy data collection terminal specifically includes:
and adding each acquisition instruction message to the tail of a message queue of the corresponding electric energy data acquisition terminal according to the identification mark of each electric energy data acquisition terminal so as to wait for issuing.
5. The method according to claim 1, wherein storing the plurality of power feedback data in a predetermined storage space, specifically comprises:
performing longitudinal encryption processing on a plurality of pieces of electric energy feedback data to obtain electric energy feedback data ciphertext, and storing the electric energy feedback data ciphertext in a first storage space;
synchronizing the electric energy feedback data ciphertext with a second storage space in a unidirectional transmission mode through a forward isolation device, wherein the second storage space is a transit storage space and is used for isolating the first storage space from a third storage space;
and transmitting and storing the ciphertext of the electric energy feedback data synchronous with the second storage space to the third storage space.
6. The method according to any one of claims 1 to 5, wherein before the converting the plurality of collection instructions for the electrical energy data into collection instruction messages, respectively, based on a preset protocol, the method further comprises:
and performing time setting operation on each electric energy data acquisition terminal based on the preset protocol.
7. A system for collecting electrical energy data, comprising:
the conversion module is used for respectively converting a plurality of acquisition instructions aiming at the electric energy data into acquisition instruction messages based on a preset protocol;
the issuing module is used for issuing each acquisition instruction message to a corresponding electric energy data acquisition terminal and receiving the message of electric energy feedback data sent by each electric energy data acquisition terminal;
and the storage module is used for respectively analyzing and translating the messages of the electric energy feedback data based on the preset protocol to obtain a plurality of electric energy feedback data after the analysis and translation are completed, and storing the electric energy feedback data in a preset storage space.
8. A storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to the method of collecting electrical energy data according to any one of claims 1-6.
9. A terminal, comprising: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus;
the memory is configured to store at least one executable instruction, where the executable instruction causes the processor to perform operations corresponding to the method for collecting electrical energy data according to any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310592397.7A CN116736002A (en) | 2023-05-24 | 2023-05-24 | Electric energy data acquisition method and system, storage medium and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310592397.7A CN116736002A (en) | 2023-05-24 | 2023-05-24 | Electric energy data acquisition method and system, storage medium and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116736002A true CN116736002A (en) | 2023-09-12 |
Family
ID=87908885
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310592397.7A Pending CN116736002A (en) | 2023-05-24 | 2023-05-24 | Electric energy data acquisition method and system, storage medium and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116736002A (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102929823A (en) * | 2012-09-08 | 2013-02-13 | 佳都新太科技股份有限公司 | Multiple serial port communication system and method based on thread pool |
CN103368265A (en) * | 2013-07-25 | 2013-10-23 | 云南电网公司大理供电局 | Unidirectional cross-security subzone transformer substation comprehensive measurement and control platform and measurement and control method thereof |
CN104468310A (en) * | 2014-11-14 | 2015-03-25 | 国家电网公司 | Power communication system and method |
CN105281436A (en) * | 2011-10-28 | 2016-01-27 | 江苏省电力公司常州供电公司 | Method for concentratedly acquiring data of scheduling power equipment |
CN109992414A (en) * | 2019-03-12 | 2019-07-09 | 平安普惠企业管理有限公司 | A kind of task processing method and device based on thread pool |
CN111611256A (en) * | 2020-04-30 | 2020-09-01 | 广东良实机电工程有限公司 | Equipment energy consumption monitoring method and device, terminal equipment and storage medium |
CN212064053U (en) * | 2020-05-09 | 2020-12-01 | 北京华圣龙源科技有限公司 | New energy station information acquisition and APT monitoring system and device |
CN112527214A (en) * | 2020-10-23 | 2021-03-19 | 广西电网有限责任公司南宁供电局 | Nondestructive electronic reporting system for relay protection information of transformer substation |
CN114358553A (en) * | 2021-12-28 | 2022-04-15 | 南方电网海南数字电网研究院有限公司 | Power grid rate time interval setting system |
CN115515026A (en) * | 2022-09-20 | 2022-12-23 | 华立科技股份有限公司 | Ammeter data transmission system, method, device, equipment and medium |
CN115858672A (en) * | 2022-11-28 | 2023-03-28 | 深圳市航天泰瑞捷电子有限公司 | Power terminal management method and device, electronic equipment and storage medium |
-
2023
- 2023-05-24 CN CN202310592397.7A patent/CN116736002A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105281436A (en) * | 2011-10-28 | 2016-01-27 | 江苏省电力公司常州供电公司 | Method for concentratedly acquiring data of scheduling power equipment |
CN102929823A (en) * | 2012-09-08 | 2013-02-13 | 佳都新太科技股份有限公司 | Multiple serial port communication system and method based on thread pool |
CN103368265A (en) * | 2013-07-25 | 2013-10-23 | 云南电网公司大理供电局 | Unidirectional cross-security subzone transformer substation comprehensive measurement and control platform and measurement and control method thereof |
CN104468310A (en) * | 2014-11-14 | 2015-03-25 | 国家电网公司 | Power communication system and method |
CN109992414A (en) * | 2019-03-12 | 2019-07-09 | 平安普惠企业管理有限公司 | A kind of task processing method and device based on thread pool |
CN111611256A (en) * | 2020-04-30 | 2020-09-01 | 广东良实机电工程有限公司 | Equipment energy consumption monitoring method and device, terminal equipment and storage medium |
CN212064053U (en) * | 2020-05-09 | 2020-12-01 | 北京华圣龙源科技有限公司 | New energy station information acquisition and APT monitoring system and device |
CN112527214A (en) * | 2020-10-23 | 2021-03-19 | 广西电网有限责任公司南宁供电局 | Nondestructive electronic reporting system for relay protection information of transformer substation |
CN114358553A (en) * | 2021-12-28 | 2022-04-15 | 南方电网海南数字电网研究院有限公司 | Power grid rate time interval setting system |
CN115515026A (en) * | 2022-09-20 | 2022-12-23 | 华立科技股份有限公司 | Ammeter data transmission system, method, device, equipment and medium |
CN115858672A (en) * | 2022-11-28 | 2023-03-28 | 深圳市航天泰瑞捷电子有限公司 | Power terminal management method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11635455B2 (en) | System and method for performing data transfers in an intelligent electronic device | |
CN101827302B (en) | Processing method and unified service platform are unified in multi-service | |
CN111737329A (en) | Unified data acquisition platform for rail transit | |
CN112511218B (en) | Satellite ground station monitoring system based on microservice | |
CN110868349B (en) | Distributed high-concurrency data acquisition and processing method and system in Internet of things environment | |
CN111294235A (en) | Data processing method, device, gateway and readable storage medium | |
CN102480335A (en) | Method and system for transmitting business data | |
CN109783330B (en) | Log processing method, log display method, and related device and system | |
CN116736002A (en) | Electric energy data acquisition method and system, storage medium and terminal | |
CN108712306A (en) | A kind of information system automation inspection platform and method for inspecting | |
CN116450726B (en) | Multi-source heterogeneous data exchange platform and exchange method for power system | |
CN106027189B (en) | It is a kind of to realize the method and system that internet of things equipment message time stamp is provided | |
CN114201537B (en) | Method, system, equipment and storage medium for collecting and storing energy storage data | |
CN116260503A (en) | Multi-station control data transmission system and method based on antenna equipment | |
CN112764945B (en) | Message center service middleware system | |
CN111401819B (en) | Intersystem data pushing method and system | |
CN114390033A (en) | Loop state patrol instrument acquisition system and method based on extensible communication protocol | |
Choi et al. | Distributed energy resources monitoring and control based on IoT protocol | |
CN107707464B (en) | Front-end system for mass data interaction based on distributed message queue | |
CN113055378A (en) | Protocol conversion platform for industrial internet identification analysis and data docking method | |
Singh et al. | A data exchange interface for a standards based data integration platform | |
Lu et al. | Using IEC CIM standards and SOA technology for coordinated voltage control application | |
CN105281976A (en) | Method and apparatus for monitoring transmission of proxy service data | |
CN113867287B (en) | Industrial data acquisition method and system | |
CN115314572B (en) | Protocol conversion method, system and equipment for power communication protocol |
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 |