Data transmission method and device, electronic equipment and storage medium

By functional classification and comparison and compression of the operating scenario data in the power system, the problem of low data transmission efficiency is solved, the efficiency and reliability of data transmission are improved, and the stable operation and real-time monitoring of the power system are ensured.

CN120050338AActive Publication Date: 2025-05-27CHINA RESOURCES POWER TECH RES INST CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510117173.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-24
Publication Date
2025-05-27
Estimated Expiration
2045-01-24

AI Technical Summary

Technical Problem

In power systems, the data transmission bandwidth is limited, resulting in the transmission time of the original JSON data being long and inefficient, which in turn leads to the inability to deliver data to the power management system in time, affecting the timeliness of the system's network transmission efficiency, operation management and fault warning functions, and may be at risk of data loss.

Method used

By obtaining the operating scenario data detected by the detection device, the data is classified and encapsulated according to the functional classification standards, and the data to be transmitted is compared and compressed based on the reference data. Only data that is different from the reference data are transmitted, reducing the transmission of redundant data.

Benefits of technology

It effectively shortens the time required for data transmission, optimizes bandwidth utilization, alleviates bandwidth pressure, improves data transmission efficiency, reduces the risk of data loss, and enables real-time operation scenario data to be delivered to the power management system in a timely manner.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120050338A_ABST
    Figure CN120050338A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a data transmission method and device, electronic equipment and a storage medium, and relates to the technical field of electric power. The method comprises the following steps: acquiring operation scene data obtained by detecting power equipment at the current moment by a detection device; classifying the operation scene data according to a function classification standard to obtain various types of operation scene data, and packaging the various types of operation scene data into a set format to obtain to-be-transmitted data; setting reference data corresponding to the power equipment based on the category of the operation scene data; the to-be-transmitted data is compared and compressed based on the reference data to obtain the target transmission data, the target transmission data is sent to the power management system, only data different from the reference data can be transmitted, data unchanged compared with the reference data is not transmitted, limited bandwidth resources are not occupied by redundant data any more, the bandwidth pressure is relieved, and the bandwidth transmission efficiency is improved. Therefore, the data transmission efficiency and reliability are improved, and the stable operation of a power system is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of power technologies, and in particular, to a data transmission method, apparatus, electronic device, and storage medium. Background Art

[0002] Data transmission in a power system is crucial and is a key link for realizing functions such as stable operation, monitoring and management, and fault warning of the power system.

[0003] Currently, operation scenario data of each power device is collected by various sensors, and then the operation scenario data of each power device is respectively encapsulated in the JavaScript Object Notation (JSON) data format to obtain JSON data corresponding to each power device, and the JSON data is transmitted to a power management system to realize functions such as stable operation, monitoring and management, and fault warning of the power system.

[0004] However, in the case where the data transmission bandwidth of the power dedicated line in the power system is limited, the transmission time of a large amount of original JSON data is long, resulting in low data transmission efficiency. Furthermore, the real-time operation scenario data cannot be delivered to the power management system in time, causing a delay in the state monitoring of power devices, affecting the timeliness of functions such as the network transmission efficiency, operation management, and fault warning of the entire power system, and there may be a risk of data loss, affecting the stable operation of the power system. Summary of the Invention

[0005] Embodiments of the present application provide a data transmission method, apparatus, electronic device, and storage medium, which implement the data transmission function in a power system to solve the problem of low data transmission efficiency in the prior art.

[0006] In a first aspect, embodiments of the present application provide a data transmission method, which includes:

[0007] Obtain operation scenario data detected by a detection device for a power device at the current moment;

[0008] Classify the operation scenario data according to a function classification standard to obtain operation scenario data of each category, and encapsulate the operation scenario data of each category into a set format to obtain data to be transmitted;

[0009] Set reference data corresponding to the power device based on the category of the operation scenario data;

[0010] Perform comparison and compression on the data to be transmitted based on the reference data to obtain target transmission data, and send the target transmission data to a power management system.

[0011] In the embodiments of the present application, the operation scenario data obtained by the detection device for detecting the power equipment at the current moment can be acquired. Then, the operation scenario data is classified according to the function classification standard to obtain the operation scenario data of each category, and the operation scenario data of each category is encapsulated into a set format to obtain the data to be transmitted. Then, the reference data corresponding to the power equipment is set based on the category of the operation scenario data. After that, the data to be transmitted is compared and compressed based on the reference data to obtain the target transmission data, and the target transmission data is sent to the power management system. In the above technical solution, by comparing and compressing the data to be transmitted based on the reference data, only the data different from the reference data can be transmitted, and a large amount of repeated and unchanged data can be discarded, so that the limited bandwidth resources are no longer occupied by redundant data, effectively shortening the duration required for a single data transmission in the case of limited data transmission bandwidth in the power system. Furthermore, the bandwidth utilization is optimized, the bandwidth pressure is relieved, the data transmission efficiency is improved, the problem of low data transmission efficiency is effectively solved, and the risk of data loss caused by excessive data volume is reduced, enabling the real-time operation scenario data to be delivered to the power management system in a timely manner. Thus, without changing the existing network protocol and infrastructure, the efficiency and reliability of data transmission are significantly improved, and the timeliness of functions such as network transmission efficiency, operation management, and fault warning in the entire power system is improved, ensuring the stable operation of the power system.

[0012] In a second aspect, an embodiment of the present application provides a data transmission device, which includes:

[0013] An acquisition module, configured to acquire the operation scenario data obtained by the detection device for detecting the power equipment at the current moment;

[0014] A data processing module, configured to classify the operation scenario data according to the function classification standard to obtain the operation scenario data of each category, and encapsulate the operation scenario data of each category into a set format to obtain the data to be transmitted;

[0015] A setting module, configured to set the reference data corresponding to the power equipment based on the category of the operation scenario data;

[0016] A compression module, configured to compare and compress the data to be transmitted based on the reference data to obtain the target transmission data, and send the target transmission data to the power management system.

[0017] In a third aspect, an embodiment of the present application provides an electronic device, which includes:

[0018] At least one processor; and a memory communicatively connected to at least one processor;

[0019] Among them, 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 can execute the data transmission method according to any embodiment of the present application.

