A data transmission method and device, electronic equipment and storage medium
By functionally classifying and compressing the data from power equipment operation scenarios, the problem of low data transmission efficiency in the power system has been solved, enabling timely data transmission and stable operation, and improving the network transmission efficiency and the timeliness of fault early warning in the power system.
Patent Information
- Application Number
- CN202510117173.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2045-01-24
AI Technical Summary
In power systems, low data transmission efficiency leads to the inability to deliver real-time operational data to the power management system in a timely manner, affecting the timeliness of network transmission efficiency, operation management, and fault early warning functions, and posing a risk of data loss.
By acquiring operational scenario data of power equipment, classifying it according to functional classification standards and encapsulating it into a set format, and comparing and compressing the data to be transmitted based on reference data, only transmitting data that differs from the reference data and discarding redundant data.
It improves data transmission efficiency, reduces the risk of data loss, ensures that real-time operational data is delivered to the power management system in a timely manner, optimizes bandwidth utilization, improves network transmission efficiency and the timeliness of fault early warning, and guarantees the stable operation of the power system.
Smart Images

Figure CN120050338B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of electric power, and in particular to a data transmission method and device, electronic equipment and storage medium. BACKGROUND
[0002] Data transmission in an electric power system is crucial and is a key link for realizing functions such as stable operation, monitoring and management, and fault early warning of the electric power system.
[0003] At present, various sensors are used to collect operation scene data of each electric power device, and then the operation scene data of each electric power device is encapsulated in JavaScript Object Notation (JSON) data format respectively to obtain JSON data corresponding to each electric power device, and the JSON data is transmitted to an electric power management system to realize functions such as stable operation, monitoring and management, and fault early warning of the electric power system.
[0004] However, in the case that the data transmission bandwidth of the electric power special line of the electric power system is limited, the transmission time of a large amount of original JSON data is relatively long, which leads to low data transmission efficiency, and further leads to the fact that real-time operation scene data cannot be timely delivered to the electric power management system, causing delay in monitoring the state of the electric power device, affecting the network transmission efficiency, operation management, and timeliness of functions such as fault early warning of the entire electric power system, and there is a risk of data loss, which affects the stable operation of the electric power system. SUMMARY
[0005] Embodiments of the present application provide a data transmission method, device, electronic equipment and storage medium, which realize the data transmission function in the electric 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 comprises:
[0007] obtaining operation scene data obtained by detecting the electric power device by the detection device at the current time;
[0008] classifying the operation scene data according to a functional classification standard to obtain operation scene data of various categories, and encapsulating the operation scene data of various categories into a set format to obtain to-be-transmitted data;
[0009] setting reference data corresponding to the electric power device based on the category of the operation scene data;
[0010] comparing and compressing the to-be-transmitted data based on the reference data to obtain target transmission data, and sending the target transmission data to the electric power management system.
[0011] In the embodiment of the present application, the operation scene data obtained by the detection device at the current time for detecting the power equipment can be acquired, then the operation scene data is classified according to the functional classification standard to obtain operation scene data of each category, and the operation scene data of each category is packaged into a set format to obtain the to-be-transmitted data, then the reference data corresponding to the power equipment is set based on the category of the operation scene data, then the to-be-transmitted data 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, the to-be-transmitted data is compared and compressed based on the reference data, so that only the data different from the reference data can be transmitted, and a large amount of repeated and unchanged data is discarded, so that the limited bandwidth resources are no longer occupied by redundant data, effectively shortening the time required for single data transmission under the condition that the data transmission bandwidth of the power system is limited, thereby optimizing the bandwidth utilization, relieving the bandwidth pressure, improving the data transmission efficiency, effectively solving the problem of low data transmission efficiency, and reducing the risk of data loss caused by excessive data volume, so that the real-time operation scene data can be timely delivered to the power management system, thereby significantly improving the efficiency and reliability of data transmission without changing the existing network protocol and infrastructure, and improving the timeliness of network transmission efficiency, operation management and fault warning and other functions of the entire power system, ensuring the stable operation of the power system.
[0012] In a second aspect, the embodiment of the present application provides a data transmission device, which comprises:
[0013] The acquisition module is configured to acquire operation scene data obtained by a detection device at a current time for detecting a power equipment.
[0014] The data processing module is configured to classify the operation scene data according to a functional classification standard to obtain operation scene data of each category, and package the operation scene data of each category into a set format to obtain to-be-transmitted data.
[0015] The setting module is configured to set reference data corresponding to the power equipment based on the category of the operation scene data.
[0016] The compression module is configured to compare and compress the to-be-transmitted data based on the reference data to obtain target transmission data, and send the target transmission data to a power management system.
[0017] In a third aspect, the embodiment of the present application provides an electronic device, which comprises:
[0018] At least one processor; and a memory connected with the at least one processor in communication;
[0019] 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 to enable the at least one processor to perform the data transmission method of any of the embodiments of the present application.
[0020] In a fourth aspect, the embodiments of the present application provide a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the data transmission method of any of the embodiments of the present application.
[0021] The second aspect, the third aspect and the fourth aspect of the present application are described in detail in the first aspect, and the beneficial effects of the second aspect, the third aspect and the fourth aspect are described in the beneficial effect analysis of the first aspect, which will not be described here.
[0022] In the present application, the name of the above-mentioned data transmission device does not constitute a limitation to the device or functional module itself, and in actual implementation, these devices or functional modules can appear in other names. As long as the functions of each device or functional module are similar to those of the present application, they belong to the scope of the claims of the present application and its equivalent technologies.
[0023] These aspects or other aspects of the present application will be more apparent in the following description. BRIEF DESCRIPTION OF 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 needed in the embodiment description. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained from these drawings without creative labor.
[0025] Figure 1 is a flow diagram of the data transmission method provided by the embodiments of the present application;
[0026] Figure 2 is another flow diagram of the data transmission method provided by the embodiments of the present application;
[0027] Figure 3 is a structural diagram of the data transmission device provided by the embodiments of the present application;
[0028] Figure 4 is a structural diagram of the electronic device provided by the embodiments of the present application. DETAILED DESCRIPTION
[0029] In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work should belong to the protection scope of the present application.
[0030] It should be noted that the terms "first", "second", "target" and "original" and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not have to be used to describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include", "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0031] Figure 1 is a flowchart of a data transmission method provided by the embodiments of the present application. The embodiments can be applied to the scenario of transmitting data in the case that the data transmission bandwidth of the power system is limited. The data transmission method provided by the embodiments of the present application can be executed by the data transmission device provided by the embodiments of the present application. The device can be realized by software and / or hardware. In a specific embodiment, the data transmission device can be integrated in an electronic device, for example, the electronic device can be a computer or a server, etc. The execution subject of the present method can be an electronic device. Referring to Figure 1 , the data transmission method of the embodiments includes but is not limited to the following steps:
[0032] S110, obtaining operation scene data obtained by detecting the power equipment by a detection device at a current time.
[0033] The detection device is a device for collecting power equipment operation related information, and can include various sensors. The sensors can measure various information such as environmental information (such as air temperature, wind speed and air pressure, etc.) of the power equipment, electrical parameters (such as voltage and current, etc.) of the power equipment, physical state (such as temperature, etc.) and mechanical state (such as vibration, etc.) of the power equipment, for example, temperature sensor, air pressure sensor, voltage sensor, current sensor and vibration sensor, etc.
[0034] The power equipment is various equipment used in the power system for power generation, power transmission, power transformation, power distribution, and power utilization, etc. For example, the power equipment can be a wind turbine generator or a solar power station, etc.
[0035] The operation scene data is a collection of various data about the operation scene of the power equipment obtained by the detection device after detecting the power equipment, and reflects the working condition of the power equipment at a specific time. For example, the operation scene data can include wind speed data, wind direction data, air temperature data, air pressure data, rotating speed data, power data, vibration data, voltage data, and current data, etc.
[0036] Specifically, in the case that the data transmission bandwidth of the power system is limited, the operation scene data of the power equipment needs to be compressed when transmitting, so as to reduce the data transmission amount and improve the transmission efficiency; thus, the operation scene data obtained by the detection device in the current time when detecting the power equipment can be obtained, i.e. the operation scene data of the power equipment in the current time can be measured by using the sensors installed at various key positions of the power equipment.
[0037] For example, when the power equipment is a wind turbine generator, the wind speed of the environment where the wind turbine generator is located can be measured by a wind speed meter, including the wind speed at different heights, to obtain wind speed data (denoted as V); the wind direction of the environment where the wind turbine generator is located can be measured by a wind vane to obtain wind direction data (denoted as D); the air temperature of the environment where the wind turbine generator is located can be measured by a temperature sensor to obtain air temperature data (denoted as T); the air pressure of the environment where the wind turbine generator is located can be measured by an air pressure sensor to obtain air pressure data (denoted as P); the rotating speed of the wind wheel of the wind turbine generator can be measured by a rotating speed sensor to obtain rotating speed data (denoted as N); the output power of the generator of the wind turbine generator can be measured by a power sensor to obtain electric power data (denoted as P_e), and the mechanical power generated by the wind wheel of the wind turbine generator can be measured by the power sensor to obtain mechanical power data (denoted as P_m); the angle between the blade chord and the blade rotation plane of the wind turbine generator can be measured by a pitch angle sensor to obtain blade pitch angle data (denoted as β); the vibration frequency (denoted as f), the vibration amplitude (denoted as A) and the vibration direction (denoted as Dir) of the entire wind turbine generator can be measured by a vibration sensor to obtain vibration data (denoted as vibration); the output voltage of the generator of the wind turbine generator can be measured by a voltage sensor to obtain voltage data (denoted as U); the output current of the generator of the wind turbine generator can be measured by a current sensor to obtain current data (denoted as I); the frequency of the alternating current output by the generator of the wind turbine generator can be measured by a frequency sensor to obtain frequency data (denoted as f_grid); the temperature of the lubricating oil of the wind turbine generator can be measured by an oil temperature sensor to obtain oil temperature data (denoted as T_oil); the pressure of the lubricating oil of the wind turbine generator can be measured by an oil pressure sensor to obtain oil pressure data (denoted as P_oil); the cooling medium temperature (denoted as cooling_medium_temperature) of the wind turbine generator can be measured by a temperature sensor, and the cooling medium flow (denoted as cooling_medium_flow) of the wind turbine generator can be measured by a flow sensor to obtain the cooling medium temperature and flow data.
[0038] In S120, the operation scene data is classified according to the functional classification standard, to obtain operation scene data of each category, and the operation scene data of each category is packaged into a set format to obtain the to-be-transmitted data.
[0039] The functional classification standard is a classification standard set in advance for the power equipment, which is a rule or criterion for classifying the operation scene data according to the functional characteristics thereof, and can divide a large amount of operation scene data into different categories according to the functional aspects of the power equipment reflected by the operation scene data. Optionally, the power equipment of the same category corresponds to the same functional classification standard.
[0040] The set format is a specific data structure and format used for encapsulating the classified operation scene data, which is set in advance to facilitate data transmission, storage and subsequent processing. For example, the set format can be a JSON format.
[0041] The to-be-transmitted data is a data packet composed of the operation scene data after functional classification and encapsulation processing. The to-be-transmitted data can include multiple data points.
[0042] Specifically, after obtaining the operation scene data, the functional classification standard set for the power equipment in advance can be obtained, that is, the functional classification standard for the operation scene data of the power equipment can be set in advance according to the characteristics of the power equipment; then, the operation scene data is classified according to the functional classification standard, so as to divide a large amount of operation scene data into different categories and obtain operation scene data of each category. For example, the functional classification standard of the wind turbine generator set can divide the operation scene data into four categories, i.e., 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, air temperature data, air pressure data, etc. The unit operation state parameter category includes rotation speed data, electric power data, mechanical power data, blade pitch angle data, and vibration data, etc. The electrical system parameter category includes voltage data, current data, and frequency data, etc. The lubrication and cooling system parameter category includes oil temperature data, oil pressure data, cooling medium temperature and flow data, etc.
[0043] Then, the operation scene data of each category can be encapsulated into a set format to obtain to-be-transmitted data, that is, any category can be selected as the current category, then all operation scene data included in the current category is encapsulated according to the set format to obtain 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 encapsulated data corresponding to each category, then the time of collecting the operation scene data is taken as a time stamp, and the device identifier of the power equipment, the time stamp, and the encapsulated data of all categories are encapsulated into a data packet according to the set format to obtain to-be-transmitted data. The to-be-transmitted data includes multiple data points.
[0044] For example, when the power equipment is a wind turbine generator set and the set format is JSON format, the to-be-transmitted data can be {“device identification”:“001”,“timestamp”:“2024-12-10T14:20:00Z”,“meteorological parameter class”:{“V”:10.5,“D”:90,“T”:25,“P”:1010},“unit operation state 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}}. Each key-value pair in the data is a data point.
[0045] In S130, the reference data corresponding to the power equipment is set based on the category of the operation scene data.
[0046] The reference data is a comparison-compressed reference data packet, which is used for comparison with the to-be-transmitted data and can be a complete data packet collected when the power equipment is started or a representative data packet filtered from historical data of the power equipment, that is, the reference data includes multiple data points.
[0047] Specifically, after obtaining the to-be-transmitted data, the reference data corresponding to the power equipment can be set based on the category of the operation scene data. For example, before comparison-compressing the to-be-transmitted data, a complete data packet collected when the power equipment is started can be set as the reference data, or a representative complete data packet filtered from historical data of the power equipment can be set as the reference data. At this time, the reference data includes all operation scene data generated when the power equipment is running, and if the data format of the reference data is not the set format, the reference data can be re-encapsulated according to the set format to facilitate subsequent comparison-compression.
[0048] In S140, the to-be-transmitted data is comparison-compressed based on the reference data to obtain target transmission data, and the target transmission data is sent to the power management system.
[0049] The target transmission data is a data packet obtained by comparing and compressing the to-be-transmitted data. The target transmission data is obtained by comparing the to-be-transmitted data with reference data, removing redundant information (for example, removing the same data part as the reference data) or compressing the to-be-transmitted data (for example, only transmitting the data part different from the reference data), so as to reduce the data transmission amount and improve 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. The power management system can receive the target transmission data sent by each electronic device, and realize a series of management tasks such as operation state monitoring, fault early warning and maintenance plan making of the power equipment through data analysis, processing and display functions.
[0051] Specifically, after obtaining the reference data, the to-be-transmitted data can be compared and compressed based on the reference data to obtain the target transmission data. For example, any data point in the to-be-transmitted data is selected as a to-be-judged data point, wherein the selected data point does not include the device identifier and the timestamp, and a data point corresponding to the to-be-judged data point is found from the reference data to obtain a standard data point. Then, the to-be-judged data point and the standard data point are compared. If the data content of the running scene data in the to-be-judged data point is different from that in the standard data point, the to-be-judged data point is marked as a changed data point. If the data content of the running scene data in the to-be-judged data point is the same as that in the standard data point, the to-be-judged data point is marked as an unchanged data point. Then, other data points in the to-be-transmitted data can be selected as to-be-judged data points, and the above process is repeated to mark all data points. Then, the data points marked as unchanged data points are removed from the to-be-transmitted data to obtain the target transmission data. Then, the target transmission data can be sent to the power management system, thereby reducing the data transmission amount and improving the transmission efficiency.
[0052] It should be noted that if the power equipment does not exist at the current time, the running scene data is assigned a value of 0, and the reference data is a complete data packet, that is, the reference data includes all running scene data that the power equipment can generate. Therefore, there is no case that the data point corresponding to the to-be-judged data point cannot be found from 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 to-be-transmitted data, so that after the power management system receives 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 to-be-transmitted data, that is, the complete operation scene data of the power equipment at the current time, for example, the power management system can obtain the device identifier and the timestamp from the target transmission data, then compare the reference data and 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 to-be-transmitted data.
[0054] The technical scheme of the embodiment of the application can obtain the operation scene data obtained by the detection device in detecting the power equipment at the current time, then classify the operation scene data according to the functional classification standard to obtain operation scene data of various categories, encapsulate the operation scene data of various categories into a set format to obtain the to-be-transmitted data, set the reference data corresponding to the power equipment based on the categories of the operation scene data, then compare and compress the to-be-transmitted data 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 scheme, the to-be-transmitted data is compared and compressed based on the reference data, so that only data different from the reference data is transmitted, and a large amount of repeated and unchanged data is discarded, so that the limited bandwidth resources are no longer occupied by redundant data, effectively shortening the time required for single data transmission in the case that the data transmission bandwidth of the power system is limited, thereby optimizing the bandwidth utilization, relieving the bandwidth pressure, improving the data transmission efficiency, effectively solving the problem of low data transmission efficiency, and reducing the risk of data loss caused by excessive data volume, so that the real-time operation scene data can be timely delivered to the power management system, thereby significantly improving the efficiency and reliability of data transmission without changing the existing network protocol and infrastructure, and improving the timeliness of network transmission efficiency, operation management and fault warning of the entire power system, and ensuring the stable operation of the power system.
[0055] A data transmission method provided by an embodiment of the application is further described below, Figure 2 is another flowchart of the data transmission method provided by the embodiment of the application. The embodiment of the application is optimized on the basis of the above-mentioned embodiments. Referring to Figure 2 , the method of the embodiment includes but is not limited to the following steps:
[0056] S210, obtaining operation scene data obtained by a detection device in detecting a power equipment at a current time.
[0057] S220, classifying the operation scene data according to the functional classification standard, obtaining operation scene data of each category, and encapsulating the operation scene data of each category into a set format to obtain the to-be-transmitted data.
[0058] S230, determining the average change period of each category according to the preset change period of each operation scene data in the category.
[0059] The preset change period is a time period previously set for the operation scene data, and is used to represent the approximate time interval of the change of the operation scene data under normal circumstances.
[0060] The average change period is a period calculated after considering the actual change of all operation scene data in the same category, and is used to represent the approximate time interval of the change of all operation scene data in the category under normal circumstances.
[0061] Specifically, after obtaining the to-be-transmitted data, the average change period of each category can be determined according to the preset change period of each operation scene data in the category, that is, in an implementation manner, any category can be selected as a current category, and the preset change period previously set for each operation scene data in the current category can be obtained, for example, the preset change period of the operation scene data can be determined based on the characteristics, operation rules and past experience of the power equipment, and then the average value of the preset change periods of all operation scene data included in the current category is determined as the average change period of the current category, and then 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 manner, for the current category in each category, the weight corresponding to each operation scene 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 of each operation scene data and the corresponding weight. Specifically, the weight of each operation scene data in the current category can be allocated according to the importance of the operation scene data to the wind turbine operation state, the higher the importance, the higher the corresponding weight, and the sum of the weights of all operation scene data in a category is limited to 1, then the product of each operation scene 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 allocating the weight to each operation scene data, the change characteristics of the key data can be highlighted, and then the average change period of each category is determined by the weighted sum, which can comprehensively consider the importance and change characteristics of the data, so that the average change period can better reflect the actual change of the key data in the category, thereby improving the determination accuracy and efficiency of the average change period, and providing an accurate data basis for subsequent determination of the sub-reference data.
[0063] For example, when the power equipment is a wind turbine generator, in the meteorological parameter category, the wind speed data and the wind direction data directly affect the key factors of the wind turbine generator wind energy capture efficiency, and are assigned a higher weight, while the air temperature data and the air pressure data have a relatively indirect impact on the wind turbine generator and change relatively slowly, and are assigned a lower weight, i.e., the wind speed data corresponds to a weight of 0.45, the wind direction data corresponds to a weight of 0.4, the air temperature data corresponds to a weight of 0.1, and the air pressure data corresponds to a weight of 0.05; in the unit operating state parameter category, the rotation speed data, the electric power data, and the mechanical power data are key indicators for measuring the unit operating performance and power generation efficiency, and are assigned a higher weight, while the blade pitch angle data and the vibration data have a relatively indirect impact on the wind turbine generator, and are assigned a lower weight, i.e., the rotation speed data corresponds to a weight of 0.3, the electric power data corresponds to a weight of 0.25, the mechanical power data corresponds to a weight of 0.25, the blade pitch angle data corresponds to a weight of 0.1, and the vibration data corresponds to a weight of 0.1; in the electrical system parameter category, the frequency data is directly related to the grid-connected stability of the unit and the power grid, and changes relatively rapidly, and is assigned a higher weight, and the voltage data and the current data are equally important for evaluating the power transmission quality and the compatibility of the unit and the power grid, and are assigned the same weight, i.e., the voltage data corresponds to a weight of 0.3, the current data corresponds to a weight of 0.3, and the frequency data corresponds to a weight of 0.4; in the lubrication and cooling system parameter category, the oil temperature data is an important indicator reflecting the working state of the lubrication and cooling system and the operating condition of the key components of the unit, and is assigned a higher weight, while the oil pressure data and the cooling medium temperature and flow data have a relatively small impact on the wind turbine generator, and are assigned a lower weight, i.e., the oil temperature data corresponds to a weight of 0.4, the oil pressure data corresponds to a weight of 0.3, and the cooling medium temperature and flow data corresponds to a weight of 0.3.
[0064] S240, determining the current sub-reference data of the corresponding category according to the average change period of each category.
[0065] The sub-reference data is the reference data packet of a specific category, which is used for comparison with the operating scene data of the corresponding category in the to-be-transmitted data; and the current sub-reference data is the sub-reference data of the specific category at the current time.
[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 a current category in each category, when the current time is the first time, 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 the subsequent comparison and compression operation. When the current time is not the first time, it can be determined whether to update the sub-reference data determined at the last time 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 time.
[0067] Further, for a 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 last to-be-transmitted data; when the average change period of the current category is not reached, the current sub-reference data of the current category is determined as the last sub-reference data of the current category; wherein the last to-be-transmitted data is the to-be-transmitted data at the last time, that is, the uncompressed data to be transmitted at the last time; and the last sub-reference data is the sub-reference data of the current category at the last time.
[0068] Specifically, when the time interval between the current time and the time when the sub-reference data of the current category is 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 the sub-reference data of the current category needs to be updated at this time, that is, the to-be-transmitted data determined at the last time, that is, the last to-be-transmitted data, can be obtained, and all data points belonging to the current category are extracted from the last to-be-transmitted data to obtain the current sub-reference data of the current category. When the time interval between the current time and the time when the sub-reference data of the current category is 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 the sub-reference data of the current category does not need to be updated at this time, that is, the last sub-reference data of the current category can be determined as the current sub-reference data of the current category.
[0069] In the embodiments of the present application, when the average change period of the category is not reached, the last sub-reference data of the category is directly taken as the current sub-reference data, unnecessary calculation is reduced, and computing resources are saved; when the average change period of the category is reached, since the last to-be-transmitted data reflects the recent operation of the power equipment, the sub-reference data is updated according to the last to-be-transmitted data, which can better adapt to the comparison and compression of the next round of to-be-transmitted data, so that the current sub-reference data can better adapt to the dynamic change of the power equipment, thereby providing an accurate data basis for subsequent determination of reference data, thereby reducing the data transmission amount and improving the data transmission efficiency.
[0070] S250, composing 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, the current sub-reference data of all categories can be encapsulated into a data packet in a set format to obtain the reference data.
[0072] S260, linearizing 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.
[0073] The linearization is an operation of converting a complex data structure or a nonlinear data relationship into a linear structure. The linear reference data is a data sequence in a linear structure obtained by linearizing the reference data, facilitating subsequent comparison and compression operations.
[0074] The preset sorting rule is a predetermined arrangement rule, which is used to specify the arrangement order between each category included in the power equipment, and the arrangement order between each running scene data in each category. For example, the preset sorting rule can be to sort all categories according to the importance of affecting the operating state of the wind turbine generator set (i.e., the arrangement order between categories), and to sort all running scene data in the category according to the importance of affecting the operating state of the wind turbine generator set (i.e., the arrangement order in the category). The arrangement order between categories can be device identification, time stamp, meteorological parameter category, unit operating state parameter category, electrical system parameter category, and lubrication and cooling system parameter category. The arrangement order in the meteorological parameter category can be wind speed data, wind direction data, air temperature data, and air pressure data.
[0075] The target reference data is data obtained by sorting the linear reference data according to the preset sorting rule. After linearization and sorting, the target reference data has a certain order structure, facilitating subsequent comparison and compression operations.
[0076] Specifically, after obtaining the reference data, a depth-first search algorithm can be used to traverse each data point in the reference data and extract these data points. Then, these data points are re-encapsulated into a data sequence in a linear structure to obtain linear reference data. Then, the linear reference data is sorted according to the preset sorting rule. Specifically, each category is first regarded as a whole, and all categories are sorted according to the preset sorting rule, i.e., the arrangement order between categories. Then, all running scene data included in each category are sorted according to the preset sorting rule, i.e., the arrangement order in the category, to obtain the target reference data. It should be noted that the reference data does not include device identification and time stamp, so device identification and time stamp can be ignored when sorting the linear reference data.
[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, linearizing the data to be transmitted to obtain linear data to be transmitted, and sorting the linear data to be transmitted according to a preset sorting rule to obtain intermediate data.
[0079] The linear data to be transmitted is a linear structure data sequence obtained by linearizing the data to be transmitted, facilitating subsequent comparison and compression operations. The intermediate data is data obtained by sorting the linear data to be transmitted according to a preset sorting rule, and has a certain order structure after linearization and sorting, facilitating subsequent comparison and compression operations.
[0080] Specifically, after obtaining the target reference data, the data to be transmitted can be linearized, and then sorted according to a preset sorting rule to obtain intermediate data. The linearization and sorting are implemented in the same way as S260, and the description of S260 can be referred to.
[0081] For example, when the format is set to JSON format, the data to be transmitted is a tree structure JSON format. At this time, a 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, comparison and compression of the intermediate data based on the target reference data to obtain target transmission data.
[0083] Optionally, when the format is set to JSON format, the target reference data can include multiple reference data points, and the reference data points can include reference keys and reference values corresponding to the reference keys. The intermediate data can include device identifiers, timestamps, and multiple current data points, and the current data points can include current keys and current values corresponding to the current keys, i.e., the current data points do not include device identifiers and timestamps.
[0084] Specifically, comparison and compression of the intermediate data based on the target reference data to obtain target transmission data includes Sa1-Sa3:
[0085] Sa1, matching the reference data points and the current data points based on the reference keys and the current keys to obtain a matching result.
[0086] The matching result is a correlation obtained by comparing the reference key and the current key in the comparison process between the target reference data and the intermediate data, and is used to determine the correspondence between the reference data point and the current data point, so as to perform subsequent value comparison; the matching result includes a plurality of matching pairs.
[0087] Specifically, the current data point in the intermediate data can be traversed, and the current key in the current data point can be extracted, then the target reference data is searched based on the current key, the reference key identical to the current key is found, and it is determined that the reference data point where the reference key is located is matched with the current data point, then the reference data point and the current data point are combined as a matching pair, and the matching result is obtained in this way.
[0088] For example, if one current data point in the intermediate data is "V: data 1", and one reference data point in the target reference data is "V: data 2", it can be determined that "V: data 1" is matched with "V: data 2".
[0089] It should be noted that if the power equipment does not exist a certain operation scene data at the current time, the operation scene data is assigned as 0, at this time, the current value corresponding to the operation scene data is 0, and the target reference data is a complete data packet, that is, the target reference data includes all operation scene data generated by the power equipment, so it can be known that there is no case that the reference data point is not matched with the current data point.
[0090] Sa2, comparing the current value with the reference value based on the matching result to obtain a comparison result.
[0091] The comparison result is a result obtained by comparing the current value with the reference value based on the matching result, and is used to describe the change 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 matched reference value, if the current value is identical to the matched reference value, it can be determined that the comparison result corresponding to the current data point is that the current value is identical to the matched reference value; if the current value is not identical to the matched reference value, it can be determined that the comparison result corresponding to the current data point is that the current value is not identical to the matched reference value.
[0093] Sa3, according to the comparison result, the intermediate data is compressed to obtain the target transmission data.
[0094] Specifically, after obtaining the comparison result, it can be determined whether to perform compression processing on the current data point according to the comparison result corresponding to the current data point, that is, when the current value is identical to the matched reference value, it indicates that the corresponding current data point has not changed relative to the reference data point, at this time, the current data point can not be transmitted.
[0095] When the current value is different from the matched 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 according to the current value and the matched reference value, and the target transmission data is composed based on the current key corresponding to the current value and the change value corresponding to the current value, wherein the change value is used to represent the numerical value of the change degree of the current value relative to the reference value.
[0096] Specifically, the difference between the current value and the matched reference value can be calculated to obtain the change value corresponding to the current value, and 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 comparison results that the current value is different from the matched reference value, multiple new key-value pairs can be obtained, and then the device identifier and the timestamp of the power equipment are obtained from the intermediate data, and the device identifier, the timestamp of the power equipment and the multiple new key-value pairs are packaged into the target transmission data according to the set format. By calculating the difference between the matched value and the matched reference value, the change value can be accurately determined, thereby improving the determination accuracy and determination efficiency of 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, thereby optimizing the data compression effect. It should be noted that the change value of the vibration direction is the included angle between the current vibration direction and the reference vibration direction.
[0097] For example, when the to-be-transmitted data is S120, the reference data before linearization processing is {“meteorological parameter class”:{“V”:10.0,“D”:85,“T”:25,“P”:1008},“unit operation 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}}}, and the target transmission data of the meteorological parameter class part is {“V”:“+0.5”,“D”:“+5”,“P”:“+2”}.
[0098] In the embodiment of the present application, by matching the keys and comparing the values, the data points that have changed in the intermediate data can be accurately determined, the calculation efficiency is improved, the implementation complexity is reduced, and the determination accuracy and efficiency of the target transmission data are improved. The limited bandwidth resources are no longer occupied by redundant data, the bandwidth pressure is effectively alleviated, and the data transmission efficiency is improved.
[0099] S290, sending 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 equipment, and then restore the target transmission data based on the latest target reference data to obtain the to-be-transmitted data, i.e., the complete operation scene data of the power equipment at the current time. For example, the sum of the changed value in the target transmission data and the corresponding reference value can be calculated to obtain the current value before compression.
[0101] The technical scheme of the embodiment of the present application can obtain the operation scene data detected by the detection device at the current time of the power equipment, then classify the operation scene data according to the functional classification standard to obtain operation scene data of each category, and encapsulate the operation scene data of each category into a set format to obtain the to-be-transmitted data. Then, the average change period of each category is determined according to the preset change period of each operation scene 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 to-be-transmitted data, providing accurate compression basis for subsequent comparison and compression. Thus, under the premise of ensuring data effectiveness, time redundancy can be maximally utilized for data compression, the data compression effect is optimized, unnecessary data duplication transmission is reduced, and the data transmission efficiency is improved.
[0102] After that, the reference data is linearized to obtain linear reference data, and the linear reference data is sorted according to a preset sorting rule to obtain target reference data. Then, the to-be-transmitted data is linearized to obtain linear to-be-transmitted data, and the linear to-be-transmitted data is sorted according to the preset sorting rule to obtain intermediate data. The data query and analysis efficiency when comparing the target reference data and the intermediate data can be improved, the target reference data and the intermediate data are more conducive to data comparison operation, then the intermediate data is compared and compressed based on the target reference data to obtain target transmission data, and the target transmission data is sent to the power management system. The data compression effect and data compression efficiency are further optimized, the intermediate data is compressed and transmitted to the greatest extent by using time redundancy, the time length required for single data transmission under the condition that the data transmission bandwidth of the power system is limited is effectively shortened, and then the efficiency and reliability of data transmission are significantly improved without changing the existing network protocol and infrastructure. The integrity, timeliness and accuracy of data transmission are guaranteed, the stable operation and monitoring management of the power system are provided with strong support, and the overall efficiency of power system data transmission and monitoring management is improved, and the stable operation of the power system is guaranteed.
[0103] Figure 3 is a structural schematic diagram of a data transmission device provided by the embodiment of the present application, referring to Figure 3 The data transmission device can include:
[0104] The acquisition module 310 is configured to acquire operation scene data obtained by detecting the power equipment at the current time by the detection device.
[0105] The data processing module 320 is configured to classify the operation scene data according to a functional classification standard to obtain operation scene data of each category, and encapsulate the operation scene data of each category into a set format to obtain to-be-transmitted data.
[0106] The setting module 330 is configured to set reference data corresponding to the power equipment based on the category of the operation scene data.
[0107] The compression module 340 is configured to compare and compress the to-be-transmitted data based on the reference data to obtain target transmission data, and send the target transmission data to the power management system.
[0108] In an embodiment, the setting module 330 is specifically configured to: determine an average change period of each category according to a preset change period of each operation scene data in the category; determine current sub-reference data of the category according to the average change period of the category; and form the reference data based on the current sub-reference data corresponding to each category.
[0109] In an embodiment, the setting module 330 determines the average change period of each category according to the preset change period of each running scene data in the category, including: for a current category in each category, determining the weight corresponding to each running scene data in the current category; determining the average change period of the current category according to the preset change period of each running scene data and the corresponding weight.
[0110] In an embodiment, the setting module 330 determines the current sub-reference data of each category according to the average change period of the category, including: for a 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 last to-be-transmitted data; when the average change period of the current category is not reached, determining the current sub-reference data of the current category as the last sub-reference data of the current category.
[0111] In an embodiment, the data transmission device further comprises a linear processing module, which is specifically configured to: before comparing and compressing the to-be-transmitted data based on the reference data to obtain target transmission data, 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 to-be-transmitted data to obtain linear to-be-transmitted data, and sorting the linear to-be-transmitted data according to a preset sorting rule to obtain intermediate data.
[0112] The compression module 340 compares and compresses the to-be-transmitted data based on the reference data to obtain target transmission data, including: comparing and compressing the intermediate data based on the target reference data to obtain the target transmission data.
[0113] In an embodiment, the target reference data comprises a plurality of reference data points, the reference data point comprises a reference key and a reference value corresponding to the reference key, the intermediate data comprises a plurality of current data points, the current data point comprises a current key and a current value corresponding to the current key, and the compression module 340 compares and compresses 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 and 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 an 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 matched reference value, determining a change value corresponding to the current value according to the current value and the matched reference value; and based on the current key corresponding to the current value and the change value corresponding to the current value, the target transmission data is composed.
[0115] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is merely an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the functional modules described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0116] The data transmission device provided in this embodiment can be applied to the data transmission method provided in any of the above embodiments, and has corresponding functions and beneficial effects.
[0117] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 4 A block diagram is shown of an exemplary electronic device 11 suitable for implementing embodiments of the present application. Figure 4 The electronic device 11 shown is merely an example and should not impose any limitations on the functionality and scope of use of this embodiment.
[0118] like Figure 4 As shown, the electronic device 11 is represented 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, system memory 28, and bus 18 connecting different system components (including system memory 28 and processing unit 16).
[0119] Bus 18 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. For example, these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.
[0120] Electronic device 11 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by electronic device 11, including volatile and non-volatile media, removable and non-removable media.
[0121] 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. Electronic device 11 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write non-removable, non-volatile magnetic media (… Figure 4Not shown; usually referred to as a "hard drive"). Although Figure 4 As not shown, disk drives for reading and writing to removable non-volatile disks (e.g., "floppy disks") and optical disc drives for reading and writing to removable non-volatile optical discs (e.g., CD-ROMs, DVD-ROMs, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. 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 this application.
[0122] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in 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. Program modules 42 typically perform the functions and / or methods described in the embodiments of this application.
[0123] Electronic device 11 can also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), and with one or more devices that enable a user to interact with electronic device 11, and / or with any device that enables electronic device 11 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed via input / output (I / O) interface 22. Furthermore, electronic device 11 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 20.
[0124] like Figure 4 As shown, network adapter 20 communicates with other modules of electronic device 11 via bus 18. It should be understood that, although... As not shown, other hardware and / or software modules may be used in conjunction with 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.
[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 in any embodiment of this application.
[0126] This application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements a data transmission method, such as that provided in any embodiment of this application.
[0127] The computer storage media of this embodiment can take the form of any combination of one or more computer-readable media. The computer-readable media can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium include the following: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer-readable storage medium can be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
[0128] A computer-readable signal medium can include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal can take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium that is not a computer-readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
[0129] Program code embodied on a computer-readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0130] Computer program code for carrying out operations of the present application can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, 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 the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider). In an embodiment occurring to the inventors, the program code can be downloaded over a network to a remote computer or server for execution.
[0131] Those skilled in the art should understand that the modules or steps of the present application described above can be realized by general computing devices, which can be centralized on a single computing device or distributed on a network composed of multiple computing devices, and optionally, they can be realized by computer device executable program codes, so that they can be stored in storage devices and executed by computing devices, or they can be respectively made into individual integrated circuit modules, or multiple modules or steps among them can be made into a single integrated circuit module to realize. Thus, the present application is not limited to any specific combination of hardware and software.
[0132] In addition, the acquisition, storage, use, processing and the like of data in the technical solutions of the present application comply with the relevant provisions of national laws and regulations.
[0133] Note that the above are only preferred embodiments 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 herein, and those skilled in the art can make various obvious changes, re-adjustments and substitutions without departing from the 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, and can include more other equivalent embodiments without departing from the inventive concept of the present application, and the scope of the present application is determined by the scope of the appended claims.
Claims
1. A data transmission method, characterized by, The method comprises: obtaining operation scene data obtained by a detection device in detecting the power equipment at a current time; classifying the operation scene data according to a functional classification standard to obtain operation scene data of each category, and encapsulating the operation scene data of each category into a set format to obtain to-be-transmitted data; for each current category in each category, determining the weights of each operation scene data in the current category; determining the average change period of the current category according to the preset change period of each operation scene data and the corresponding weight; 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 to-be-transmitted data; when the average change period of the current category is not reached, determining the current sub-reference data of the current category as the last sub-reference data of the current category; and composing reference data based on the current sub-reference data corresponding to each category; comparing and compressing the to-be-transmitted data based on the reference data to obtain target transmission data, and sending the target transmission data to a power management system.
2. The data transmission method of claim 1, wherein, Before comparing and compressing the to-be-transmitted data based on the reference data to obtain target transmission data, the method further comprises: linearizing 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; linearizing the to-be-transmitted data to obtain linear to-be-transmitted data, and sorting the linear to-be-transmitted data according to the preset sorting rule to obtain intermediate data; comparing and compressing the intermediate data based on the target reference data to obtain the target transmission data. The target reference data comprises a plurality of reference data points, the reference data points comprising a reference key and a reference value corresponding to the reference key, the intermediate data comprising a plurality of current data points, the current data points comprising a current key and a current value corresponding to the current key, and comparing and compressing the intermediate data based on the target reference data to obtain the target transmission data comprises:
3. The data transmission method of claim 2, wherein, matching the reference data points and the current data points based on the reference key and the current key to obtain a matching result; comparing the current value and the reference value based on the matching result to obtain a comparison result; compressing the intermediate data based on the comparison result to obtain the target transmission data. The method comprises:
4. The data transmission method of claim 3, wherein, when the current value is different from the matching reference value, determining a change value corresponding to the current value based on the current value and the matching reference value; composing the target transmission data based on the current key corresponding to the current value and the change value corresponding to the current value. The device comprises:
5. A data transmission apparatus characterized by comprising: an acquisition module, configured to obtain operation scene data obtained by a detection device in detecting the power equipment at a current time; The data processing module is configured to classify the operation scene data according to a functional classification standard, obtain operation scene data of each category, encapsulate the operation scene data of each category into a set format, and obtain to-be-transmitted data. The setting module is configured to determine, for each category, a weight corresponding to each operation scene data in a current category, determine an average change period of the current category according to a preset change period of the operation scene data and the corresponding weight, determine current sub-reference data of the current category according to previous to-be-transmitted data when the average change period of the current category is reached, determine the current sub-reference data of the current category as previous sub-reference data of the current category when the average change period of the current category is not reached, and compose reference data based on the current sub-reference data corresponding to each category. The compression module is configured to compare and compress the to-be-transmitted data based on the reference data, obtain target transmission data, and send the target transmission data to a power management system.
6. An electronic device, comprising: The electronic device includes: at least one processor; and a memory connected with the at least one processor in communication; wherein The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the data transmission method of any one of claims 1 to 4.
7. A computer-readable storage medium having stored thereon a computer program, characterized in that The program is executed by the processor to implement the data transmission method of any one of claims 1 to 4.
Citation Information
Patent Citations
Electric power system remote operation and maintenance platform based on Internet of Things
CN118747577A