Water conservancy application control system, method and equipment based on wireless remote unvarnished transmission

Through wireless remote transmissive transmission technology, the long link maintenance problems in water conservancy equipment site fault detection and remote debugging are solved, and the automated and intelligent management of water conservancy projects are realized, operating efficiency and management level are improved, and operating costs are reduced.

CN119254763APending Publication Date: 2025-01-03WUHAN NEWFIBER OPTOELECTRONICS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411360986.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

In the water conservancy industry, during the failure or abnormality detection of equipment site in remote areas and remote debugging, long links between equipment and servers are difficult to maintain, especially under the requirement that power supply and communication lines remain stable, there is a lack of effective control methods.

Method used

Adopt a water conservancy application control system based on wireless remote transmission, including power supply module, MCU core module, controllable power supply, RS485 module, Beidou module, wired and wireless network module, data reception server and debugging server, and switch through priority message network and data queue processing to realize long-distance data transmission and emergency processing.

Benefits of technology

The automation and intelligence of water conservancy projects have been realized, the operation efficiency and management level have been improved, resource allocation has been optimized, operational costs have been reduced, and system response speed and adaptability have been improved to support sustainable development.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119254763A_ABST
    Figure CN119254763A_ABST
Patent Text Reader

Abstract

The invention discloses a water conservancy application control system, method and equipment based on wireless remote unvarnished transmission. The system comprises a power supply module, an MCU core module, a controllable power supply, an RS485 module, a Beidou module, a wired network module and a wireless network module. The method comprises the following steps: setting a message network priority rule and initializing a message network connection state through a system module communication link; then the telemetering terminal reads the message network state, and the message network with the lowest priority is selected according to the result; if the low-priority message network reports an error, a next-level message network is switched to carry out secondary remote data transparent transmission; verifying the transmission data, and judging the abnormal condition of the message network according to the transmission data; and carrying out emergency processing according to the abnormal condition of the message network. According to the invention, a plurality of message networks are arranged in a grading manner, so that the real-time connection state of the telemetering terminal and the server is ensured, the working process is stabilized, and the equipment can continuously collect data according to a set period.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of water conservancy application control, and in particular to a water conservancy application control system, method and equipment based on wireless remote transparent transmission. Background Art

[0002] The large number of sites commonly used in the water conservancy industry can realize the monitoring function well through wireless technology, which brings convenience and efficiency to the industry; at the same time, it also has higher requirements for the reliable installation of equipment and the working state of the equipment itself, especially in some places where there are few people, the number of professional personnel is inconsistent with the distribution of installation sites; when there is a failure or abnormality at the equipment site, the demand for on-site investigation will also increase, and when remote sensor diagnosis and equipment debugging are required, the equipment (telemetry terminal) needs to maintain a long link with the debugging server, and ensure that the power supply and communication line of the sensor are always in working state. A simple control method is needed to solve the above difficulties. At present, the wireless transparent transmission control method of the present invention can solve the above problems well. Summary of the invention

[0003] The present invention provides a water conservancy application control system and control method based on wireless remote transparent transmission, which can at least solve one of the technical problems in the background technology.

[0004] To achieve the above purpose, the present invention adopts the following technical solutions: a water conservancy application control system based on wireless remote transparent transmission, specifically including a power module, an MCU core module, a controllable power supply and an RS485 module, a Beidou module, a wired network module, a wireless network module, a data receiving server, and a debugging server;

[0005] The power module, the controllable power supply and the RS485 module are connected to the MCU core module, the Beidou module is connected to the MCU core module via RS485, the wired network module is connected to the MCU core module via the SPI interface, and the wireless network module is connected to the MCU core module via the Uart serial port; the data receiving server and the debugging server realize data transmission through the network protocol and the MCU core module.

[0006] Furthermore, the power module of the present invention comprises a power protection unit and a voltage conversion unit, and the output end of the power protection unit is connected to the input end of the voltage conversion unit;

[0007] The voltage conversion unit specifically includes a voltage conversion chip U1, capacitors C3, C4, C6, C7, C8, C21, C23, polar capacitors CD11, CD12, resistors R3, R5, R6, R7, R8, R80, R99, R117, and an inductor L5;

[0008] Among them, the voltage conversion chip U1 includes BST terminal, SW terminal, INTV terminal CC Terminal, RT terminal, SYNC terminal, FB terminal, TR / SS terminal, PG terminal, VIN terminal, EN / UV terminal, GND terminal;

[0009] The BST terminal is connected to the capacitor C3, the other end of the capacitor C3 is connected to the inductor L5, and the other end of the inductor L5 is connected to the 0R resistor R7, as the VDD voltage output terminal of the power module; wherein, the capacitor C4 and the polar capacitor CD11 connected in parallel are connected between the inductor L5 and the resistor R7, and the other ends of the capacitor C4 and the polar capacitor CD11 are both connected to GND;