[0020] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, it implements the data transmission method according to any embodiment of the present application.

[0021] For the descriptions of the second, third, and fourth aspects in the present application, reference may be made to the detailed description of the first aspect; and for the beneficial effects described in the second, third, and fourth aspects, reference may be made to the analysis of the beneficial effects of the first aspect, which will not be elaborated here.

[0022] In the present application, the names of the above data transmission devices do not limit the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear under other names. As long as the functions of each device or functional module are similar to those of the present application and fall within the scope of the claims of the present application and their equivalent technologies.

[0023] These aspects or other aspects of the present application will be more clearly understood in the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0025] Figure 1 is a flowchart of the data transmission method provided by an embodiment of the present application;

[0026] Figure 2 is another flowchart of the data transmission method provided by an embodiment of the present application;

[0027] Figure 3 is a structural diagram of the data transmission device provided by an embodiment of the present application;

[0028] Figure 4 is a structural diagram of the electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0029] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the following will clearly and completely describe the technical solutions in the embodiments of this application with reference to the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part rather than all of the embodiments of this application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in this application without creative efforts shall fall within the scope of protection of this application.

[0030] It should be noted that the terms "first", "second", "target", "original", etc. in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects and do not necessarily need to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of this application described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including", "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.

[0031] Figure 1 is a schematic flowchart of a data transmission method provided by an embodiment of this application. This embodiment can be applied to a scenario where data is transmitted under the condition of limited data transmission bandwidth in a power system. A data transmission method provided in this embodiment can be executed by a data transmission device provided by an embodiment of this application, and this device can be implemented in software and / or hardware. In a specific embodiment, this data transmission device can be integrated in an electronic device. For example, this electronic device can be a computer or a server, etc. The execution subject of this method can be an electronic device. Refer to Figure 1 , the data transmission method in this embodiment includes but is not limited to the following steps:

[0032] S110. Obtain the operation scenario data detected by the detection device for the power equipment at the current moment.

[0033] Among them, the detection device is a device that collects information related to the operation of power equipment and can include various sensors. These sensors can measure various information such as the environmental information of the power equipment (such as temperature, wind speed, and air pressure), electrical parameters of the power equipment (such as voltage and current), physical state (such as temperature), and mechanical state (such as vibration), for example, temperature sensors, air pressure sensors, voltage sensors, current sensors, and vibration sensors.

[0034] Power equipment refers to various equipment used in power generation, transmission, transformation, distribution, and power consumption in the power system. Exemplarily, the power equipment may be a wind turbine generator set or a solar power station, etc.

[0035] The operation scenario data is a set of various data about the operation scenario of the power equipment obtained by the detection device after detecting the power equipment, reflecting the working conditions of the power equipment at a specific moment. Exemplarily, the operation scenario data may include wind speed data, wind direction data, temperature data, air pressure data, rotational speed data, power data, vibration data, voltage data, and current data, etc.

[0036] Specifically, when the data transmission bandwidth of the power system is limited, it is necessary to compress the operation scenario data of the power equipment when transmitting the operation scenario data of the power equipment, so as to reduce the data transmission volume and improve the transmission efficiency; thus, the operation scenario data obtained by the detection device detecting the power equipment at the current moment can be obtained, that is, the operation scenario data of the power equipment at the current moment can be measured by using sensors installed at various key parts of the power equipment.

[0037] Exemplarily, when the power device is a wind turbine generator, an anemometer can be used to measure the wind speed of the environment where the wind turbine generator is located, including the wind speeds at different heights, to obtain wind speed data (denoted as V); a wind vane can be used to measure the wind direction of the environment where the wind turbine generator is located, to obtain wind direction data (denoted as D); a temperature sensor can be used to measure the air temperature of the environment where the wind turbine generator is located, to obtain air temperature data (denoted as T); a pressure sensor can be used to measure the air pressure of the environment where the wind turbine generator is located, to obtain air pressure data (denoted as P); a rotational speed sensor can be used to measure the rotational speed of the wind turbine of the wind turbine generator, to obtain rotational speed data (denoted as N); a power sensor can be used to measure the output power of the generator of the wind turbine generator, to obtain electric power data (denoted as P_e), and the power sensor can be used to measure the mechanical power generated by the wind turbine of the wind turbine generator, to obtain mechanical power data (denoted as P_m); a pitch angle sensor can be used to measure the angle between the blade chord line and the blade rotation plane of the wind turbine generator, to obtain blade pitch angle data (denoted as β); a vibration sensor can be used to measure the vibration frequency (denoted as f), vibration amplitude (denoted as A) and vibration direction (denoted as Dir) of the entire wind turbine generator, to obtain vibration data (denoted as vibration); a voltage sensor can be used to measure the output voltage of the generator of the wind turbine generator, to obtain voltage data (denoted as U); an current sensor can be used to measure the output current of the generator of the wind turbine generator, to obtain current data (denoted as I); a frequency sensor can be used to measure the alternating current frequency output by the generator of the wind turbine generator, to obtain frequency data (denoted as f_grid); an oil temperature sensor can be used to measure the temperature of the lubricating oil of the wind turbine generator, to obtain oil temperature data (denoted as T_oil); an oil pressure sensor can be used to measure the pressure of the lubricating oil of the wind turbine generator, to obtain oil pressure data (denoted as P_oil); a temperature sensor can be used to measure the cooling medium temperature (denoted as cooling_medium_temperature) of the wind turbine generator, and a flow sensor can be used to measure the cooling medium flow (denoted as cooling_medium_flow) of the wind turbine generator, to obtain cooling medium temperature and flow data.

[0038] S120. Classify the operation scenario data according to the function classification standard, obtain the operation scenario data of each category, and encapsulate the operation scenario data of each category into a set format to obtain the data to be transmitted.

[0039] Among them, the function classification standard is a classification standard preset for the power device, which is a rule or criterion for classifying the operation scenario data according to its functional characteristics. According to the functional aspects of the power device reflected by the operation scenario data, a large amount of operation scenario data can be divided into different categories. Optionally, the same type of power device corresponds to the same function classification standard.

