Edge data synchronization method and terminal of offshore wind power operation and maintenance ship
By evaluating the network status in real time in offshore wind power operation and maintenance vessels and dynamically adjusting the data transmission strategy, the problem of high data synchronization cost at the edge of offshore wind power operation and maintenance vessels is solved, and low-cost and efficient data transmission and system stability are achieved.
Patent Information
- Application Number
- CN202510504917.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-22
- Publication Date
- 2025-07-08
AI Technical Summary
The edge data synchronization scheme of existing offshore wind power operation and maintenance vessels is costly and susceptible to network instability, resulting in data transmission delays, packet loss or interruption, affecting system stability and increasing energy consumption.
By obtaining the number of successful data transmission times and consecutive failures, the maximum transmission amount of cached data is dynamically calculated, and the transmission strategy is adjusted in combination with the deduction coefficient, real-time evaluation and adaptive adjustment of network status are realized, and the data synchronization process is optimized.
It reduces data transmission costs, improves system stability and reliability, ensures timely transmission of key data, and reduces network congestion and resource waste.
Smart Images

Figure CN120281781A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data transmission, and particularly to a method and a terminal for edge data synchronization of an offshore wind power operation and maintenance ship. Background Art
[0002] In the existing data acquisition and transmission system of offshore wind power operation and maintenance ships, data synchronization between edge devices and the central platform is usually achieved by relying on satellite communication or high-frequency data return mechanisms. However, due to the complex and changeable offshore environment, communication signals are easily affected by factors such as geographical location, meteorological conditions, and network coverage, resulting in frequent delays, packet losses, or interruptions during data transmission. To ensure the complete transmission of data, many existing solutions often adopt high-cost satellite communication means or set up redundant data retransmission mechanisms, which not only significantly increase communication costs but also increase the overall energy consumption and device resource occupancy of the system. At the same time, during actual operation and maintenance, the amount of data generated by ship equipment is huge. If data synchronization is carried out at a unified rate or with a fixed strategy, it is extremely easy to cause network congestion, affect the transmission of other service data, and even lead to problems such as buffer overflow and loss of key data. Summary of the Invention
[0003] The technical problem to be solved by the present invention is: to provide a method and a terminal for edge data synchronization of an offshore wind power operation and maintenance ship, so as to solve the problem of high cost of edge data synchronization.
[0004] To solve the above technical problem, the technical solution adopted by the present invention is: A method for edge data synchronization of an offshore wind power operation and maintenance ship, characterized by comprising the steps of: S1. Obtain the number of successful data transmissions and the number of consecutive transmission failures within a preset range; S2. Determine a deduction coefficient based on the number of consecutive transmission failures, and the deduction coefficient is used to measure the quality of the current network transmission state; S3. Determine the maximum transmission amount of cached data according to the number of successful data transmissions, the number of consecutive transmission failures, and the deduction coefficient; S4. Obtain real-time data and cached data, perform a transmission attempt on the real-time data and the cached data based on the maximum transmission amount, and synchronously update the number of successful data transmissions and the number of consecutive transmission failures according to the transmission results.
[0005] To solve the above technical problem, another technical solution adopted by the present invention is: An edge data synchronization terminal for an offshore wind power operation and maintenance ship, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the following steps are completed: S1. Obtain the number of successful data transmissions and the number of consecutive transmission failures within a preset range; S2. Determine a deduction coefficient based on the number of consecutive transmission failures, where the deduction coefficient is used to measure the quality of the current network transmission status; S3. Determine the maximum transmission amount of cached data according to the number of successful data transmissions, the number of consecutive transmission failures, and the deduction coefficient; S4. Obtain real-time data and cached data, perform transmission attempts on the real-time data and the cached data based on the maximum transmission amount, and synchronously update the number of successful data transmissions and the number of consecutive transmission failures according to the transmission results.
[0006] The beneficial effects of the present invention are as follows: It provides a method and a terminal for edge data synchronization of an offshore wind power operation and maintenance ship, which judges the current conventional signal quality based on historical transmission results (including the number of successful data transmissions and the number of consecutive transmission failures), and controls the transmission amount of edge data according to the signal quality. Without using high-cost satellite communication, only conventional signals can be used to complete the transmission of edge data, reducing the transmission cost while ensuring the timely transmission of edge data. Description of the Drawings
[0007] Figure 1 It is a schematic flowchart of a method for edge data synchronization of an offshore wind power operation and maintenance ship; Figure 2 It is a schematic diagram of a terminal for edge data synchronization of an offshore wind power operation and maintenance ship; Label Description: 1. A terminal for edge data synchronization of an offshore wind power operation and maintenance ship; 2. A memory; 3. A processor. Detailed Embodiments
[0008] To describe the technical content, the achieved objectives, and the effects of the present invention in detail, the following is described in conjunction with the embodiments and with reference to the drawings.
[0009] Please refer to Figure 1 , a method for edge data synchronization of an offshore wind power operation and maintenance ship, including the steps: S1. Obtain the number of successful data transmissions and the number of consecutive transmission failures within a preset range; S2. Determine a deduction coefficient based on the number of consecutive transmission failures, where the deduction coefficient is used to measure the quality of the current network transmission status; S3. Determine the maximum transmission amount of cached data according to the number of successful data transmissions, the number of consecutive transmission failures, and the deduction coefficient; S4. Obtain real-time data and cached data, perform a transmission attempt on the real-time data and the cached data based on the maximum transmission volume, and synchronously update the number of successful data transmissions and the number of consecutive transmission failures according to the transmission results.
[0010] As can be seen from the above description, the beneficial effects of the present invention are as follows: By obtaining the number of successful data transmissions and the number of consecutive transmission failures within a preset range, the real-time perception of the network transmission status is effectively realized. In the actual working scenario of an offshore wind power maintenance ship, due to the remote geographical location, the 4G / 5G communication signals often show unstable fluctuations, resulting in an increase in the data synchronization failure rate. By recording the number of successful transmissions (such as the number of successes SUC in the last 100 pieces of data) and the number of consecutive failures (FAIL) within a certain range in real time, the system can more accurately evaluate the current network quality, thereby providing a basis for subsequent data synchronization strategies. Based on this, the maximum transmission volume of the cached data is introduced, so that more cached data can be sent when the network is good, improving the synchronization efficiency; when the network deteriorates, the transmission volume is automatically reduced to reduce the possibility of data packet loss or bandwidth waste. For example, when the system monitors that the success rate is relatively high and there are no failures in the last 100 times, it means that the network is good, and it can immediately attempt to batch send the current cached data. When the number of failures increases continuously, even if there is still a large amount of cached data, the most basic real-time data transmission will be prioritized to avoid further data backlog or synchronization failure, improving the stability and reliability of the system.
[0011] In some embodiments, step S3 further includes the steps of: The calculation formula for the maximum transmission volume of the cached data is as follows: Temp = SUC - K * FAIL; In the formula, Temp represents the maximum transmission volume of the cached data; SUC represents the number of successful data transmissions within a preset range; K represents a deduction coefficient, which matches the number of consecutive transmission failures; FALL represents the number of consecutive transmission failures.
[0012] As can be seen from the above description, the calculation method of the maximum transmission volume of cached data is clarified, that is, dynamic calculation is carried out in the way of Temp = SUC - K * FAIL, where K is the deduction coefficient and can be flexibly matched according to the degree of consecutive failures. In practical applications, SUC represents the transmission success situation in a recent period of time, representing the goodness of the current network. Preferably, the preset range can be set at 80 - 100 times, and it is best to be 100 times, that is, the number of successful data transmissions 100 times; while FAIL represents the severity of consecutive network failures and is a sign of the deterioration trend. By introducing a penalty coefficient multiplied by K, the impact of FAIL can be amplified, so as to quickly lower the value of Temp immediately after consecutive failures occur and reduce the amount of synchronized data. For example, if SUC = 20, FAIL = 2, and K = 10, then Temp = 0, and only real-time data transmission is allowed; if K is set to 5, then Temp = 10, indicating that partial cached transmission can still be attempted. This kind of flexibility allows the system administrator to adjust the value of K according to the actual communication environment, bandwidth cost or fault tolerance requirements, making the algorithm have good adjustability and adaptability, and suitable for the condition requirements of different types of maintenance ships or different network providers.
[0013] Among them, the adjustment strategy of the deduction coefficient K can adopt the following method: (1) Use the failure rate or success rate fluctuation trend within the recent M minutes as the basis to adjust the penalty intensity: K = the number of failures in the current time period / the total number of attempts * n δ ; Among them, δ is to control the growth rate of the penalty value (for example, set δ = 1.2); n is the amount of cached data; (2) Hierarchical interval setting
[0014] Specifically, the step S4 further includes the steps: Detect the transmission result. If the transmission is successful, increase the number of successful data transmissions and clear the number of consecutive transmission failures; If the transmission fails, reduce the number of successful data transmissions and increase the number of consecutive transmission failures.
[0015] As can be seen from the above description, a closed-loop feedback system is established through continuous monitoring of transmission results and real-time parameter updates, enabling continuous self-optimization of the edge-side data transmission strategy. When the data transmission is successful, the system immediately increments the number of successful data transmissions (SUC) by one, enhancing the accuracy of the judgment of good network signals, and resets the number of consecutive failures (FAIL) to zero, thereby increasing the amount of cache data that can be sent subsequently and ensuring the timely upload of more historical data. Conversely, when the data transmission fails, SUC is decreased, FAIL is increased, and the current real-time data is added to the cache to ensure the integrity of the data is not lost. For example, in a remote sea area, when the network signal suddenly interrupts and causes the current data packet transmission to fail, the system quickly senses this anomaly, automatically updates FAIL = 1, SUC decreases, and Temp decreases, only retaining the real-time data transmission attempts, thus avoiding wasting resources by repeatedly sending a large amount of cached data. This feedback mechanism can also be used for the accumulation of training data for subsequent intelligent decision-making modules, enabling the entire system to have self-learning and network adaptation capabilities during long-term operation, and enhancing long-term reliability and efficiency.
[0016] Preferably, the step S4 further includes the steps of: When the transmission is successful, clear the transmitted part of the cached data; When the transmission fails, use the real-time data cache as the cached data; Return to step S1.
[0017] As can be seen from the above description, in the two cases of successful and failed data transmission, the cached data is reasonably managed respectively to ensure that the cache structure always remains clear and orderly. When the transmission is successful, the successfully transmitted cached data is removed from the queue, releasing the cache space to prevent redundant data from being repeatedly sent; when it fails, the current real-time data is appended to the end of the cache to ensure that the data is completely retained and synchronized later when the network recovers. For example, there is data D1 to D90 in the cache, and the current Temp = 10. After successful transmission, D1 to D10 will be cleared, and the remaining data becomes D11 to D90, and the cache structure naturally moves forward to remain clean; if the transmission fails, the new DT data will be added as D91 to the end, and the cache is updated to D1 to D91. This mechanism, combined with the loop call in step S1, forms a complete system of continuous judgment, decision-making, execution, and feedback, ensuring high stability and high accuracy synchronization capabilities even in high-frequency and weak-signal mobile scenarios.
[0018] In some embodiments, the step S4 further includes the steps of: If the maximum transmission amount is greater than or equal to 1 and less than the capacity of the cached data, select the data of the maximum transmission amount and the real-time data from the cached data for transmission; If the maximum transmission amount is greater than or equal to 1 and greater than or equal to the capacity of the cached data, all the cached data and the real-time data are transmitted; If the maximum sending amount is less than 1, only the real-time data is transmitted.
[0019] From the above description, we can see that the sending conditions of cached data and the maximum sending amount (Temp) are classified and graded, which enhances the logical clarity and execution efficiency of the system. By comparing Temp with the cache capacity n, the system can determine the specific amount of data that should be sent at present, which is divided into three cases: 1≤Temp <n时发送Temp条缓存数据;Temp≥n时发送全部缓存数据;Temp<1时仅发送实时数据。这种分级机制最大限度兼顾了数据完整性与传输效率,避免了因判断模糊导致的异常行为。例如,某次Temp计算为5,而缓存中有50条未同步数据,则仅同步5条+实时数据,系统避免带宽骤然过载;若Temp=100,而缓存仅剩60条数据,则一次性同步全部缓存,有效释放系统资源;若Temp<1,说明网络环境极差,则仅发送最新DT,保障核心数据不中断。该机制简洁明确,易于嵌入式系统实现,适用于资源受限场景下的低功耗、抗干扰边缘通信设计,有利于系统在实际复杂海况中保持数据传输的持续性与稳定性。
[0020] Please refer to Figure 2 An edge data synchronization terminal 1 for an offshore wind power operation and maintenance ship comprises a memory 2, a processor 3, and a computer program stored in the memory 2 and executable on the processor 3. When the processor 3 executes the computer program, the steps in the edge data synchronization method for an offshore wind power operation and maintenance ship are completed.
[0021] Embodiment 1 of the present invention is: A method for synchronizing edge data of an offshore wind power operation and maintenance ship, comprising the steps of: S1. Obtain the number of successful data transmissions and the number of consecutive data transmission failures within a preset range; S2. Determine a deduction coefficient based on the number of consecutive transmission failures, where the deduction coefficient is used to measure the quality of the current network transmission status; The calculation formula for the maximum sending amount of the cached data is as follows: Temp=SUC-K*FAIL; In the formula, Temp represents the maximum amount of cached data sent; SUC represents the number of successful data transmissions within a preset range; K represents the deduction coefficient, which matches the number of consecutive transmission failures; and FALL represents the number of consecutive transmission failures.
[0022] S3. Determine the maximum transmission volume of the cached data according to the number of successful data transmissions, the number of consecutive transmission failures, and the deduction coefficient; S4. Obtain the real-time data and the cached data, perform a transmission attempt on the real-time data and the cached data based on the maximum transmission volume, and synchronously update the number of successful data transmissions and the number of consecutive transmission failures according to the transmission result.
[0023] Specifically, if the maximum transmission volume is greater than or equal to 1 and less than the capacity of the cached data, select the data with the maximum transmission volume and the real-time data in the cached data for transmission; If the maximum transmission volume is greater than or equal to 1 and greater than or equal to the capacity of the cached data, transmit all the cached data and the real-time data; If the maximum transmission volume is less than 1, only transmit the real-time data.
[0024] Also, detect the transmission result. If the transmission is successful, increase the number of successful data transmissions and clear the number of consecutive transmission failures; clean up the transmitted part of the cached data; If the transmission fails, reduce the number of successful data transmissions, increase the number of consecutive transmission failures, and cache the real-time data as the cached data.
[0025] Referring to the above method, the specific application is as follows: Install a 4G / 5G collector on an offshore wind power operation and maintenance ship, and use 4G / 5G signals to transmit edge data. The specific process is as follows: Collect data: Ship real-time data: DT; Cached data list (unsynchronized data): {D1........Dn}; Number of cached data items (unsynchronized data): n; Number of successful transmissions of the last 100 data items: SUC, less than 100 Number of consecutive transmission failures: FAIL Maximum transmission volume of cached data: Temp Amount of cached data transmitted; ns The data after collection is as follows: Number of cached data items (unsynchronized data): n = 100; Number of successful transmissions of the last 100 data items: SUC = 10 Number of consecutive transmission failures: FAIL = 0 When 101 data items are collected, Temp = SUC - 3 (determined according to the grading interval) * FAIL = 10, less than 100, greater than or equal to 1, so the data to be sent is {101, 1... 10}, and the cached data ns sent = temp = 10; if the sending is successful, since ns = 10 < n = 100, the cached data list is updated to {11... 100}; and the parameters are updated, SUC = 10 + 1 = 11; n = n - ns = 100 - 10 = 90, FAIL = 0; Continue to collect. When the data 102 is collected, Temp = SUC - 3 (determined according to the grading interval) * FAIL = 11, less than 100, greater than or equal to 1, so the data to be sent is {101, 11... 21}, and the cached data ns sent = temp = 11; if the sending fails, then SUC = SUC - 1 = 11 - 1 = 10; FAIL = 1; n = 90 + 1 = 91, and the cache list is {11... 100, 102}.
[0026] In summary, an edge data synchronization method and a terminal for an offshore wind power operation and maintenance ship provided by the present invention effectively realize real - time evaluation and adaptive adjustment of the 4G / 5G network transmission state by introducing a dynamic feedback mechanism of the number of successful data transmissions and the number of consecutive transmission failures, combined with an adjustable deduction coefficient, and significantly improve the stability and efficiency of data synchronization in a weak - signal and large - fluctuation offshore environment. In addition, this method supports cache cleaning, failure re - recording, and parameter cyclic update, constructs a high - reliability and high - fault - tolerance closed - loop optimization mechanism, is applicable to the data communication requirements of long - term operation of actual offshore wind power operation and maintenance ships, can effectively reduce the usage frequency of satellite communication, and reduce the operation and maintenance costs.
[0027] The above are only the embodiments of the present invention, and do not limit the patent scope of the present invention. All equivalent transformations made by using the content of the specification and drawings of the present invention, or directly or indirectly applied in related technical fields, are equally included in the patent protection scope of the present invention.
Claims
1. A method for edge data synchronization of an offshore wind power operation and maintenance ship, characterized in that: Including the steps: S1. Obtain the number of successful data transmissions and the number of consecutive transmission failures within a preset range; S2. Determine a deduction coefficient based on the number of consecutive transmission failures, where the deduction coefficient is used to measure the quality of the current network transmission status; S3. Determine the maximum transmission volume of the cached data according to the number of successful data transmissions, the number of consecutive transmission failures, and the deduction coefficient; S4. Obtain real-time data and cached data, perform a transmission attempt on the real-time data and the cached data based on the maximum transmission volume, and synchronously update the number of successful data transmissions and the number of consecutive transmission failures according to the transmission result.
2. The edge data synchronization method for an offshore wind power operation and maintenance ship according to claim 1, characterized in that: The step S3 further includes the steps: The calculation formula for the maximum transmission volume of the cached data is as follows: Temp = SUC - K * FAIL; In the formula, Temp represents the maximum transmission volume of the cached data; SUC represents the number of successful data transmissions within a preset range; K represents the deduction coefficient, which matches the number of consecutive transmission failures; FALL represents the number of consecutive transmission failures.
3. A method for edge data synchronization of an offshore wind power operation and maintenance ship according to claim 2, characterized in that: The step S4 further includes the steps: Detect the transmission result. If the transmission is successful, increase the number of successful data transmissions and clear the number of consecutive transmission failures; If the transmission fails, reduce the number of successful data transmissions and increase the number of consecutive transmission failures.
4. A method for edge data synchronization of an offshore wind power operation and maintenance ship according to claim 3, characterized in that: The step S4 further includes the steps: When the transmission is successful, clean the transmitted part of the cached data; When the transmission fails, cache the real-time data as the cached data; Return to step S1.
5. A method for edge data synchronization of an offshore wind power operation and maintenance ship according to claim 2, characterized in that: The step S4 further includes the steps: If the maximum transmission volume is greater than or equal to 1 and less than the capacity of the cached data, select the data with the maximum transmission volume and the real-time data in the cached data for transmission; If the maximum transmission volume is greater than or equal to 1 and greater than or equal to the capacity of the cached data, transmit all the cached data and the real-time data; If the maximum transmission volume is less than 1, only transmit the real-time data.
6. An edge data synchronization terminal for an offshore wind power operation and maintenance vessel, characterized in that: Including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the following steps are completed: S1. Obtain the number of successful data transmissions and the number of consecutive transmission failures within a preset range; S2. Determine a deduction coefficient based on the number of consecutive transmission failures, where the deduction coefficient is used to measure the quality of the current network transmission status; S3. Determine the maximum transmission volume of the cached data according to the number of successful data transmissions, the number of consecutive transmission failures, and the deduction coefficient; S4. Obtain real-time data and cached data, perform a transmission attempt on the real-time data and the cached data based on the maximum transmission volume, and synchronously update the number of successful data transmissions and the number of consecutive transmission failures according to the transmission result.
7. The edge data synchronization terminal of an offshore wind power operation and maintenance ship according to claim 6, characterized in that: The step S3 further includes the steps: The calculation formula for the maximum transmission volume of the cached data is as follows: Temp = SUC - K * FAIL; Wherein, Temp represents the maximum transmission volume of the cached data; SUC represents the number of successful data transmissions within a preset range; K represents a deduction coefficient, which matches the number of consecutive transmission failures; FALL represents the number of consecutive transmission failures.
8. The edge data synchronization terminal of an offshore wind power operation and maintenance ship according to claim 7, characterized in that: The step S4 further includes the steps of: Detecting the transmission result. If the transmission is successful, increasing the number of successful data transmissions and clearing the number of consecutive transmission failures; If the transmission fails, reducing the number of successful data transmissions and increasing the number of consecutive transmission failures.
9. The edge data synchronization terminal of an offshore wind power operation and maintenance ship according to claim 8, characterized in that: The step S4 further includes the steps of: When the transmission is successful, clearing the transmitted part of the cached data; When the transmission fails, caching the real-time data as the cached data; Returning to step S1.
10. The edge data synchronization terminal of an offshore wind power operation and maintenance ship according to claim 7, characterized in that: The step S4 further includes the steps of: If the maximum transmission volume is greater than or equal to 1 and less than the capacity of the cached data, selecting the data with the maximum transmission volume and the real-time data from the cached data for transmission; If the maximum transmission volume is greater than or equal to 1 and greater than or equal to the capacity of the cached data, transmitting all the cached data and the real-time data; If the maximum transmission volume is less than 1, only transmitting the real-time data.