Gate remote monitoring and control system based on edge computing

Through the edge computing gate remote monitoring and control system, the gate data is acquired, segmented, determined, and compressed using Huffman coding, which solves the problems of inaccurate important data and weak compression of non-important data in gate data transmission, and realizes efficient and balanced data transmission.

CN120238543BActive Publication Date: 2025-09-09大连环旭智能科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510704221.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-29
Publication Date
2025-09-09
Estimated Expiration
2045-05-29

AI Technical Summary

Technical Problem

Excessive compression of important data at the gate leads to inaccurate important data and weak compression of non-important data, affecting transmission efficiency.

Method used

A gate remote monitoring and control system based on edge computing is adopted. The gate data is obtained through the acquisition module, the segmentation processing module performs segmentation processing, the importance module determines the importance of the data, the compression module performs data compression, and the transmission module performs data transmission. Huffman coding is used to encode and compress the data according to the importance and frequency of the data.

Benefits of technology

It ensures the integrity and accuracy of important data, reduces data transmission volume, improves transmission efficiency, saves storage space, and balances data quality and compression efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120238543B_ABST
    Figure CN120238543B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and specifically to a gate remote monitoring and control system based on edge computing. The system obtains segmented gate data reflecting the state of the gate in different time periods through a segmentation processing module, determines the importance of the gate data that can reflect the importance of the gate state that needs to be regulated in each time period through an importance module, and then compresses the gate data based on the importance of the gate data through a compression module to obtain compressed gate data, which can ensure the integrity and accuracy of important data and the adequacy of compression of unimportant data. Finally, the compressed gate data is remotely transmitted and stored to a central server through a transmission module, reducing the amount of data transmission and improving the data transmission speed. The system can balance data quality and compression efficiency, reduce data transmission volume, save storage space, improve transmission efficiency and ensure high-quality transmission of important data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a gate remote monitoring and control system based on edge computing. Background Art

[0002] Gates, a control device used to close and open discharge channels, are essential components of hydraulic structures, serving to intercept water flow, control water levels, regulate flow, and discharge sediment and floating debris. Remote monitoring systems allow users to monitor the gate's operating status and parameters in real time, providing timely insights and enabling remote control. Gates are widely used in a variety of water conservancy projects and industrial applications, such as reservoirs, hydropower stations, irrigation systems, and flood control systems.

[0003] In the flood control system, gates are mainly used to control water flow. By opening and closing the gates, they can effectively block upstream floods, regulate downstream flow, prevent the water level in the downstream river from being too high, reduce the impact of floods on downstream areas, and control the flow and flow rate of floods. During flood season, the opening and closing of the gates can also balance the water levels upstream and downstream, preventing the upstream water level from being too high and causing flooding, while also protecting the downstream areas from flood damage.

[0004] The data monitored by the remote monitoring system includes the water level at the gate, the water flow through the gate, the gate's open / close status, and the degree of opening. This data volume is large and requires some compression. Different water flows in the same time period result in different data monitored at the gate, and their importance also varies. Overcompression of important gate data can lead to inaccurate data, while insufficient compression of non-important data can affect transmission efficiency. Summary of the Invention

[0005] In order to solve the technical problems of excessive compression of important gate data leading to inaccurate important data and weak compression of non-important data affecting transmission efficiency, the present invention aims to provide a gate remote monitoring and control system based on edge computing, the system comprising:

[0006] An acquisition module is used to acquire gate data, wherein the gate data includes water level, water flow and opening at each moment;

[0007] A segmentation processing module, used for segmenting the gate data to obtain segmented gate data;

[0008] Importance module, used to determine the importance of gate data in each time period based on the segmented gate data;

[0009] A compression module, configured to compress the gate data based on the importance of the gate data to obtain compressed gate data;

[0010] The transmission module is used for transmitting the compressed gate data.

[0011] In some embodiments, the segmentation processing module includes:

[0012] The segmentation unit is used to segment the gate data according to the threshold time interval to obtain multiple segments of gate data.