[0040] The setting format is a specific data structure and format adopted for encapsulating the classified operation scenario data, which is preset to facilitate data transmission, storage, and subsequent processing. Exemplarily, the setting format can be the JSON format.

[0041] The data to be transmitted is a data packet composed of the operation scenario data of each operation scenario after function classification and encapsulation processing, that is, the data to be transmitted can include multiple data points.

[0042] Specifically, after obtaining the operation scenario data, the function classification standard pre-set for the power equipment can be obtained, that is, the function classification standard for the operation scenario data of the power equipment can be formulated in advance according to the characteristics of the power equipment; then the operation scenario data is classified according to the function classification standard to divide a large amount of operation scenario data into different categories, and the operation scenario data of each category is obtained. For example, the function classification standard of a wind turbine can divide the operation scenario data into four categories, namely, meteorological parameter category, unit operation state parameter category, electrical system parameter category, and lubrication and cooling system parameter category. The meteorological parameter category includes wind speed data, wind direction data, temperature data, air pressure data, etc. The unit operation state parameter category includes rotational speed data, electric power data, mechanical power data, blade pitch angle data, vibration data, etc. The electrical system parameter category includes voltage data, current data, frequency data, etc. The lubrication and cooling system parameter category includes oil temperature data, oil pressure data, and cooling medium temperature and flow data, etc.

[0043] Then, the operation scenario data of each category can be encapsulated into the setting format to obtain the data to be transmitted, that is, any category can be selected as the current category, and then all the operation scenario data included in the current category is encapsulated according to the setting format to obtain the encapsulated data corresponding to the current category. Then, other categories are selected as the current category, and the above encapsulation process is repeated to obtain the encapsulated data corresponding to each category. Then, the acquisition time of the operation scenario data is used as the time stamp, and the equipment identifier, time stamp, and encapsulated data of all categories of the power equipment are encapsulated into a data packet according to the setting format to obtain the data to be transmitted. At this time, the data to be transmitted includes multiple data points.

[0044] Exemplarily, when the power device is a wind turbine generator and the set format is JSON format, the data to be transmitted can be {"device identifier": "001", "timestamp": "2024-12-10T14:20:00Z", "meteorological parameter class": {"V": 10.5, "D": 90, "T": 25, "P": 1010}, "unit operation status parameter class": {"N": 1600, "P_e": 400, "P_m": 420, "β": 8, "vibration": {"f": 12, "A": 0.15, "Dir": "SE"}}, "electrical system parameter class": {"U": 695, "I": 580, "f_grid": 50}, "lubrication and cooling system parameter class": {"T_oil": 65, "P_oil": 320, "cooling_medium_temperature": 38, "cooling_medium_flow": 12}}, and each key-value pair therein is a data point.

[0045] S130. Set the reference data corresponding to the power device based on the category of the operation scenario data.

[0046] Among them, the reference data is a reference data packet for comparison and compression, which is used to compare with the data to be transmitted. It can be a complete data packet collected when the power device starts up, or a representative data packet screened from the historical data of the power device. That is, the reference data includes multiple data points.

[0047] Specifically, after obtaining the data to be transmitted, the reference data corresponding to the power device can be set based on the category of the operation scenario data. For example, before comparing and compressing the data to be transmitted, a complete data packet collected when the power device starts up can be set as the reference data, or a representative complete data packet screened from the historical data of the power device can be set as the reference data. At this time, the reference data includes all the operation scenario data generated when the power device is running, and if the data format of the reference data is not the set format, the reference data can be repackaged according to the set format for subsequent comparison and compression.

[0048] S140. Compare and compress the data to be transmitted based on the reference data to obtain the target transmission data, and send the target transmission data to the power management system.

[0049] Among them, the target transmission data is a data packet obtained by comparing and compressing the data to be transmitted. By comparing the data to be transmitted with the reference data, redundant information is removed (such as removing the data part that is the same as the reference data) or the data to be transmitted is compressed (such as only transmitting the data part that is different from the reference data), with the aim of reducing the data transmission volume and improving the transmission efficiency.

[0050] The power management system is a collection of software systems and related hardware facilities for centralized management, monitoring, and scheduling of power equipment. It can receive the target transmission data sent from various electronic devices and, through functions such as data analysis, processing, and display, achieve a series of management tasks such as monitoring the operating status of power equipment, fault warning, and maintenance plan formulation.

[0051] Specifically, after obtaining the reference data, the data to be transmitted can be compared and compressed based on the reference data to obtain the target transmission data. For example, any data point is selected from each data point of the data to be transmitted as the data point to be determined, where the selected data point does not include the device identifier and timestamp, and the corresponding data point is searched from the reference data to obtain the standard data point. Then, the data point to be determined is compared with the standard data point. If the data content of the operating scenario data in the data point to be determined is different from the data content of the operating scenario data in the standard data point, the data point to be determined is marked as a changed data point; if the data content of the operating scenario data in the data point to be determined is the same as the data content of the operating scenario data in the standard data point, the data point to be determined is marked as an unchanged data point; then, other data points in the data to be transmitted can be selected as the data point to be determined and the above process is repeated to mark all data points; then, the data points marked as unchanged data points are removed from the data to be transmitted to obtain the target transmission data; after that, the target transmission data can be sent to the power management system, reducing the data transmission volume and improving the transmission efficiency.

[0052] It should be noted that if a certain operating scenario data does not exist in the power equipment at the current moment, the operating scenario data is assigned a value of 0, and the reference data is a complete data packet, that is, the reference data includes all possible operating scenario data generated by the power equipment. Thus, there is no situation where the corresponding data point for the data point to be determined cannot be found in the reference data.

[0053] After the electronic device sets the reference data, the electronic device can send the reference data to the power management system for the power management system to restore the data to be transmitted. Thus, after receiving the reference data and the target transmission data sent by the electronic device, the power management system can restore the target transmission data based on the reference data to obtain the data to be transmitted, that is, obtain the complete operation scenario data of the power device at the current moment. For example, the power management system can obtain the device identifier and timestamp from the target transmission data, then compare the reference data with the target transmission data, and replace the data points in the target transmission data with the corresponding data points in the reference data to obtain the data to be transmitted.

