Power grid multivariate data acquisition method and device, terminal equipment and storage medium
By constructing a distributed data acquisition architecture and generating data collection in total, the problem of single data collection sources in the power grid has been solved, and the collection of data from the entire Scenario of the power grid and the improvement of multiple data sources.
Patent Information
- Application Number
- CN202411473374.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-22
- Publication Date
- 2025-01-28
Smart Images

Figure CN119378806A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data acquisition technology, and in particular to a method, device, terminal equipment and storage medium for acquiring multivariate data of a power grid. Background Art
[0002] In the context of the current rapid industrial development, the power grid is facing the challenges of technological upgrading and system innovation. With the growing demand for efficient and intelligent management in the power industry, the metering automation system, as an indispensable part of power grid operation, has become increasingly important. The existing metering automation system has obvious limitations in data collection. It mainly focuses on the collection of electric energy data at power plants, substations and user ends, and monitors the collected data in the metering automation system. This collection method has limitations and does not take into account more data terminals in the power grid, resulting in a single data source. Summary of the invention
[0003] The embodiments of the present invention provide a method, apparatus, terminal device and storage medium for collecting multivariate data in a power grid, which can effectively solve the problem that the prior art does not take into account more data terminals in the power grid, resulting in a single data source.
[0004] An embodiment of the present invention provides a method for collecting multivariate data of a power grid, comprising:
[0005] Obtaining multiple data collection requests, data interfaces of several terminal devices, and collection device information;
[0006] Acquire data types, data sources and data formats of several terminal devices from the data interface according to the multivariate data request;
[0007] Constructing a collection framework according to the collection device information to obtain a distributed data collection framework;
[0008] Generate a data collection master plan according to the data type, the data source, the data format and the distributed data collection architecture;
[0009] According to the data collection master plan and the data interface, terminal equipment data is collected to obtain power grid multivariate data collection results.
[0010] Furthermore, each terminal device corresponds to a number of data interfaces;
[0011] Acquiring data types, data sources, and data formats of a plurality of terminal devices from the data interface according to the multivariate data request, including:
[0012] Obtaining a device identification of the terminal device according to the multivariate data request;
[0013] Randomly selecting any data interface of each terminal device according to the device identifier as the target data interface of each terminal device;
[0014] According to the multivariate data request and the target data interface, the data type, data source and data format of each terminal device are obtained from the target data interface.
[0015] Furthermore, the collection device information includes the collection device level and the terminal device identifier to which the device belongs;
[0016] Constructing a collection framework according to the collection device information to obtain a distributed data collection framework, including:
[0017] Determine the level of the collection device according to the collection device information;
[0018] According to the acquisition device level, determining the terminal device level of the terminal device corresponding to the acquisition device;
[0019] Determine the type of power grid architecture according to the terminal device level and the terminal device identifier to which the device belongs;
[0020] According to the power grid architecture type, a collection architecture is constructed with collection devices as nodes to obtain a distributed data collection architecture.
[0021] Furthermore, according to the data type, the data source, the data format and the distributed data collection architecture, a data collection master plan is generated, including:
[0022] Determine the data collection frequency and data collection duration of the collection device on each terminal device according to the data type, the data source and the data format;
[0023] Determine a collection device plan for each terminal device according to the data collection frequency, the data collection duration, and the distributed data collection architecture;
[0024] According to the collection device plan of each terminal device, a total data collection plan is generated.
[0025] Furthermore, terminal equipment data is collected according to the data collection master plan and the data interface to obtain power grid multivariate data collection results, including:
[0026] According to the data collection master plan, data is collected from the terminal device through the data interface to obtain the initial data collection result of the power grid;
[0027] According to the power grid initial data collection results, calculate the median value and the average value of the numerical data in the power grid initial data collection results;
[0028] According to the power grid initial data collection result and the median value, the missing values in the power grid initial data collection result are filled with the median value to obtain the power grid initial data collection result after the missing value processing;
[0029] The outliers in the initial data collection results of the power grid after missing value processing are corrected with the average value to obtain the final multivariate data collection results of the power grid.
[0030] Furthermore, the terminal equipment includes target terminal equipment in power grid power generation, transmission, transformation, distribution and power consumption links;
[0031] The target terminal equipment includes: plant telemetry terminal, load management terminal, distribution transformer monitoring and metering terminal and low voltage collection concentrator terminal.
[0032] Furthermore, it also includes:
[0033] Extract keywords from non-numeric data in the multivariate data collection results of the power grid to obtain target keywords;
[0034] Combining the target keyword with the data type corresponding to the non-numeric data to obtain combined data;
[0035] The combined data is mapped to the power grid multivariate data collection result, and the mapped power grid multivariate data collection result is stored.
[0036] As an improvement of the above solution, another embodiment of the present invention provides a power grid multivariate data acquisition device, including:
[0037] The data acquisition module is used to obtain multivariate data acquisition requests, data interfaces of several terminal devices, and acquisition device information;
[0038] A terminal data acquisition module, used for acquiring data types, data sources and data formats of several terminal devices from the data interface according to the multivariate data request;
[0039] A collection architecture generation module, used to construct a collection architecture according to the collection device information to obtain a distributed data collection architecture;
[0040] A collection plan generation module, used to generate a data collection master plan according to the data type, the data source, the data format and the distributed data collection architecture;
[0041] The data acquisition module is used to collect terminal device data according to the data acquisition master plan and the data interface to obtain power grid multivariate data acquisition results.
[0042] Another embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, a power grid multivariate data collection method as described in the above embodiment is implemented.
[0043] Another embodiment of the present invention provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute a power grid multivariate data collection method described in the above embodiment.
[0044] By implementing the present invention, at least the following beneficial effects are achieved:
[0045] The present invention provides a method, device, terminal device and storage medium for multivariate data collection of a power grid. The method can obtain multivariate data collection requests, data interfaces of several terminal devices and collection device information; obtain the data types, data sources and data formats of several terminal devices from the data interface according to the multivariate data request; construct a collection architecture according to the collection device information to obtain a distributed data collection architecture; generate a data collection master plan according to the data type, the data source, the data format and the distributed data collection architecture; perform terminal device data collection according to the data collection master plan and the data interface to obtain a multivariate data collection result of the power grid. The distributed data collection architecture constructed by the collection device information of each terminal device in the power grid takes into account more data terminals in the power grid, ensures that the data of the terminal devices in the power grid can be collected, covers the data of the entire power grid scene, is no longer data from a single source, uses the data interface and the data collection master plan to collect data from multiple terminals of the power grid, improves the efficiency of data collection and the diversity of data sources. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is a flow chart of a method for collecting multivariate data of a power grid provided by an embodiment of the present invention;
[0047] Figure 2 It is a structural schematic diagram of a power grid multivariate data acquisition device provided by one embodiment of the present invention. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0049] See also Figure 1 , is a flow chart of a method for collecting multivariate data of a power grid provided by an embodiment of the present invention, comprising:
[0050] S1. Obtaining a multivariate data collection request, data interfaces of several terminal devices, and information of collection devices;
[0051] S2. Acquire data types, data sources and data formats of several terminal devices from the data interface according to the multivariate data request;
[0052] S3, constructing a collection architecture according to the collection device information to obtain a distributed data collection architecture;
[0053] S4. Generate a data collection master plan according to the data type, the data source, the data format and the distributed data collection architecture;
[0054] S5. Perform terminal device data collection according to the data collection master plan and the data interface to obtain power grid multivariate data collection results.
[0055] Specifically, the multivariate data collection method is applicable to the metering automation system in the power grid, and the multivariate data collection request is a request for collecting multivariate data in the metering automation system; the collection device information is the information of the data collection device on the terminal device, and the collection device information includes: device level, device type, status information, log information, identifier, etc. The data collection device is a tool or device for collecting and recording various terminal devices. Common data collection devices include sensors, instruments, cameras, GPS receivers, etc., and can be specifically devices such as electric energy meters, pressure sensors, thermometers, and hygrometers. The data collection device can actively collect data from the terminal device and transmit the data to the outside of the device through the data interface of the terminal device. The distributed data collection architecture represents a data collection architecture using a distributed network. The use of the distributed architecture in the application of large-scale enterprise-level systems is more practical and efficient than the existing centralized architecture (IOE architecture, system with Oracle relationship library as the core), and has more obvious advantages in PB-level big data processing, independent control of software and hardware technology, and investment cost of expansion of the same scale.
[0056] In a preferred embodiment of the present invention, a multivariate data acquisition request, data interfaces of several terminal devices and acquisition device information are first obtained; then, the data types, data sources and data formats of several terminal devices are obtained from the data interfaces according to the multivariate data request; then, an acquisition architecture is constructed according to the acquisition device information to obtain a distributed data acquisition architecture; then, a data acquisition master plan is generated according to the data type, the data source, the data format and the distributed data acquisition architecture; finally, terminal device data is collected according to the data acquisition master plan and the data interface to obtain a multivariate data acquisition result of the power grid.
[0057] Preferably, each terminal device corresponds to several data interfaces;
[0058] Acquiring data types, data sources, and data formats of a plurality of terminal devices from the data interface according to the multivariate data request, including:
[0059] Obtaining a device identification of the terminal device according to the multivariate data request;
[0060] Randomly selecting any data interface of each terminal device according to the device identifier as the target data interface of each terminal device;
[0061] According to the multivariate data request and the target data interface, the data type, data source and data format of each terminal device are obtained from the target data interface.
[0062] Specifically, each terminal device only obtains one data interface, ensuring that data is obtained from only one data interface of a terminal device, avoiding the same terminal device from obtaining multiple copies of the same data, resulting in a waste of computing resources. Among them, a terminal device can have multiple data interfaces, for example, a computer, smart phone, tablet computer or other type of network device will have a fiber optic interface, wireless interface, Ethernet interface, etc. for transmitting data.
[0063] In a preferred embodiment of the present invention, the device identification of the terminal device is obtained according to the multivariate data request, and then the device identification is converted into a hash value, and a duplicate check is performed, and the duplicate device identification is eliminated to obtain the distinguishing identification of the multiple terminal devices; according to the distinguishing identification of the device identification, any data interface of each terminal device is randomly selected as the target data interface of each terminal device, and finally, according to the multivariate data request and the target data interface, the data type, data source and data format of each terminal device are obtained from the target data interface. The device identification is an identifier set to distinguish different terminal devices. Under normal circumstances, the device identification of a terminal device is unique. By checking the device identification for duplicates, it is possible to avoid repeatedly obtaining the data of the terminal device from different data interfaces of the same terminal device. Among them, unconventional situations can be dynamically allocating device identification, allowing users to generate device identification, and generating device identification for virtual devices.
[0064] Preferably, the collection device information includes the collection device level and the terminal device identifier to which the device belongs;
[0065] Constructing a collection framework according to the collection device information to obtain a distributed data collection framework, including:
[0066] Determine the level of the collection device according to the collection device information;
[0067] According to the acquisition device level, determining the terminal device level of the terminal device corresponding to the acquisition device;
[0068] Determine the type of power grid architecture according to the terminal device level and the terminal device identifier to which the device belongs;
[0069] According to the power grid architecture type, a collection architecture is constructed with collection devices as nodes to obtain a distributed data collection architecture.
[0070] In a preferred embodiment of the present invention, the collection device level indicates the hierarchical level of the collection device in the power grid structure, and the terminal device identifier to which the device belongs indicates the identifier of one collection device corresponding to one terminal device. The collection device is used as a collection node, and the collection device level is determined according to the collection device information, and the terminal device level of the terminal device corresponding to the collection device is determined according to the collection device level; the power grid architecture type is determined according to the terminal device level and the terminal device identifier to which the device belongs, and each power grid architecture type corresponds to different environmental information and running codes. Finally, according to the environmental information and running code corresponding to the power grid architecture type, a collection architecture is constructed with the collection device as a node to obtain a distributed data collection architecture. Among them, the environmental information includes information such as environmental variable parameters and supported framework types; the running code is the code that supports and constructs the distributed data collection architecture.
[0071] Specifically, according to the data type, the data source, the data format and the distributed data collection architecture, a data collection master plan is generated, including:
[0072] Determine the data collection frequency and data collection duration of the collection device on each terminal device according to the data type, the data source and the data format;
[0073] Determine a collection device plan for each terminal device according to the data collection frequency, the data collection duration, and the distributed data collection architecture;
[0074] According to the collection device plan of each terminal device, a total data collection plan is generated.
[0075] In schematic form, each terminal device is provided with a data collection device. Different data collection plans can be designed for different terminal devices in combination with the characteristics of each terminal device, and the data in the terminal device can be collected at different frequencies or durations. For example, there is a huge difference between the amount of data from power plants and user terminals. When collecting data from power plants, the accuracy of the data is required to be higher, while when collecting data from user terminals, the accuracy of the data is required to be relatively lower. Therefore, when designing the overall data collection plan, a plan with a higher collection frequency should be designed for power plants.
[0076] In another preferred embodiment of the present invention, the generation of the data collection master plan can be completed by the data collection management component of the metering automation system, which is a software component usually used to manage and control data collection devices. The data collection master plan is constructed by the data collection frequency and data collection duration of multiple terminal devices. Therefore, different terminal devices will have different collection device plans, which can be specifically manifested in different data collection frequencies, different data collection durations, and data collection devices of different terminal devices. The multivariate data collection request includes a collection start instruction, a collection end instruction and the number of data collections. The data collection duration of the multiple terminal devices is calculated by the collection start time point and the collection end time point, and the data collection frequency of the multiple terminal devices is determined according to the collection start time point, the collection end time point and the data collection number. Then, according to the data collection frequency, the data collection duration and the distributed data collection architecture, the collection device plan of each terminal device is determined; finally, according to the collection device plan of each terminal device, the data collection master plan is generated.
[0077] Specifically, terminal equipment data is collected according to the data collection master plan and the data interface to obtain power grid multivariate data collection results, including:
[0078] According to the data collection master plan, data is collected from the terminal device through the data interface to obtain the initial data collection result of the power grid;
[0079] According to the power grid initial data collection results, calculate the median value and the average value of the numerical data in the power grid initial data collection results;
[0080] According to the power grid initial data collection result and the median value, the missing values in the power grid initial data collection result are filled with the median value to obtain the power grid initial data collection result after the missing value processing;
[0081] The outliers in the initial data collection results of the power grid after missing value processing are corrected with the average value to obtain the final multivariate data collection results of the power grid.
[0082] In a preferred embodiment of the present invention, the data collection master plan is issued through the metering automation system, and the corresponding data collection plan is executed in the collection devices of multiple terminal devices. The data interface is used to collect data from multiple terminal devices to obtain the initial data collection results of the power grid. The median and the average value of the numerical data in the initial data collection results of the power grid are calculated. The missing values in the initial data collection results of the power grid are supplemented with the median value to obtain the initial data collection results of the power grid after the missing values are processed; the outliers in the initial data collection results of the power grid after the missing values are processed are corrected with the average value to obtain the final multivariate data collection results of the power grid. Outliers can be identified by outlier detection algorithms. Outlier detection algorithms are a series of methods used in data mining and statistical analysis to identify data points in a data set that do not conform to the expected pattern or behavior, help identify errors or noise, and are very important for ensuring data quality, improving model accuracy, and understanding the phenomena behind the data. For example, algorithms such as Z-Score, Modified Z-Score, and Tukey's Method.
[0083] Specifically, the terminal equipment includes target terminal equipment in power grid power generation, transmission, transformation, distribution and power consumption links;
[0084] The target terminal equipment includes: plant telemetry terminal, load management terminal, distribution transformer monitoring and metering terminal and low voltage collection concentrator terminal.
[0085] The terminal equipment is a new generation of intelligent terminal equipment with edge computing capabilities, including plant telemetry terminals, load management terminals, distribution transformer monitoring and metering terminals, and low-voltage collection and metering concentrators. It can realize the collection and monitoring of electric energy data from power plants to substations, to public distribution transformers and dedicated distribution transformers, and to low-voltage residential customers in the metering automation system.
[0086] In another preferred embodiment of the present invention, it also includes:
[0087] Extract keywords from non-numeric data in the multivariate data collection results of the power grid to obtain target keywords;
[0088] Combining the target keyword with the data type corresponding to the non-numeric data to obtain combined data;
[0089] The combined data is mapped to the power grid multivariate data collection result, and the mapped power grid multivariate data collection result is stored.
[0090] Extract keywords of non-numeric data in the multivariate data to obtain target keywords; convert the target keywords into a preset data format to obtain standard keywords; combine the standard keywords with the data types corresponding to the non-numeric data to obtain combined data, and map the combined data to the multivariate data collection results of the power grid, and store the mapped multivariate data collection results of the power grid. Improve the storage and management efficiency of data, promote data integration and sharing, and realize intelligent power grid management in power companies.
[0091] After storing the mapped power grid multivariate data collection results, it also includes: determining the database corresponding to the metering automation system, and determining the allocated storage area of the power grid multivariate data collection results in the database; storing the power grid multivariate data collection results in the storage area of the database. Real-time storage in the database can avoid data loss, facilitate further data call, analysis and mining of data content, and enhance the development potential of the power industry using metering automation systems.
[0092] By implementing this embodiment, a multivariate data collection request, data interfaces of several terminal devices, and collection device information are obtained; the data types, data sources, and data formats of several terminal devices are obtained from the data interface according to the multivariate data request; a collection architecture is constructed according to the collection device information to obtain a distributed data collection architecture; a data collection master plan is generated according to the data type, the data source, the data format, and the distributed data collection architecture; terminal device data is collected according to the data collection master plan and the data interface to obtain a multivariate data collection result of the power grid. The distributed data collection architecture constructed by the collection device information of each terminal device in the power grid takes into account more data terminals in the power grid, ensures that the data of the terminal devices in the power grid can be collected, covers the data of the entire power grid scene, and is no longer data from a single source. The data interface and the data collection master plan are used to collect data from multiple terminals of the power grid, thereby improving the efficiency of data collection and the diversity of data sources.
[0093] See also Figure 2, is a schematic diagram of the structure of a power grid multivariate data acquisition device provided by an embodiment of the present invention, comprising:
[0094] The data acquisition module is used to obtain multivariate data acquisition requests, data interfaces of several terminal devices, and acquisition device information;
[0095] A terminal data acquisition module, used for acquiring data types, data sources and data formats of several terminal devices from the data interface according to the multivariate data request;
[0096] A collection architecture generation module, used to construct a collection architecture according to the collection device information to obtain a distributed data collection architecture;
[0097] A collection plan generation module, used to generate a data collection master plan according to the data type, the data source, the data format and the distributed data collection architecture;
[0098] The data acquisition module is used to collect terminal device data according to the data acquisition master plan and the data interface to obtain power grid multivariate data acquisition results.
[0099] The present invention provides a multivariate data acquisition device for a power grid, which acquires a multivariate data acquisition request, data interfaces of several terminal devices and acquisition device information according to an acquisition data acquisition module; in the terminal data acquisition module, the data type, data source and data format of several terminal devices are acquired from the data interface according to the multivariate data request; in the acquisition architecture generation module, the acquisition architecture is constructed according to the acquisition device information to obtain a distributed data acquisition architecture; in the acquisition plan generation module, a data acquisition master plan is generated according to the data type, the data source, the data format and the distributed data acquisition architecture; finally, through the data acquisition module, the terminal device data is collected according to the data acquisition master plan and the data interface to obtain the multivariate data collection result of the power grid. The distributed data acquisition architecture constructed by the acquisition device information of each terminal device in the power grid takes into account more data terminals in the power grid, ensures that the data of the terminal devices in the power grid can be collected, covers the data of the entire power grid scene, is no longer data from a single source, uses the data interface and the data acquisition master plan to collect data from multiple terminals of the power grid, improves the efficiency of data collection and the diversity of data sources.
[0100] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.
[0101] Those skilled in the art can clearly understand that, for the sake of convenience and brevity, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0102] Another embodiment of the present invention further provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements a power grid multivariate data collection method as described in the above embodiment when executing the computer program. The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The terminal device may include, but is not limited to, a processor and a memory.
[0103] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device.
[0104] The memory can be used to store the computer program, and the processor realizes various functions of the terminal device by running or executing the computer program stored in the memory and calling the data stored in the memory. The memory 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 a function, etc.; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Med ia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device or other volatile solid-state storage device.
[0105] Another embodiment of the present invention provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute a power grid multivariate data collection method described in the above embodiment.
[0106] The storage medium is a computer-readable storage medium, and the computer program is stored in the computer-readable storage medium. When the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium.
[0107] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A method for collecting multivariate data of a power grid, characterized in that: include: Obtaining multiple data collection requests, data interfaces of several terminal devices, and collection device information; Acquire data types, data sources and data formats of several terminal devices from the data interface according to the multivariate data request; Constructing a collection framework according to the collection device information to obtain a distributed data collection framework; Generate a data collection master plan according to the data type, the data source, the data format and the distributed data collection architecture; According to the data collection master plan and the data interface, terminal equipment data is collected to obtain power grid multivariate data collection results.
2. A method for collecting multivariate data of a power grid as claimed in claim 1, characterized in that: Each terminal device corresponds to several data interfaces; Acquiring data types, data sources, and data formats of a plurality of terminal devices from the data interface according to the multivariate data request, including: Obtaining a device identification of the terminal device according to the multivariate data request; Randomly selecting any data interface of each terminal device according to the device identifier as the target data interface of each terminal device; According to the multivariate data request and the target data interface, the data type, data source and data format of each terminal device are obtained from the target data interface.
3. A method for collecting multivariate data of a power grid as claimed in claim 1, characterized in that: The collection device information includes the collection device level and the terminal device identifier to which the device belongs; Constructing a collection framework according to the collection device information to obtain a distributed data collection framework, including: Determine the level of the collection device according to the collection device information; According to the acquisition device level, determining the terminal device level of the terminal device corresponding to the acquisition device; Determine the type of power grid architecture according to the terminal device level and the terminal device identifier to which the device belongs; According to the power grid architecture type, a collection architecture is constructed with collection devices as nodes to obtain a distributed data collection architecture.
4. A method for collecting multivariate data of a power grid as claimed in claim 1, characterized in that: Generate a data collection master plan according to the data type, the data source, the data format and the distributed data collection architecture, including: Determine the data collection frequency and data collection duration of the collection device on each terminal device according to the data type, the data source and the data format; Determine a collection device plan for each terminal device according to the data collection frequency, the data collection duration, and the distributed data collection architecture; According to the collection device plan of each terminal device, a total data collection plan is generated.
5. A method for collecting multivariate data of a power grid as claimed in claim 1, characterized in that: According to the data collection master plan and the data interface, terminal equipment data is collected to obtain power grid multivariate data collection results, including: According to the data collection master plan, data is collected from the terminal device through the data interface to obtain the initial data collection result of the power grid; According to the power grid initial data collection results, calculate the median value and the average value of the numerical data in the power grid initial data collection results; According to the power grid initial data collection result and the median value, the missing values in the power grid initial data collection result are filled with the median value to obtain the power grid initial data collection result after the missing value processing; The outliers in the initial data collection results of the power grid after missing value processing are corrected with the average value to obtain the final multivariate data collection results of the power grid.
6. A method for collecting multivariate data of a power grid as claimed in claim 1, characterized in that: The terminal equipment includes target terminal equipment in power grid power generation, transmission, transformation, distribution and power consumption links; The target terminal equipment includes: plant telemetry terminal, load management terminal, distribution transformer monitoring and metering terminal and low voltage collection concentrator terminal.
7. A method for collecting multivariate data of a power grid as claimed in claim 1, characterized in that: Also includes: Extract keywords from non-numeric data in the multivariate data collection results of the power grid to obtain target keywords; Combining the target keyword with the data type corresponding to the non-numeric data to obtain combined data; The combined data is mapped to the power grid multivariate data collection result, and the mapped power grid multivariate data collection result is stored.
8. A power grid multivariate data acquisition device, characterized in that: include: The data acquisition module is used to obtain multivariate data acquisition requests, data interfaces of several terminal devices, and acquisition device information; A terminal data acquisition module, used for acquiring data types, data sources and data formats of several terminal devices from the data interface according to the multivariate data request; A collection architecture generation module, used to construct a collection architecture according to the collection device information to obtain a distributed data collection architecture; A collection plan generation module, used to generate a data collection master plan according to the data type, the data source, the data format and the distributed data collection architecture; The data acquisition module is used to collect terminal device data according to the data acquisition master plan and the data interface to obtain power grid multivariate data acquisition results.
9. A terminal device, characterized in that: The method comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, a method for collecting multivariate data of a power grid as claimed in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute a power grid multivariate data collection method as described in any one of claims 1 to 7.