[0013] In some embodiments, the importance module includes:

[0014] A first determining unit is used to determine the opening characteristic value of the gate in each time period;

[0015] A definition unit is used to define multiple opening ranges according to the opening in the segmented gate data;

[0016] A second determining unit is configured to determine a gate opening variation curve within each time period based on the gate opening in the segmented gate data, wherein the abscissa of the opening variation curve represents time and the ordinate represents the gate opening;

[0017] a dividing unit, configured to draw a first straight line perpendicular to the abscissa axis through a maximum point of the opening change curve, draw a first straight line perpendicular to the abscissa axis through a minimum point of the opening change curve, draw a third straight line perpendicular to the ordinate through opening values ​​corresponding to upper and lower limits of a plurality of opening ranges, and divide the opening change curve into a plurality of curve segments using the plurality of first straight lines, the plurality of second straight lines, and the plurality of third straight lines;

[0018] a third determining unit, configured to determine a characteristic value of the gate opening variation within each opening range within each time period;

[0019] a fourth determining unit, configured to determine a gate opening variation characteristic value in each time period based on the gate opening variation characteristic value within each opening range in each time period;

[0020] The fifth determining unit is used to determine the importance of the gate data in each time period based on the gate opening characteristic value and the gate opening change characteristic value in each time period.

[0021] In some embodiments, determining the gate opening characteristic value in each time period includes:

[0022] The gate opening characteristic value in each opening time period in each time period is determined according to the following formula, wherein the gate is in the opening state in the opening time period:

[0023] ;

[0024] Where, Indicates the The opening characteristic value of the gate in the xth opening time period within a time period, Indicates the The length of the time period, Indicates the The duration of the xth open time period within a time period, Indicates the The maximum opening of the gate during the xth opening time period within a time period, Indicates the time period, x indicates the The number of the open time period within a time period;

[0025] According to the following formula, the gate opening characteristic value in each time period is determined:

[0026] ;

[0027] Where, Indicates the The gate opening characteristic value in a time period, Indicates the The number of gate opening time periods in a time period, K represents the The range of the gate opening degree in all opening time periods within a time period, Indicates the The interval between the xth on-time period and the x+1th on-time period within a time period.

[0028] In some embodiments, the gate opening variation characteristic value within each opening range in each time period is determined according to the following formula:

[0029] ;

[0030] Where, Indicates the The characteristic value of the gate opening change in the i-th opening range within the time period, Indicates the The duration of the gate opening in the i-th range within a time period, Indicates the The number of turning points in the gate opening change curve within the i-th opening range in a time period, Indicates the The number of curve segments of the gate within the i-th opening range in the time period, Indicates the The absolute value of the slope of the lth curve segment of the gate within the i-th opening range in the time period, i represents the number of the opening range, l represents the The label of the curve segment of the gate within the i-th opening range in the time period.

[0031] In some embodiments, the gate opening variation characteristic value in each time period is determined based on the gate opening variation characteristic value within each opening range in each time period according to the following formula:

[0032] ;

[0033] Where, Indicates the The gate opening variation characteristic value within a time period, Indicates the number of gate opening ranges, Indicates the The number of opening ranges involved in the gate opening within a time period.

[0034] In some embodiments, the importance of gate data in each time period is determined according to the following formula:

[0035] ;

[0036] Where, Indicates the The importance of gate data within a time period, Indicates the The gate opening variation characteristic value within a time period, Indicates the The gate opening characteristic value in the time period and the +The absolute value of the difference between the gate opening characteristic values ​​in 1 time period, Indicates the difference threshold between the gate opening characteristics of adjacent preset time periods.

[0037] In some embodiments, the compression module includes:

[0038] An update frequency unit, configured to determine an update frequency of the opening degree in the gate data based on the importance and occurrence frequency corresponding to the opening degree in the gate data;

[0039] A compression coding unit, configured to determine a compression code corresponding to each degree of opening in the gate data based on an update frequency of the degree of opening in the gate data;