[0054] The technical solution of the embodiment of the present application can obtain the operation scenario data detected by the detection device for the power device at the current moment, then classify the operation scenario data according to the function classification standard to obtain the operation scenario data of each category, and package the operation scenario data of each category into a set format to obtain the data to be transmitted. Then, set the reference data corresponding to the power device based on the category of the operation scenario data, and then perform comparison and compression on the data to be transmitted based on the reference data to obtain the target transmission data, and send the target transmission data to the power management system. In the above technical solution, performing comparison and compression on the data to be transmitted based on the reference data can only transmit the data that is different from the reference data, and discard a large amount of repeated and unchanged data, so that the limited bandwidth resource is no longer occupied by redundant data, effectively shortening the duration required for a single data transmission in the case where the data transmission bandwidth of the power system is limited. Furthermore, it optimizes the bandwidth utilization, alleviates the bandwidth pressure, improves the data transmission efficiency, effectively solves the problem of low data transmission efficiency, and reduces the risk of data loss caused by excessive data volume, enabling the real-time operation scenario data to be delivered to the power management system in a timely manner. Thus, without changing the existing network protocol and infrastructure, it significantly improves the efficiency and reliability of data transmission, and improves the timeliness of functions such as network transmission efficiency, operation management, and fault warning of the entire power system, ensuring the stable operation of the power system.

[0055] The following further describes a data transmission method provided by the embodiment of the present application. Figure 2 It is another flowchart of the data transmission method provided by the embodiment of the present application. The embodiment of the present application is optimized based on the above embodiments. Refer to Figure 2 , the method of this embodiment includes but is not limited to the following steps:

[0056] S210. Obtain the operation scenario data detected by the detection device for the power device at the current moment.

[0057] S220. Classify the operation scenario data according to the function classification standard to obtain the operation scenario data of each category, and encapsulate the operation scenario data of each category into a set format to obtain the data to be transmitted.

[0058] S230. Determine the average change period of each category according to the preset change period of each operation scenario data in each category.

[0059] Among them, the preset change period is a time period preset for the operation scenario data in advance, which is used to characterize the approximate time interval for the operation scenario data to change under normal circumstances.

[0060] The average change period is a period calculated after considering the actual change situations of all operation scenario data in the same category, which is used to characterize the approximate time interval for all operation scenario data in this category to change under normal circumstances.

[0061] Specifically, after obtaining the data to be transmitted, the average change period of each category can be determined according to the preset change period of each operation scenario data in each category. That is, in one implementation, any category can be selected as the current category, and the preset change period preset for each operation scenario data in the current category can be obtained. For example, the preset change period of the operation scenario data can be determined in advance based on factors such as the characteristics of the power equipment, operation rules, and past experience. Then, the average value of the preset change periods of all operation scenario data included in the current category is determined as the average change period of the current category. After that, other categories are selected as the current category, and the above process is repeated to obtain the average change period of each category.

[0062] In another implementation, for the current category in each category, the weights corresponding to each operation scenario data in the current category can be determined, and the average change period of the current category can be determined according to the preset change period and the corresponding weights of each operation scenario data. Specifically, the weights can be assigned to each operation scenario data according to the importance of each operation scenario data in the current category to the operation state of the wind turbine. The higher the importance, the higher the corresponding weight, and it is specified that the sum of the weights of all operation scenario data in a category is 1. Then, the product of each operation scenario data in the current category and the corresponding weight is calculated to obtain a plurality of products, and the sum of the plurality of products is calculated to obtain the average change period of the current category. By assigning weights to each operation scenario data, the change characteristics of key data can be highlighted. Then, the average change period of each category is determined by the weighted sum method, which can comprehensively consider the importance and change characteristics of the data, making the average change period better reflect the actual change situation of the key data in this category, thereby improving the determination accuracy and determination efficiency of the average change period and providing an accurate data basis for determining the sub-reference data subsequently.

[0063] Exemplarily, when the power device is a wind turbine generator, among the meteorological parameter categories, wind speed data and wind direction data are key factors directly affecting the wind energy capture efficiency of the wind turbine generator, and relatively high weights are assigned to them. While temperature data and air pressure data have a relatively indirect impact on the wind turbine generator and change relatively slowly, relatively low weights are assigned to them. That is, the weight corresponding to the wind speed data is 0.45, the weight corresponding to the wind direction data is 0.4, the weight corresponding to the temperature data is 0.1, and the weight corresponding to the air pressure data is 0.05; among the unit operating state parameter categories, rotational speed data, electric power data, and mechanical power data are key indicators for measuring the operating performance and power generation efficiency of the unit, and relatively high weights are assigned to them. While blade pitch angle data and vibration data have a relatively indirect impact on the wind turbine generator, relatively low weights are assigned to them. That is, the weight corresponding to the rotational speed data is 0.3, the weight corresponding to the electric power data is 0.25, the weight corresponding to the mechanical power data is 0.25, the weight corresponding to the blade pitch angle data is 0.1, and the weight corresponding to the vibration data is 0.1; among the electrical system parameter categories, frequency data is directly related to the grid connection stability between the unit and the power grid and changes relatively rapidly, and a relatively high weight is assigned to the frequency data. Voltage data and current data are equally important for evaluating the power transmission quality and the compatibility between the unit and the power grid, and the same weight is assigned to them. That is, the weight corresponding to the voltage data is 0.3, the weight corresponding to the current data is 0.3, and the weight corresponding to the frequency data is 0.4; among the lubrication and cooling system parameter categories, oil temperature data is an important indicator reflecting the working state of the lubrication and cooling system and the operating conditions of key components of the unit, and a relatively high weight is assigned to the oil temperature data. While oil pressure data, and cooling medium temperature and flow rate data have a relatively small impact on the wind turbine generator, relatively low weights are assigned to them. That is, the weight corresponding to the oil temperature data is 0.4, the weight corresponding to the oil pressure data is 0.3, and the weight corresponding to the cooling medium temperature and flow rate data is 0.3.

[0064] S240. Determine the current sub-reference data for the corresponding category according to the average change period of each category.

[0065] Among them, the sub-reference data is a reference data packet for a specific category, which is used to compare with the operation scenario data of the corresponding category in the data to be transmitted; the current sub-reference data is the sub-reference data of a specific category at the current moment.