[0010] The SW terminal is connected between capacitor C3 and inductor L5;

[0011] INTV CC The first end is connected to capacitor C8, and the other end of capacitor C8 is connected to GND to provide voltage for the inside of chip U1;

[0012] The RT terminal is connected to the resistor R117, and the other end of the resistor R117 is connected to GND to set the switching frequency;

[0013] The SYNC terminal is connected to a resistor R8, and the resistor R8 shares a common ground with the resistor R117 and the capacitor C8;

[0014] The FB terminal is connected to the capacitor C23, the other end of the capacitor C23 is connected between the inductor L5 and the resistor R7, the resistor R80 is connected in parallel across the capacitor C23, one end of the resistor R99 is connected to the FB terminal of the converter chip U1, and the other end is connected to GND;

[0015] The PG terminal is connected to the resistor R3, and the other end of the resistor R3 is connected between the inductor L5 and the resistor R7;

[0016] The TR / SS terminal is connected to capacitor C7, and the other end of capacitor C7 is connected to GND. One end of capacitor C21 is connected to capacitor C7, and the other end is connected to VIN.

[0017] The VIN terminal is connected to the output terminal of the power protection unit and the voltage source VCIN at the same time. The capacitor C6 and the polarity capacitor CD12 are connected in parallel at both ends of the capacitor C21.

[0018] The EN / UV terminal is connected to resistor R5, and the other end of the resistor is connected to GND. Resistor R6 is connected in series between the VIN terminal and the EN / UV terminal of the voltage conversion chip U1;

[0019] Furthermore, the power protection unit of the present invention includes: a thermistor PPTC5, lightning arrester discharge tubes GDT1 and GDT2, a common mode filter inductor L1, bidirectional transient voltage suppression diodes TVS1 and TVS3, a unidirectional transient voltage suppression diode TVS2, and capacitors C1, C5, and C2;

[0020] Among them, port 1 of the common mode filter inductor L1 is connected to the thermistor PPTC5, and the other end of the thermistor PPTC5 is used as the +IN voltage input end of the power protection unit; the lightning protection discharge tube GDT1 is connected between the thermistor PPTC5 and the common mode filter inductor L1, and the other end of the lightning protection discharge tube GDT1 is connected to PE;

[0021] Port 2 of the common mode filter inductor L1 is used as the -IN voltage input terminal of the power protection unit and is connected to the lightning protection discharge tube GDT2. The other end of the lightning protection discharge tube GDT2 is connected to PE.

[0022] Port 3 of the common-mode filter inductor L1 is connected to capacitor C2 and GND at the same time, and the other end of capacitor C2 is connected to port 4 of the common-mode filter inductor L1, and also serves as the output end of the power protection unit; the above-mentioned unidirectional transient voltage suppression diode TVS2 is connected in parallel at both ends of ports 3 and 4 of the common-mode filter inductor L1, with its positive electrode connected to port 3 of the common-mode filter inductor L1 and its negative electrode connected to port 4 of the common-mode filter inductor L1;

[0023] The bidirectional transient voltage suppression diode TVS1 is connected to the capacitor C1, and is connected in parallel between the cathode of the unidirectional transient voltage suppression diode TVS2 and the port 4 of the common-mode filter inductor L1. The bidirectional transient voltage suppression diode TVS3 is connected to the capacitor C1, and is connected in parallel between the anode of the unidirectional transient voltage suppression diode TVS2 and the port 3 of the common-mode filter inductor L1. PE needs to be connected between the bidirectional transient voltage suppression diode and the capacitor.

[0024] On the other hand, a water conservancy application control method based on wireless remote transparent transmission of the present invention specifically comprises the following steps:

[0025] S1. Build a communication link, set the message network priority rules, and initialize the message network connection status;

[0026] S2, the telemetry terminal reads the message network status and selects the lowest priority message network based on the result;

[0027] S3: Perform long-distance data transparent transmission. If the low-priority message network reports an error, switch to the next-level message network for secondary long-distance data transparent transmission;

[0028] S4, verify the transmission data, and determine the abnormality of the message network based on the transmission data;

[0029] S5. Perform emergency processing based on abnormalities in the message network.

[0030] Furthermore, the message network priority rule in step S1 of the present invention is specifically: when the wired network, wireless network, and Beidou short message network are all connected, they are used in the order of priority wired network, wireless network, and Beidou short message network, where the wired network is defined as the third priority, the wireless network is the second priority, and the Beidou short message network is the first priority.

[0031] Furthermore, the specific scenario of selecting the lowest priority message network in step S2 of the present invention is as follows:

[0032] Scenario 1: When the wired network, wireless network, and Beidou short message network are all in abnormal status, the system temporarily stores data;

[0033] Scenario 2: When the wired network is connected and the wireless network and Beidou short message network are in an irregular state, the wired network with the third priority is selected;