[0040] The data compression unit is used to compress the gate data based on the compression code corresponding to each opening degree in the gate data to obtain compressed gate data.

[0041] In some embodiments, the update frequency of the opening degree in the gate data is determined according to the following formula:

[0042] ;

[0043] Where, Indicates the update frequency of the gate opening data corresponding to the opening k, It represents the mean of the importance of the gate opening data corresponding to the opening k, and exp represents the exponential function with a natural constant as the base. Indicates the frequency of occurrence of the gate opening data corresponding to the opening k.

[0044] In some embodiments, the compression encoding unit includes:

[0045] a first judgment subunit, configured to determine, in response to an update frequency of the opening degree in the gate data being greater than or equal to a frequency threshold, that the compression code corresponding to the opening degree in the gate data is a Huffman code in a short code form;

[0046] The second judgment subunit is configured to determine that the compression code corresponding to the opening in the gate data is a Huffman code in a long code form in response to the update frequency of the opening in the gate data being less than a frequency threshold.

[0047] The present invention has the following beneficial effects:

[0048] The present invention provides a remote monitoring and control system for gates based on edge computing. The system includes an acquisition module, a segmentation processing module, an importance module, a compression module, and a transmission module. The acquisition module acquires gate data, and the segmentation processing module obtains segmented gate data reflecting the state of the gate in different time periods. The importance module then determines the importance of the gate data, which can reflect the importance of the gate state in each time period. The compression module further compresses the gate data based on the importance of the gate data to obtain compressed gate data, which can ensure the integrity and accuracy of important data and the adequacy of compression of unimportant data. Finally, the transmission module remotely transmits and stores the compressed gate data to a central server, reducing the amount of data transmission and improving the data transmission speed. The system can balance data quality and compression efficiency, ensure the integrity and accuracy of important data, the adequacy of compression of unimportant data, reduce the amount of data transmission, save storage space, improve transmission efficiency, and ensure high-quality transmission of important data. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the technical solutions and advantages of the embodiments of the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0050] Figure 1A schematic diagram of the structure of a gate remote monitoring and control system based on edge computing provided by an embodiment of the present invention;

[0051] Figure 2 This is a diagram showing the division effect of the opening change curve in the edge computing-based gate remote monitoring and control system provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0052] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0053] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0054] The present invention provides a gate remote monitoring and control system based on edge computing, such as Figure 1 As shown, the system includes an acquisition module 101 , a segmentation processing module 102 , an importance module 103 , a compression module 104 and a transmission module 105 .

[0055] The acquisition module 101 is used to acquire gate data, which includes the water level, water flow and opening at each moment.

[0056] It should be noted that the opening refers to the height of the gate lifted from the gate bottom plate, and the unit is meter. The gate opening is usually measured by a gate opening meter installed on the gate, and the water level at the gate can be obtained by installing a water level gauge at the gate.

[0057] In some embodiments, the acquired gate data is transmitted and stored once a day for related analysis and control.

[0058] In a flood control system, the gate's open and closed states vary at different times, and when open, the degree of opening also varies, resulting in different water levels at the gate. When the upstream water level is too high, excessive water flow can lead to flooding. The gate opening needs to be increased to release more water, balancing the upstream and downstream water levels and preventing flooding. Conversely, the gate opening needs to be reduced. Therefore, when the upstream water flow varies, the water level at the gate also varies, and the gate's state and opening also vary. Therefore, a segmented processing module 102 is introduced to monitor the gate's state during different time periods.

[0059] The segmentation processing module 102 is used to perform segmentation processing on the gate data to obtain segmented gate data.

[0060] The segmented gate data can reflect the status of the gate in different time periods and be used for subsequent analysis of the important gate data in each time period.

[0061] In some embodiments, the segment processing module 102 includes:

[0062] The segmentation unit 1021 is used to segment the gate data at each threshold time interval to obtain multiple segments of gate data.