[0066] Specifically, after obtaining the average change period of each category, the current sub-reference data of the corresponding category can be determined according to the average change period of each category, that is, for the current category in each category, when the current moment is the first moment, the data belonging to the current category can be extracted from the complete data packet collected when the power equipment is started, and these data are encapsulated in a set format to obtain the current sub-reference data of the current category, so as to facilitate subsequent comparison and compression operations. When the current moment is not the first moment, it can be determined whether to update the sub-reference data determined at the previous moment according to the average change period of the current category, so as to determine the current sub-reference data of the current category at the current moment.

[0067] Further, for the current category in each category, when the average change period of the current category is reached, the current sub-reference data of the current category is determined according to the previous data to be transmitted; when the average change period of the current category is not reached, the current sub-reference data of the current category is determined to be the previous sub-reference data of the current category; wherein, the previous data to be transmitted is the data to be transmitted at the previous moment, that is, the uncompressed data to be transmitted at the previous moment; the previous sub-reference data is the sub-reference data of the current category at the previous moment.

[0068] Specifically, when the time interval between the current moment and the moment when the sub-reference data of the current category was last updated exceeds the average change period of the current category, it can be determined that the average change period of the current category is reached, and at this time, the sub-reference data of the current category needs to be updated, that is, the data to be transmitted determined at the previous moment, that is, the previous data to be transmitted, can be obtained, and all data points belonging to the current category are extracted from the previous data to be transmitted to obtain the current sub-reference data of the current category. When the time interval between the current moment and the moment when the sub-reference data of the current category was last updated does not exceed the average change period of the current category, it can be determined that the average change period of the current category is not reached, and at this time, there is no need to update the sub-reference data of the current category, that is, the previous sub-reference data of the current category can be determined as the current sub-reference data of the current category.

[0069] In the embodiment of the present application, when the average change period of the category is not reached, the previous sub-reference data of the category is directly used as the current sub-reference data, which reduces unnecessary calculations and saves computing resources; when the average change period of the category is reached, since the previous data to be transmitted reflects the recent operation of the power equipment, updating the sub-reference data according to the previous data to be transmitted can better adapt to the comparison and compression of the next round of data to be transmitted, so that the current sub-reference data can better adapt to the dynamic changes of the power equipment, and further provides an accurate data basis for determining the reference data subsequently, thereby reducing the data transmission volume and improving the data transmission efficiency.

[0070] S250. Compose reference data based on the current sub-reference data corresponding to each category.

[0071] Specifically, after obtaining the current sub-reference data corresponding to each category, all categories of current sub-reference data can be encapsulated into a data packet in a set format to obtain the reference data.

[0072] S260. Perform linearization processing on the reference data to obtain linear reference data, and sort the linear reference data according to a preset sorting rule to obtain target reference data.

[0073] Among them, linearization processing is an operation that converts a complex data structure or non-linear data relationship into a linear structure. The linear reference data is a data sequence of a linear structure obtained after linearization processing of the reference data, which is convenient for subsequent comparison and compression operations.

[0074] The preset sorting rule is a pre-determined arrangement rule, which is used to specify the arrangement order between each category included in the power equipment, and the arrangement order between each operation scenario data in each category. Exemplarily, the preset sorting rule can be to sort all categories according to the importance of the function category in affecting the operation state of the wind turbine generator (i.e., the sorting between categories), and to sort all operation scenario data in the category according to the importance of each operation scenario data in the category in affecting the operation state of the wind turbine generator (i.e., the sorting within the category). The arrangement order between categories can be equipment identification, timestamp, meteorological parameter class, unit operation state parameter class, electrical system parameter class, and lubrication and cooling system parameter class. The arrangement order within the meteorological parameter class can be wind speed data, wind direction data, air temperature data, and air pressure data.

[0075] The target reference data is the data obtained after sorting the linear reference data according to the preset sorting rule. After linearization and sorting processing, the target reference data already has a certain order structure, which is convenient for subsequent comparison and compression operations.

[0076] Specifically, after obtaining the reference data, the depth-first search algorithm can be used to traverse each data point in the reference data and extract these data points, and then these data points are re-encapsulated into a data sequence of a linear structure to obtain the linear reference data; then, the linear reference data is sorted according to the preset sorting rule. Specifically, first, each category is regarded as a whole and sorted according to the preset sorting rule for all categories, that is, the sorting between categories, and then all operation scenario data included in each category is sorted according to the preset sorting rule, that is, the sorting within the category, so as to obtain the target reference data. It should be noted that the reference data does not include equipment identification and timestamp, so when sorting the linear reference data, equipment identification and timestamp can be ignored.

[0077] Optionally, when updating the current sub-reference data of any category, the updated target reference data, i.e., the latest target reference data, can be sent to the power management system for the power management system to restore the data to be transmitted.

[0078] S270. Perform linearization processing on the data to be transmitted to obtain linearly arranged data to be transmitted, and sort the linearly arranged data to be transmitted according to a preset sorting rule to obtain intermediate data.

[0079] The linearly arranged data to be transmitted is a data sequence in a linear structure obtained by performing linearization processing on the data to be transmitted, which is convenient for subsequent comparison and compression operations. The intermediate data is the data obtained by sorting the linearly arranged data to be transmitted according to a preset sorting rule. After linearization and sorting, the intermediate data already has a certain sequential structure, which is convenient for subsequent comparison and compression operations.

[0080] Specifically, after obtaining the target reference data, the data to be transmitted can be linearly processed, and then sorted between categories and within categories for the linearly arranged data to be transmitted according to a preset sorting rule, so as to obtain intermediate data. The implementation methods of the linearization processing and sorting are the same as those of S260, and the description of S260 can be referred to and will not be elaborated here.

[0081] Exemplarily, when the set format is JSON format, the data to be transmitted is in a tree-structured JSON format. At this time, the depth-first search algorithm can be used to extract each key-value pair and store all key-value pairs in a linear data structure, such as a list. The elements in the list are these key-value pairs, and finally a list including multiple elements is obtained.

[0082] S280. Perform comparison and compression on the intermediate data based on the target reference data to obtain target transmission data.

