CN116582772B - Electric energy data acquisition method, system, electronic equipment and medium - Google Patents

Electric energy data acquisition method, system, electronic equipment and medium Download PDF

Info

Publication number
CN116582772B
CN116582772B CN202310324085.8A CN202310324085A CN116582772B CN 116582772 B CN116582772 B CN 116582772B CN 202310324085 A CN202310324085 A CN 202310324085A CN 116582772 B CN116582772 B CN 116582772B
Authority
CN
China
Prior art keywords
electric energy
energy data
data acquisition
data
acquisition module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310324085.8A
Other languages
Chinese (zh)
Other versions
CN116582772A (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.)
Sichuan Cheneel Technology Co ltd
Original Assignee
Sichuan Cheneel Technology 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 Sichuan Cheneel Technology Co ltd filed Critical Sichuan Cheneel Technology Co ltd
Priority to CN202310324085.8A priority Critical patent/CN116582772B/en
Publication of CN116582772A publication Critical patent/CN116582772A/en
Application granted granted Critical
Publication of CN116582772B publication Critical patent/CN116582772B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R22/00Arrangements for measuring time integral of electric power or current, e.g. electricity meters
    • G01R22/06Arrangements for measuring time integral of electric power or current, e.g. electricity meters by electronic methods
    • G01R22/061Details of electronic electricity meters
    • G01R22/063Details of electronic electricity meters related to remote communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/40Arrangements in telecontrol or telemetry systems using a wireless architecture
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/70Arrangements in the main station, i.e. central controller

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention belongs to the technical field of electric energy data acquisition, and aims to provide an electric energy data acquisition method, an electric energy data acquisition system, electronic equipment and a medium. Before receiving the electric energy data, the invention can realize the self-adaptive adjustment of the electric energy data acquisition module by carrying out the detection step of data transmission requirement on the current electric energy data acquisition module, is suitable for the connection of the processing module and various electric energy data acquisition modules, is beneficial to realizing the communication between the processing module and the electric energy data acquisition modules of different types, is convenient to improve the acquisition success rate of the electric energy data, and can also improve the electric energy data acquisition range of the same processing module.

Description