[0034] Scenario 3: The wired network is in an abnormal state, the wireless network is in a connected state, and the Beidou short message network state is irregular, then the second priority wireless network is selected;

[0035] Scenario 4: When both the wired network and the wireless network are in abnormal status and the Beidou short message network is in connected status, the Beidou short message network is selected;

[0036] Scenario 5: During data transmission, the low-priority network recovers from an abnormal state; the data transmission network calls back the low-priority network.

[0037] Furthermore, the specific method of long-distance data transparent transmission in step S4 of the present invention is as follows: S31, the telemetry terminal is connected to the transparent transmission server, and the sensor is turned on;

[0038] S32, the telemetry terminal detects whether a valid instruction from the transparent transmission server is received. If the instruction is valid, the data to be transmitted is written into the queue and waits for processing;

[0039] S33, the telemetry terminal detects whether the transparent transmission data has been processed;

[0040] S34. After the transparent transmission data processing is completed, the telemetry terminal transmits the data to the transparent transmission server.

[0041] Furthermore, the data transmission processing flow in step S32 of the present invention is specifically as follows:

[0042] S321, the system checks whether the current time has reached the preset sensor data collection cycle;

[0043] S322, if the collection time has been reached, the collected data is written into the queue;

[0044] S323, the system checks whether the data items in the queue have been processed;

[0045] S324, confirming that the data has been correctly extracted and is ready, the system will perform further data processing and analysis.

[0046] Furthermore, the judgment of the abnormality of the message network in step S4 of the present invention is specifically as follows:

[0047] S41, the transparent transmission server receives the sensor monitoring data transmitted by the telemetry terminal and performs data analysis;

[0048] S42. When data analysis reports an error, the transparent transmission server reports the abnormality of the telemetry terminal sensor and issues an abnormality alarm;

[0049] S43. When the data is parsed successfully and the number of abnormal network status of the message is greater than or equal to 2, the transparent transmission server reports the location of the telemetry terminal and the network abnormality, and issues an abnormal alarm;

[0050] S44. When the data is parsed successfully and the Beidou short message network status is abnormal, the transparent transmission server will register the risk status of the telemetry terminal.

[0051] On the other hand, the present invention further discloses a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the steps of the above method.

[0052] On the other hand, the present invention further discloses a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above method.

[0053] It can be seen from the above technical solutions that the water conservancy application control system, method and equipment based on wireless remote transparent transmission of the present invention can realize efficient transmission of remote data through wireless transparent transmission technology, which is crucial for the automation and intelligence of water conservancy projects, and for the scheduling optimization of water conservancy equipment, it can improve the operation efficiency and management level of water conservancy projects in one step. In this way, it is possible to achieve refined management of water conservancy projects, optimize resource allocation, reduce operating costs, and at the same time improve the response speed and adaptability of the system to support sustainable development. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 It is a structural block diagram of the water conservancy application control circuit of the wireless remote transparent transmission of the present invention;

[0055] Figure 2 is a circuit schematic diagram of the power module of the present invention;

[0056] Figure 3This is the circuit schematic diagram of the MCU core module;

[0057] Figure 4 This is the circuit schematic diagram of RS485 power supply;

[0058] Figure 5 This is the circuit schematic diagram of the RS485 module;

[0059] Figure 6 This is the circuit schematic diagram of the wired network module;

[0060] Figure 7 This is the circuit schematic diagram of the wireless network module;

[0061] Figure 8 It is a flowchart of the remote transparent debugging method of the present invention;

[0062] Fig. 9 It is a schematic diagram of the process of long-distance data transparent transmission of the present invention;

[0063] Fig.10 This is a flow chart of the data transmission queue processing of the present invention. DETAILED DESCRIPTION

[0064] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments.

[0065] like Figure 1 As shown, the water conservancy application control system based on wireless remote transparent transmission described in this embodiment specifically includes a power module, an MCU core module, a controllable power supply and RS485 module, a Beidou module, a wired network module, a wireless network module, a data receiving server, and a debugging server.

[0066] The power module, the controllable power supply and the RS485 module are connected to the MCU core module, the Beidou module is connected to the MCU core module via RS485, the wired network module is connected to the MCU core module via the SPI interface, and the wireless network module is connected to the MCU core module via the Uart serial port; the data receiving server and the debugging server realize data transmission through the network protocol and the MCU core module.

[0067] Among them, the power module provides stable voltage and current for the equipment to ensure the normal operation of each module; the MCU core module executes program code and processes data flow; the controllable power supply and RS485 module provide power and 485 wired communication for external sensors; the Beidou module provides short message communication link; the wired network module provides an embedded Ethernet communication link for TCP / IP protocol; the wireless network module provides wireless communication links such as TCP / IP, MQTT, HTTP, FTP, etc.; the data receiving server receives the data uploaded by the sensor; the debugging server performs functional debugging of remote sensors and equipment.

