Power data acquisition re-copying method and device, concentrator and storage medium
By acquiring and automatically supplementing power data in real time, and formulating strategies based on data classification and timeliness tags, the problem of incomplete data in the power data acquisition system has been solved, achieving timely data supplementation and stability, and optimizing resource allocation.
Patent Information
- Application Number
- CN202410922338.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2044-07-10
AI Technical Summary
Existing power data acquisition systems are prone to data incompleteness when communication is interrupted or equipment fails. Existing solutions are inefficient and cannot ensure the real-time and continuity of important data.
By acquiring power data in real time and assessing its integrity, a supplementary data reading strategy is formulated based on data classification labels and timeliness labels. Automatic supplementary data reading is performed using real-time or timed supplementary reading strategies, and data is transmitted and stored between the concentrator and the main station.
It enables timely replenishment of power data, ensures data integrity, avoids operational risks, improves the timeliness and stability of data acquisition, and optimizes resource allocation.
Smart Images

Figure CN118828256B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of power data acquisition, and in particular to a power data acquisition re-copying method and device, a concentrator, and a storage medium. BACKGROUND
[0002] With the rapid development of smart grids, power acquisition terminals are widely used in the collection and monitoring of electric energy data. In actual operation, factors such as communication interruption and equipment failure often lead to incomplete or missing data collection, thereby posing risks to the stable operation of the power system and the accuracy of data analysis.
[0003] At present, the industry generally adopts regular manual inspection and manual re-copying to solve the problem of incomplete data acquisition. However, the existing solutions are inefficient and cannot reasonably allocate re-copying resources according to different data, making it difficult to ensure the real-time and continuity of important acquisition data. SUMMARY
[0004] Therefore, the present application provides a power data acquisition re-copying method, device, concentrator, and storage medium to solve the problem of automatic re-copying resource allocation for power data.
[0005] The first aspect of the present application provides a power data acquisition re-copying method, which comprises:
[0006] real-time acquisition of power data of a target device;
[0007] determining whether the power data is complete according to a preset data monitoring method;
[0008] when the power data is incomplete, determining a preset data type corresponding to the power data according to a classification label of the power data;
[0009] when the data type is a preset key data, determining a re-copying strategy corresponding to the power data according to a timeliness label of the power data;
[0010] performing data re-copying according to the re-copying strategy and address information, wherein the power data includes the address information.
[0011] In an optional embodiment, the determination of whether the power data is complete according to the preset data monitoring method comprises:
[0012] acquiring a preset verification parameter according to the power data;
[0013] performing first check value calculation on the power data according to the verification parameter and a preset verification algorithm;
[0014] comparing the first check value with a second check value, wherein the power data comprises the second check data;
[0015] the power data is complete when the first check value matches the second check value;
[0016] the power data is incomplete when the first check value does not match the second check value.
[0017] In an optional embodiment, the determining of the re-copy strategy corresponding to the power data according to the time-sensitive label of the power data comprises:
[0018] the re-copy strategy corresponding to the power data is determined as a preset real-time re-copy strategy when the time-sensitive label of the power data is a strong time-sensitive label;
[0019] the re-copy strategy corresponding to the power data is determined as a preset timing re-copy strategy when the time-sensitive label of the power data is a weak time-sensitive label.
[0020] In an optional embodiment, after the data re-copy, the method further comprises:
[0021] judging whether the re-copied power data is complete according to the data monitoring mode;
[0022] when the re-copied power data is complete, acquiring first power data and second power data before and after a time stamp of the re-copied power data respectively according to the time stamp of the re-copied power data;
[0023] performing linear fitting on the first power data and the second power data to acquire standard change trend data;
[0024] acquiring first change trend data and second change trend data according to the re-copied power data and the first power data and the re-copied power data and the second power data respectively;
[0025] comparing the standard change trend data, the first change trend data and the second change trend data;
[0026] when the standard change trend data, the first change trend data and the second change trend data match, performing data storage on the re-copied power data according to a preset data storage mode;
[0027] when the standard change trend data, the first change trend data and the second change trend data do not match, performing data re-copy according to the re-copy strategy and address information.
[0028] In an optional implementation, when the re-read power data is incomplete or the standard variation trend data, the first variation trend data and the second variation trend data do not match, the method further comprises:
[0029] recording the re-reading execution times of the power data;
[0030] performing data re-reading according to the re-reading strategy and the address information;
[0031] when the re-reading execution times reach a preset number threshold, performing alarm according to a preset alarm mode.
[0032] The second aspect of the present application provides a re-reading device for power data collection, the device comprising:
[0033] a data acquisition module, configured to acquire power data of a target device in real time;
[0034] a data monitoring module, configured to determine whether the power data is complete according to a preset data monitoring mode;
[0035] a type determination module, configured to determine a preset data type corresponding to the power data according to a classification label of the power data when the power data is incomplete;
[0036] a strategy determination module, configured to determine a re-reading strategy corresponding to the power data according to a time effectiveness label of the power data when the data type is a preset key data;
[0037] a re-reading execution module, configured to perform data re-reading according to the re-reading strategy and address information, wherein the power data comprises the address information.
[0038] In an optional implementation, the device further comprises a data verification module, which is specifically configured to:
[0039] determine whether re-read power data is complete according to the data monitoring mode;
[0040] when the re-read power data is complete, acquire first power data and second power data before and after a time stamp of the re-read power data respectively according to the time stamp;
[0041] perform linear fitting on the first power data and the second power data to acquire standard variation trend data;
[0042] acquire first variation trend data and second variation trend data according to the re-read power data and the first power data and the re-read power data and the second power data respectively;
[0043] comparing the standard change trend data, the first change trend data and the second change trend data;
[0044] when the standard change trend data, the first change trend data and the second change trend data match, storing the re-reading power data according to a preset data storage mode;
[0045] when the standard change trend data, the first change trend data and the second change trend data do not match, re-reading data according to the re-reading strategy and address information.
[0046] In an optional embodiment, the device further comprises a re-reading alarm module, which is specifically configured to:
[0047] record the re-reading execution times of the power data;
[0048] re-read data according to the re-reading strategy and address information;
[0049] when the re-reading execution times reach a preset number threshold, alarm according to a preset alarm mode.
[0050] The third aspect of the present application provides a concentrator, which comprises:
[0051] a man-machine interaction device for interaction between the concentrator and a user;
[0052] a local communication device for data communication between the concentrator and a target device;
[0053] a remote communication device for data transmission between the concentrator and a master station;
[0054] a terminal block device for wired connection with the concentrator to perform wired signal transmission.
[0055] A control mainboard device, which is a re-reading device for power data acquisition as described above, comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the re-reading method for power data acquisition as described above when executing the computer program.
[0056] The fourth aspect of the present application provides a computer readable storage medium having a computer program stored thereon, and the computer program implements the steps of the re-reading method for power data acquisition when executed by a processor.
[0057] In summary, the present application at least has the following technical effects:
[0058] 1. Through real-time acquisition and automatic re-copy, missing power data can be found and supplemented in time, ensuring the integrity of the data.
[0059] 2. Timely re-copy of critical data can avoid the risk of target device operation due to data loss, improving the safety and stability of the target device.
[0060] 3. According to the timeliness label of the data, the re-copy strategy is formulated, which can ensure the timely acquisition and update of important data, and provide strong support for the decision of the power system.
[0061] 4. By differentiating the data of different types and criticality, the re-copy resources can be reasonably allocated to realize the optimal allocation and efficient use of resources. BRIEF DESCRIPTION OF DRAWINGS
[0062] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0063] Figure 1 is a power system structure schematic diagram provided by the first embodiment of the present application using concentrator;
[0064] Figure 2 is a concentrator structure schematic diagram provided by the first embodiment of the present application;
[0065] Figure 3 is a flowchart of a re-copy method of power data acquisition provided by the first embodiment of the present application;
[0066] Figure 4 is a functional module diagram of a re-copy device of power data acquisition provided by the first embodiment of the present application;
[0067] Figure 5 is a structure schematic diagram of a control mainboard device provided by the first embodiment of the present application.
[0068] EXPLANATION OF DRAWINGS
[0069] 2, concentrator; 21, human-computer interaction device; 211, liquid crystal screen; 212, key; 213, optical communication port; 22, local communication device; 23, remote communication device; 24, terminal block device; 241, auxiliary terminal block; 242, main terminal block; 25, debugging and maintenance device; 251, USB interface; 252, RS232 communication interface. DETAILED DESCRIPTION
[0070] With reference to the drawings and embodiments of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of the present application.
[0071] As shown in Figure 1 , a power system structure schematic diagram provided by the embodiment one of the present application is provided. The power system includes but is not limited to target devices connected to power consumption devices, a concentrator connected to a plurality of target devices by wire, and a master station connected to the concentrator wirelessly. Among them, the target devices include but are not limited to power transmission devices, power transformation devices, and power distribution devices, which are used to transmit electric energy from power generation devices to various power consumption devices.
[0072] The concentrator can improve the monitoring and data analysis capabilities of the power system, and at the same time, can realize remote monitoring and control of the master station to the power consumption devices, improve the operation efficiency and maintenance and management efficiency of the power consumption devices. In an optional implementation, the concentrator can also provide targeted strategies and solutions for power system management, guide decision-making and respond to emergencies.
[0073] The master station is usually the center of control and management of remote substations in the power system, and realizes centralized control and management of the power system through remote communication and control technology, to ensure the safe and efficient operation of the power system. Among them, the substations include but are not limited to concentrators and power consumption devices.
[0074] As shown in Figure 2 , a structure schematic diagram of a concentrator provided by the embodiment one of the present application is provided.
[0075] The concentrator 2 includes but is not limited to a man-machine interaction device 21, a local communication device 22, a remote communication device 23, a terminal block device 24, and a debugging and maintenance device 25. It should be understood that the control mainboard device, as a control circuit mainboard arranged inside the concentrator 2, realizes the functions of control, monitoring, data processing, and communication of the device by integrating various electronic components and programs, and is not shown in the Figure 2 .
[0076] The man-machine interaction device 21 includes but is not limited to a liquid crystal screen 211 for displaying data information such as the running state information, meter reading data, control state, and communication information of the concentrator 2, and a button 212 for cooperating with the liquid crystal screen 211. The information display of the concentrator 2 through the liquid crystal screen 211 cooperates with the button 212 for inputting corresponding instructions to the concentrator 2, thereby realizing the man-machine interaction operation function. In an optional implementation, the man-machine interaction device 21 further includes an optical communication port 213 for infrared information communication.
[0077] The local communication module includes, but is not limited to, a narrowband carrier, a wideband carrier, a micro-power wireless, and a dual-mode module, etc. The local communication module is used for uplink and downlink communication, and is a communication bridge for the concentrator 2 to communicate with the target device and for the concentrator 2 to control and operate the target device. The remote communication module uses a wireless public network (for example, 4G, 5G, GSM, GPRS, and CDMA, etc.), and includes, but is not limited to, an Ethernet interface, which is used as a medium for the concentrator 2 to transmit data to the master station and is used for uplink and downlink communication. In an optional embodiment, the remote communication module further includes a dual-satellite positioning system (for example, a Beidou satellite positioning system and a global satellite positioning system).
[0078] The terminal block device 24 includes an auxiliary terminal block 241 and a main terminal block 242, which are used for wired connection with the concentrator 2. The auxiliary terminal block 241 includes 2-way remote signaling, 1-way CAN, 1-way 12V output, 1-way door contact, forward active / reactive pulse input port, second pulse output port, and RS485I / RS485II meter reading interface. The main terminal block 242 includes three-phase voltage access terminals, three-phase current input and output interfaces, and zero-line current input and output interfaces. As shown in FIG. 2, the main terminal block 242 is sequentially marked as No. 1 to No. 12 from left to right, and the auxiliary terminal block 241 is sequentially marked as No. 13 to No. 30 from left to right, and the wiring of each terminal is as shown in the following table. Figure 2
[0079]
[0080]
[0081] In an optional embodiment, the concentrator 2 further includes a debugging and maintenance device 25 for debugging and system maintenance. In the embodiment of the present application, the debugging and maintenance device 25 includes, but is not limited to, an RS232 communication interface 252 for debugging and maintaining the concentrator 2, and a USB interface 251 for importing and exporting data files and having the function of upgrading the program of the concentrator 2.
[0082] It should be understood that the concentrator mainly uses real-time acquisition and timing automatic acquisition to acquire power data. In the real-time acquisition process, the concentrator directly acquires corresponding data of the target device, or acquires various types of power data, parameters, and event data stored by the collector. In the timing automatic acquisition process, the concentrator automatically acquires data of the collector or the power meter according to the meter reading scheme set by the master station (for example, periodic acquisition with a preset 1-minute meter reading interval). The data acquired by the concentrator includes, but is not limited to, voltage, current, and power.
[0083] The power data acquisition process of the concentrator in the embodiment of the present application will be described below in the form of automatic acquisition at a fixed time.
[0084] As shown in the flowchart of the power data acquisition process provided by the first embodiment of the present application. Figure 3 The power data acquisition process provided by the first embodiment of the present application comprises the following steps.
[0085] In step S31, the power data of the target device is acquired in real time.
[0086] The concentrator acquires the load and power data of the target device by collecting the digital electric meter, and calculates the related power data information. The power data includes but is not limited to active power, reactive power, power factor, active power, total reactive power, and power consumption monitoring state signal.
[0087] In step S32, it is judged whether the power data is complete according to the preset data monitoring mode.
[0088] The concentrator of the present application extracts the corresponding verification parameter from the mapping table between the preset data and the verification parameter according to the received power data. And according to the preset cyclic redundancy check verification algorithm, the verification parameter and the power data are subjected to in division operation, so as to obtain the first check value. At the same time, the concentrator obtains the second check value stored in the power data by decompressing the power data. By comparing the first check value with the second check value, the received power data is judged to be abnormal.
[0089] When the first check value matches the second check value, the power data is not tampered with or damaged in the transmission or storage process, so the data is complete; when the first check value does not match the second check value, the power data has a problem in the transmission or storage process, the data is incomplete or has been tampered with.
[0090] In step S33, when the power data is incomplete, the preset data type corresponding to the power data is determined according to the classification label of the power data.
[0091] Among them, the data type is divided into key data and non-key data according to the importance of the collected power data. Correspondingly, the target device identifies and labels the classification label of the received power data according to the preset data classification standard. Through the corresponding relationship between the classification label and the data type, the concentrator can judge the importance of the power data, so as to avoid the waste of resources for supplementing the non-key data.
[0092] In step S34, when the data type is the preset key data, the supplement strategy corresponding to the power data is determined according to the timeliness label of the power data.
[0093] The supplement strategy includes a real-time supplement strategy and a timing supplement strategy. The real-time supplement strategy is usually used to ensure the accuracy of the real-time operation data of the power system, so as to respond to system changes or fault alarms in time. The timing supplement strategy is usually used to supplement the historical data or statistical data which have no high time requirement, so as to reduce the burden of the system and improve the efficiency of data supplement. The time effectiveness label includes a strong time effectiveness label and a weak time effectiveness label. The target device marks the power data according to the time sensitivity of the power data after receiving the power data. The time sensitivity of the power data used for historical record and statistical analysis of the operation of the power system is low, and is marked with a weak time effectiveness label. The time sensitivity of the power data related to the real-time operation state of the power system (for example, real-time load data, fault alarm data) is high, and is marked with a strong time effectiveness label.
[0094] The concentrator matches the supplement strategy according to the time effectiveness label marked by the key power data. When the time effectiveness label of the power data is a strong time effectiveness label, the concentrator immediately triggers the real-time supplement strategy, and quickly executes step S35 to obtain the missing or incorrect data. When the time effectiveness label of the power data is a weak time effectiveness label, the concentrator adopts the timing supplement strategy to supplement the data within a predetermined time window. The time window is usually set according to the actual demand of the data and the performance of the system.
[0095] By implementing the supplement matching strategy, the concentrator can more efficiently process the data supplement requirements of different time effectiveness, improve the accuracy and efficiency of data supplement, and provide strong support for the stable operation of the power system.
[0096] In step S35, data supplement is performed according to the supplement strategy and the address information.
[0097] The power data includes the address information. After matching the supplement strategy for the missing data, the concentrator performs line searching according to the supplement strategy and the address information, and repeatedly obtains the power data of the corresponding time period.
[0098] After the supplement is completed, the system processes the supplement result, including data verification, storage and update, etc. At the same time, the system also feeds back and adjusts the supplement strategy according to the supplement result, so as to optimize the future supplement operation.
[0099] In an optional embodiment, after the data supplement, the method further includes:
[0100] According to the data monitoring mode, it is judged whether the supplemented power data is complete or not;
[0101] When the copied power data is complete, first power data and second power data before and after the time stamp of the power data are respectively acquired according to the time stamp of the power data;
[0102] Linear fitting is performed on the first power data and the second power data to acquire standard change trend data;
[0103] First change trend data and second change trend data are respectively acquired according to the copied power data and the first power data and the copied power data and the second power data;
[0104] The standard change trend data, the first change trend data and the second change trend data are compared;
[0105] When the standard change trend data, the first change trend data and the second change trend data match, the copied power data is stored according to a preset data storage mode;
[0106] When the standard change trend data, the first change trend data and the second change trend data do not match, data copying is performed according to the copying strategy and address information.
[0107] It should be understood that the power data collected by the target device is linear data when the power equipment is in a stable working state. The concentrator can collect real-time data and frozen data of the target device according to the configured collection task. Linear fitting is performed on the data of adjacent collection periods to form a historical curve and save it. According to the historical curve, the power consumption condition of the power equipment can be analyzed, and troubleshooting can be performed. Therefore, the change trend information between the data can be acquired through data fitting to verify whether the power data obtained by copying is correct.
[0108] When the power data after the re-reading is complete, the first power data (i.e., data before the timestamp) and the second power data (i.e., data after the timestamp) before and after the timestamp marked by the power data are obtained respectively, and the first power data and the second power data are processed using a linear fitting method to obtain standard change trend data. At the same time, the first change trend data is calculated according to the re-read power data and the first power data, and the second change trend data is calculated according to the re-read power data and the second power data. Finally, the standard change trend data is compared with the first and second change trend data. When the standard change trend data, the first change trend data and the second change trend data match, it means that the re-read power data follows the expected change trend, and the re-read power data is correct, and the re-read power data is stored according to the preset data storage mode; when the standard change trend data, the first change trend data and the second change trend data do not match, it means that the re-read power data does not follow the expected change trend, and the re-read power data may be abnormal or incorrect, and data re-reading needs to be performed according to the re-reading strategy and the address information.
[0109] In an optional embodiment, when the re-read power data is incomplete or the standard change trend data, the first change trend data and the second change trend data do not match, the method further comprises:
[0110] Recording the number of re-reading execution of the power data;
[0111] Re-reading data according to the re-reading strategy and the address information;
[0112] When the number of re-reading execution reaches a preset number threshold, an alarm is given according to a preset alarm mode.
[0113] For example, the concentrator fails to obtain the data of the smart meter all the time, and the number of failures recorded in the concentrator for the smart meter is increased by one each time the failure occurs. At the same time, the concentrator re-executes data re-reading according to the above-mentioned method. When the number of failures reaches 6, the concentrator generates an alarm information according to a preset information format, and sends the alarm information to the contact device reserved by the inspector to notify the inspector to perform manual re-reading and fault troubleshooting, wherein the alarm information includes the device number of the smart meter, the address information of the smart meter and the failed data information.
[0114] The application is applied to the technical field of power data acquisition, and power data of a target device is acquired in real time through a data acquisition device, so that the acquired power data is subjected to integrity checking according to a preset data monitoring mode, when incomplete power data is found, the data type is determined according to a classification label of the data to determine whether the data is preset key data, for the key data, the emergency degree of the data is determined according to a time effectiveness label, and according to the time effectiveness and importance degree of the key data, a corresponding re-copy strategy is formulated, and according to the re-copy strategy and address information, an automatic re-copy operation of the data is performed. The application can reasonably perform automatic re-copy allocation by differentiating different types and key degrees of data, thereby improving the processing efficiency of data anomalies and ensuring the timeliness and continuity of power data.
[0115] As Figure 4 shown, a functional module diagram of a re-copy device for power data acquisition provided by an embodiment of the application.
[0116] In some embodiments, the re-copy device 4 for power data acquisition can include a plurality of functional modules composed of computer program segments. The computer programs of each program segment in the re-copy device 4 for power data acquisition can be stored in the memory of a server and executed by at least one processor to perform the functions of the re-copy method for power data acquisition (see Figure 3 Description) for details.
[0117] In this embodiment, the re-copy device 4 for power data acquisition can be divided into a plurality of functional modules according to the functions it performs. The functional modules can include a data acquisition module 41, a data monitoring module 42, a type judgment module 43, a strategy determination module 44, a re-copy execution module 45, a data verification module 46, and a re-copy alarm module 47. The module referred to by the present application refers to a series of computer program segments that can be executed by at least one processor and can complete a fixed function, which are stored in the memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.
[0118] The data acquisition module 41 is configured to acquire power data of a target device in real time.
[0119] The data monitoring module 42 is configured to determine whether the power data is complete according to a preset data monitoring mode.
[0120] In an optional embodiment, the data monitoring module 42 is specifically configured to:
[0121] acquire a preset verification parameter according to the power data;
[0122] perform first check value calculation on the power data according to the verification parameter and a preset verification algorithm mode;
[0123] comparing the first check value with a second check value, wherein the power data comprises the second check data; when the first check value matches the second check value, the power data is complete;
[0124] when the first check value does not match the second check value, the power data is incomplete.
[0125] a type determining module 43 configured to determine a preset data type corresponding to the power data according to a classification label of the power data when the power data is incomplete.
[0126] a strategy determining module 44 configured to determine a re-copy strategy corresponding to the power data according to a time effectiveness label of the power data when the data type is a preset key data.
[0127] In an optional implementation, the strategy determining module 44 is specifically configured to:
[0128] when the time effectiveness label of the power data is a strong time effectiveness label, determine that the re-copy strategy corresponding to the power data is a preset real-time re-copy strategy;
[0129] when the time effectiveness label of the power data is a weak time effectiveness label, determine that the re-copy strategy corresponding to the power data is a preset timing re-copy strategy.
[0130] a re-copy executing module 45 configured to perform data re-copy according to the re-copy strategy and address information, wherein the power data comprises the address information.
[0131] In an optional implementation, the re-copy device 4 for power data collection further comprises a data verifying module 46, which is configured to:
[0132] determine whether the re-copied power data is complete according to the data monitoring mode;
[0133] when the re-copied power data is complete, acquire first power data and second power data before and after a time stamp of the power data respectively according to the time stamp;
[0134] perform linear fitting on the first power data and the second power data to acquire standard change trend data;
[0135] acquire first change trend data and second change trend data according to the re-copied power data and the first power data and the re-copied power data and the second power data respectively;
[0136] comparing the standard change trend data, the first change trend data and the second change trend data;
[0137] when the standard change trend data, the first change trend data and the second change trend data match, storing the re-read power data according to a preset data storage mode;
[0138] when the standard change trend data, the first change trend data and the second change trend data do not match, re-reading data according to the re-reading strategy and address information.
[0139] In an optional embodiment, the re-reading device 4 of the power data collection further comprises a re-reading alarm module 47, which is configured to:
[0140] record the re-reading execution times of the power data;
[0141] re-read data according to the re-reading strategy and address information;
[0142] when the re-reading execution times reach a preset number threshold, alarm according to a preset alarm mode.
[0143] It should be understood that the various change modes and specific embodiments in the method provided by the above embodiments are also applicable to the re-reading device of the power data collection of the present embodiment. Through the foregoing detailed description of the re-reading method of the power data collection, those skilled in the art can clearly understand the implementation method of the re-reading device of the power data collection in the present embodiment. For the sake of brevity of the description, it will not be described in detail here.
[0144] As shown in Figure 5 Fig. 1 is a structural schematic diagram of the control mainboard device provided by the present embodiment.
[0145] In the preferred embodiment of the present application, the control mainboard device 5 can include, but is not limited to, a memory 51, at least one processor 52 and at least one communication bus 53.
[0146] Those skilled in the art should understand that Figure 3 The structure of the control mainboard device 5 shown is not a limitation of the present embodiment, and the control mainboard device 5 can further include more or less other hardware or software, or different component arrangements.
[0147] In some embodiments, the control mainboard device 5 is a device capable of automatically performing numerical calculation and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits, programmable gate arrays, digital processors and embedded devices, etc.
[0148] It should be noted that the control mainboard device 5 is only an example, and other existing or future electronic products can also be applicable to the present application and should be included in the protection scope of the present application.
[0149] In some embodiments, the memory 51 stores a computer program which, when executed by the at least one processor 52, implements all or part of the steps of the power data collection re-copying method as described. The memory 51 includes a Read-Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), a One-time Programmable Read-Only Memory (OTPROM), an Electrically-Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical disk memory, a magnetic disk memory, a magnetic tape memory, or any other computer readable medium capable of carrying or storing data. Further, the computer readable storage medium can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for at least one function, etc.
[0150] In some embodiments, the at least one processor 52 is a control core of the control mainboard device 5, which connects various components of the control mainboard device 5 through various interfaces and lines, and performs various functions and processes data of the control mainboard device 5 by running or executing programs or modules stored in the memory 51 and calling data stored in the memory 51. For example, the at least one processor 52 implements all or part of the steps of the power data acquisition re-copying method described in the embodiments of the present application when executing the computer program stored in the memory 51, or implements all or part of the functions of the power data acquisition re-copying device. The at least one processor 52 can be composed of integrated circuits, for example, can be composed of a single packaged integrated circuit, or can be composed of multiple packaged integrated circuits with the same function or different functions, including one or more combinations of central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips.
[0151] In some embodiments, the at least one communication bus 53 is configured to realize connection and communication between the memory 51, the at least one processor 52, and the like. Although not shown, the control mainboard device 5 can further include a power supply (such as a battery) for powering various components. Preferably, the power supply can be logically connected to the at least one processor 52 through a power management device, so as to realize functions such as management of charging, discharging, and power consumption management through the power management device. The power supply can also include one or more direct current or alternating current power supplies, recharging devices, power supply fault detection circuits, power converters or inverters, power supply status indicators, and the like. The control mainboard device 5 can further include various sensors, Bluetooth modules, Wi-Fi modules, and the like, which are not described here.
[0152] The integrated units implemented in the form of software function modules described above can be stored in a computer-readable storage medium. The software function modules described above are stored in a storage medium, and include a plurality of instructions for causing an electronic device (which can be a personal computer, an electronic device, or a network device, etc.) or a processor to perform part of the method described in each embodiment of the present application.
[0153] In several embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. For example, the apparatus embodiments described above are only schematic. For example, the division of the modules is only a logical function division. In actual implementation, there can be another division manner.
[0154] The modules illustrated as separated components can or can not be physically separate, and the components illustrated as modules can or can not be physical units, and can be located in one position, or distributed on a plurality of network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the embodiment.
[0155] The above are preferred embodiments of the present application, and are not intended to limit the protection scope of the present application, therefore: all equivalent changes made according to the structure, shape, principle of the present application should be covered within the protection scope of the present application.
Claims
1. A method for power data acquisition, characterized in that, The method comprises: real-time acquisition of power data of a target device; determination of whether the power data is complete according to a preset data monitoring mode; when the power data is incomplete, determination of a preset data type corresponding to the power data according to a classification label of the power data; when the data type is a preset key data, determination of a re-copy strategy corresponding to the power data according to a time effectiveness label of the power data; data re-copy according to the re-copy strategy and address information, wherein the power data comprises the address information; after data re-copy, the method further comprises: determination of whether the re-copied power data is complete according to the data monitoring mode; when the re-copied power data is complete, acquisition of first power data and second power data before and after a time stamp of the re-copied power data respectively according to the time stamp; linear fitting of the first power data and the second power data to obtain standard change trend data; acquisition of first change trend data and second change trend data according to the re-copied power data and the first power data and the re-copied power data and the second power data respectively; comparison of the standard change trend data, the first change trend data and the second change trend data; when the standard change trend data, the first change trend data and the second change trend data match, data storage of the re-copied power data according to a preset data storage mode; when the standard change trend data, the first change trend data and the second change trend data do not match, data re-copy according to the re-copy strategy and address information.
2. The method of claim 1, wherein, The determination of whether the power data is complete according to the preset data monitoring mode comprises: acquisition of a preset verification parameter according to the power data; first check value calculation of the power data according to the verification parameter and a preset verification algorithm mode; comparison of the first check value and a second check value, wherein the power data comprises the second check data; when the first check value and the second check value match, the power data is complete; when the first check value and the second check value do not match, the power data is incomplete.
3. The method of claim 1, wherein, The determination of a re-copy strategy corresponding to the power data according to a time effectiveness label of the power data comprises: when the time effectiveness label of the power data is a strong time effectiveness label, determination of the re-copy strategy corresponding to the power data as a preset real-time re-copy strategy; when the time effectiveness label of the power data is a weak time effectiveness label, determination of the re-copy strategy corresponding to the power data as a preset timing re-copy strategy.
4. The method of claim 1, wherein, When the re-copied power data is incomplete or the standard change trend data, the first change trend data and the second change trend data do not match, the method further comprises: recording of a re-copy execution number of the power data; data re-copy according to the re-copy strategy and address information; when the re-copy execution number reaches a preset number threshold, alarm according to a preset alarm mode.
5. A power data acquisition and re-copying device, characterized in that, The device comprises: The data acquisition module is configured to acquire power data of a target device in real time. The data monitoring module is configured to determine whether the power data is complete according to a preset data monitoring mode. The type determination module is configured to determine a preset data type corresponding to the power data according to a classification label of the power data when the power data is incomplete. The strategy determination module is configured to determine a re-copy strategy corresponding to the power data according to a time effectiveness label of the power data when the data type is preset key data. The re-copy execution module is configured to perform data re-copy according to the re-copy strategy and address information, wherein the power data comprises the address information.
6. The re-capture device for electric power data acquisition according to claim 5, characterized in that, The device further comprises a data verification module, which is specifically configured to: determine whether the re-copied power data is complete according to the data monitoring mode; acquire first power data and second power data before and after a timestamp of the re-copied power data according to the timestamp when the re-copied power data is complete; perform linear fitting on the first power data and the second power data to obtain standard change trend data; acquire first change trend data and second change trend data according to the re-copied power data and the first power data and the re-copied power data and the second power data, respectively; compare the standard change trend data, the first change trend data, and the second change trend data; perform data storage on the re-copied power data according to a preset data storage mode when the standard change trend data, the first change trend data, and the second change trend data match; perform data re-copy according to the re-copy strategy and address information when the standard change trend data, the first change trend data, and the second change trend data do not match.
7. The re-capture device for electric power data acquisition of claim 5, wherein, The device further comprises a re-copy alarm module, which is specifically configured to: record a re-copy execution frequency of the power data; perform data re-copy according to the re-copy strategy and address information; perform alarm according to a preset alarm mode when the re-copy execution frequency reaches a preset frequency threshold.
8. A concentrator, characterized by The concentrator comprises: a human-computer interaction device for interactive operation between the concentrator and a user; a local communication device for data communication between the concentrator and a target device; a remote communication device for data transmission between the concentrator and a master station; a terminal block device for wired connection with the concentrator to perform wired signal transmission; a control mainboard device, which is the re-copy device for power data acquisition according to any one of claims 5 to 7, comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the re-copy method for power data acquisition according to any one of claims 1 to 4 when executing the computer program.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the re-copy method for power data acquisition according to any one of claims 1 to 4.
Citation Information
Patent Citations
Beidou satellite-based automatic-measurement data acquisition system and method
CN106448110A
Data supplementary reading mechanism based on metering device
CN108614138A