[0083] Optionally, it is known that the set format is JSON format, then the target reference data may include multiple reference data points. The reference data points may include reference keys and reference values corresponding to the reference keys. The intermediate data may include device identifiers, timestamps, and multiple current data points. The current data points may include current keys and current values corresponding to the current keys, that is, the current data points do not include device identifiers and timestamps.

[0084] Specifically, performing comparison and compression on the intermediate data based on the target reference data to obtain target transmission data includes Sa1 - Sa3:

[0085] Sa1. Based on the reference key and the current key, match the reference data point and the current data point to obtain a matching result.

[0086] Among them, the matching result is the association relationship obtained by comparing the reference key and the current key during the comparison between the target reference data and the intermediate data, which is used to determine the correspondence between the reference data point and the current data point for subsequent value comparison; the matching result includes multiple matching pairs.

[0087] Specifically, the current data points in the intermediate data can be traversed, and the current key in the current data points can be extracted. Then, based on the current key, the target reference data can be searched to find the reference key that is the same as the current key, and it can be determined that the reference data point where the reference key is located matches the current data point. Then, the reference data point and the current data point are combined into a matching pair to obtain the matching result in this way.

[0088] Exemplarily, if a current data point in the intermediate data is "V: Data 1" and a reference data point in the target reference data is "V: Data 2", it can be determined that "V: Data 1" and "V: Data 2" match.

[0089] It should be noted that if a certain operation scenario data does not exist for the power equipment at the current moment, the operation scenario data is assigned a value of 0. At this time, the current value corresponding to the operation scenario data is 0, and the target reference data is a complete data packet, that is, the target reference data includes all operation scenario data generated by the power equipment. Thus, it can be known that there is no situation where the reference data point does not match the current data point.

[0090] Sa2. Based on the matching result, compare the current value with the reference value to obtain a comparison result.

[0091] Among them, the comparison result is the result obtained by comparing the current value with the reference value based on the matching result, which is used to describe the change situation of the current data point relative to the reference data point.

[0092] Specifically, after obtaining the matching result, the current value in the intermediate data can be compared with the matching reference value. If the current value is the same as the matching reference value, it can be determined that the comparison result corresponding to the current data point is that the current value is the same as the matching reference value; if the current value is different from the matching reference value, it can be determined that the comparison result corresponding to the current data point is that the current value is different from the matching reference value.

[0093] Sa3. Compress the intermediate data according to the comparison result to obtain the target transmission data.

[0094] Specifically, after obtaining the comparison result, it can be determined whether to compress the current data point according to the comparison result corresponding to the current data point, that is, when the current value is the same as the matching reference value, it indicates that the current data point corresponding to the current data point has not changed relative to the reference data point, and at this time, the current data point can be not transmitted.

[0095] When the current value is different from the matching reference value, it indicates that the corresponding current data point has changed relative to the reference data point. At this time, the change value corresponding to the current value can be determined based on the current value and the matching reference value, and the target transmission data is composed of the current key corresponding to the current value and the change value corresponding to the current value, where the change value is a numerical value representing the degree of change of the current value relative to the reference value.

[0096] Specifically, the difference between the current value and the matching reference value can be calculated to obtain the change value corresponding to the current value. Then, the current key corresponding to the current value and the change value corresponding to the current value are combined into a new key-value pair to obtain the new key-value pair corresponding to the current data point. When there are multiple current data points with the comparison result that the current value is different from the matching reference value, multiple new key-value pairs can be obtained. Then, the device identifier and timestamp of the power device are obtained from the intermediate data, and the device identifier, timestamp of the power device, and multiple new key-value pairs are encapsulated into the target transmission data according to the set format. By calculating the difference between the matching value and the matching reference value, the change value can be accurately determined, thereby improving the accuracy and efficiency of determining the change value. Then, based on the change value and the corresponding current key, the target transmission data can be accurately determined, so that the limited bandwidth resources are no longer occupied by redundant data, thus optimizing the data compression effect. It should be noted that for the change value of the vibration direction, it is the included angle between the current vibration direction and the reference vibration direction.

[0097] Exemplarily, when the data to be transmitted is an example of S120, the reference data before linearization processing is {"Meteorological parameter class": {"V": 10.0, "D": 85, "T": 25, "P": 1008}, "Unit operating state parameter class": {"N": 1550, "P_e": 380, "P_m": 400, "β": 6, "vibration": {"f": 10, "A": 0.13, "Dir": "S"}}, "Electrical system parameter class": {"U": 690, "I": 570, "f_grid": 50}, "Lubrication and cooling system parameter class": {"T_oil": 63, "P_oil": 320, "cooling_medium_temperature": 38, "cooling_medium_flow": 12}}, then the meteorological parameter class part in the target transmission data is {"V": "+0.5", "D": "+5", "P": "+2"}.

[0098] In the embodiments of the present application, by matching keys and comparing values, data points that have changed in the intermediate data can be accurately determined, improving the calculation efficiency, reducing the implementation complexity, and further improving the determination accuracy and efficiency of the target transmission data. As a result, the limited bandwidth resources are no longer occupied by redundant data, effectively alleviating the bandwidth pressure and improving the data transmission efficiency.

[0099] S290. Send the target transmission data to the power management system.

[0100] Specifically, after receiving the target transmission data, the power management system can obtain the latest target reference data sent by the power device, and then restore the target transmission data based on the latest target reference data to obtain the data to be transmitted, that is, the complete operation scenario data of the power device at the current moment. For example, the sum of the change value and the corresponding reference value in the target transmission data can be calculated to obtain the current value before compression.

[0101] The technical solution of the embodiments of the present application can obtain the operation scenario data of the power device detected by the detection device at the current moment. Secondly, the operation scenario data is classified according to the function classification standard to obtain the operation scenario data of each category, and the operation scenario data of each category is encapsulated into a set format to obtain the data to be transmitted. Then, the average change period of each category is determined according to the preset change period of each operation scenario data in each category, and the current sub-reference data of each category is determined according to the average change period of each category. Then, the reference data is composed based on the current sub-reference data corresponding to each category. By determining the average change period of each category and updating the current sub-reference data of the corresponding category according to the average change period, the reference data can better adapt to the comparison and compression of the next round of data to be transmitted, providing an accurate compression basis for subsequent comparison and compression. Furthermore, on the premise of ensuring data validity, time redundancy can be maximally utilized for data compression, optimizing the data compression effect, thereby reducing unnecessary data repeated transmission and improving the data transmission efficiency.