[0068] The power module structure is as follows Figure 2 As shown, it specifically includes a power protection unit and a voltage conversion unit;

[0069] The voltage conversion power supply specifically includes a voltage conversion chip U1, capacitors C3, C4, C6, C7, C8, C21, C23, polar capacitors CD11, CD12, resistors R3, R5, R6, R7, R8, R80, R99, R117, and an inductor L5;

[0070] Among them, the voltage conversion chip U1 includes BST terminal, SW terminal, INTV terminal CC Terminal, RT terminal, SYNC terminal, FB terminal, TR / SS terminal, PG terminal, VIN terminal, EN / UV terminal, GND terminal;

[0071] The above-mentioned BST terminal is connected to the capacitor C3, the other end of the capacitor C3 is connected to the inductor L5, and the other end of the inductor L5 is connected to the 0R resistor R7, as the VDD voltage output terminal of the power module; wherein, the capacitor C4 and the polar capacitor CD11 connected in parallel are connected between the inductor L5 and the resistor R7, and the other ends of the capacitor C4 and the polar capacitor CD11 are both connected to GND;

[0072] The SW terminal is connected between capacitor C3 and inductor L5;

[0073] INTV CC The first end is connected to capacitor C8, and the other end of capacitor C8 is connected to GND to provide voltage for the inside of chip U1;

[0074] The RT terminal is connected to the resistor R117, and the other end of the resistor R117 is connected to GND to set the switching frequency;

[0075] The SYNC terminal is connected to a resistor R8, and the resistor R8, the resistor R117 and the capacitor C8 are grounded.

[0076] The FB terminal is connected to the capacitor C23, the other end of the capacitor C23 is connected between the inductor L5 and the resistor R7, the resistor R80 is connected in parallel across the capacitor C23, one end of the resistor R99 is connected to the FB terminal of the converter chip U1, and the other end is connected to GND;

[0077] The PG terminal is connected to the resistor R3, and the other end of the resistor R3 is connected between the inductor L5 and the resistor R7;

[0078] The TR / SS terminal is connected to capacitor C7, and the other end of capacitor C7 is connected to GND. One end of capacitor C21 is connected to capacitor C7, and the other end is connected to VIN.

[0079] The VIN terminal is connected to the output terminal of the power protection unit and the voltage source VCIN at the same time. The capacitor C6 and the polarity capacitor CD12 are connected in parallel at both ends of the capacitor C21.

[0080] The EN / UV terminal is connected to resistor R5, and the other end of the resistor is connected to GND. Resistor R6 is connected in series between the VIN terminal and the EN / UV terminal of the voltage conversion chip U1;

[0081] The power protection unit includes: a thermistor PPTC5, lightning arrester discharge tubes GDT1 and GDT2, a common mode filter inductor L1, bidirectional transient voltage suppression diodes TVS1 and TVS3, a unidirectional transient voltage suppression diode TVS2, and capacitors C1, C5, and C2;

[0082] Among them, port 1 of the common mode filter inductor L1 is connected to the thermistor PPTC5, and the other end of the thermistor PPTC5 is used as the +IN voltage input end of the power protection unit; the lightning protection discharge tube GDT1 is connected between the thermistor PPTC5 and the common mode filter inductor L1, and the other end of the lightning protection discharge tube GDT1 is connected to PE (PE is a conductor specially used to ground the exposed conductive parts of the electrical device);

[0083] Port 2 of the common mode filter inductor L1 is used as the -IN voltage input terminal of the power protection unit and is connected to the lightning protection discharge tube GDT2. The other end of the lightning protection discharge tube GDT2 is connected to PE.

[0084] Port 3 of the common-mode filter inductor L1 is connected to capacitor C2 and GND at the same time, and the other end of capacitor C2 is connected to port 4 of the common-mode filter inductor L1, and also serves as the output end of the power protection unit; the above-mentioned unidirectional transient voltage suppression diode TVS2 is connected in parallel at both ends of ports 3 and 4 of the common-mode filter inductor L1, with its positive electrode connected to port 3 of the common-mode filter inductor L1 and its negative electrode connected to port 4 of the common-mode filter inductor L1;

[0085] The bidirectional transient voltage suppression diode TVS1 is connected to the capacitor C1, and is connected in parallel between the cathode of the unidirectional transient voltage suppression diode TVS2 and the port 4 of the common-mode filter inductor L1. The bidirectional transient voltage suppression diode TVS3 is connected to the capacitor C1, and is connected in parallel between the anode of the unidirectional transient voltage suppression diode TVS2 and the port 3 of the common-mode filter inductor L1. PE needs to be connected between the bidirectional transient voltage suppression diode and the capacitor.

[0086] The specific working principle of the above circuit is as follows:

[0087] The input is connected through the common mode inductor L1, and cooperates with the unidirectional transient voltage suppression diode TVS2 and the lightning arrester discharge tube GDT1, GDT2, and the bidirectional transient voltage suppression diode TVS1, TVS3, and enters the DC-DC buck converter chip (LT8609) to output the target voltage and provide power for the whole set of equipment. U1 is adjusted to work in the ultra-low static current burst mode through R8, achieving an ultra-low static operating current of 2.5uA and high efficiency at extremely low output current, while keeping the output ripple below 10mVP-P. CD12 and C11 are input filter capacitors connected to VIN (input voltage pin) with a wide input voltage range of 3.0V to 42V; EN / UV terminal: enable / undervoltage lockout pin, set high to enable through R6; TR / SS terminal: tracking / soft start pin, used with capacitor C7 to set the slope of the output voltage during startup; PG terminal: power good indication pin, when the output voltage is within a certain range of the set value, this pin will send a signal through connection R3; SW terminal: switch pin, used to connect the inductor element L5, FB terminal: feedback pin, used to stabilize the output voltage, adjusted through resistors R80, R99 and C23; RT terminal is the switching frequency of the control operation, which is set by R117.

[0088] Lightning protection and reverse polarity protection function: GDT1 and GDT2 are ceramic air discharge protection tubes, which can discharge lightning instantaneous current and limit overvoltage to protect the subsequent circuit; TVS2 is a unidirectional transient diode, which can activate the protection function of reverse polarity of power input.

[0089] The MCU core module adopts the STM32L552ZE6 microcontroller, and its specific structure is as follows Figure 3 As shown; Y1, Y2, C1-C4 form the clock signal of the system and the RTC clock, R1, C19, S1 form the external trigger reset circuit, and P1 is the simulation download interface.

[0090] like Figure 4 and Figure 5 As shown, the controllable power supply and RS485 module specifically include:

[0091] Q15 and Q13 are triode and MOS tube respectively, and the output of VCIN power supply is realized by controlling the signal level of MCU of POW_PEN1; when POW_PEN1 is high, Q15 is turned on, Q13 is also turned on, and VCIN power supply is output to V_OUT1; when POW_PEN1 is low, Q15 and Q13 are cut off, and V_OUT1 has no output, and PPTC2 and TVS5 are used for current limiting protection.

[0092] Q4 and M1 MOS tubes are powered by the MCU's control signal RS485_PEN1. When the level is high, Q4 and M1 are turned on, RS485_3V3_1 and VDD are turned on to power U6; when the level is low, U6 will be powered off.

[0093] U6 and Q3 form an automatic receiving and sending control circuit. When there is no data by default, USART1_TX is high, Q3 transistor is turned on, DE1 is low, RE is low effective enable, DE is high effective enable, and U6 is in receiving state; when the sending data is high, USART1_TX is high, DE is effective, U6 is in receiving state, the voltage difference between AB is high, corresponding to logic 1; when USART1_TX is low, Q3 is cut off, DE1 is high, DI sends the low level 0 of USART1_TX, that is, logic 0; in this way, the automatic receiving and sending function of RS485 is realized. This interface can communicate with external sensors of RS485 and realize the control of controllable power supply to realize the control of power consumption of external sensors. Among them, TVS10 and U8 are to protect the RS485 bus to avoid external interference.

[0094] The Beidou module uses RS485 serial port for communication, and its circuit structure is as follows: Figure 5 As shown, the chip U10 is used to automatically communicate with the external Beidou module, realize automatic reporting of short messages, and ensure the wireless communication link of the equipment; the working principle of the circuit is the same as above.

[0095] Wired network module structure is as follows Figure 6 As shown in the figure, the module adopts W5500 chip, integrates full hardware TCP / 1P protocol stack + MAC + PHY functions, and uses SPI interface (MISO, MOSI, SCK and CS signals) with MCU core board to realize standard HTTP, FTP, MQQT and other network protocols as well as user automatic communication functions; crystal oscillator Y3, filter capacitors C34, C38, resistors R42, R45 form the clock circuit, Q8 and Q9 as well as R37, R38, R33 realize the power supply controlled by MCU, CN3 is the PHY interface of the built-in isolation transformer of HR911105A, and the remaining devices are filter capacitors and protection circuits.

[0096] The wireless network module structure is as follows Figure 7As shown in the figure, this module is specifically an LTE wireless communication module used in the fields of M2M (Machine-to-Machine) and IoT (Internet of Things). It supports LTE Cat4 technology and can provide a maximum downlink rate of 150Mbps and a maximum uplink rate of 50Mbps. The EC200D series has a rich built-in network protocol, which is convenient for the integrated development of wireless functions. U5 is the module EC200D, which uses the serial port Uart to communicate with the MCU. P3, TVS2, C22, R15, and C21 form a Π-type matching transmission interface; U8, U9, C17-C24, R12, and R13 form the protection circuit of the SIM card interface; Q1, R10, and LED1 form the module network status indication circuit; Q2, R11, and LED2 form the module network registration status indication circuit; Q3, R16, R17, R18, and LED3 form the module operation status indication circuit; the others are filtering circuits.