[0063] In some embodiments, the threshold time interval can be three hours, and three hours can be regarded as a time period. In each time period, the gate opening will change with the change of upstream water flow, and the range of the gate opening in each time period may continue to change.

[0064] In some embodiments, the gate closed state can be recorded as 0, and the gate open state can be recorded as 1. In each time period, the gate state can be recorded as 00001111000111….

[0065] In each time period, the gate state may change multiple times, so there will be multiple small segments with continuous 1 distribution in each time period. Each time period with continuous 1 is recorded as an open period, that is, in the open period, the gate is in the open state. In each open time period, the gate opening and duration are not exactly the same. Therefore, the importance module 103 is introduced to determine the importance of the gate data in each time period.

[0066] The importance module 103 is used to determine the importance of the gate data in each time period based on the segmented gate data.

[0067] Determine the importance of gate data in each time period, so as to understand the importance of gate status regulation in each time period.

[0068] In some embodiments, the importance module 103 includes:

[0069] The first determining unit 1031 is configured to determine the opening characteristic value of the gate in each time period.

[0070] Determine the opening characteristic value of the gate in each time period, so as to grasp the opening characteristics of the gate in the open state in each time period.

[0071] In some embodiments, determining the gate opening characteristic value in each time period includes:

[0072] The gate opening characteristic value in each opening time period in each time period is determined according to the following formula, wherein the gate is in the opening state in the opening time period:

[0073] ;

[0074] Where, Indicates the The opening characteristic value of the gate in the xth opening time period within a time period reflects the opening characteristics of the gate in a certain opening time period within the time period. Indicates the The duration of a time period and its value is not zero, Indicates the The duration of the xth open time period within a time period, Indicates the The maximum opening of the gate in the xth opening time period within a time period. The larger the value, the greater the opening value in the opening time period. Indicates the time period, x indicates the The number of the open time period within a time period;

[0075] Indicates the proportion of the duration of the xth open time period to the ath time period, The larger the value of is, the longer the duration of the xth open time period is. The larger the value, the larger the opening value in the opening time period, which means the larger the opening characteristic value of the gate in the opening time period, that is, The bigger.

[0076] According to the following formula, the gate opening characteristic value in each time period is determined:

[0077] ;

[0078] Where, Indicates the The gate opening characteristic value in a time period reflects the overall gate opening characteristics in the time period. Indicates the The number of gate opening time periods in a time period. The larger the value, the longer the gate opening time in the time period. K represents the number of gate opening time periods in a time period. The range of the gate opening in all opening time periods within a time period can reflect the change of the gate opening in all opening time periods within the time period. The larger the value, the greater the change of the gate opening in all opening time periods within the time period. Indicates the The length of the interval between the xth opening time period and the x+1th opening time period in a time period reflects the interval between two adjacent opening time periods in the time period. The larger the value, the longer the interval between two adjacent opening time periods in the time period, which indirectly indicates that the gate is closed for a longer time.

[0079] Indicates the The sum of the opening characteristic values ​​of the gates in all opening time periods within a time period, It represents the sum of the intervals between all two adjacent open time periods within the time period. The bigger, The smaller, and The larger the value is, the larger the overall opening characteristic value of the gate in this time period is, that is, The bigger.

[0080] When the gate is in the open state, the gate opening will change as the water flow changes. Therefore, in each time period, the gate opening may continue to change, changing within different opening ranges, and the time spent in different opening ranges is not exactly the same. Therefore, in order to analyze the different opening ranges involved in the gate opening and the time spent in different ranges, and to determine the opening change characteristic value of the gate in each opening range in each time period, the definition unit 1032, the second determination unit 1033, the division unit 1034 and the third determination unit 1035 are introduced.

[0081] The definition unit 1032 is used to define multiple opening ranges according to the opening in the segmented gate data.

[0082] The multiple opening ranges defined are the opening ranges involved in the gate opening, which makes it easy to grasp the gate opening situation within the opening range.

[0083] In some embodiments, the multiple opening ranges can be 、 、 .