[0102] After that, linearize the reference data to obtain linear reference data, and sort the linear reference data according to a preset sorting rule to obtain target reference data. Then, linearize the data to be transmitted to obtain linear data to be transmitted, and sort the linear data to be transmitted according to the preset sorting rule to obtain intermediate data, which can improve the data query and analysis efficiency when comparing the target reference data and the intermediate data, making the target reference data and the intermediate data easier for data comparison operations. Then, perform comparison compression on the intermediate data based on the target reference data to obtain target transmission data, and send the target transmission data to the power management system, further optimizing the data compression effect and data compression efficiency, and making greater use of time redundancy to compress and transmit the intermediate data, effectively shortening the time required for a single data transmission in the case of limited data transmission bandwidth in the power system. Furthermore, without changing the existing network protocol and infrastructure, the data transmission efficiency and reliability are significantly improved, ensuring the integrity, timeliness, and accuracy of data transmission, providing strong support for the stable operation and monitoring management of the power system, thereby enhancing the overall efficiency of data transmission and monitoring management in the power system and ensuring the stable operation of the power system.

[0103] Figure 3 is a schematic structural diagram of a data transmission device provided by an embodiment of the present application. Refer to Figure 3 , the data transmission device may include:

[0104] An acquisition module 310, configured to acquire operation scenario data obtained by a detection device detecting a power device at the current moment;

[0105] A data processing module 320, configured to classify the operation scenario data according to a function classification standard to obtain operation scenario data of each category, and encapsulate the operation scenario data of each category into a set format to obtain data to be transmitted;

[0106] A setting module 330, configured to set reference data corresponding to a power device based on the category of the operation scenario data;

[0107] A compression module 340, configured to perform comparison compression on the data to be transmitted based on the reference data to obtain target transmission data, and send the target transmission data to the power management system.

[0108] In one embodiment, the setting module 330 is specifically configured to: determine the average change period of each category according to the preset change period of each operation scenario data in each category; determine the current sub-reference data of each category according to the average change period of each category; and form reference data based on the current sub-reference data corresponding to each category.

[0109] In one embodiment, the setting module 330 determines the average change period for each category according to the preset change periods of the operation scenario data in each category, including: for the current category in each category, determining the weights corresponding to the operation scenario data in the current category; and determining the average change period of the current category according to the preset change periods and the corresponding weights of the operation scenario data.

[0110] In one embodiment, the setting module 330 determines the current sub-reference data for each category according to the average change period of each category, including: for the current category in each category, when the average change period of the current category is reached, determining the current sub-reference data of the current category according to the previous data to be transmitted; and when the average change period of the current category is not reached, determining the current sub-reference data of the current category as the previous sub-reference data of the current category.

[0111] In one embodiment, the data transmission device further includes a linear processing module, which is specifically configured to: before performing comparison compression on the data to be transmitted based on the reference data to obtain the target transmission data, perform linearization processing on the reference data to obtain the linear reference data, and sort the linear reference data according to the preset sorting rule to obtain the target reference data; perform linearization processing on the data to be transmitted to obtain the linear data to be transmitted, and sort the linear data to be transmitted according to the preset sorting rule to obtain the intermediate data;

[0112] The compression module 340 performs comparison compression on the data to be transmitted based on the reference data to obtain the target transmission data, including: performing comparison compression on the intermediate data based on the target reference data to obtain the target transmission data.

[0113] In one embodiment, the target reference data includes multiple reference data points, the reference data point includes a reference key and a reference value corresponding to the reference key, the intermediate data includes multiple current data points, the current data point includes a current key and a current value corresponding to the current key, and the compression module 340 performs comparison compression on the intermediate data based on the target reference data to obtain the target transmission data, including: matching the reference data point and the current data point based on the reference key and the current key to obtain a matching result; comparing the current value with the reference value based on the matching result to obtain a comparison result; and compressing the intermediate data according to the comparison result to obtain the target transmission data.

[0114] In one embodiment, the compression module 340 compresses the intermediate data according to the comparison result to obtain the target transmission data, including: when the current value is different from the matching reference value, determining the change value corresponding to the current value according to the current value and the matching reference value; and forming the target transmission data based on the current key corresponding to the current value and the change value corresponding to the current value.

[0115] Those skilled in the art can clearly understand that, for the convenience and conciseness of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the above-described functional modules, reference can be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.

[0116] The data transmission device provided in this embodiment is applicable to the data transmission method provided in any of the above embodiments, and has corresponding functions and beneficial effects.

[0117] Figure 4 It is a schematic structural diagram of an electronic device provided in an embodiment of the present application. Figure 4 It shows a block diagram of an exemplary electronic device 11 suitable for implementing the embodiments of the present application. Figure 4 The shown electronic device 11 is only an example and should not impose any limitation on the functions and usage scope of this embodiment.

[0118] As Figure 4 shown, the electronic device 11 is presented in the form of a general-purpose computing electronic device. The components of the electronic device 11 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).

[0119] The bus 18 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the multiple bus structures. For example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.

[0120] The electronic device 11 typically includes a variety of computer system-readable media. These media can be any available media accessible by the electronic device 11, including volatile and non-volatile media, removable and non-removable media.

[0121] The system memory 28 may include computer system-readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 11 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 can be used to read and write non-removable, non-volatile magnetic media ( Figure 4not shown, typically referred to as a "hard disk drive"). Although Figure 4 not shown in Figure 4 , a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk") and an optical disk drive for reading and writing to a removable non-volatile optical disk (such as a CD-ROM, DVD-ROM or other optical medium) may be provided. In these cases, each drive may be connected to the bus 18 through one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of the present application.

[0122] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the system memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods in the embodiments described in the present application.

[0123] The electronic device 11 may also communicate with one or more external devices 14 (such as a keyboard, a pointing device, a display 24, etc.), and may also communicate with one or more devices that enable a user to interact with the electronic device 11, and / or communicate with any device that enables the electronic device 11 to communicate with one or more other computing devices (such as a network card, a modem, etc.). Such communication may be carried out through the input / output (I / O) interface 22. Moreover, the electronic device 11 may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through the network adapter 20.