[0097] The following is a detailed introduction to the specific steps of the wireless remote transparent transmission debugging method based on the above circuit. The specific process is as follows: Figure 8 As shown:

[0098] S1. Build a communication link, set the message network priority rules, and initialize the message network connection status;

[0099] S2, the telemetry terminal reads the message network status and selects the lowest priority message network based on the result;

[0100] S3: Perform long-distance data transparent transmission. If the low-priority message network reports an error, switch to the next-level message network for secondary long-distance data transparent transmission;

[0101] S4, verify the transmission data, and determine the abnormality of the message network based on the transmission data;

[0102] S5. Carry out emergency processing according to abnormalities in the message network;

[0103] The following is a detailed description of the method steps:

[0104] S1. Build a communication link, set the message network priority rules, and initialize the message network connection status;

[0105] The message network priority rule is: when the wired network, wireless network, and Beidou short message network are all connected, they are used in the order of wired network, wireless network, and Beidou short message network, where the wired network is defined as the third priority, the wireless network is the second priority, and the Beidou short message network is the first priority.

[0106] S2, the telemetry terminal reads the message network status and selects the lowest priority message network based on the result;

[0107] The network scenario for selecting the lowest priority message is as follows:

[0108] Scenario 1: When the wired network, wireless network, and Beidou short message network are all in abnormal status, the system temporarily stores data;

[0109] Scenario 2: When the wired network is connected and the wireless network and Beidou short message network are in an irregular state, the wired network with the third priority is selected;

[0110] Scenario 3: The wired network is in an abnormal state, the wireless network is in a connected state, and the Beidou short message network state is irregular, then the second priority wireless network is selected;

[0111] Scenario 4: When both the wired network and the wireless network are in abnormal status and the Beidou short message network is in connected status, the Beidou short message network is selected;

[0112] Scenario 5: During data transmission, the low-priority network recovers from an abnormal state; the data transmission network calls back the low-priority network;

[0113] S3: Perform long-distance data transparent transmission. If the low-priority message network reports an error, switch to the next-level message network for secondary long-distance data transparent transmission;

[0114] The specific process of long-distance data transmission is as follows: Fig. 9 As shown, the specific method is as follows:

[0115] S31, the telemetry terminal is connected to the transparent transmission server, and the sensor is turned on;

[0116] S32, the telemetry terminal detects whether a valid instruction from the transparent transmission server is received. If the instruction is valid, the data to be transmitted is written into the queue and waits for processing;

[0117] The data processing flow to be transmitted is as follows: Fig.10 As shown, the details are as follows:

[0118] S321, the system checks whether the current time has reached the preset sensor data collection cycle;

[0119] S322, if the collection time has been reached, the collected data is written into the queue;

[0120] S323, the system checks whether the data items in the queue have been processed;

[0121] S324, confirming that the data has been correctly extracted and is ready, the system will perform further data processing and analysis.

[0122] In the above steps, the system first stores the data collected by the sensor in a queue without processing it immediately, which helps to manage and buffer the data, ensure the stability and efficiency of data processing, and perform a secondary check on the data written to the queue to ensure that each data packet is processed, effectively improving the accuracy of system detection.

[0123] S33, the telemetry terminal detects whether the transparent transmission data has been processed;

[0124] S34, after the transparent transmission data processing is completed, the telemetry terminal transmits the data to the transparent transmission server;

[0125] S4, verify the transmission data, and determine the abnormality of the message network based on the transmission data;

[0126] The judgment of the abnormal situation of the message network is specifically as follows:

[0127] S41, the transparent transmission server receives the sensor monitoring data transmitted by the telemetry terminal and performs data analysis;

[0128] S42. When data analysis reports an error, the transparent transmission server reports the abnormality of the telemetry terminal sensor and issues an abnormality alarm;

[0129] S43. When the data is parsed successfully and the number of abnormal network status of the message is greater than or equal to 2, the transparent transmission server reports the location of the telemetry terminal and the network abnormality, and issues an abnormal alarm;

[0130] S44. When the data is parsed successfully and the Beidou short message network status is abnormal, the transparent transmission server will register the risk status of the telemetry terminal.

[0131] S5. Carry out emergency processing according to abnormalities in the message network;

[0132] In summary, the present invention ensures the real-time connection status between the telemetry terminal and the server by arranging multiple message networks in a hierarchical manner, and can respond to server instructions immediately. Compared with the traditional method, the queue mechanism is adopted to ensure a stable workflow, so that the device can continuously collect data according to the set cycle, and even in the process of accepting debugging commands, it can seamlessly connect its scheduled collection tasks to ensure the efficiency and consistency of the entire process. In this way, the sensor diagnosis and equipment (telemetry terminal) are debugged while ensuring the integrity of the data, realizing the remote transparent debugging method.