[0084] The second determining unit 1033 is used to determine a gate opening variation curve in each time period according to the gate opening in the segmented gate data, where the abscissa of the opening variation curve represents time and the ordinate represents the gate opening.

[0085] The opening change curve can reflect the gate opening, the change of the opening and the time the opening stays in each opening range.

[0086] The division unit 1034 is used to draw a first straight line perpendicular to the horizontal axis through the maximum point of the opening change curve and a first straight line perpendicular to the horizontal axis through the minimum point of the opening change curve, and to draw a third straight line perpendicular to the vertical axis through the opening values ​​corresponding to the upper and lower limits of multiple opening ranges, and to divide the opening change curve into multiple curve segments through multiple first straight lines, multiple second straight lines and multiple third straight lines.

[0087] Multiple curve segments can better reflect the local information of the opening change curve, which is convenient for subsequent analysis and processing of the local information of the opening change curve segments.

[0088] like Figure 2 As shown in the opening change curve, the horizontal axis is the gate opening, and the vertical axis represents time. 、 、 Indicates the opening range. Multiple first straight lines, multiple second straight lines and multiple third straight lines divide the opening change curve into multiple curve segments. 1, 2, ..., 10 represent the segment positions of the opening change curve after being divided by multiple first straight lines, multiple second straight lines and multiple third straight lines. The time span of each curve segment is different. The opening change curve is The opening range is divided into three segments: 2-3, 5-6, and 8-10. If a curve with a turning point appears, it is segmented using the local extreme point. The curve in the 8-10 time period has a turning point, so it is segmented into two curve segments: 8-9 and 9-10.

[0089] The third determining unit 1035 is configured to determine the opening variation characteristic value of the gate within each opening range in each time period.

[0090] Determine the gate opening variation characteristic value within each opening range in each time period, so as to grasp the gate opening variation characteristics within each opening range in each time period.

[0091] In some embodiments, the change in the gate opening within each opening range in each time period is determined according to the following formula:

[0092] ;

[0093] Where, Indicates the The characteristic value of the gate opening change in the i-th opening range during a time period reflects the gate opening change in a certain opening range during the time period. Indicates the The duration of the gate opening in the i-th range within a time period, Indicates the The number of turning points in the gate opening change curve within the i-th opening range in a time period, Indicates the The number of curve segments of the gate within the i-th opening range in the time period and its value is not zero, Indicates the The absolute value of the slope of the lth curve segment of the gate in the i-th opening range in a time period. The larger the value, the faster the gate opening changes. i represents the number of the opening range, l represents the number of the gate opening range. The label of the curve segment of the gate within the i-th opening range in the time period.

[0094] Indicates the The time duration corresponding to the gate opening range in the i-th time period accounts for the The proportion of the duration of each time period, Indicates the The number of turning points in the gate opening change curve within the i-th opening range in the time period accounts for the The proportion of the number of curve segments of the gate within the i-th opening range in the time period, Indicates the The sum of the absolute values ​​of the slopes of all curve segments of the gate within the i-th opening range in a time period, The bigger, The bigger, and The larger the The larger the gate opening variation characteristic value is within the i-th opening range in a time period, that is, The bigger.

[0095] The fourth determining unit 1036 is configured to determine the gate opening variation characteristic value in each time period based on the gate opening variation characteristic value within each opening range in each time period.

[0096] The gate opening change characteristic value in each time period is determined, thereby obtaining the overall gate opening change in each time period.

[0097] In some embodiments, the gate opening variation characteristic value in each time period is determined based on the gate opening variation characteristic value within each opening range in each time period according to the following formula:

[0098] ;

[0099] Where, Indicates the The characteristic value of gate opening change in a time period reflects the The overall opening change of the gate within a time period, Indicates the number of gate opening ranges, Indicates the The number of opening ranges involved in the gate opening within a time period.

