Three-dimensional monitoring method and system for rainfall flood resources
The three-dimensional monitoring method and system addresses data management challenges in rain and flood resource monitoring by implementing real-time data collection and binary conversion with reference and verification strings, ensuring data integrity and reducing cloud storage pressure.
Patent Information
- Application Number
- CN202411468979.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-21
- Publication Date
- 2024-12-27
AI Technical Summary
Current rain and flood resource monitoring systems face challenges in managing large volumes of data, leading to increased pressure on cloud storage and processing due to the use of MD5 checksum and CRC, which are inefficient for large data sets.
A three-dimensional monitoring method and system that includes real-time data collection, binary conversion, and data splitting into reference and verification strings to ensure data integrity and reduce data volume, using a local terminal and cloud analysis terminal for processing and verification.
Ensures data integrity and accuracy while reducing data transmission volume, alleviating cloud storage and processing burdens by using reduced verification data to restore compressed monitoring data.
Smart Images

Figure CN119211238A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of rainwater resources, and in particular to a three-dimensional monitoring method and system for rainwater resources. Background Art
[0002] In the current rain and flood resource monitoring system, it is very important to ensure the integrity of the data. Common methods include MD5 checksum and cyclic redundancy check (CRC). MD5 checksum is a widely used cryptographic hash function, which ensures that the data has not been tampered with during transmission or storage by calculating the MD5 hash value of the original data. This method is widely used in data integrity verification because of its simplicity and efficiency;
[0003] CRC is a method of generating a short checksum of fixed length through a specific mathematical algorithm to detect errors that may occur during data transmission. CRC check is particularly effective in identifying single-bit errors or small-scale errors caused by transmission channel noise or interference;
[0004] Although the amount of data transmitted by MD5 and CRC for verification is relatively small, which is of great significance for protecting the integrity of the transmitted data, the amount of data received by the cloud may still become very large considering the continuous data transmission. This huge amount of data puts higher requirements on cloud storage, processing and analysis, causing pressure on the cloud;
[0005] In order to solve the above problems, the present invention proposes a solution. Summary of the invention
[0006] The purpose of the present invention is to provide a three-dimensional monitoring method and system for rainwater resources in order to solve the problems raised in the above background technology;
[0007] The purpose of the present invention can be achieved through the following technical solutions:
[0008] The three-dimensional monitoring method of rainwater resources includes the following steps:
[0009] Step 1: After receiving the transmitted rain and flood resource monitoring data at the current moment, the rain and flood data processing terminal performs binary conversion on the data to obtain the rain and flood monitoring data at the current moment;
[0010] Step 2: Divide every four characters into a group of reference strings, divide the rainwater and flood binary data at the current moment into several groups of reference strings, and then compare the four-bit binary numbers corresponding to the numbers 0 to 7 and their reverse binary numbers for each group of reference strings, and obtain the object string and the verification string of each group of reference strings;
[0011] Step 3: For each group of reference strings, the first two strings of the reference string are sequentially cut out from left to right, and the number 0 or 1 is selected as the shortened character of the corresponding reference string according to the contents of the first two strings;
[0012] Step 4: Obtain the current rainfall and flood monitoring data and rainfall and flood verification data according to the reduced characters of the comparison string and its target string in all the divided groups.
[0013] Furthermore, before completing step 1, you need to perform the following steps:
[0014] The local collection terminal collects the monitoring data of several rainwater parameters in real time to obtain real-time rainwater resource monitoring data, and transmits it to the rainwater data processing terminal. The rainwater parameters include rainfall, river water level and flow, pollutant content in urban rainwater runoff, water temperature and air temperature.
[0015] Furthermore, after completing step 4, you need to perform the following steps:
[0016] The cloud analysis terminal receives the transmitted rainfall and flood monitoring data and rainfall and flood verification data at the current moment and transmits them to the receiving and verification unit;
[0017] After receiving the transmitted rainfall and flood monitoring data and rainfall and flood verification data at the current moment, the receiving and verification unit combines the four-bit binary numbers corresponding to 0 to 7, and performs integrity verification on the rainfall and flood monitoring data at the current moment according to the rainfall and flood verification data. After the verification passes, the rainfall and flood resource monitoring data at the current moment is obtained, and it is transmitted to the resource analysis unit for storage for later analysis of rainfall and flood resources.
[0018] The three-dimensional monitoring system of rainwater resources includes:
[0019] Local data collection terminal, used to collect monitoring data of several rainfall and flood parameters;
[0020] The rainwater and flood data processing terminal is used to process the real-time rainwater and flood resource monitoring data to obtain the corresponding real-time rainwater and flood monitoring data and rainwater and flood verification data;
[0021] Cloud analysis terminal is used to receive, verify and analyze rain and flood resource monitoring data in the cloud.
[0022] Beneficial effects of the present invention:
[0023] The present invention collects rain and flood resource monitoring data in real time through a local collection terminal, and a rain and flood data processing terminal splits the real-time rain and flood resource monitoring data into rain and flood monitoring data and rain and flood verification data based on the real-time rain and flood resource monitoring data, wherein the rain and flood monitoring data is compressed and reduced based on the rain and flood resource monitoring data, and the rain and flood verification data is used to verify the integrity of the rain and flood monitoring data, and the rain and flood verification data is also used to restore the compressed and reduced data. In this way, the verification data used to transmit data not only has the function of verifying the integrity, but also has the function of restoring the transmitted data. In this way, the integrity and accuracy of the rain and flood resource monitoring data are guaranteed, and the rain and flood verification resources are generated based on the rain and flood resource monitoring data, and the number of characters in the rain and flood verification string is consistent with the number of reduced characters of the rain and flood monitoring data. In this way, the transmission of the rain and flood resource monitoring data does not increase the data volume due to the addition of the verification data, thereby ensuring the quality and efficiency of the transmission, and greatly reducing the data capacity of the cloud in the rain and flood monitoring process, effectively alleviating the pressure on the cloud. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The present invention will be further described below in conjunction with the accompanying drawings.
[0025] Figure 1 It is a flow chart of a method for processing data of a rainwater and flood data processing terminal in the present invention;
[0026] Figure 2 It is a system block diagram of the present invention. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] like Figure 1 , 2 As shown, a three-dimensional monitoring method and system for rainwater resources include a local collection terminal, a rainwater data processing terminal and a cloud analysis terminal;
[0029] The local collection terminal is used to collect monitoring data of several rain and flood parameters, where the rain and flood parameters are characteristic parameters selected by monitoring personnel to provide important basis for making decisions on the reuse of rain and flood resources;
[0030] In this embodiment, the rain and flood parameters include but are not limited to rainfall, river water level and flow, pollutant content in urban rainwater runoff, water temperature and air temperature;
[0031] The local collection terminal collects the monitoring data of several rainfall and flood parameters in real time to obtain real-time rainfall and flood resource monitoring data, and transmits it to the rainfall and flood data processing terminal;
[0032] The rainwater data processing terminal is used to process the real-time rainwater resource monitoring data. After receiving the rainwater resource monitoring data at the current moment, the rainwater data processing terminal processes the rainwater resource monitoring data at the current moment according to the preset processing rules. The preset processing rules are as follows:
[0033] S11: converting the rain and flood resource monitoring data at the current moment into binary, and recalibrating the converted data into the rain and flood monitoring data at the current moment;
[0034] S12: According to the four-bit binary numbers corresponding to the numbers 0 to 7, the eight four-bit binary numbers are respectively bit-wise inverted to obtain corresponding reverse numbers;
[0035] S13: Divide all characters constituting the rain and flood monitoring data at the current moment into a group of reference strings in order from left to right, with every four characters, to obtain a plurality of groups of reference strings. During the division process, if the number of remaining characters is less than 4, the remaining characters are used as a group of constant strings at the current moment.
[0036] S14: marking the groups of control strings divided by the rain and flood monitoring data at the current moment as A1, A2, ..., Aa in sequence according to the order of division, where a≥1;
[0037] S15: Obtain the object strings and the verification strings of the comparison strings A1, A2, ..., Aa in sequence according to the preset first acquisition rule. The first acquisition rule is as follows:
[0038] S151: the reference string A1 is sequentially compared with the four-bit binary numbers corresponding to the numbers 0 to 7 and their reversed numbers for consistency. If the reference string A1 is identical to any one of the four-bit binary numbers corresponding to the numbers 0 to 7, the reference string A1 itself is used as the object string of the reference string A1, and 0 is used as the check string of the reference string A1 and mapped to the reference string A1;
[0039] Otherwise, a four-bit binary number corresponding to the reverse base number that is consistent with the reference string A1 is obtained and used as the object string of the reference string A1. At this time, 1 is used as the check string of the reference string A1 and mapped to the reference string A1;
[0040] S152: Obtain the object string and the verification string of the comparison string A2, A3, ..., Aa in sequence according to S151;
[0041] S16: from left to right, the first two strings of the object strings of the reference strings A1, A2, ..., Aa are sequentially intercepted as the reduction mapping objects corresponding to the reference strings, and are marked as B1, B2, ..., Ba in sequence;
[0042] S17: Obtain the shortened characters of the reference strings A1, A2, ..., Aa in sequence according to a preset second acquisition rule. The second acquisition rule is as follows:
[0043] S171: Compare the reduced mapping object B1 of the reference string A1 with the two-digit binary numbers 00 and 01 respectively for consistency. If the reduced mapping object B1 of the reference string A1 is the same as the two-digit binary number 00, the number 0 is used as the reduced character of the reference string A1. If the reduced mapping object B1 of the reference string A1 is the same as the two-digit binary number 01, the number 1 is used as the reduced character of the reference string A1.
[0044] S172: Obtain shortened characters of the reference strings A2, A3, ..., Aa in sequence according to S171;
[0045] S18: Obtain the reduced objects of the reference strings A1, A2, A3, ..., Aa in sequence according to the third acquisition rule. The third acquisition rule is as follows:
[0046] S181: extracting the first two strings of the target string of the reference string A1 from right to left as the continuation string of the reference string A1;
[0047] S182: according to the order of the reduced characters and the continued character string of the reference character string A1, the reduced characters of the reference character string A1 and the continued character string are concatenated to obtain the reduced object of the reference character string A1;
[0048] S183: Calculate and obtain the reduced objects of the reference strings A2, A3, ..., Aa in sequence according to S181 to S182;
[0049] S19: in the order of the reference strings A1, A2, ..., Aa, the reduced objects of the reference strings A1, A2, A3, ..., Aa are concatenated to obtain the rainfall and flood monitoring data at the current moment;
[0050] S110: in the order of reference strings A1, A2, ..., Aa, the verification strings of reference strings A1, A2, ..., Aa are concatenated to obtain the rainfall and flood verification data at the current moment;
[0051] The rain and flood data processing terminal transmits the rain and flood monitoring data and rain and flood verification data at the current moment to the cloud analysis terminal;
[0052] A cloud analysis terminal is used to receive, verify and analyze rain and flood resource monitoring data in real time in the cloud. The cloud analysis terminal includes a receiving and verifying unit and a resource analysis unit;
[0053] The cloud analysis terminal receives the transmitted rainfall and flood monitoring data and rainfall and flood verification data at the current moment and transmits them to the receiving and verification unit;
[0054] After receiving the transmitted rain and flood monitoring data and rain and flood verification data at the current moment, the receiving and verification unit performs integrity verification on the rain and flood monitoring data at the current moment according to the rain and flood verification data in combination with the four-bit binary number corresponding to 0 to 7, and obtains the rain and flood resource monitoring data at the current moment after the verification passes, and transmits it to the resource analysis unit for storage, so as to analyze the rain and flood resources later;
[0055] In the description of the specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0056] The above contents are merely examples and explanations of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the invention or exceed the scope defined by the claims, they shall all fall within the protection scope of the present invention.
[0057] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. A three-dimensional monitoring method for rainwater resources, characterized in that: The following steps are involved: Step 1: After receiving the transmitted rain and flood resource monitoring data at the current moment, the rain and flood data processing terminal performs binary conversion on the data to obtain the rain and flood monitoring data at the current moment; Step 2: Divide every four characters into a group of reference strings, divide the rainwater and flood binary data at the current moment into several groups of reference strings, and then compare the four-bit binary numbers corresponding to the numbers 0 to 7 and their reverse binary numbers for each group of reference strings, and obtain the object string and the verification string of each group of reference strings; Step 3: For each group of reference strings, the first two strings of the reference string are sequentially cut out from left to right, and the number 0 or 1 is selected as the shortened character of the corresponding reference string according to the contents of the first two strings; Step 4: Obtain the current rainfall and flood monitoring data and rainfall and flood verification data according to the reduced characters of the comparison string and its target string in all the divided groups.
2. The three-dimensional monitoring method of rainwater resources according to claim 1 is characterized in that: Before completing step 1, you need to do the following: The local collection terminal collects the monitoring data of several rainwater parameters in real time to obtain real-time rainwater resource monitoring data, and transmits it to the rainwater data processing terminal. The rainwater parameters include rainfall, river water level and flow, pollutant content in urban rainwater runoff, water temperature and air temperature.
3. The three-dimensional monitoring method of rainwater resources according to claim 1 is characterized in that: After completing step 4, you need to perform the following steps: The cloud analysis terminal receives the transmitted rainfall and flood monitoring data and rainfall and flood verification data at the current moment and transmits them to the receiving and verification unit; After receiving the transmitted rainfall and flood monitoring data and rainfall and flood verification data at the current moment, the receiving and verification unit combines the four-bit binary numbers corresponding to 0 to 7, and performs integrity verification on the rainfall and flood monitoring data at the current moment according to the rainfall and flood verification data. After the verification passes, the rainfall and flood resource monitoring data at the current moment is obtained, and it is transmitted to the resource analysis unit for storage for later analysis of rainfall and flood resources.
4. The three-dimensional monitoring method of rainwater resources according to claim 1 is characterized in that: In step 2, the steps of obtaining the object string and the verification string of each set of comparison strings are as follows: S11: converting the rain and flood resource monitoring data at the current moment into binary, and recalibrating the converted data into the rain and flood monitoring data at the current moment; S12: According to the four-bit binary numbers corresponding to the numbers 0 to 7, the eight four-bit binary numbers are respectively bit-wise inverted to obtain corresponding reverse numbers; S13: Divide all characters constituting the rain and flood monitoring data at the current moment into a group of reference strings in order from left to right, with every four characters, to obtain a plurality of groups of reference strings. During the division process, if the number of remaining characters is less than 4, the remaining characters are used as a group of constant strings at the current moment. S14: marking the groups of control strings divided by the rain and flood monitoring data at the current moment as A1, A2, ..., Aa in sequence according to the order of division, where a≥1; S15: Obtain the object strings and the verification strings of the comparison strings A1, A2, ..., Aa in sequence according to the preset first acquisition rule. The first acquisition rule is as follows: S151: the reference string A1 is sequentially compared with the four-bit binary numbers corresponding to the numbers 0 to 7 and their reversed numbers for consistency. If the reference string A1 is identical to any one of the four-bit binary numbers corresponding to the numbers 0 to 7, the reference string A1 itself is used as the object string of the reference string A1, and 0 is used as the check string of the reference string A1 and mapped to the reference string A1; Otherwise, a four-bit binary number corresponding to the reverse base number that is consistent with the reference string A1 is obtained and used as the object string of the reference string A1. At this time, 1 is used as the check string of the reference string A1 and mapped to the reference string A1; S152: According to S151, the object strings and verification strings of the comparison strings A2, A3, ..., Aa are obtained in sequence.
5. The three-dimensional monitoring method of rainwater resources according to claim 4 is characterized in that: In step 3, the steps of obtaining the reduced characters of each set of reference strings are as follows: S16: from left to right, the first two strings of the object strings of the reference strings A1, A2, ..., Aa are sequentially intercepted as the reduction mapping objects corresponding to the reference strings, and are marked as B1, B2, ..., Ba in sequence; S17: Obtain the shortened characters of the reference strings A1, A2, ..., Aa in sequence according to a preset second acquisition rule. The second acquisition rule is as follows: S171: Compare the reduced mapping object B1 of the reference string A1 with the two-digit binary numbers 00 and 01 respectively for consistency. If the reduced mapping object B1 of the reference string A1 is the same as the two-digit binary number 00, the number 0 is used as the reduced character of the reference string A1. If the reduced mapping object B1 of the reference string A1 is the same as the two-digit binary number 01, the number 1 is used as the reduced character of the reference string A1. S172: According to S171, the shortened characters of the comparison string A2, A3, ..., Aa are obtained in sequence.
6. The three-dimensional monitoring method of rainwater resources according to claim 5 is characterized in that: Step 4: The steps to obtain the current rainfall and flood monitoring data and rainfall and flood verification data are as follows: S18: Obtain the reduced objects of the reference strings A1, A2, A3, ..., Aa in sequence according to the third acquisition rule. The third acquisition rule is as follows: S181: extracting the first two strings of the target string of the reference string A1 from right to left as the continuation string of the reference string A1; S182: according to the order of the reduced characters and the continued character string of the reference character string A1, the reduced characters of the reference character string A1 and the continued character string are concatenated to obtain the reduced object of the reference character string A1; S183: Calculate and obtain the reduced objects of the reference strings A2, A3, ..., Aa in sequence according to S181 to S182; S19: in the order of the reference strings A1, A2, ..., Aa, the reduced objects of the reference strings A1, A2, A3, ..., Aa are concatenated to obtain the rainfall and flood monitoring data at the current moment; S110: In the order of the reference strings A1, A2, ..., Aa, the verification strings of the reference strings A1, A2, ..., Aa are concatenated to obtain the rainfall verification data at the current moment.
7. The three-dimensional monitoring system of rainwater resources is characterized by: include: Local data collection terminal, used to collect monitoring data of several rainfall and flood parameters; The rainwater and flood data processing terminal is used to process the real-time rainwater and flood resource monitoring data to obtain the corresponding real-time rainwater and flood monitoring data and rainwater and flood verification data; Cloud analysis terminal is used to receive, verify and analyze rain and flood resource monitoring data in the cloud.