[0133] On the other hand, the present invention further discloses a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the steps of the above method.

[0134] On the other hand, the present invention further discloses a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above method.

[0135] In another embodiment provided in the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute any of the water conservancy application control methods based on wireless remote transparent transmission in the above embodiments.

[0136] It is understandable that the system, device and storage medium provided in the embodiments of the present invention correspond to the method provided in the embodiments of the present invention, and the explanation, examples and beneficial effects of the relevant contents can refer to the corresponding parts in the above methods.

[0137] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.

[0138] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0139] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0140] The above embodiments 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. However, these 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.

Claims

1. A water conservancy application control system based on wireless remote transparent transmission, including an MCU core module, a controllable power supply and an RS485 module, a Beidou module, a wired network module, a wireless network module, a data receiving server, and a debugging server, characterized in that: Also includes a power module; The power module, the controllable power supply and the RS485 module are connected to the MCU core module, the Beidou module is connected to the MCU core module via RS485, the wired network module is connected to the MCU core module via the SPI interface, and the wireless network module is connected to the MCU core module via the Uart serial port; the data receiving server and the debugging server realize data transmission through the network protocol and the MCU core module.

2. The water conservancy application control system based on wireless remote transparent transmission according to claim 1 is characterized in that: The power module includes a power protection unit and a voltage conversion unit, and the output end of the power protection unit is connected to the input end of the voltage conversion unit; The voltage conversion unit specifically includes a voltage conversion chip U1, capacitors C3, C4, C6, C7, C8, C21, C23, polar capacitors CD11, CD12, resistors R3, R5, R6, R7, R8, R80, R99, R117, and an inductor L5; Among them, the voltage conversion chip U1 includes BST terminal, SW terminal, INTV terminal CC Terminal, RT terminal, SYNC terminal, FB terminal, TR / SS terminal, PG terminal, VIN terminal, EN / UV terminal, GND terminal; The BST terminal is connected to the capacitor C3, the other end of the capacitor C3 is connected to the inductor L5, and the other end of the inductor L5 is connected to the 0R resistor R7, as the VDD voltage output terminal of the power module; wherein, the capacitor C4 and the polar capacitor CD11 connected in parallel are connected between the inductor L5 and the resistor R7, and the other ends of the capacitor C4 and the polar capacitor CD11 are both connected to GND; The SW terminal is connected between capacitor C3 and inductor L5; INTV CC The first end is connected to capacitor C8, and the other end of capacitor C8 is connected to GND to provide voltage for the inside of chip U1; The RT terminal is connected to the resistor R117, and the other end of the resistor R117 is connected to GND to set the switching frequency; The SYNC terminal is connected to a resistor R8, and the resistor R8 shares a common ground with the resistor R117 and the capacitor C8; The FB terminal is connected to the capacitor C23, the other end of the capacitor C23 is connected between the inductor L5 and the resistor R7, the resistor R80 is connected in parallel across the capacitor C23, one end of the resistor R99 is connected to the FB terminal of the converter chip U1, and the other end is connected to GND; The PG terminal is connected to the resistor R3, and the other end of the resistor R3 is connected between the inductor L5 and the resistor R7; The TR / SS terminal is connected to capacitor C7, and the other end of capacitor C7 is connected to GND. One end of capacitor C21 is connected to capacitor C7, and the other end is connected to VIN. The VIN terminal is connected to the output terminal of the power protection unit and the voltage source VCIN at the same time. The capacitor C6 and the polar capacitor CD12 are connected in parallel at both ends of the capacitor C21. The EN / UV terminal is connected to resistor R5, and the other end of the resistor is connected to GND. Resistor R6 is connected in series between the VIN terminal and the EN / UV terminal of the converter chip U1.