[0100] Indicates the The ratio of the number of gate opening ranges involved in a time period to the number of gate opening ranges. The larger the value, the The wider the gate opening range within a time period, the greater the gate opening change amplitude. Indicates the The sum of the gate opening variation characteristic values ​​in all opening ranges within a time period, when the The larger the gate opening characteristic value in a time period, the The bigger, The bigger, The larger the The larger the gate opening change characteristic value in a time period, the The bigger.

[0101] According to the above formula, the characteristic value of the gate opening change in each time period is obtained. The greater the gate opening change characteristic, the greater the water flow change in this period, and the data in this period needs to be analyzed more in the subsequent analysis.

[0102] Between adjacent time periods, gate openings are typically adjusted continuously or gradually to avoid sudden changes in water levels and minimize impacts on downstream areas. Therefore, differences in gate opening characteristics between adjacent time periods should be minimal, rather than sudden changes. Sudden changes indicate an abnormal gate state during that time period, and therefore an abnormal data within that time period, warranting more focused analysis in subsequent analysis.

[0103] The fifth determining unit 1037 is used to determine the importance of the gate data in each time period based on the gate opening characteristic value and the gate opening change characteristic value in each time period.

[0104] The importance of the gate data in each time period can reflect the importance of the gate data in each time period, that is, the degree to which it needs to be paid special attention to.

[0105] In some embodiments, the importance of gate data in each time period is determined according to the following formula:

[0106] ;

[0107] Where, Indicates the The importance of gate data in a time period reflects the The importance of gate data in a time period, Indicates the The gate opening variation characteristic value within a time period, Indicates the The gate opening characteristic value in the time period and the The absolute value of the difference between the gate opening characteristic values ​​within +1 time period indicates the difference in the opening characteristic values ​​between adjacent time periods. The larger the value, the greater the change in water flow between adjacent time periods. It represents the difference threshold between the gate opening characteristics of adjacent time periods. This value can be set according to the overall difference in gate opening between adjacent time periods. If the value is greater than zero, it means that the opening characteristic values ​​of two adjacent time periods are discontinuous and the difference is large, which may indicate anomaly. If the value is less than zero or equal to zero, it means that the opening characteristic values ​​of two adjacent time periods are close or continuous, the difference is small, and the opening adjustment is relatively normal.

[0108] when The larger the The greater the possibility that the gate opening characteristic values ​​are different within a time period, the greater the possibility that the gate opening characteristic values ​​are different within a time period, and The larger the The larger the gate opening variation characteristic value is within a time period, the The more important the gate data is within a time period, the The bigger.

[0109] The compression module 104 is configured to compress the gate data based on the importance of the gate data to obtain compressed gate data.

[0110] Compressing gate data based on its importance can ensure the integrity and accuracy of important data and the adequacy of compression of unimportant data.

[0111] In some embodiments, the compression module 104 includes:

[0112] The update frequency unit 1041 is used to determine the update frequency of the opening degree in the gate data based on the importance and occurrence frequency corresponding to the opening degree in the gate data.

[0113] Determine the update frequency of the gate opening in the data to provide a basis for subsequent compression.

[0114] In some embodiments, the update frequency of the opening degree in the gate data is determined according to the following formula:

[0115] ;

[0116] Where, Indicates the update frequency of the gate opening data corresponding to the opening k, reflecting the degree to which the gate opening data corresponding to the opening k needs to be compressed. The smaller the value, the smaller the degree of compression. It represents the mean of the importance of the gate opening data corresponding to the opening k. The larger the value, the more important the data. exp represents the exponential function with a natural constant as the base. Used for negative correlation mapping and normalization processing, The frequency of occurrence of the gate opening data corresponding to the opening degree k reflects the number of occurrences of the gate opening data corresponding to the opening degree k. The more important the data, the more important it is. The bigger, The smaller it is, the smaller the update frequency should be. The smaller it is, the less the data needs to be compressed.

[0117] For data with greater importance, longer codes are often assigned to prevent interference during transmission.

[0118] The compression coding unit 1042 is used to determine the compression coding corresponding to each opening degree in the gate data based on the update frequency of the opening degree in the gate data, so as to facilitate subsequent data compression.

