Power data transmission method and device, electronic equipment and storage medium
By using feature evaluation model and feature selection algorithm on the power side equipment to screen and compress the data, the problem of increased data transmission pressure of power side equipment is solved, and efficient power data transmission is achieved.
Patent Information
- Application Number
- CN202411904417.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2025-04-15
AI Technical Summary
With the development of power grid systems and the application of IoT technology, the amount of data generated by power terminal equipment has increased sharply, resulting in an intensified data transmission pressure, making it difficult for the existing technology to achieve efficient data transmission.
By obtaining the data to be transmitted based on the power end edge device, the data is screened using the pre-trained feature evaluation model and feature selection algorithm, the unimportant data is eliminated, and the target data is compressed, and the compressed data is finally transmitted to the power equipment control center.
Through data screening and compression processing, this method significantly reduces the amount of data transmitted, improves the transmission efficiency of power data, and reduces the data transmission pressure of power terminal equipment.
Smart Images

Figure CN119835338A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of data transmission, and in particular to a power data transmission method, device, electronic device and storage medium. Background Art
[0002] Power-side equipment includes power-side equipment and power-side equipment. It is a key component of the power grid system. It is deployed at the power facility site and directly interacts with high-voltage transmission lines and substations. It is necessary to conduct real-time monitoring of multiple electrical parameters such as voltage, current, power, frequency and temperature of the power grid system, and also to perform preliminary processing and analysis of the collected data to support the stable operation and fault diagnosis of the power grid system.
[0003] However, with the rapid development of power grid systems and technological advances, power edge devices need to integrate more functions, and the amount of data to be processed and transmitted is growing exponentially. At the same time, the widespread application of Internet of Things technology has made each power edge device an information node, greatly increasing the amount of data that needs to be transmitted, further exacerbating the pressure on data transmission. Therefore, how to efficiently transmit the power data generated by power edge devices is an urgent problem to be solved. Summary of the invention
[0004] Embodiments of the present invention provide a power data transmission method, device, electronic device and storage medium to improve the transmission efficiency of power data.
[0005] According to one aspect of the present invention, there is provided a method for transmitting power data, comprising:
[0006] Acquire power data to be transmitted based on power edge equipment;
[0007] Obtain a pre-trained feature evaluation model, and screen the power data based on the feature evaluation model and feature selection algorithm to obtain target data;
[0008] The target data is compressed to obtain compressed data, and the compressed data is transmitted to a power equipment control center for controlling power edge equipment.
[0009] According to another aspect of the present invention, there is provided a power data transmission device, comprising:
[0010] A power data acquisition module, used to acquire power data to be transmitted based on power edge equipment;
[0011] The target data acquisition module is used to obtain the pre-trained feature evaluation model, and screen the power data based on the feature evaluation model and feature selection algorithm to obtain the target data;
[0012] The compressed data transmission module is used to compress the target data to obtain compressed data, and transmit the compressed data to the power equipment control center used to control the power end equipment.
[0013] According to another aspect of the present invention, there is provided an electronic device, comprising:
[0014] at least one processor; and a memory in communication with the at least one processor; wherein,
[0015] The memory stores a computer program that can be executed by at least one processor. The computer program is executed by the at least one processor so that the at least one processor executes any power data transmission method provided by any embodiment of the present invention.
[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, on which computer instructions are stored, and the computer instructions are used to enable a processor to implement any power data transmission method provided by any embodiment of the present invention when executed.
[0017] The technical solution of the embodiment of the present invention is based on obtaining the power data to be transmitted based on the power edge device; obtaining a pre-trained feature evaluation model, and based on the feature evaluation model and the feature selection algorithm, screening the power data to obtain the target data, which can eliminate unimportant data in the power data and reduce the amount of target data; compressing the target data to obtain compressed data, and transmitting the compressed data to the power equipment control center used to control the power edge device, which can further reduce the amount of transmitted data through compression. The above technical solution can reduce the amount of transmitted data and improve the transmission efficiency of power data by screening the power equipment and compressing the screened target equipment before transmitting it.
[0018] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 is a flow chart of a power data transmission method provided according to an embodiment of the present invention;
[0021] Figure 2 is a flow chart of another power data transmission method provided according to an embodiment of the present invention;
[0022] Figure 3 is a flowchart of power data transmission according to a specific example of another power data transmission method provided in an embodiment of the present invention;
[0023] Figure 4 is a structural block diagram of a power data transmission device provided according to an embodiment of the present invention;
[0024] Figure 5 It is a structural schematic diagram of an electronic device for implementing the power data transmission method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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 should fall within the scope of protection of the present invention.
[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. The situations of "target", "original", etc. are similar and will not be repeated here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0027] Figure 1 It is a flow chart of a power data transmission method provided by an embodiment of the present invention. This embodiment can be applicable to the case of transmitting power data. The method can be executed by a power data transmission device provided by an embodiment of the present invention, and the device can be implemented by software and / or hardware. The device can be integrated in an electronic device, and the electronic device can be various user terminals or servers.
[0028] See also Figure 1 The method of the embodiment of the present invention specifically includes the following steps:
[0029] S110: Obtain power data to be transmitted based on the power edge device.
[0030] Among them, the power edge equipment can be understood as the power equipment located at the edge of the power network, responsible for data collection, processing, control and communication, which can include power end equipment and power edge equipment.
[0031] Power data can be understood as data that reflects the operating status of the power system, such as data on various electrical parameters of the power system, such as voltage, current, power, frequency and temperature.
[0032] The power data to be transmitted can be obtained based on the power end-edge equipment to facilitate understanding of the operation status of the power system.
[0033] S120: Obtain a pre-trained feature evaluation model, and screen the power data based on the feature evaluation model and the feature selection algorithm to obtain target data.
[0034] Among them, the feature evaluation model can be understood as a model for evaluating the importance of features, and can be obtained by training a neural network model using a manually annotated data set.
[0035] The feature selection algorithm can be understood as an algorithm for selecting data features in the power data, and can select important features from the power data. Optionally, the feature selection algorithm can be a recursive feature elimination algorithm.
[0036] The target data can be understood as the important data that needs to be transmitted after the power data is screened.
[0037] The feature evaluation model and feature selection algorithm can be used to screen the power data to obtain the target data. For example, the evaluation results of the feature evaluation model can be screened using the feature selection algorithm to select features with better evaluation results as the target data.
[0038] S130 , compress the target data to obtain compressed data, and transmit the compressed data to a power equipment control center for controlling power edge equipment.
[0039] Among them, the power equipment control center can be understood as a terminal for monitoring and controlling power edge equipment.
[0040] In order to further reduce the amount of transmitted data, the target data may be compressed when being transmitted to obtain compressed data, and the compressed data may be transmitted to the power equipment control center.
[0041] The technical solution of the embodiment of the present invention is based on obtaining the power data to be transmitted based on the power edge device; obtaining a pre-trained feature evaluation model, and based on the feature evaluation model and the feature selection algorithm, screening the power data to obtain the target data, which can eliminate unimportant data in the power data and reduce the amount of target data; compressing the target data to obtain compressed data, and transmitting the compressed data to the power equipment control center used to control the power edge device, which can further reduce the amount of transmitted data through compression. The above technical solution can reduce the amount of transmitted data and improve the transmission efficiency of power data by screening the power equipment and compressing the screened target equipment before transmitting it.
[0042] An optional technical solution for obtaining power data to be transmitted based on power edge devices, including: collecting original data of the power edge devices based on sensors and measuring devices associated with the power edge devices; performing data cleaning on the original data to remove noise and outliers in the original data to obtain denoised data; performing data filling on missing data in the denoised data to obtain filled data; and performing standardization on the filled data to obtain power data to be transmitted.
[0043] Among them, the raw data of the power edge device can be collected based on the sensors and measuring devices associated with the power edge device. During the collection process, the time interval for data collection, the collection method, and the configuration parameters of the sensor can also be determined at the same time. After that, the collected raw data can be cleaned to remove the noise and outliers in the raw data. At the same time, the floating point numbers in the raw data can be converted into integers to obtain denoised data to reduce the amount of data. Furthermore, the missing data that is not fully collected in the denoised data can be filled to obtain filled data. Finally, the filled data is standardized and the data format is unified to obtain the power data to be transmitted.
[0044] The above technical solution can obtain accurate and unified power data by preprocessing the original data.
[0045] Another optional technical solution is to compress the target data to obtain compressed data, including: for each character in the target data, counting the frequency of occurrence of the character in the target data to obtain a frequency statistical result; constructing a Huffman tree based on the obtained multiple frequency statistical results; generating a coding table based on the Huffman tree, and compressing the target data based on the coding table to obtain compressed data.
[0046] Among them, when compressing the target data, firstly, for each character in the target data, the frequency of occurrence of the character in the target data is counted to obtain the frequency statistics result. Then, based on the obtained frequency statistics result of each character, a Huffman tree is constructed, and further, a coding table can be generated based on the Huffman tree. Finally, the target data is compressed based on the coding table to obtain compressed data.
[0047] The above technical solution can further reduce the amount of transmitted data and improve data transmission efficiency by compressing the target data.
[0048] Another optional technical solution is to transmit compressed data to a power equipment control center for controlling power edge devices, including: based on a wireless communication module located in the power edge device, transmitting compressed data to the power equipment control center for controlling the power edge device, so that the power equipment control center can obtain target data after decompressing the received compressed data.
[0049] In the process of transmitting the compressed data, the compressed data can be transmitted to the power equipment control center for controlling the power equipment based on the wireless communication module located in the power equipment, such as 4G and Wi-Fi communication modules. After receiving the compressed data, the power equipment control center decompresses it to obtain the target data.
[0050] The above technical solution can realize the wireless transmission of compressed data.
[0051] Figure 2 It is a flowchart of another method for transmitting electric power data provided in an embodiment of the present invention. This embodiment is optimized based on the above-mentioned technical solutions. In this embodiment, optionally, based on the feature evaluation model and the feature selection algorithm, the electric power data is screened to obtain the target data, including: performing feature analysis on the electric power data to obtain multiple electric power features; for each electric power feature in the multiple electric power features, the electric power feature is input into the feature evaluation model to obtain the feature importance value of the electric power feature, and based on the feature selection algorithm and all the obtained feature importance values, the multiple electric power features are screened to obtain the screening features; when the number of screening features is greater than or equal to the preset feature number threshold, each screening feature is used as a power feature respectively, and the steps for each electric power feature in the multiple electric power features are repeated; when the number is less than the preset feature number threshold, the target data to be transmitted is obtained based on the screening features. Among them, the explanations of the terms that are the same or corresponding to the above-mentioned embodiments are not repeated here.
[0052] See also Figure 2 The method of this embodiment may specifically include the following steps:
[0053] S210: Obtain power data to be transmitted based on the power edge device.
[0054] S220: Obtain a pre-trained feature evaluation model, and perform feature analysis on the power data to obtain multiple power features.
[0055] Among them, by performing feature analysis on power data, multiple power features that characterize the key attributes and behavior patterns of the power system can be extracted, such as current features, voltage features, power features, and frequency features.
[0056] S230. For each power feature among the multiple power features, input the power feature into a feature evaluation model to obtain a feature importance value of the power feature, and screen the multiple power features based on a feature selection algorithm and all the obtained feature importance values to obtain a screened feature.
[0057] The feature importance value can be understood as a value output by the feature evaluation model after evaluating the power feature, which is used to characterize the importance of the power feature. For each power feature, the power feature can be input into the feature evaluation model to obtain the feature importance value of the power feature, thereby obtaining the feature importance value of each power feature.
[0058] The screening feature can be understood as an important power feature obtained after screening the power features. Optionally, multiple power features can be screened based on the feature selection algorithm and all feature importance values obtained to obtain the screening feature. For example, the feature selection algorithm can be used to remove power features with small feature importance values from the power features to obtain the screening feature.
[0059] S240: When the number of the screened features is greater than or equal to the preset feature number threshold, each screened feature is used as a power feature, and the steps for each power feature in the multiple power features are repeated.
[0060] Among them, in order to screen out suitable screening features, a preset feature quantity threshold can be used as a judgment criterion. When the number of screening features is greater than or equal to the preset feature quantity threshold, each screening feature is used as a power feature and the above screening process is repeated. In this way, the number of screening features can be controlled within the preset feature quantity threshold without losing important features.
[0061] S250: When the number is less than a preset feature number threshold, target data to be transmitted is obtained based on the screening features.
[0062] If the number is less than the preset feature number threshold, it means that the screening is completed, and the target data to be transmitted can be obtained based on the screening features. Optionally, the screening features can be directly used as the target data; or the screening features can be used as the target data after feature analysis and processing.
[0063] The technical solution of the embodiment of the present invention can minimize the number of screened features while ensuring that important power features are not missed, thereby reducing the amount of transmitted data, by repeatedly screening power features.
[0064] An optional technical solution, based on a feature selection algorithm and all feature importance values obtained, screens multiple power features to obtain screened features, including: sorting all feature importance values obtained to obtain a sorting result; using a feature selection algorithm, based on the sorting result, removing unimportant features from multiple power features to obtain screened features, wherein the feature importance values of unimportant features are located in the front of a preset number or the back of a preset number in the sorting result.
[0065] Among them, all the obtained feature importance values can be sorted, for example, from large to small or from small to large, etc., to obtain the sorting result. Then, the feature selection algorithm is used to remove unimportant features from multiple power features based on the sorting result to obtain the screening feature. For example, if the sorting result is from large to small, the power features corresponding to the last preset number of feature importance values are regarded as unimportant features; if the sorting result is from small to large, the power features corresponding to the first preset number of feature importance values are regarded as unimportant features.
[0066] The above technical solution can remove power features with smaller feature importance values to obtain screening features.
[0067] Another optional technical solution is to obtain the target data to be transmitted based on the screening features, including: performing feature conversion on the screening features to obtain conversion features, and performing feature combination on the screening features to obtain combined features; and obtaining the target data to be transmitted based on the conversion features and the combined features.
[0068] Among them, the screening features can be transformed to obtain conversion features. Optionally, the screening features can be transformed into more expressive features through mathematical transformation or algorithm processing to extract hidden information in the screening features. The screening features can also be combined to obtain combined features. Optionally, multiple screening features can be combined to generate new combined features to explore the potential relationship between the screening features. Finally, based on the conversion features and the combined features, the target data to be transmitted is obtained.
[0069] The above technical solution can improve the data quality of the target data by further processing the screening features.
[0070] In order to better understand the above-mentioned technical solutions, the following is an illustrative description with reference to specific examples. Figure 3 As shown, the specific steps are as follows:
[0071] Step 1: Power data collection and preprocessing
[0072] The sensors and measuring devices installed in the power edge devices are used to collect the original data generated by the power edge devices, and the time interval and method of data collection as well as the configuration of the sensors and measuring devices are determined.
[0073] The preprocessing of raw data includes cleaning the raw data to remove noise and outliers; converting the floating point numbers in the data into integers to reduce the amount of data; using reasonable interpolation techniques to fill in missing values to maintain data integrity; identifying and processing possible outliers to ensure the quality and reliability of the raw data; and finally, unifying the raw data into a unified format and performing standardization or normalization to obtain power data.
[0074] Step 2: Selection and optimization of screening features
[0075] The power data is screened using the feature selection algorithm and the pre-trained feature evaluation model to obtain the screening features. The screening features are then further optimized through feature conversion and combination to obtain the target data.
[0076] Step 3: Data compression algorithm application
[0077] The target data is compressed using the Huffman coding compression algorithm, and the compression level and block size of the target data are adjusted to optimize the compression effect.
[0078] Step 4: Compress data transmission and storage
[0079] The compressed data is transmitted to the power equipment control center through the wireless communication module of the power edge device, and the received data is decompressed in the power equipment control center and stored in the database for subsequent analysis and processing.
[0080] In the above specific examples, by screening the power devices and compressing the screened target devices before transmission, the amount of transmitted data can be reduced and the transmission efficiency of the power data can be improved.
[0081] Figure 4This is a structural block diagram of a power data transmission device provided in an embodiment of the present invention, and the device is used to execute the power data transmission method provided in any of the above embodiments. The device and the power data transmission method of the above embodiments belong to the same inventive concept. For details not described in detail in the embodiment of the power data transmission device, please refer to the embodiment of the above power data transmission method. Figure 4 The device may specifically include: a power data acquisition module 310, a target data acquisition module 320 and a compressed data transmission module 330.
[0082] The power data acquisition module 310 is used to acquire the power data to be transmitted based on the power edge device;
[0083] The target data obtaining module 320 is used to obtain a pre-trained feature evaluation model, and screen the power data based on the feature evaluation model and the feature selection algorithm to obtain the target data;
[0084] The compressed data transmission module 330 is used to compress the target data to obtain compressed data, and transmit the compressed data to the power equipment control center used to control the power edge equipment.
[0085] An optional technical solution, the target data obtaining module 320 includes:
[0086] The power feature acquisition submodule is used to perform feature analysis on power data to obtain multiple power features;
[0087] A screening feature obtaining submodule is used for inputting the power feature into a feature evaluation model for each power feature among the multiple power features to obtain a feature importance value of the power feature, so as to screen the multiple power features based on the feature selection algorithm and all the obtained feature importance values to obtain a screening feature;
[0088] A repeated execution submodule is used to, when the number of the screened features is greater than or equal to a preset feature number threshold, use each screened feature as a power feature and repeat the steps for each power feature in the plurality of power features;
[0089] The target data obtaining submodule is used to obtain the target data to be transmitted based on the screening features when the number is less than a preset feature number threshold.
[0090] On this basis, one can optionally filter the features to obtain submodules, including:
[0091] A sorting result obtaining unit is used to sort all obtained feature importance values to obtain a sorting result;
[0092] The screening feature obtaining unit is used to use a feature selection algorithm to remove unimportant features from multiple power features based on the sorting results to obtain screening features, wherein the feature importance value of the unimportant feature is located in the front preset number or the back preset number in the sorting results.
[0093] Alternatively, the target data acquisition submodule includes:
[0094] A combined feature obtaining unit is used to perform feature conversion on the screening features to obtain conversion features, and to perform feature combination on the screening features to obtain combined features;
[0095] The target data obtaining unit is used to obtain the target data to be transmitted based on the conversion feature and the combination feature.
[0096] Alternatively, the power data acquisition module 310 includes:
[0097] A raw data acquisition submodule, used to collect raw data of the power edge device based on sensors and measuring devices associated with the power edge device;
[0098] The denoising data acquisition submodule is used to clean the original data, remove noise and outliers in the original data, and obtain denoised data;
[0099] A filling data obtaining submodule is used to fill the missing data in the denoised data to obtain filled data;
[0100] The power data acquisition submodule is used to perform standardization processing on the filling data to obtain the power data to be transmitted.
[0101] Another optional method is to compress data transmission module 330, including:
[0102] The frequency statistics result obtaining submodule is used to count the occurrence frequency of each character in the target data to obtain the frequency statistics result;
[0103] A Huffman tree construction submodule, used to construct a Huffman tree based on the obtained multiple frequency statistics results;
[0104] The compressed data obtaining submodule is used to generate a coding table based on the Huffman tree, and compress the target data based on the coding table to obtain compressed data.
[0105] In another optional embodiment, the compressed data transmission module 330 includes:
[0106] The compressed data transmission submodule is used to transmit compressed data to the power equipment control center used to control the power end-edge device based on the wireless communication module located in the power end-edge device, so that the power equipment control center can obtain the target data after decompressing the received compressed data.
[0107] The power data transmission device provided in the embodiment of the present invention obtains the power data to be transmitted based on the power edge device through the power data acquisition module; obtains the pre-trained feature evaluation model through the target data acquisition module, and screens the power data based on the feature evaluation model and the feature selection algorithm to obtain the target data. The screening can eliminate unimportant data in the power data and reduce the amount of target data; compresses the target data through the compression data transmission module to obtain compressed data, and transmits the compressed data to the power equipment control center used to control the power edge device. The compression processing can further reduce the amount of transmitted data. The above device can reduce the amount of transmitted data and improve the transmission efficiency of power data by screening the power equipment and compressing the screened target equipment before transmitting it.
[0108] The power data transmission device provided in the embodiment of the present invention can execute the power data transmission method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0109] It is worth noting that in the embodiment of the above-mentioned power data transmission device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0110] Figure 5 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0111] like Figure 5As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, ROM 12 and RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0112] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0113] The processor 11 may be a variety of general and / or dedicated processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as a power data transmission method.
[0114] In some embodiments, the power data transmission method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the power data transmission method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the power data transmission method in any other appropriate manner (e.g., by means of firmware).
[0115] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0116] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0117] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0118] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0119] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0120] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0121] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0122] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for transmitting power data, characterized in that: include: Acquire power data to be transmitted based on power edge equipment; Acquire a pre-trained feature evaluation model, and screen the power data based on the feature evaluation model and feature selection algorithm to obtain target data; The target data is compressed to obtain compressed data, and the compressed data is transmitted to an electric power equipment control center for controlling the electric power edge equipment.
2. The method according to claim 1, characterized in that The step of screening the power data based on the feature evaluation model and the feature selection algorithm to obtain target data includes: Performing feature analysis on the power data to obtain multiple power features; For each of the plurality of power features, input the power feature into the feature evaluation model to obtain a feature importance value of the power feature, and screen the plurality of power features based on a feature selection algorithm and all the obtained feature importance values to obtain a screening feature; When the number of the screening features is greater than or equal to a preset feature number threshold, each of the screening features is used as the power feature, and the steps for each of the multiple power features are repeated; When the number is less than the preset feature number threshold, target data to be transmitted is obtained based on the screening features.
3. The method according to claim 2, characterized in that The method of screening the plurality of power features based on the feature selection algorithm and all the obtained feature importance values to obtain screening features includes: Sorting all the obtained feature importance values to obtain a sorting result; Using a feature selection algorithm, based on the sorting result, unimportant features are removed from the plurality of power features to obtain screening features, wherein the feature importance values of the unimportant features are located in the front preset number or the back preset number in the sorting result.
4. The method according to claim 2, characterized in that: The obtaining target data to be transmitted based on the screening feature includes: Performing feature conversion on the screening features to obtain conversion features, and performing feature combination on the screening features to obtain combined features; Based on the conversion feature and the combination feature, target data to be transmitted is obtained.
5. The method according to claim 1, characterized in that The obtaining of power data to be transmitted based on the power edge device includes: Based on sensors and measuring devices associated with the power edge devices, raw data of the power edge devices are collected; Performing data cleaning on the original data to remove noise and outliers in the original data to obtain denoised data; Performing data filling on the missing data in the denoised data to obtain filled data; The filling data is standardized to obtain power data to be transmitted.
6. The method according to claim 1, characterized in that The step of compressing the target data to obtain compressed data includes: For each character in the target data, counting the occurrence frequency of the character in the target data to obtain a frequency statistical result; Constructing a Huffman tree based on the obtained multiple frequency statistical results; A coding table is generated based on the Huffman tree, and compression processing is performed on the target data based on the coding table to obtain compressed data.
7. The method according to claim 1, characterized in that The transmitting the compressed data to a power equipment control center for controlling the power edge equipment comprises: Based on the wireless communication module located in the power edge device, the compressed data is transmitted to the power equipment control center used to control the power edge device, so that the power equipment control center obtains the target data after decompressing the received compressed data.
8. A power data transmission device, characterized in that: include: A power data acquisition module, used to acquire power data to be transmitted based on power edge equipment; A target data acquisition module is used to obtain a pre-trained feature evaluation model, and screen the power data based on the feature evaluation model and feature selection algorithm to obtain target data; The compressed data transmission module is used to compress the target data to obtain compressed data, and transmit the compressed data to an electric power equipment control center used to control the electric power edge equipment.
9. An electronic device, characterized in that: include: at least one processor; And a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor executes the power data transmission method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the power data transmission method as described in any one of claims 1 to 7 when executed.
Citation Information
Patent Citations
Anomaly detection method and device, storage medium and electronic equipment
CN113111305A
Efficient data compression method and system in Beidou short message communication
CN118075812A