[0124] As Figure 4 shown, the network adapter 20 communicates with other modules of the electronic device 11 through the bus 18. It should be understood that although Figure 4 not shown in Figure 4 , other hardware and / or software modules may be used in combination with the electronic device 11, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0125] The processing unit 16 executes various functional applications and page displays by running programs stored in the system memory 28, such as implementing a data transmission method provided by any embodiment of the present application.

[0126] Embodiments of the present application provide a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, it implements a data transmission method provided by any embodiment of the present application.

[0127] The computer storage medium of this embodiment may adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of the computer-readable storage medium include: an electrical connection with one or more wires, 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 above. In this document, the computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, apparatus, or device.

[0128] The computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries the computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, and this computer-readable medium can send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device.

[0129] The program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0130] The computer program code for performing the operations of this application can be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages - such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, by using an Internet service provider to connect through the Internet).

[0131] Those of ordinary skill in the art should understand that the various modules or steps of the present application described above can be implemented using a general-purpose computing device. They can be centralized on a single computing device or distributed across a network composed of multiple computing devices. Optionally, they can be implemented using program codes executable by a computer device, so that they can be stored in a storage device and executed by the computing device, or they can be separately fabricated into individual integrated circuit modules, or multiple modules or steps among them can be fabricated into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0132] In addition, the acquisition, storage, use, processing, etc. of data in the technical solution of the present application all comply with the relevant provisions of national laws and regulations.

[0133] Note that the above is only a preferred embodiment of the present application and the technical principles applied. Those skilled in the art will understand that the present application is not limited to the specific embodiments here. Various obvious changes, re-adjustments, and substitutions can be made by those skilled in the art without departing from the protection scope of the present application. Therefore, although the present application has been described in more detail through the above embodiments, the present application is not limited to the above embodiments. Without departing from the inventive concept of the present application, more other equivalent embodiments can be included, and the scope of the present application is determined by the scope of the appended claims.

Claims

1. A data transmission method, characterized in that: The method comprises: Acquire the operation scenario data obtained by the detection device when detecting the power equipment at the current moment; Classifying the operation scenario data according to the functional classification standard to obtain operation scenario data of each category, and encapsulating the operation scenario data of each category into a set format to obtain data to be transmitted; Setting reference data corresponding to the electric power equipment based on the category of the operation scenario data; The data to be transmitted is compared and compressed based on the reference data to obtain target transmission data, and the target transmission data is sent to the power management system.

2. The data transmission method according to claim 1, characterized in that: The setting of reference data corresponding to the electric power equipment based on the category of the operation scenario data includes: Determine the average change period of the corresponding category according to the preset change period of each operating scenario data in each category; Determine the current sub-reference data of the corresponding category according to the average change period of each category; The reference data is composed based on the current sub-reference data corresponding to each category.

3. The data transmission method according to claim 2, characterized in that: Determining the average change period of the corresponding category according to the preset change period of each operating scenario data in each category includes: For a current category in each of the categories, determining a weight corresponding to each operating scenario data in the current category; The average change period of the current category is determined according to the preset change period of each operating scenario data and the corresponding weight.

4. The data transmission method according to claim 2, characterized in that: The determining the current sub-reference data of the corresponding category according to the average change period of each category includes: For a current category in each of the categories, when the average change period of the current category is reached, determining the current sub-reference data of the current category according to the last data to be transmitted; When the average change period of the current category is not reached, the current sub-reference data of the current category is determined to be the previous sub-reference data of the current category.

5. The data transmission method according to claim 1, characterized in that: Before comparing and compressing the data to be transmitted based on the reference data to obtain the target transmission data, the method further includes: Performing linearization processing on the reference data to obtain linear reference data, and sorting the linear reference data according to a preset sorting rule to obtain target reference data; Performing linearization processing on the data to be transmitted to obtain linear data to be transmitted, and sorting the linear data to be transmitted according to the preset sorting rule to obtain intermediate data; The step of comparing and compressing the data to be transmitted based on the reference data to obtain target transmission data includes: The intermediate data is compared and compressed based on the target reference data to obtain the target transmission data.

6. The data transmission method according to claim 5, characterized in that: The target reference data includes a plurality of reference data points, each of which includes a reference key and a reference value corresponding to the reference key; the intermediate data includes a plurality of current data points, each of which includes a current key and a current value corresponding to the current key; and the intermediate data is compared and compressed based on the target reference data to obtain the target transmission data, including: Based on the reference key and the current key, matching the reference data point with the current data point to obtain a matching result; Based on the matching result, the current value is compared with the reference value to obtain a comparison result; The intermediate data is compressed according to the comparison result to obtain the target transmission data.

7. The data transmission method according to claim 6, characterized in that: The compressing the intermediate data according to the comparison result to obtain the target transmission data includes: When the current value is different from the matched reference value, determining a change value corresponding to the current value according to the current value and the matched reference value; The target transmission data is composed based on a current key corresponding to the current value and a change value corresponding to the current value.

8. A data transmission device, characterized in that: The device comprises: An acquisition module, used to acquire the operation scene data obtained by the detection device when detecting the power equipment at the current moment; A data processing module, used to classify the operation scenario data according to the functional classification standard to obtain operation scenario data of each category, and encapsulate the operation scenario data of each category into a set format to obtain data to be transmitted; A setting module, used for setting reference data corresponding to the electric power equipment based on the category of the operation scenario data; The compression module is used to compare and compress the data to be transmitted based on the reference data to obtain target transmission data, and send the target transmission data to the power management system.

9. An electronic device, characterized in that: The electronic device comprises: 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 can perform the data transmission method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the data transmission method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Method and system for manufacturing industry data link fusion

    CN117596160A

  • Data transmission method and system for multiple types of energy storage resources

    CN118074311A

  • Telemetry data collection and distribution method and system

    CN118540227A

  • Electric power system remote operation and maintenance platform based on Internet of Things

    CN118747577A

  • Power data transmission control method and system

    CN119155262A