[0119] In some embodiments, the compression encoding unit 1042 includes:

[0120] The first judgment subunit 10421 is configured to determine that the compression code corresponding to the opening in the gate data is a Huffman code in a short code form in response to the update frequency of the opening in the gate data being greater than or equal to a frequency threshold.

[0121] When the update frequency of the opening in the gate data is greater than or equal to the frequency threshold, it means that the update frequency of the opening in the gate data is large and the degree of compression required is small, then the compression code corresponding to the opening in the gate data is encoded in the short code form of Huffman coding.

[0122] It should be noted that since the data monitored by the gate remote monitoring system typically includes numerical data and video data, this embodiment primarily focuses on compressing numerical data. Therefore, lossless compression methods, such as Huffman coding, are used to compress the monitored numerical data. Huffman coding determines the length of the code based on the frequency of occurrence of the value, representing more frequently occurring values ​​with shorter codes and less frequently occurring values ​​with longer codes.

[0123] The second judgment subunit 10422 is configured to determine that the compression code corresponding to the opening in the gate data is a Huffman code in a long code form in response to the update frequency of the opening in the gate data being less than the frequency threshold.

[0124] When the update frequency of the opening in the gate data is less than the frequency threshold, it means that the update frequency of the opening in the gate data is low and needs to be compressed to a greater extent, then the compression code corresponding to the opening in the gate data is encoded in the long coding form of Huffman coding.

[0125] The data compression unit 1043 is used to compress the gate data based on the compression code corresponding to each opening in the gate data to obtain compressed gate data, thereby ensuring the integrity and accuracy of important data and the adequacy of compression of unimportant data.

[0126] The transmission module 105 is used for transmitting the compressed gate data.

[0127] The compressed gate data is remotely transmitted and stored to the central server, which reduces the data transmission volume and improves the data transmission speed.

[0128] In summary, the edge computing-based gate remote monitoring and control system provided by the embodiment of the present invention can balance data quality and compression efficiency, ensure the integrity and accuracy of important data, and the adequacy of compression of unimportant data, reduce the amount of data transmission, save storage space, improve transmission efficiency and ensure high-quality transmission of important data.

[0129] It should be noted that the order in which the embodiments of the present invention are described above is for illustrative purposes only and does not necessarily represent the superiority or inferiority of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0130] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments.

Claims

1. The gate remote monitoring and control system based on edge computing is characterized by: The system comprises: An acquisition module is used to acquire gate data, wherein the gate data includes water level, water flow and opening at each moment; A segmentation processing module, used for segmenting the gate data to obtain segmented gate data; Importance module, used to determine the importance of gate data in each time period based on the segmented gate data; A compression module, configured to compress the gate data based on the importance of the gate data to obtain compressed gate data; A transmission module, used for transmitting compressed gate data; The importance module includes: A first determining unit is used to determine the opening characteristic value of the gate in each time period; A definition unit is used to define multiple opening ranges according to the opening in the segmented gate data; A second determining unit is configured to determine a gate opening variation curve within each time period based on the gate opening in the segmented gate data, wherein the abscissa of the opening variation curve represents time and the ordinate represents the gate opening; a dividing unit, configured to draw a first straight line perpendicular to the abscissa axis through a maximum point of the opening change curve, draw a first straight line perpendicular to the abscissa axis through a minimum point of the opening change curve, draw a third straight line perpendicular to the ordinate through opening values ​​corresponding to upper and lower limits of a plurality of opening ranges, and divide the opening change curve into a plurality of curve segments using the plurality of first straight lines, the plurality of second straight lines, and the plurality of third straight lines; a third determining unit, configured to determine a characteristic value of the gate opening variation within each opening range within each time period; a fourth determining unit, configured to determine a gate opening variation characteristic value in each time period based on the gate opening variation characteristic value within each opening range in each time period; a fifth determining unit, configured to determine the importance of the gate data in each time period based on the gate opening characteristic value and the gate opening degree change characteristic value in each time period; The compression module comprises: An update frequency unit, configured to determine an update frequency of the opening degree in the gate data based on the importance and occurrence frequency corresponding to the opening degree in the gate data; A compression coding unit, configured to determine a compression code corresponding to each degree of opening in the gate data based on an update frequency of the degree of opening in the gate data; a data compression unit, configured to compress the gate data based on the compression code corresponding to each opening degree in the gate data to obtain compressed gate data; The update frequency of the gate opening in the gate data is determined according to the following formula: ; Where, Indicates the update frequency of the gate opening data corresponding to the opening k, It represents the mean of the importance of the gate opening data corresponding to the opening k, and exp represents the exponential function with a natural constant as the base. Indicates the frequency of occurrence of gate opening data corresponding to opening k; The compression coding unit includes: a first judgment subunit, configured to determine, in response to an update frequency of the opening degree in the gate data being greater than or equal to a frequency threshold, that the compression code corresponding to the opening degree in the gate data is a Huffman code in a short code form; The second judgment subunit is configured to determine that the compression code corresponding to the opening in the gate data is a Huffman code in a long code form in response to the update frequency of the opening in the gate data being less than a frequency threshold.

