Method and system for transmitting water and electricity fusion data based on instant messaging
Through real-time communication technology to adjust the transmission method and select the optimal channel, the poor signal quality and communication failure problems of water and electricity fusion data transmission in agricultural irrigation scenarios are solved, and the communication quality and real-time efficiency of the irrigation system are improved.
Patent Information
- Application Number
- CN202411658130.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2024-12-20
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The signal quality of water-electric fusion data in agricultural irrigation scenarios and the communication method are single, resulting in poor communication quality between the water-electric fusion terminal and the system platform, which is prone to communication failures, especially in bad weather and complex terrain conditions. .
Adopt the water-to-power fusion data transmission method based on instant communication, and by monitoring the real-time transmission rate, adjusting the transmission method and selecting the optimal transmission channel, ensuring instant communication between the water-to-power fusion terminal and the hydropower system platform, including adjusting the data packet size, sending rate, Retransmission times and frequency, and switching to the optimal transmission channel when the real-time transmission rate is too low.
The communication quality between the hydropower fusion terminal and the hydropower system platform is improved, the real-time transmission of irrigation data is ensured, network congestion and packet loss rate is reduced, and the reliability and efficiency of the irrigation system are enhanced.
Smart Images

Figure CN119172326A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of agricultural irrigation equipment, and in particular to a method and system for transmitting water-electricity fusion data based on instant communication. Background Art
[0002] In the field of agricultural irrigation, with the rapid development of precision agriculture and intelligent irrigation technology, higher requirements are placed on the real-time, accuracy and reliability of irrigation data. Agricultural irrigation systems usually involve multiple irrigation terminals, which are distributed in vast farmlands and transmit data with the central control system to achieve real-time monitoring of key parameters such as soil moisture and crop growth status and irrigation decisions.
[0003] However, data transmission in agricultural irrigation scenarios faces many challenges. First, the farmland environment is complex and changeable, including different soil types, vegetation cover, topography and climate conditions. These factors have a significant impact on wireless communication signals, resulting in unstable data transmission rates, especially in severe weather (such as heavy rain and strong winds) and complex terrain (such as mountains and hills). The data transmission effect is greatly reduced.
[0004] Secondly, the amount of data that agricultural irrigation systems need to process is huge, especially in large-scale farmland irrigation operations, and the data transmission pressure between irrigation terminals and central control systems has increased significantly. Traditional data transmission methods often use fixed transmission parameters, which leads to low data transmission efficiency when the network is congested or the signal quality is poor, and the real-time transmission of irrigation instructions is blocked, which in turn affects irrigation effects and crop growth.
[0005] At present, the hydropower integration data in agricultural irrigation scenarios has the defects of poor signal quality and single communication mode, which leads to poor communication quality between the hydropower integration terminal and the system platform and prone to communication failures. Summary of the invention
[0006] The present invention provides a method and system for transmitting hydropower fusion data based on instant communication, which can realize instant communication between a hydropower fusion terminal and a hydropower system platform in a hydropower data transmission system, and improve the communication quality between the hydropower fusion terminal and the hydropower system platform.
[0007] In a first aspect, the present invention provides a method for transmitting hydropower fusion data based on instant communication, which is applied to a hydropower data transmission system including a hydropower system platform and multiple hydropower fusion terminals, the method comprising: monitoring the real-time transmission rate of the hydropower fusion data between the hydropower fusion terminal and the hydropower system platform; if the real-time transmission rate is greater than a first rate, keeping the transmission mode of the hydropower fusion data unchanged, the transmission mode including the amount of data transmitted in a single transmission and the data sending rate of the hydropower fusion terminal; if the real-time transmission rate is less than or equal to the first rate and greater than the second rate, adjusting the transmission mode based on the real-time transmission rate to achieve instant communication; the first rate is greater than the second rate; if the real-time transmission rate is less than or equal to the second rate, screening the transmission channel between the hydropower fusion terminal and the hydropower system platform to determine the optimal transmission channel; and based on the optimal transmission channel, performing instant communication between the hydropower fusion terminal and the hydropower system platform.
[0008] In a possible implementation, the transmission mode is adjusted based on the real-time transmission rate to achieve instant communication, including: based on the real-time transmission rate, adjusting the data volume of a standard data packet for a single transmission to obtain an adjusted data volume; keeping the data sending rate unchanged, and sending the hydropower fusion data with the adjusted data volume; monitoring the transmission delay of the hydropower fusion data after the transmission mode is adjusted; if the transmission delay is less than or equal to the set duration, keeping the data sending rate unchanged; if the transmission delay is greater than the set duration, reducing the data sending rate of the hydropower fusion terminal until the transmission delay is less than or equal to the set duration.
[0009] In a possible implementation, the transmission mode also includes the number of retransmissions and the data sending frequency; adjusting the transmission mode based on the real-time transmission rate to achieve instant communication also includes: monitoring the transmission completion status of the hydropower fusion data after the transmission mode is adjusted, and recording the packet loss rate during the transmission process; for any transmission process, if the transmission is not completed during the transmission process, the retransmission mechanism is started, and the data packets that are not completed during the transmission are retransmitted at the number of retransmissions; if the packet loss rate is less than or equal to the set value, the data sending frequency of the hydropower fusion terminal is kept unchanged; if the packet loss rate is greater than the set value, the data sending frequency of the hydropower fusion terminal is reduced until the packet loss rate is less than or equal to the set value.
[0010] In a possible implementation, the transmission channels between the hydropower fusion terminal and the hydropower system platform are screened to determine the optimal transmission channel, including: sending a first test request to the hydropower system platform through each transmission channel, and recording the sending time of the first test request; the first test request is used to request the hydropower system platform to test the transmission channel; receiving the first test response sent back by the hydropower system platform, and recording the receiving time of the first test response; determining the transmission delay of each transmission channel based on the sending time of the first test request and the receiving time of the first test response; and determining the optimal transmission channel based on the transmission delay of each transmission channel.
[0011] In one possible implementation, the transmission channel between the hydropower fusion terminal and the hydropower system platform is screened to determine the optimal transmission channel, including: sending a second test request to other hydropower fusion terminals among the multiple hydropower fusion terminals, and recording the sending time of the second test request, the second test request is used to request other hydropower fusion terminals to test the state of the transmission channel between the hydropower system platform; receiving a second test response sent back by other hydropower fusion terminals, and recording the receiving time of the second test response; the second test response includes the transmission delay between the other hydropower fusion terminals and the hydropower system platform; based on the sending time of the second test request, the receiving time of the second test response, and the second test response, determining the optimal transmission channel.
[0012] In a possible implementation, instant communication is performed between the hydropower fusion terminal and the hydropower system platform based on the optimal transmission channel, including: determining the next-level receiving device in the optimal transmission channel; determining the transmission mode of the hydropower fusion terminal based on the transmission delay of the optimal transmission channel; splitting the hydropower fusion data based on the data volume of the standard data packet in the transmission mode to obtain multiple standard data packets; and transmitting multiple standard data packets to the next-level receiving device based on the data transmission rate and data transmission frequency in the transmission mode.
[0013] In a possible implementation, the method also includes: obtaining historical data of the transmission rate between the hydropower fusion terminal and the hydropower system platform, and historical meteorological data of the area where the hydropower fusion terminal is located; dividing the historical data of the transmission rate and the historical meteorological data into time windows to determine the transmission rate and meteorological data of each time window; performing correlation analysis and data fitting based on the transmission rate and meteorological data of each time window to obtain a fitting function between the transmission rate between the hydropower fusion terminal and the hydropower system platform, and the meteorological data of the area where the hydropower fusion terminal is located; determining a time-sharing transmission strategy for the hydropower fusion data based on the meteorological data of the forecast period in the area where the hydropower fusion terminal is located, the fitting function, and the real-time transmission rate; and sending the hydropower fusion data to the hydropower system platform based on the time-sharing transmission strategy for the hydropower fusion data.
[0014] In a possible implementation, based on the meteorological data of the forecast period in the area where the hydropower fusion terminal is located, a time-sharing transmission strategy for the hydropower fusion data is determined, including: based on the meteorological data of the forecast period and the fitting function, predicting the predicted transmission rate of each time window in the forecast period; based on the predicted transmission rate of each time window in the forecast period and the real-time transmission rate, allocating the hydropower fusion data and determining the time-sharing transmission strategy, the time-sharing transmission strategy includes the amount of data to be transmitted of the hydropower fusion data in each forecast time window.
[0015] In a possible implementation, the hydropower fusion data is sent to the hydropower system platform based on the time-sharing transmission strategy of the hydropower fusion data, including: determining the total data volume of the hydropower fusion data to be sent by the hydropower fusion terminal; updating the time-sharing transmission strategy based on the real-time transmission rate, and determining the updated time-sharing transmission strategy; allocating data based on the updated time-sharing transmission strategy and the total data volume of the hydropower fusion data to be sent, and determining the amount of data to be transmitted in the current time window; determining the data to be transmitted in the current time window based on the amount of data to be transmitted in the current time window and the priorities of various types of hydropower fusion data; and sending the data to be transmitted based on the transmission mode corresponding to the real-time transmission rate.
[0016] In a second aspect, an embodiment of the present invention provides a transmission device for hydropower fusion data based on instant communication, which is applied to a hydropower data transmission system including a hydropower system platform and multiple hydropower fusion terminals, and the transmission device includes: a communication module, which is used to monitor the real-time transmission rate of hydropower fusion data between the hydropower fusion terminal and the hydropower system platform; a processing module, which is used to keep the transmission mode of the hydropower fusion data unchanged if the real-time transmission rate is greater than the first rate, and the transmission mode includes the amount of data transmitted in a single transmission and the data sending rate of the hydropower fusion terminal; if the real-time transmission rate is less than or equal to the first rate and greater than the second rate, the transmission mode is adjusted based on the real-time transmission rate to achieve instant communication; the first rate is greater than the second rate; if the real-time transmission rate is less than or equal to the second rate, the transmission channel between the hydropower fusion terminal and the hydropower system platform is screened to determine the optimal transmission channel; and based on the optimal transmission channel, instant communication is performed between the hydropower fusion terminal and the hydropower system platform.
[0017] In a third aspect, an embodiment of the present invention provides a hydropower data transmission system based on instant messaging, the hydropower data transmission system comprising a hydropower system platform and a plurality of hydropower fusion terminals, the hydropower fusion terminal comprising a memory and a processor, the memory storing a computer program, the processor being used to call and run the computer program stored in the memory to execute the steps of the method described in the first aspect and any possible implementation method of the first aspect.
[0018] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and wherein when the computer program is executed by a processor, the steps of the method described in the first aspect and any possible implementation method of the first aspect are implemented.
[0019] The present invention provides a method and system for transmitting hydropower fusion data based on instant communication. The present invention monitors the real-time transmission rate of hydropower fusion data between a hydropower fusion terminal and a hydropower system platform. When the real-time transmission rate is relatively high, the transmission mode is kept unchanged. When the real-time transmission rate is relatively high, the transmission mode such as the amount of data transmitted in a single transmission and the data sending rate of the hydropower fusion terminal are adjusted, so that the transmission mode adapts to the real-time transmission rate, and the instant communication between the hydropower fusion terminal and the hydropower system platform is realized. When the real-time transmission rate is too low, the optimal transmission channel between the hydropower fusion terminal and the hydropower system platform is switched to ensure the instant communication between the hydropower fusion terminal and the hydropower system platform. The present invention adaptively changes the transmission mode and the transmission channel according to the real-time transmission rate, realizes the instant communication between the hydropower fusion terminal and the hydropower system platform in the hydropower data transmission system, and improves the communication quality between the hydropower fusion terminal and the hydropower system platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 creative labor.
[0021] Figure 1 It is a flow chart of a method for transmitting water-power fusion data based on instant messaging provided by an embodiment of the present invention; Figure 2 It is a structural schematic diagram of a transmission device for water-power fusion data based on instant messaging provided by an embodiment of the present invention; Figure 3 It is a structural schematic diagram of a hydroelectric fusion terminal provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0022] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.
[0023] In the description of the present invention, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" and "plurality" refer to two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different.
[0024] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.
[0025] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but may optionally include other steps or modules that are not listed, or may optionally include other steps or modules that are inherent to these processes, methods, products or devices.
[0026] In order to make the purpose, technical solutions and advantages of the present invention more clear, the following will be described through specific embodiments in conjunction with the accompanying drawings of the present invention.
[0027] As described in the background technology, the current hydropower fusion data in agricultural irrigation scenarios has the defects of poor signal quality and a single communication method, which leads to poor communication quality between the hydropower fusion terminal and the system platform and is prone to communication failures.
[0028] To solve this technical problem, Figure 1 As shown, an embodiment of the present invention provides a method for transmitting hydropower fusion data based on instant messaging, which is applied to a hydropower data transmission system including a hydropower system platform and multiple hydropower fusion terminals, and includes steps S101-S104.
[0029] S101. Monitor the real-time transmission rate of the hydropower integration data between the hydropower integration terminal and the hydropower system platform.
[0030] It should be noted that if the real-time transmission rate is large, it means that the communication status between the hydropower fusion terminal and the hydropower system platform is good. If the real-time transmission rate is small, it means that the communication status between the hydropower fusion terminal and the hydropower system platform is poor, and the transmission method needs to be improved. If the real-time transmission rate is too small, it means that the communication status between the hydropower fusion terminal and the hydropower system platform is extremely poor, normal communication is impossible, and there is a communication failure, which may be affected by bad weather or complex terrain. The present invention monitors the real-time transmission rate and takes corresponding measures to ensure the communication quality between the hydropower fusion terminal and the hydropower system platform and realize instant communication.
[0031] S102: If the real-time transmission rate is greater than the first rate, the transmission method of the water-power fusion data remains unchanged.
[0032] In the embodiment of the present application, the transmission mode includes the amount of data transmitted in a single transmission and the data transmission rate of the hydropower fusion terminal.
[0033] In some embodiments, the transmission method also includes the number of retransmissions and the frequency of data transmission.
[0034] S103: If the real-time transmission rate is less than or equal to the first rate and greater than the second rate, adjusting the transmission mode based on the real-time transmission rate to achieve instant communication.
[0035] The first rate is greater than the second rate.
[0036] As a possible implementation manner, step S103 may be specifically implemented as steps S1031 - S1035 .
[0037] S1031. Based on the real-time transmission rate, adjust the data volume of the standard data packet transmitted once to obtain an adjusted data volume.
[0038] Exemplarily, the embodiment of the present invention can divide the first rate and the second rate equally, determine multiple intervals, and set a corresponding standard data packet data volume for each interval. The embodiment of the present invention can determine the adjusted data volume according to the interval corresponding to the real-time transmission rate.
[0039] S1032. Keep the data transmission rate unchanged, and send the hydropower fusion data with the adjusted data volume.
[0040] For example, for each transmission process of the hydropower fusion terminal, the hydropower fusion terminal can keep the data transmission rate unchanged, split the hydropower fusion data to be transmitted according to the data volume of the adjusted standard data packet, and send the data packet corresponding to the transmission process. After multiple transmission processes, the hydropower fusion terminal completes the transmission of the hydropower fusion data.
[0041] S1033. Monitor the transmission delay of the hydropower integration data after the transmission mode is adjusted.
[0042] S1034: If the transmission delay is less than or equal to the set duration, the data transmission rate is kept unchanged.
[0043] S1035. If the transmission delay is greater than the set duration, reduce the data transmission rate of the hydropower fusion terminal until the transmission delay is less than or equal to the set duration.
[0044] Exemplarily, after adjusting the data volume of the standard data packet, the embodiment of the present invention can monitor the transmission delay. If the transmission delay is less than or equal to the set duration, it means that the communication state is good and the data transmission rate can be kept unchanged. If the transmission delay is greater than the set duration, it means that the communication state is poor, and it is necessary to reduce the data transmission rate of the hydropower fusion terminal until the transmission delay is less than or equal to the set duration, thereby reducing the data packets during the transmission process and alleviating network congestion.
[0045] As another possible implementation manner, step S103 may be specifically implemented as steps S1036-S1039.
[0046] S1036. Monitor the completion status of the transmission of the hydropower fusion data after the transmission mode is adjusted, and record the packet loss rate during the transmission process.
[0047] S1037. For any transmission process, if the transmission is not completed during the transmission process, the retransmission mechanism is started, and the data packets that are not completed during the transmission are retransmitted according to the retransmission times.
[0048] It should be noted that incomplete transmission indicates packet loss. When a data packet transmission is incomplete, it is necessary to resend the data packet to ensure that the hydropower system platform can successfully receive it. Given the poor communication status, the hydropower fusion terminal can send the same data packet multiple times, that is, the number of retransmissions, to increase the probability that the data packet is successfully received by the hydropower system platform.
[0049] S1038: If the packet loss rate is less than or equal to the set value, the data transmission frequency of the hydropower fusion terminal is kept unchanged.
[0050] S1039: If the packet loss rate is greater than the set value, reduce the data transmission frequency of the hydropower fusion terminal until the packet loss rate is less than or equal to the set value.
[0051] In this way, the embodiment of the present invention can adjust the data transmission frequency of the hydropower fusion terminal by the packet loss rate. Appropriately reducing the transmission frequency can reduce the network burden and reduce the risk of data collision and loss. When the real-time transmission rate is high, the transmission frequency can be appropriately increased to improve the real-time performance and efficiency of data transmission.
[0052] S104. If the real-time transmission rate is less than or equal to the second rate, the transmission channel between the hydropower fusion terminal and the hydropower system platform is screened to determine the optimal transmission channel; and based on the optimal transmission channel, instant communication is performed between the hydropower fusion terminal and the hydropower system platform.
[0053] As a possible implementation method, multiple transmission channels can be established between the hydropower integration terminal and the hydropower system platform, such as 4G channels, NB-IoT, satellite communication channels, etc.
[0054] Exemplarily, the embodiment of the present invention can implement the screening of the optimal transmission channel based on steps A1-A4.
[0055] A1. Sending a first test request to the hydropower system platform through each transmission channel, and recording the sending time of the first test request; the first test request is used to request the hydropower system platform to test the transmission channel; A2. Receive the first test response sent back by the hydropower system platform, and record the receiving time of the first test response; A3. Determine the transmission delay of each transmission channel based on the sending time of the first test request and the receiving time of the first test response; A4. Determine the optimal transmission channel based on the transmission delay of each transmission channel.
[0056] In this way, the embodiment of the present invention can determine the optimal transmission channel and ensure the communication quality by measuring the transmission delay of multiple transmission channels between the hydropower fusion terminal and the hydropower system platform.
[0057] As a possible implementation method, the embodiment of the present invention can establish an Internet of Things between multiple hydropower fusion terminals, so that the hydropower fusion terminal can communicate with the hydropower system platform through the nearby hydropower fusion terminals as relays. For example, due to the influence of complex terrain such as mountainous areas and hills, the communication quality of the hydropower fusion terminal at this location is poor, and the communication with the hydropower system platform can be achieved through other hydropower fusion terminals near the location to ensure the communication quality.
[0058] Exemplarily, the embodiment of the present invention can implement the screening of the optimal transmission channel based on steps B1-B3.
[0059] B1. Sending a second test request to other hydropower fusion terminals among the multiple hydropower fusion terminals, and recording the sending time of the second test request, where the second test request is used to request other hydropower fusion terminals to test the state of the transmission channel between the terminal and the hydropower system platform; B2. Receive the second test response sent back by other hydropower fusion terminals, and record the receiving time of the second test response; the second test response includes the transmission delay between other hydropower fusion terminals and the hydropower system platform; B3. Determine an optimal transmission channel based on the sending time of the second test request, the receiving time of the second test response, and the second test response.
[0060] In this way, the embodiment of the present invention can determine the optimal transmission channel and ensure the communication quality by measuring the transmission delay of the Internet of Things composed of multiple hydropower fusion terminals.
[0061] As a possible implementation manner, after determining the optimal transmission channel, the embodiment of the present invention can realize instant communication between the hydropower fusion terminal and the hydropower system platform based on steps S1041-S1044.
[0062] S1041. Determine the next-level receiving device in the optimal transmission channel.
[0063] S1042. Determine the transmission mode of the hydropower fusion terminal based on the transmission delay of the optimal transmission channel.
[0064] S1043. Based on the data volume of the standard data packet in the transmission mode, split the hydropower fusion data to obtain multiple standard data packets.
[0065] S1044. Based on the data transmission rate and data transmission frequency in the transmission mode, transmit multiple standard data packets to the next level receiving device.
[0066] The present invention provides a method for transmitting hydropower fusion data based on instant communication. By monitoring the real-time transmission rate of hydropower fusion data between a hydropower fusion terminal and a hydropower system platform, when the real-time transmission rate is relatively high, the transmission mode is kept unchanged. When the real-time transmission rate is relatively high, the transmission mode such as the amount of data transmitted in a single transmission and the data sending rate of the hydropower fusion terminal are adjusted, so that the transmission mode adapts to the real-time transmission rate, and the instant communication between the hydropower fusion terminal and the hydropower system platform is realized. When the real-time transmission rate is too low, the optimal transmission channel between the hydropower fusion terminal and the hydropower system platform is switched to ensure the instant communication between the hydropower fusion terminal and the hydropower system platform. The present invention adaptively changes the transmission mode and the transmission channel according to the real-time transmission rate, realizes the instant communication between the hydropower fusion terminal and the hydropower system platform in the hydropower data transmission system, and improves the communication quality between the hydropower fusion terminal and the hydropower system platform.
[0067] Optionally, the method for transmitting water-power fusion data based on instant messaging provided in an embodiment of the present invention further includes steps S201-S205.
[0068] S201. Obtain historical data of the transmission rate between the hydropower fusion terminal and the hydropower system platform, and historical meteorological data of the area where the hydropower fusion terminal is located.
[0069] S202: Divide the historical data of the transmission rate and the historical meteorological data into time windows, and determine the transmission rate and meteorological data of each time window.
[0070] S203. Based on the transmission rate and meteorological data of each time window, correlation analysis and data fitting are performed to obtain a fitting function between the transmission rate between the hydropower fusion terminal and the hydropower system platform, and the meteorological data of the area where the hydropower fusion terminal is located.
[0071] S204, determining a time-sharing transmission strategy for the hydropower fusion data based on the meteorological data of the forecast period in the area where the hydropower fusion terminal is located, a fitting function, and a real-time transmission rate.
[0072] As a possible implementation manner, step S204 may be specifically implemented as steps S2041 - S2042 .
[0073] S2041. Based on the meteorological data of the prediction period and the fitting function, the predicted transmission rate of each time window in the prediction period is predicted.
[0074] S2042. Based on the predicted transmission rate of each time window within the prediction period and the real-time transmission rate, the hydropower fusion data is allocated and a time-sharing transmission strategy is determined.
[0075] In some embodiments, the time-sharing transmission strategy includes the amount of water-power fusion data to be transmitted within each prediction time window.
[0076] In this way, the embodiment of the present invention can use predicted weather data to predict the transmission rate of the hydropower fusion terminal, so as to formulate a corresponding time-sharing transmission strategy, so that the entire amount of hydropower fusion data can be sent to the hydropower system platform in a timely and accurate manner, thereby improving the real-time and integrity of the hydropower fusion data.
[0077] S205. Based on the time-sharing transmission strategy of the hydropower fusion data, the hydropower fusion data is sent to the hydropower system platform.
[0078] As a possible implementation manner, step S205 may be specifically implemented as steps S2051 - S2055 .
[0079] S2051. Determine the total amount of hydropower fusion data to be sent by the hydropower fusion terminal.
[0080] S2052: Based on the real-time transmission rate, the time-sharing transmission strategy is updated to determine the updated time-sharing transmission strategy.
[0081] S2053: Based on the updated time-sharing transmission strategy and the total amount of water-power fusion data to be sent, data allocation is performed to determine the amount of data to be transmitted in the current time window.
[0082] S2054: Based on the amount of data to be transmitted in the current time window and the priority of various types of hydropower fusion data, determine the data to be transmitted in the current time window.
[0083] S2055. Send the data to be transmitted based on the transmission mode corresponding to the real-time transmission rate.
[0084] In this way, the embodiment of the present invention can update the time-sharing transmission strategy based on the real-time communication status between the hydropower fusion terminal and the hydropower system platform, so that a suitable transmission rate can be adopted between the hydropower fusion terminal and the hydropower system platform to transmit a suitable amount of data, thereby maximizing the data transmission rate while reducing network congestion and improving the communication quality between the hydropower fusion terminal and the hydropower system platform.
[0085] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0086] The following is an embodiment of the device of the present invention. For details not described in detail therein, reference may be made to the corresponding method embodiment described above.
[0087] Figure 2 The schematic diagram of the structure of a transmission device for hydropower fusion data based on instant messaging provided by an embodiment of the present invention is shown. The transmission device 300 includes a communication module 301 and a processing module 302 .
[0088] The communication module 301 is used to monitor the real-time transmission rate of the hydropower integration data between the hydropower integration terminal and the hydropower system platform.
[0089] The processing module 302 is used to keep the transmission mode of the hydropower fusion data unchanged if the real-time transmission rate is greater than the first rate, and the transmission mode includes the amount of data transmitted in a single transmission and the data sending rate of the hydropower fusion terminal; if the real-time transmission rate is less than or equal to the first rate and greater than the second rate, adjust the transmission mode based on the real-time transmission rate to achieve instant communication; the first rate is greater than the second rate; if the real-time transmission rate is less than or equal to the second rate, screen the transmission channel between the hydropower fusion terminal and the hydropower system platform to determine the optimal transmission channel; and based on the optimal transmission channel, perform instant communication between the hydropower fusion terminal and the hydropower system platform.
[0090] Figure 3 Schematic diagram of a hydroelectric fusion terminal provided by an embodiment of the present invention. Figure 3As shown, the hydroelectric fusion terminal 400 includes: a processor 401, a memory 402, and a computer program 403 stored in the memory 402 and executable on the processor 401. When the processor 401 executes the computer program 403, the steps in the above-mentioned method embodiments are implemented, for example Figure 1 Alternatively, when the processor 401 executes the computer program 403, the functions of each module / unit in the above-mentioned device embodiments are realized, for example, Figure 2 The functions of the communication module 301 and the processing module 302 are shown.
[0091] Exemplarily, the computer program 403 may be divided into one or more modules / units, which are stored in the memory 402 and executed by the processor 401 to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program 403 in the hydropower fusion terminal 400. For example, the computer program 403 may be divided into Figure 2 The communication module 301 and the processing module 302 are shown.
[0092] The processor 401 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0093] The memory 402 may be an internal storage unit of the hydropower fusion terminal 400, such as a hard disk or memory of the hydropower fusion terminal 400. The memory 402 may also be an external storage device of the hydropower fusion terminal 400, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the hydropower fusion terminal 400. Further, the memory 402 may also include both an internal storage unit of the hydropower fusion terminal 400 and an external storage device. The memory 402 is used to store the computer program and other programs and data required by the terminal. The memory 402 may also be used to temporarily store data that has been output or is to be output.
[0094] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for transmitting hydropower fusion data based on instant messaging, characterized in that: Applied to a hydropower data transmission system including a hydropower system platform and a plurality of hydropower fusion terminals, the method comprises: Monitor the real-time transmission rate of hydropower integration data between the hydropower integration terminal and the hydropower system platform; If the real-time transmission rate is greater than the first rate, the transmission mode of the hydropower fusion data is kept unchanged, wherein the transmission mode includes the data volume of a single transmission and the data sending rate of the hydropower fusion terminal; If the real-time transmission rate is less than or equal to the first rate and greater than the second rate, adjusting the transmission mode based on the real-time transmission rate to achieve instant communication; the first rate is greater than the second rate; If the real-time transmission rate is less than or equal to the second rate, the transmission channel between the hydropower fusion terminal and the hydropower system platform is screened to determine the optimal transmission channel; and based on the optimal transmission channel, instant communication is performed between the hydropower fusion terminal and the hydropower system platform.
2. The method for transmitting water-power fusion data based on instant messaging according to claim 1 is characterized in that: The adjusting the transmission mode based on the real-time transmission rate to achieve instant communication includes: Based on the real-time transmission rate, adjusting the data volume of the standard data packet transmitted in a single time to obtain an adjusted data volume; Keeping the data transmission rate unchanged, sending the hydropower fusion data with the adjusted data volume; Monitor the transmission delay of hydropower fusion data after the transmission mode is adjusted; If the transmission delay is less than or equal to the set duration, the data transmission rate is kept unchanged; If the transmission delay is greater than the set duration, the data transmission rate of the hydropower fusion terminal is reduced until the transmission delay is less than or equal to the set duration.
3. The method for transmitting water-power fusion data based on instant messaging according to claim 2 is characterized in that: The transmission mode also includes the number of retransmissions and the frequency of data transmission; the method of adjusting the transmission mode based on the real-time transmission rate to achieve instant communication also includes: Monitor the completion of the transmission of hydropower fusion data after the transmission mode is adjusted, and record the packet loss rate during the transmission process; For any transmission process, if the transmission is not completed during the transmission process, the retransmission mechanism is started, and the data packets that are not completed during the transmission are retransmitted with the retransmission times; If the packet loss rate is less than or equal to the set value, the data transmission frequency of the hydropower fusion terminal is kept unchanged; If the packet loss rate is greater than the set value, the data sending frequency of the hydropower fusion terminal is reduced until the packet loss rate is less than or equal to the set value.
4. The method for transmitting water-power fusion data based on instant messaging according to claim 1 is characterized in that: The screening of the transmission channel between the hydropower fusion terminal and the hydropower system platform to determine the optimal transmission channel includes: Sending a first test request to the hydropower system platform through each transmission channel, and recording the sending time of the first test request; the first test request is used to request the hydropower system platform to test the transmission channel; receiving a first test response sent back by the hydropower system platform, and recording a receiving time of the first test response; Determining a transmission delay of each transmission channel based on a sending time of the first test request and a receiving time of the first test response; The optimal transmission channel is determined based on the transmission delay of each transmission channel.
5. The method for transmitting water-power fusion data based on instant messaging according to claim 1 is characterized in that: The screening of the transmission channel between the hydropower fusion terminal and the hydropower system platform to determine the optimal transmission channel includes: Sending a second test request to other hydropower fusion terminals among the multiple hydropower fusion terminals, and recording the sending time of the second test request, wherein the second test request is used to request other hydropower fusion terminals to test the state of the transmission channel between the hydropower system platform and the other hydropower fusion terminals; receiving a second test response sent back by the other hydropower fusion terminal, and recording a receiving time of the second test response; the second test response includes a transmission delay between the other hydropower fusion terminal and the hydropower system platform; The optimal transmission channel is determined based on the sending time of the second test request, the receiving time of the second test response, and the second test response.
6. The method for transmitting water-power fusion data based on instant messaging according to claim 4 or 5, characterized in that: The instant communication between the hydropower fusion terminal and the hydropower system platform based on the optimal transmission channel includes: Determining a next-level receiving device in the optimal transmission channel; Determining a transmission mode of the hydropower fusion terminal based on the transmission delay of the optimal transmission channel; Based on the data volume of the standard data packet in the transmission mode, the hydropower fusion data is split to obtain a plurality of standard data packets; Based on the data transmission rate and data transmission frequency in the transmission mode, the multiple standard data packets are transmitted to the next-level receiving device.
7. The method for transmitting water-power fusion data based on instant messaging according to claim 1 is characterized in that: The method further comprises: Acquire historical data of the transmission rate between the hydropower fusion terminal and the hydropower system platform, and historical meteorological data of the area where the hydropower fusion terminal is located; Dividing the historical data of the transmission rate and the historical meteorological data into time windows, and determining the transmission rate and meteorological data of each time window; Based on the transmission rate and meteorological data of each time window, correlation analysis and data fitting are performed to obtain a fitting function between the transmission rate between the hydropower fusion terminal and the hydropower system platform, and the meteorological data of the area where the hydropower fusion terminal is located; Determine a time-sharing transmission strategy for the hydropower fusion data based on the meteorological data of the forecast period in the area where the hydropower fusion terminal is located, the fitting function, and the real-time transmission rate; Based on the time-sharing transmission strategy of the hydropower fusion data, the hydropower fusion data is sent to the hydropower system platform.
8. The method for transmitting water-power fusion data based on instant messaging according to claim 7 is characterized in that: The method of determining the time-sharing transmission strategy of the hydropower fusion data based on the meteorological data of the forecast period in the area where the hydropower fusion terminal is located, the fitting function, and the real-time transmission rate includes: Based on the meteorological data of the forecast period and the fitting function, forecasting the forecast transmission rate of each time window in the forecast period; Based on the predicted transmission rate of each time window in the prediction period and the real-time transmission rate, the hydropower fusion data is allocated to determine the time-sharing transmission strategy, which includes the amount of data to be transmitted of the hydropower fusion data in each prediction time window.
9. The method for transmitting water-power fusion data based on instant messaging according to claim 7 is characterized in that: The time-sharing transmission strategy based on the hydropower fusion data, sending the hydropower fusion data to the hydropower system platform, comprises: Determine the total amount of hydropower fusion data to be sent by the hydropower fusion terminal; Based on the real-time transmission rate, the time-sharing transmission strategy is updated to determine an updated time-sharing transmission strategy; Based on the updated time-sharing transmission strategy and the total amount of the hydropower fusion data to be sent, data allocation is performed to determine the amount of data to be transmitted in the current time window; Determine the data to be transmitted in the current time window based on the amount of data to be transmitted in the current time window and the priority of each type of the hydropower fusion data; The data to be transmitted is sent based on the transmission mode corresponding to the real-time transmission rate.
10. A hydropower data transmission system based on instant messaging, characterized in that: The hydropower data transmission system includes a hydropower system platform and multiple hydropower fusion terminals; the hydropower fusion terminal includes a memory and a processor, the memory stores a computer program, and the processor is used to call and run the computer program stored in the memory to execute the steps of the method as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Information processing method and electronic equipment
CN104301290A
Data transmission method and network application terminal
CN115174490A
Big data analysis system and method for power grid planning
CN117541432A
Equipment data transmission method and system based on power line communication, terminal and storage medium
CN118232959A
Information transmission method and system based on convergence of satellite and ground Internet of Things
CN118869055A