Electric energy data acquisition method, system, electronic equipment and medium
Technical Field
The invention belongs to the technical field of electric energy data acquisition, and particularly relates to an electric energy data acquisition method, an electric energy data acquisition system, electronic equipment and a medium.
Background
The electric energy data is the basis for electric charge settlement, and the effective electric energy collection can ensure the pertinence and the accuracy of anomaly analysis, remote diagnosis and repair and field investigation processing. At present, a centralized processing mode is generally adopted to collect electric energy data, and a remote communication mode is adopted to transmit the electric energy data to a master station system for analysis and processing.
However, in using the prior art, the inventors found that there are at least the following problems in the prior art:
the main station system is usually connected with a plurality of electric energy data acquisition terminals, and in the long-term operation process, the condition that a main station system processor or the electric energy data acquisition terminals are replaced possibly exists, and after the main station system is rebinding with the electric energy data acquisition terminals, the problem that communication modes, communication capacity and the like cannot be matched possibly exists, so that the main station system cannot normally acquire electric energy data.
Disclosure of Invention
The invention aims to solve the technical problems at least to a certain extent, and provides an electric energy data acquisition method, an electric energy data acquisition system, electronic equipment and a medium.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
in a first aspect, the invention provides an electric energy data acquisition method, which is executed based on a processing module, wherein the processing module is in communication connection with a plurality of electric energy data acquisition modules, and the plurality of electric energy data acquisition modules are correspondingly connected with an ammeter; the method comprises the following steps:
sending an electric energy data acquisition task to a designated electric energy data acquisition module;
receiving a data transmission request sent by any electric energy data acquisition module, and judging whether the current electric energy data acquisition module meets a preset data transmission requirement according to equipment transmission information of the current electric energy data acquisition module bound with the data transmission request;
if yes, receiving the electric energy data sent by the current electric energy data acquisition module, and then re-receiving a data transmission request sent by any electric energy data acquisition module;
if not, obtaining first error reporting information corresponding to the current electric energy data acquisition module according to the equipment transmission information, and then entering the next step;
and sending the first error reporting information to a current electric energy data acquisition module so that the current electric energy data acquisition module carries out data correction on electric energy data to be transmitted to obtain corrected electric energy data, and outputting a data transmission request to the processing module based on the corrected electric energy data.
The invention can realize the self-adaptive adjustment of the electric energy data acquisition module, is suitable for the connection of the processing module and various electric energy data acquisition modules, and is beneficial to the improvement of the electric energy data acquisition range. Specifically, in the implementation process, the invention firstly sends an electric energy data acquisition task to a designated electric energy data acquisition module; receiving a data transmission request sent by any electric energy data acquisition module, and judging whether the current electric energy data acquisition module meets a preset data transmission requirement according to equipment transmission information of the current electric energy data acquisition module bound with the data transmission request; if yes, receiving the electric energy data sent by the current electric energy data acquisition module, and then re-receiving a data transmission request sent by any electric energy data acquisition module; if not, obtaining first error reporting information corresponding to the current electric energy data acquisition module according to the equipment transmission information, and then sending the first error reporting information to the current electric energy data acquisition module so that the current electric energy data acquisition module carries out data correction on electric energy data to be transmitted to obtain corrected electric energy data, and outputting a data transmission request to the processing module based on the corrected electric energy data. In the process, before the electric energy data is received, the detection step of data transmission requirements is carried out on the current electric energy data acquisition module, so that the self-adaptive adjustment of the electric energy data acquisition module is conveniently realized, the communication between the processing module and the electric energy data acquisition modules of different types is facilitated, the acquisition success rate of the electric energy data is conveniently improved, and the electric energy data acquisition range of the same processing module is also improved.
In one possible design, after determining that the current power data collection module meets a preset data transmission requirement, the method includes:
judging whether the electric energy data to be transmitted meets the preset data acquisition requirement according to the data abstract information of the electric energy data to be transmitted, which is bound with the data transmission request;
if yes, receiving the electric energy data sent by the current electric energy data acquisition module, and then re-receiving a data transmission request sent by any electric energy data acquisition module;
if not, obtaining second error reporting information corresponding to the electric energy data to be transmitted according to the data abstract information, and then entering the next step;
and sending the second error reporting information to the current electric energy data acquisition module so that the current electric energy data acquisition module can acquire electric energy data again according to the second error reporting information and output a data transmission request to the processing module based on the acquired electric energy data.
In one possible design, the data acquisition requirements include a storage capacity requirement of the electrical energy data to be transmitted, a format requirement of the electrical energy data to be transmitted, and/or an acquisition time requirement of the electrical energy data to be transmitted.
In one possible design, after receiving the power data, the method further comprises:
deleting repeated values with the same address ID, equipment ID, acquisition time and data value in the electric energy data to obtain electric energy data with the repeated values deleted;
performing anomaly detection on the electric energy data after repeated value deletion to obtain anomaly data in the electric energy data after repeated value deletion, and deleting the anomaly data to obtain electric energy data after anomaly value deletion;
filling the deleted value of the electric energy data after deleting the abnormal value to obtain the preprocessed electric energy data;
and storing the preprocessed electric energy data.
In one possible design, the processing module is also communicatively connected with a data storage module, which is divided into a plurality of sub-storage modules; storing the preprocessed electrical energy data, comprising:
carrying out sectional processing on the preprocessed electric energy data to obtain a plurality of sectional data;
sequentially carrying out boundary marking on the plurality of segmented data to obtain marked segmented data;
and sending the marked segmented data to a plurality of sub-storage modules in a one-to-one correspondence manner for storage.
In one possible design, after receiving the power data, the method further comprises:
extracting the data acquisition time from the electric energy data;
and acquiring the base station time, comparing the data acquisition time with the base station time, judging whether the time difference between the data acquisition time and the base station time is larger than a duration threshold value, and if so, performing time calibration on the data acquisition time according to the time difference to obtain time-calibrated electric energy data.
In one possible design, the time difference is:
t=t c -t b +t d
wherein t is c The data acquisition time is; t is t b Is saidBase station time; t is t d Data transmission delay, t d And the value of the code is L, wherein L is the data length of the electric energy data, N is the code length corresponding to the code mapping of each byte in the electric energy data when transmitting, and v is the code transmission rate.
In a second aspect, the present invention provides an electrical energy data acquisition system for implementing an electrical energy data acquisition method as described in any one of the preceding claims; the electric energy data acquisition system comprises:
the acquisition task issuing module is used for sending the electric energy data acquisition task to the appointed electric energy data acquisition module;
the data transmission request receiving module is in communication connection with the acquisition task issuing module and is used for receiving a data transmission request sent by any electric energy data acquisition module;
the request data processing module is in communication connection with the data transmission request receiving module and is used for judging whether the current electric energy data acquisition module meets the preset data transmission requirement according to the equipment transmission information of the current electric energy data acquisition module bound with the data transmission request; if yes, receiving the electric energy data sent by the current electric energy data acquisition module, and then re-receiving a data transmission request sent by any electric energy data acquisition module; if not, obtaining first error reporting information corresponding to the current electric energy data acquisition module according to the equipment transmission information, and then sending the first error reporting information to the current electric energy data acquisition module so that the current electric energy data acquisition module carries out data correction on electric energy data to be transmitted to obtain corrected electric energy data, and outputting a data transmission request based on the corrected electric energy data.
In a third aspect, the present invention provides an electronic device, comprising:
a memory for storing computer program instructions; the method comprises the steps of,
a processor for executing the computer program instructions to perform the operations of the electrical energy data collection method as set forth in any one of the preceding claims.
In a fourth aspect, the present invention provides a computer readable storage medium storing computer program instructions readable by a computer, the computer program instructions being configured to perform operations of the electrical energy data collection method of any one of the preceding claims when run.
Drawings
FIG. 1 is a flow chart of a method of collecting electrical energy data in an embodiment;
FIG. 2 is a block diagram of a power data acquisition system according to an embodiment;
fig. 3 is a block diagram of an electronic device in an embodiment.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the present invention will be briefly described below with reference to the accompanying drawings and the description of the embodiments or the prior art, and it is obvious that the following description of the structure of the drawings is only some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art. It should be noted that the description of these examples is for aiding in understanding the present invention, but is not intended to limit the present invention.
Example 1:
the embodiment discloses a method for collecting electric energy data, which can be executed by a computer device or a virtual machine with a certain computing resource, for example, an electronic device such as a personal computer, a smart phone, a personal digital assistant or a wearable device, or a virtual machine. In this embodiment, the electric energy data collection method is executed based on a processing module of the master station system, where the processing module is communicatively connected with a plurality of electric energy data collection modules, and the plurality of electric energy data collection modules are correspondingly connected with an electric meter, and it should be understood that the processing module is a data processing terminal of the master station system, and the electric energy data collection module is used for collecting electric energy data recorded by the electric meter;
as shown in fig. 1, a method for collecting electric energy data may include, but is not limited to, the following steps:
s1, sending an electric energy data acquisition task to a designated electric energy data acquisition module.
S2, receiving a data transmission request sent by any electric energy data acquisition module, and judging whether the current electric energy data acquisition module meets a preset data transmission requirement according to equipment transmission information of the current electric energy data acquisition module bound with the data transmission request; if yes, go to step S3, if no, go to step S4.
S3, receiving the electric energy data sent by the current electric energy data acquisition module, and then re-receiving a data transmission request sent by any electric energy data acquisition module, namely returning to the step S2.
In this embodiment, after determining that the current electric energy data acquisition module meets a preset data transmission requirement, the method specifically includes:
s301, judging whether the electric energy data to be transmitted meets preset data acquisition requirements or not according to the data abstract information of the electric energy data to be transmitted, which is bound with the data transmission request; if yes, step S302 is entered, and if no, step S303 is entered.
S302, receiving the electric energy data sent by the current electric energy data acquisition module, and then re-receiving a data transmission request sent by any electric energy data acquisition module, namely returning to the step S2.
In this embodiment, after receiving the electrical energy data, the method further includes:
A1. and deleting repeated values with the same address ID (Identity document, identification number), equipment ID, acquisition time and data value in the electric energy data to obtain the electric energy data after repeated value deletion.
A2. Performing anomaly detection on the electric energy data after repeated value deletion to obtain anomaly data in the electric energy data after repeated value deletion, and deleting the anomaly data to obtain electric energy data after anomaly value deletion; it should be noted that, the abnormal data may be, but is not limited to, electric energy data with unreasonable voltage effective value, unreasonable data duration, inconsistent data collection interval and discontinuous data collection value of the monitoring point, which is not limited herein.
A3. Filling the deleted value of the electric energy data after deleting the abnormal value to obtain the preprocessed electric energy data; specifically, when the collected electric energy data is continuously smooth, the average value of the data at the previous time and the data at the next time is used as a missing value, the missing position is filled with the missing value, and when the number of the missing data is a plurality of, the missing position is sequentially filled with the missing value by using the normal collected value at the previous time as the missing value.
A4. And storing the preprocessed electric energy data.
With the development of power systems, the speed requirements for collecting electric energy data and the real-time requirements for processing massive electric energy data are higher and higher. In the prior art, the efficiency of collecting and storing the electric energy data is low, which is not beneficial to realizing the collection of mass electric energy data. To solve this technical problem, the present implementation further makes the following improvements: the processing module is also in communication connection with a data storage module which is divided into a plurality of sub-storage modules; storing the preprocessed electrical energy data, comprising:
A401. the pre-processed electric energy data is subjected to segmentation processing, the segment size of the segmented data can be flexibly adjusted according to actual conditions, for example, the segment size is adjusted to 1024 bytes, so that the pre-processed electric energy data is subjected to segmentation management, and a plurality of segmented data are obtained.
A402. And sequentially carrying out boundary marking on the plurality of segmented data to obtain marked segmented data.
A403. And sending the marked segmented data to a plurality of sub-storage modules in a one-to-one correspondence manner for storage.
In this embodiment, the marked segmented data carries a segment head flag and a segment tail flag for carrying out segmentation processing on the marked segmented data, and in the transmission process, the processing module can identify a plurality of data segments based on the segment head flag and the segment tail flag so as to store the marked segmented data in a partitioned manner. For example, the pre-processed electric energy data is segmented to sequentially obtain first marked segmented data, second marked segmented data and the like, the first marked segmented data can be stored in the first storage module in the process of alternately sending the plurality of marked segmented data to the two data storage modules for storage, when the tail mark of the first marked segmented data is detected, the storage space is switched, the second marked segmented data is stored in the second storage module, and when the tail mark of the second marked segmented data is detected again, the storage space is switched again, and the operation is repeated sequentially. The device can be favorable for realizing the high-speed storage requirement of the preprocessed electric energy data, thereby being convenient for improving the collection efficiency of the electric energy data.
In this embodiment, the electrical energy data is further stored in a hot backup manner, so that the electrical energy data should be recovered when an unexpected failure occurs.
In this embodiment, after receiving the electrical energy data, the method further includes:
B1. and extracting the data acquisition time from the electric energy data.
B2. And acquiring the base station time, comparing the data acquisition time with the base station time, judging whether the time difference between the data acquisition time and the base station time is larger than a duration threshold value, and if so, performing time calibration on the data acquisition time according to the time difference to obtain time-calibrated electric energy data. It should be noted that, the base station time is the processing module and carries out wireless communication with electric energy data acquisition module in-process, corresponds wireless communication module's base station time, and it comes from the atomic clock of each satellite in the GPS beidou system, calibrates electric energy data's collection time based on the base station time, has the high characteristic of time service precision, can do benefit to the timeliness that improves electric energy data acquisition in-process.
Specifically, the time difference is:
t=t c -t b +t d
wherein t is c The data acquisition time is; t is t b Time for the base station; t is t d Data transmission delay, t d And the symbol L is the data length of the electric energy data, N is the code length corresponding to the code mapping of each byte in the electric energy data when transmitting, and v is the code transmission rate, namely the number of codes transmitted in unit time after the electric energy data is subjected to code mapping and converted into a plurality of codes.
S303, obtaining second error reporting information corresponding to the electric energy data to be transmitted according to the data abstract information, and then entering the next step, namely step S304.
S304, the second error reporting information is sent to a current electric energy data acquisition module, so that the current electric energy data acquisition module can acquire electric energy data again according to the second error reporting information, and a data transmission request is output to the processing module based on the acquired electric energy data.
It should be noted that, the detection of the data acquisition requirement of the electric energy data to be transmitted can realize the preliminary screening of the electric energy data to be acquired, so as to avoid the problem of high error rate in the processes of subsequent electric energy calculation and analysis and the like, and facilitate the improvement of the accuracy of electric energy data acquisition.
Specifically, in this embodiment, the data acquisition requirement includes a storage capacity requirement of the electric energy data to be transmitted, a format requirement of the electric energy data to be transmitted, and/or an acquisition time requirement of the electric energy data to be transmitted.
S4, obtaining first error reporting information corresponding to the current electric energy data acquisition module according to the equipment transmission information, and then entering the next step, namely step S5.
S5, the first error reporting information is sent to a current electric energy data acquisition module, so that the current electric energy data acquisition module carries out data correction on electric energy data to be transmitted, corrected electric energy data is obtained, and a data transmission request is output to the processing module based on the corrected electric energy data.
It should be noted that, the device transmission information includes, but is not limited to, information such as a communication capacity, a data transmission manner, a data transmission format, and the like of the current electric energy data acquisition module, and correspondingly, the data transmission requirement may be an own requirement of the current electric energy data acquisition module, such as a communication capacity requirement, a data transmission format requirement, and the like, which is not limited herein. Taking the device transmission information as the communication capacity of the current electric energy data acquisition module as an example, the communication capacity is the maximum information amount which can be transmitted in unit time, the communication capacity of the current electric energy data acquisition module may not be matched with the communication capacity which can be received by the processing module, if the communication capacity of the current electric energy data acquisition module is larger than the communication capacity which can be received by the processing module, the processing module can obtain first error reporting information corresponding to the current electric energy data acquisition module according to the device transmission information, the first error reporting information indicates that the communication capacity of the current electric energy data acquisition module is larger than the communication capacity which can be received by the processing module, and the specific value is that at the moment, the current electric energy data acquisition module can carry out data correction on electric energy data to be transmitted according to the first error reporting information so as to obtain corrected electric energy data with the communication capacity which is matched with the communication capacity which can be received by the processing module, and output a data transmission request to the processing module based on the corrected electric energy data.
The embodiment can realize the self-adaptive adjustment of the electric energy data acquisition module, is suitable for the connection of the processing module and various electric energy data acquisition modules, and is beneficial to improving the electric energy data acquisition range. Specifically, in the implementation process of the embodiment, an electric energy data acquisition task is firstly sent to a designated electric energy data acquisition module; receiving a data transmission request sent by any electric energy data acquisition module, and judging whether the current electric energy data acquisition module meets a preset data transmission requirement according to equipment transmission information of the current electric energy data acquisition module bound with the data transmission request; if yes, receiving the electric energy data sent by the current electric energy data acquisition module, and then re-receiving a data transmission request sent by any electric energy data acquisition module; if not, obtaining first error reporting information corresponding to the current electric energy data acquisition module according to the equipment transmission information, and then sending the first error reporting information to the current electric energy data acquisition module so that the current electric energy data acquisition module carries out data correction on electric energy data to be transmitted to obtain corrected electric energy data, and outputting a data transmission request to the processing module based on the corrected electric energy data. In the process, before the electric energy data is received, the detection step of data transmission requirements is carried out on the current electric energy data acquisition module, so that the self-adaptive adjustment of the electric energy data acquisition module is conveniently realized, the communication between the processing module and the electric energy data acquisition modules of different types is facilitated, the acquisition success rate of the electric energy data is conveniently improved, and the electric energy data acquisition range of the same processing module is also improved.
In this embodiment, the processing module may collect the electrical energy data in a multi-task concurrency manner, for example, the processing module performs electrical energy data collection on a plurality of electric meters through a plurality of electrical energy data collection modules, thereby facilitating improvement of collection efficiency of the electrical energy data.
Example 2:
the embodiment discloses an electric energy data acquisition system which is used for realizing the electric energy data acquisition method in the embodiment 1; as shown in fig. 2, the electrical energy data acquisition system includes:
the acquisition task issuing module is used for sending the electric energy data acquisition task to the appointed electric energy data acquisition module;
the data transmission request receiving module is in communication connection with the acquisition task issuing module and is used for receiving a data transmission request sent by any electric energy data acquisition module;
the request data processing module is in communication connection with the data transmission request receiving module and is used for judging whether the current electric energy data acquisition module meets the preset data transmission requirement according to the equipment transmission information of the current electric energy data acquisition module bound with the data transmission request; if yes, receiving the electric energy data sent by the current electric energy data acquisition module, and then re-receiving a data transmission request sent by any electric energy data acquisition module; if not, obtaining first error reporting information corresponding to the current electric energy data acquisition module according to the equipment transmission information, and then sending the first error reporting information to the current electric energy data acquisition module so that the current electric energy data acquisition module carries out data correction on electric energy data to be transmitted to obtain corrected electric energy data, and outputting a data transmission request based on the corrected electric energy data.
Example 3:
on the basis of embodiment 1 or 2, this embodiment discloses an electronic device, which may be a smart phone, a tablet computer, a notebook computer, a desktop computer, or the like. An electronic device may be referred to as being used for a terminal, a portable terminal, a desktop terminal, etc., as shown in fig. 3, the electronic device includes:
a memory for storing computer program instructions; the method comprises the steps of,
a processor for executing the computer program instructions to perform the operations of the electrical energy data collection method according to any one of embodiment 1.
In particular, processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 301 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 301 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU (Central Processing Unit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 301 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen.
Memory 302 may include one or more computer-readable storage media, which may be non-transitory. Memory 302 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 302 is used to store at least one instruction for execution by processor 301 to implement the power data collection method provided by embodiment 1 herein.
In some embodiments, the terminal may further optionally include: a communication interface 303, and at least one peripheral device. The processor 301, the memory 302 and the communication interface 303 may be connected by a bus or signal lines. The respective peripheral devices may be connected to the communication interface 303 through a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, a display screen 305, and a power supply 306.
The communication interface 303 may be used to connect at least one peripheral device associated with an I/O (Input/Output) to the processor 301 and the memory 302. In some embodiments, processor 301, memory 302, and communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 301, the memory 302, and the communication interface 303 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 304 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuitry 304 communicates with a communication network and other communication devices via electromagnetic signals.
The display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof.
The power supply 306 is used to power the various components in the electronic device.
Example 4:
on the basis of any one of embodiments 1 to 3, this embodiment discloses a computer-readable storage medium for storing computer-readable computer program instructions configured to perform the operations of the power data collection method described in embodiment 1 when run.
It will be apparent to those skilled in the art that the modules or steps of the invention 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, or they may alternatively be implemented in program code executable by computing devices, such that they may be stored in a memory device for execution by the computing devices, 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. Thus, the present invention is not limited to any specific combination of hardware and software.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solution of the present invention, and not limiting thereof; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some of the technical features thereof can be replaced by equivalents. Such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. The electric energy data acquisition method is characterized by comprising the following steps of: based on execution of the processing module, the processing module is in communication connection with a plurality of electric energy data acquisition modules, and the electric energy data acquisition modules are correspondingly connected with an ammeter; the method comprises the following steps:
sending an electric energy data acquisition task to a designated electric energy data acquisition module;
receiving a data transmission request sent by any electric energy data acquisition module, and judging whether the current electric energy data acquisition module meets a preset data transmission requirement according to equipment transmission information of the current electric energy data acquisition module bound with the data transmission request;
the device transmission information includes a communication capacity of a current electric energy data acquisition module, and judges whether the current electric energy data acquisition module meets a preset data transmission requirement, and the device transmission information includes:
judging whether the communication capacity of the current electric energy data acquisition module is matched with the communication capacity receivable by the processing module;
if yes, receiving the electric energy data sent by the current electric energy data acquisition module, and then re-receiving a data transmission request sent by any electric energy data acquisition module;
if not, obtaining first error reporting information corresponding to the current electric energy data acquisition module according to the equipment transmission information, and then entering the next step;
the first error reporting information is sent to a current electric energy data acquisition module, so that the current electric energy data acquisition module carries out data correction on electric energy data to be transmitted to obtain corrected electric energy data, and a data transmission request is output to the processing module based on the corrected electric energy data;
after receiving the electrical energy data, the method further comprises:
extracting the data acquisition time from the electric energy data;
acquiring base station time, comparing the data acquisition time with the base station time, judging whether the time difference between the data acquisition time and the base station time is larger than a duration threshold value, if so, performing time calibration on the data acquisition time according to the time difference to obtain time-calibrated electric energy data;
the time difference is as follows:
t=t c -t b +t d
in the method, in the process of the invention,t c the data acquisition time is;t b time for the base station;t d the time delay for the data transmission is set,t d =L*N/vLfor the data length of the electrical energy data,Na corresponding coding length of the coding mapping is carried out for each byte in the electric energy data when in transmission,vis the code transmission rate.
2. The method for collecting electrical energy data according to claim 1, wherein: after judging that the current electric energy data acquisition module meets the preset data transmission requirement, the method comprises the following steps:
judging whether the electric energy data to be transmitted meets the preset data acquisition requirement according to the data abstract information of the electric energy data to be transmitted, which is bound with the data transmission request;
if yes, receiving the electric energy data sent by the current electric energy data acquisition module, and then re-receiving a data transmission request sent by any electric energy data acquisition module;
if not, obtaining second error reporting information corresponding to the electric energy data to be transmitted according to the data abstract information, and then entering the next step;
and sending the second error reporting information to the current electric energy data acquisition module so that the current electric energy data acquisition module can acquire electric energy data again according to the second error reporting information and output a data transmission request to the processing module based on the acquired electric energy data.
3. A method of electrical energy data collection according to claim 2, wherein: the data acquisition requirements comprise a storage capacity requirement of the electric energy data to be transmitted, a format requirement of the electric energy data to be transmitted and/or an acquisition time requirement of the electric energy data to be transmitted.
4. The method for collecting electrical energy data according to claim 1, wherein: after receiving the electrical energy data, the method further comprises:
deleting repeated values with the same address ID, equipment ID, acquisition time and data value in the electric energy data to obtain electric energy data with the repeated values deleted;
performing anomaly detection on the electric energy data after repeated value deletion to obtain anomaly data in the electric energy data after repeated value deletion, and deleting the anomaly data to obtain electric energy data after anomaly value deletion;
filling the deleted value of the electric energy data after deleting the abnormal value to obtain the preprocessed electric energy data;
and storing the preprocessed electric energy data.
5. The method for collecting electrical energy data according to claim 4, wherein: the processing module is also in communication connection with a data storage module which is divided into a plurality of sub-storage modules; storing the preprocessed electrical energy data, comprising:
carrying out sectional processing on the preprocessed electric energy data to obtain a plurality of sectional data;
sequentially carrying out boundary marking on the plurality of segmented data to obtain marked segmented data;
and sending the marked segmented data to a plurality of sub-storage modules in a one-to-one correspondence manner for storage.
6. An electric energy data acquisition system, characterized in that: for implementing the electrical energy data acquisition method according to any one of claims 1 to 5; the electric energy data acquisition system comprises:
the acquisition task issuing module is used for sending the electric energy data acquisition task to the appointed electric energy data acquisition module;
the data transmission request receiving module is in communication connection with the acquisition task issuing module and is used for receiving a data transmission request sent by any electric energy data acquisition module;
the request data processing module is in communication connection with the data transmission request receiving module and is used for judging whether the current electric energy data acquisition module meets the preset data transmission requirement according to the equipment transmission information of the current electric energy data acquisition module bound with the data transmission request; the device transmission information includes a communication capacity of a current electric energy data acquisition module, and judges whether the current electric energy data acquisition module meets a preset data transmission requirement, and the device transmission information includes: judging whether the communication capacity of the current electric energy data acquisition module is matched with the communication capacity receivable by the processing module; if yes, receiving the electric energy data sent by the current electric energy data acquisition module, and then re-receiving a data transmission request sent by any electric energy data acquisition module; if not, obtaining first error reporting information corresponding to the current electric energy data acquisition module according to the equipment transmission information, and then sending the first error reporting information to the current electric energy data acquisition module so that the current electric energy data acquisition module carries out data correction on electric energy data to be transmitted to obtain corrected electric energy data, and outputting a data transmission request based on the corrected electric energy data;
after receiving the electrical energy data, the method further comprises:
extracting the data acquisition time from the electric energy data;
acquiring base station time, comparing the data acquisition time with the base station time, judging whether the time difference between the data acquisition time and the base station time is larger than a duration threshold value, if so, performing time calibration on the data acquisition time according to the time difference to obtain time-calibrated electric energy data;
the time difference is as follows:
t=t c -t b +t d
in the method, in the process of the invention,t c the data acquisition time is;t b time for the base station;t d the time delay for the data transmission is set,t d =L*N/vLfor the data length of the electrical energy data,Na corresponding coding length of the coding mapping is carried out for each byte in the electric energy data when in transmission,vis the code transmission rate.
7. An electronic device, characterized in that: comprising the following steps:
a memory for storing computer program instructions; the method comprises the steps of,
a processor for executing the computer program instructions to perform the operations of the electrical energy data collection method of any one of claims 1 to 5.
8. A computer readable storage medium storing computer program instructions readable by a computer, characterized by: the computer program instructions are configured to perform the operations of the electrical energy data collection method of any one of claims 1 to 5 when run on a computer.
CN202310324085.8A 2023-03-29 2023-03-29 Electric energy data acquisition method, system, electronic equipment and medium Active CN116582772B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310324085.8A CN116582772B (en) 2023-03-29 2023-03-29 Electric energy data acquisition method, system, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310324085.8A CN116582772B (en) 2023-03-29 2023-03-29 Electric energy data acquisition method, system, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN116582772A CN116582772A (en) 2023-08-11
CN116582772B true CN116582772B (en) 2024-01-16

Family

ID=87538399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310324085.8A Active CN116582772B (en) 2023-03-29 2023-03-29 Electric energy data acquisition method, system, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN116582772B (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004023619A (en) * 2002-06-19 2004-01-22 Murata Mach Ltd Device for collecting data and communication terminal device
JP2007093513A (en) * 2005-09-30 2007-04-12 Mitsubishi Electric Corp Data transmitting device, data transmitting method, and positioning device
CN103516507A (en) * 2013-09-24 2014-01-15 国家电网公司 Electricity utilization information collecting system time synchronization method based on DLPTP clock synchronization
JP2015055945A (en) * 2013-09-11 2015-03-23 株式会社日立システムズ Business system, and business data processing method and program
CN107632240A (en) * 2017-09-08 2018-01-26 河北金能电力科技股份有限公司 Aerial cable current data analysis method, health status monitoring method and system
CN108107782A (en) * 2017-12-18 2018-06-01 宁波三星医疗电气股份有限公司 A kind of automatic control concurrent data acquisition method for electric power energy collecting device
CN108182233A (en) * 2017-12-27 2018-06-19 苏州麦迪斯顿医疗科技股份有限公司 A kind of distributed data abstracting method, device, computer equipment and storage medium
CN108616321A (en) * 2018-04-28 2018-10-02 广州供电局有限公司 Clock synchronizing method, device, computer equipment and the storage medium of electric energy meter
CN109617824A (en) * 2018-11-08 2019-04-12 中国联合网络通信集团有限公司 Collecting method, device and server
CN111010420A (en) * 2019-11-01 2020-04-14 南京四象新能源科技有限公司 Distributed energy storage data monitoring system and method
CN111960208A (en) * 2020-07-29 2020-11-20 康力电梯股份有限公司 Elevator remote data acquisition method and system
CN112104732A (en) * 2020-09-11 2020-12-18 清华大学 Power transmission line monitoring system and monitoring method
CN112583901A (en) * 2020-12-03 2021-03-30 福建省索菲特智能工程有限公司 Method for transmitting data signals of sensing layer of Internet of things
CN114840590A (en) * 2022-04-21 2022-08-02 深圳微言科技有限责任公司 Data processing method and device
CN115170000A (en) * 2022-09-06 2022-10-11 浙江万胜智能科技股份有限公司 Remote monitoring method and system based on electric energy meter communication module
CN115225429A (en) * 2022-05-30 2022-10-21 云南电网有限责任公司 Electric energy meter real-time data acquisition method based on service tunnel
CN115541979A (en) * 2022-09-26 2022-12-30 浙江中拓高压电器有限公司 Program software processing transmission system for data collected by digital current sensor
CN115857385A (en) * 2022-10-25 2023-03-28 左彦强 Sewage early warning and treatment analysis system based on Internet of things and deep learning

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004220389A (en) * 2003-01-16 2004-08-05 Fuji Xerox Engineering Co Ltd Information collecting device and information collection analysis system
CN102737065B (en) * 2011-04-15 2017-05-24 腾讯科技(深圳)有限公司 Method and device for acquiring data
WO2020235641A1 (en) * 2019-05-21 2020-11-26 株式会社 Preferred Networks Information transmission device, information collection device, information transmission method, information collection method, and mobile body
CN114787853A (en) * 2020-02-14 2022-07-22 住友重机械工业株式会社 Data collection system, information processing device, information processing method, and program

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004023619A (en) * 2002-06-19 2004-01-22 Murata Mach Ltd Device for collecting data and communication terminal device
JP2007093513A (en) * 2005-09-30 2007-04-12 Mitsubishi Electric Corp Data transmitting device, data transmitting method, and positioning device
JP2015055945A (en) * 2013-09-11 2015-03-23 株式会社日立システムズ Business system, and business data processing method and program
CN103516507A (en) * 2013-09-24 2014-01-15 国家电网公司 Electricity utilization information collecting system time synchronization method based on DLPTP clock synchronization
CN107632240A (en) * 2017-09-08 2018-01-26 河北金能电力科技股份有限公司 Aerial cable current data analysis method, health status monitoring method and system
CN108107782A (en) * 2017-12-18 2018-06-01 宁波三星医疗电气股份有限公司 A kind of automatic control concurrent data acquisition method for electric power energy collecting device
CN108182233A (en) * 2017-12-27 2018-06-19 苏州麦迪斯顿医疗科技股份有限公司 A kind of distributed data abstracting method, device, computer equipment and storage medium
CN108616321A (en) * 2018-04-28 2018-10-02 广州供电局有限公司 Clock synchronizing method, device, computer equipment and the storage medium of electric energy meter
CN109617824A (en) * 2018-11-08 2019-04-12 中国联合网络通信集团有限公司 Collecting method, device and server
CN111010420A (en) * 2019-11-01 2020-04-14 南京四象新能源科技有限公司 Distributed energy storage data monitoring system and method
CN111960208A (en) * 2020-07-29 2020-11-20 康力电梯股份有限公司 Elevator remote data acquisition method and system
CN112104732A (en) * 2020-09-11 2020-12-18 清华大学 Power transmission line monitoring system and monitoring method
CN112583901A (en) * 2020-12-03 2021-03-30 福建省索菲特智能工程有限公司 Method for transmitting data signals of sensing layer of Internet of things
CN114840590A (en) * 2022-04-21 2022-08-02 深圳微言科技有限责任公司 Data processing method and device
CN115225429A (en) * 2022-05-30 2022-10-21 云南电网有限责任公司 Electric energy meter real-time data acquisition method based on service tunnel
CN115170000A (en) * 2022-09-06 2022-10-11 浙江万胜智能科技股份有限公司 Remote monitoring method and system based on electric energy meter communication module
CN115541979A (en) * 2022-09-26 2022-12-30 浙江中拓高压电器有限公司 Program software processing transmission system for data collected by digital current sensor
CN115857385A (en) * 2022-10-25 2023-03-28 左彦强 Sewage early warning and treatment analysis system based on Internet of things and deep learning

Also Published As

Publication number Publication date
CN116582772A (en) 2023-08-11

Similar Documents

Publication Publication Date Title
CN108540965B (en) Internet of things communication method and device based on LoRa technology and storage medium
CN109756568B (en) File processing method and device and computer readable storage medium
US10194389B2 (en) Data processing device, data processing method, and program for sampling rate control of sensors
CN103729319A (en) Equipment system based on serial bus and data transmission method
CN110401586B (en) Bus communication method, device, equipment and readable storage medium
CN109375146B (en) Supplementary collection method and system for electricity consumption data and terminal equipment
CN110365598B (en) Heartbeat message sending method, device, server, terminal and storage medium
CN110209605A (en) The register reading/writing method and calculating equipment of PCIE Cardbus NIC Cardbus
CN115543746A (en) Graphics processor monitoring method, system and device and electronic equipment
CN116582772B (en) Electric energy data acquisition method, system, electronic equipment and medium
CN108289165B (en) Method and device for realizing camera control based on mobile phone and terminal equipment
CN112783827A (en) Multi-sensor data storage method and device
CN116402638A (en) Method, system, electronic equipment and medium for calculating line loss of transformer area
CN113238911B (en) Alarm processing method and device
CN113608889A (en) Message data processing method, device, equipment and storage medium
CN112882985A (en) Data transmission system, method, device and medium
CN116381325A (en) Distributed energy metering method, system, electronic equipment and medium
CN104122820A (en) Sensor interface chip and sensor signal detection system
CN116306400B (en) Integrated circuit verification method, system, device, equipment and medium
CN115334153B (en) Data processing method and device for service grid
CN115357813B (en) Sampling method and device and electronic equipment
CN113360326B (en) Debugging log obtaining method and device
CN113688616B (en) Method, device and equipment for detecting chart report difference and storage medium
CN215525753U (en) Online water quality monitoring Internet of things system
CN106528468A (en) USB data monitoring apparatus, method and system

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