2. The gate remote monitoring and control system based on edge computing according to claim 1 is characterized in that: The segment processing module includes: The segmentation unit is used to segment the gate data according to the threshold time interval to obtain multiple segments of gate data.

3. The gate remote monitoring and control system based on edge computing according to claim 2 is characterized in that: Determining the gate opening characteristic value in each time period includes: The gate opening characteristic value in each opening time period in each time period is determined according to the following formula, wherein the gate is in the opening state in the opening time period: ; Where, Indicates the The opening characteristic value of the gate in the xth opening time period within a time period, Indicates the The length of the time period, Indicates the The duration of the xth open time period within a time period, Indicates the The maximum opening of the gate during the xth opening time period within a time period, Indicates the time period, x indicates the The number of the open time period within a time period; According to the following formula, the gate opening characteristic value in each time period is determined: ; Where, Indicates the The gate opening characteristic value in a time period, Indicates the The number of gate opening time periods in a time period, K represents the The range of the gate opening degree in all opening time periods within a time period, Indicates the The interval between the xth on-time period and the x+1th on-time period within a time period.

4. The gate remote monitoring and control system based on edge computing according to claim 3 is characterized in that: According to the following formula, determine the gate opening change characteristic value within each opening range in each time period: ; Where, Indicates the The characteristic value of the gate opening change in the i-th opening range within the time period, Indicates the The duration of the gate opening in the i-th range within a time period, Indicates the The number of turning points in the gate opening change curve within the i-th opening range in a time period, Indicates the The number of curve segments of the gate within the i-th opening range in the time period, Indicates the The absolute value of the slope of the lth curve segment of the gate within the i-th opening range in the time period, i represents the number of the opening range, l represents the The label of the curve segment of the gate within the i-th opening range in the time period.

5. The gate remote monitoring and control system based on edge computing according to claim 4 is characterized in that: The gate opening variation characteristic value in each time period is determined based on the gate opening variation characteristic value within each opening range in each time period according to the following formula: ; Where, Indicates the The gate opening variation characteristic value within a time period, Indicates the number of gate opening ranges, Indicates the The number of opening ranges involved in the gate opening within a time period.

6. The gate remote monitoring and control system based on edge computing according to claim 1 is characterized in that: The importance of gate data in each time period is determined according to the following formula: ; Where, Indicates the The importance of gate data within a time period, Indicates the The gate opening variation characteristic value within a time period, Indicates the The gate opening characteristic value in the time period and the +The absolute value of the difference between the gate opening characteristic values ​​in 1 time period, Indicates the difference threshold between the gate opening characteristics of adjacent preset time periods.

Citation Information

Patent Citations

  • Ship lock remote management system based on Internet data

    CN116155298A

  • Reservoir gate scheduling method for dam upstream sediment reduction

    WO2024007824A1