3. The water conservancy application control system based on wireless remote transparent transmission according to claim 2 is characterized in that: The power protection unit includes: a thermistor PPTC5, lightning arrester discharge tubes GDT1 and GDT2, a common mode filter inductor L1, bidirectional transient voltage suppression diodes TVS1 and TVS3, a unidirectional transient voltage suppression diode TVS2, and capacitors C1, C5, and C2; Among them, port 1 of the common mode filter inductor L1 is connected to the thermistor PPTC5, and the other end of the thermistor PPTC5 is used as the +IN voltage input end of the power protection unit; the lightning protection discharge tube GDT1 is connected between the thermistor PPTC5 and the common mode filter inductor L1, and the other end of the lightning protection discharge tube GDT1 is connected to PE; Port 2 of the common mode filter inductor L1 is used as the -IN voltage input terminal of the power protection unit and is connected to the lightning protection discharge tube GDT2. The other end of the lightning protection discharge tube GDT2 is connected to PE. Port 3 of the common-mode filter inductor L1 is connected to capacitor C2 and GND at the same time, and the other end of capacitor C2 is connected to port 4 of the common-mode filter inductor L1, and also serves as the output end of the power protection unit; the above-mentioned unidirectional transient voltage suppression diode TVS2 is connected in parallel at both ends of ports 3 and 4 of the common-mode filter inductor L1, with its positive electrode connected to port 3 of the common-mode filter inductor L1 and its negative electrode connected to port 4 of the common-mode filter inductor L1; The bidirectional transient voltage suppression diode TVS1 is connected to the capacitor C1, and is connected in parallel between the cathode of the unidirectional transient voltage suppression diode TVS2 and the port 4 of the common-mode filter inductor L1. The bidirectional transient voltage suppression diode TVS3 is connected to the capacitor C1, and is connected in parallel between the anode of the unidirectional transient voltage suppression diode TVS2 and the port 3 of the common-mode filter inductor L1. PE needs to be connected between the bidirectional transient voltage suppression diode and the capacitor.

4. A water conservancy application control method based on wireless remote transparent transmission, characterized in that: The specific steps include: S1. Build a communication link, set the message network priority rules, and initialize the message network connection status; S2, the telemetry terminal reads the message network status and selects the lowest priority message network based on the result; S3: Perform long-distance data transparent transmission. If the low-priority message network reports an error, switch to the next-level message network for secondary long-distance data transparent transmission; S4, verify the transmission data, and determine the abnormality of the message network based on the transmission data; S5. Perform emergency processing based on abnormalities in the message network.

5. The water conservancy application control method based on wireless remote transparent transmission according to claim 4 is characterized in that: The message network priority rule in step S1 is specifically: when the wired network, wireless network, and Beidou short message network are all connected, they are used in the order of priority wired network, wireless network, and Beidou short message network, wherein the wired network is defined as the third priority, the wireless network is the second priority, and the Beidou short message network is the first priority.

6. The water conservancy application control method based on wireless remote transparent transmission according to claim 4 is characterized in that: The specific scenario of selecting the lowest priority message network in step S2 is as follows: Scenario 1: When the wired network, wireless network, and Beidou short message network are all in abnormal status, the system temporarily stores data; Scenario 2: When the wired network is connected and the wireless network and Beidou short message network are in an irregular state, the wired network with the third priority is selected; Scenario 3: The wired network is in an abnormal state, the wireless network is in a connected state, and the Beidou short message network state is irregular, then the second priority wireless network is selected; Scenario 4: When both the wired network and the wireless network are in abnormal status and the Beidou short message network is in connected status, the Beidou short message network is selected; Scenario 5: During data transmission, the low-priority network recovers from an abnormal state; the data transmission network calls back the low-priority network.

7. The water conservancy application control method based on wireless remote transparent transmission according to claim 4 is characterized in that: The specific method of long-distance data transparent transmission in step S3 is as follows: S31, the telemetry terminal is connected to the transparent transmission server, and the sensor is turned on; S32, the telemetry terminal detects whether a valid instruction from the transparent transmission server is received. If the instruction is valid, the data to be transmitted is written into the queue and waits for processing; S33, the telemetry terminal detects whether the transparent transmission data has been processed; S34. After the transparent transmission data processing is completed, the telemetry terminal transmits the data to the transparent transmission server.

8. The water conservancy application control method based on wireless remote transparent transmission according to claim 7 is characterized in that: The data transmission processing flow in step S32 is as follows: S321, the system checks whether the current time has reached the preset sensor data collection cycle; S322, if the collection time has been reached, the collected data is written into the queue; S323, the system checks whether the data items in the queue have been processed; S324, confirming that the data has been correctly extracted and is ready, the system will perform further data processing and analysis.

9. The water conservancy application control method based on wireless remote transparent transmission according to claim 3 is characterized in that: The judgment of the abnormal situation of the message network in step S4 is specifically as follows: S41, the transparent transmission server receives the sensor monitoring data transmitted by the telemetry terminal and performs data analysis; S42. When data analysis reports an error, the transparent transmission server reports the abnormality of the telemetry terminal sensor and issues an abnormality alarm; S43. When the data is parsed successfully and the number of abnormal network status of the message is greater than or equal to 2, the transparent transmission server reports the location of the telemetry terminal and the network abnormality, and issues an abnormal alarm; S44. When the data is parsed successfully and the Beidou short message network status is abnormal, the transparent transmission server will register the risk status of the telemetry terminal.

10. A water conservancy application computer device based on wireless remote transparent transmission, comprising a memory and a processor, characterized in that: The memory stores a computer program, and when the computer program is executed by the processor, the processor is caused to perform the steps of the method according to any one of claims 6 to 9.