Water transparency measuring system, method and equipment, medium and program product

By combining a light sensor and a water depth sensor with a water transparency calculation model, the problems of subjectivity and rope tilt in water transparency measurement were solved, and accurate measurement of water transparency was achieved.

CN120992561AActive Publication Date: 2025-11-21SHANGHAI WANJIANG ENVIRONMENTAL TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202511510692.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-22
Publication Date
2025-11-21
Estimated Expiration
2045-10-22

AI Technical Summary

Technical Problem

Existing methods for measuring water transparency rely on the visual judgment of the measurement personnel, resulting in a lack of objectivity and consistency in the results. Furthermore, the tilting of the suspension rope at high water flow velocities can lead to measurement errors.

Method used

Water body data is collected using light and water depth sensors, and combined with a pre-trained water transparency calculation model, the water transparency is calculated based on light intensity and water depth data, reducing human interference and correcting for the influence of water flow.

Benefits of technology

It achieves objectivity and consistency in water transparency measurement, and can accurately measure even when the water flow velocity is high, avoiding errors caused by the tilt of the suspension rope.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120992561A_ABST
    Figure CN120992561A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a water transparency measuring system, method and device, a medium and a program product, and relates to the technical field of water quality detection, and the system comprises a measuring device and an electronic device; the measuring equipment acquires a water body data sequence comprising multiple groups of water body data in the process of sinking into the water body to be measured from the water surface, and each group of water body data comprises illumination intensity data and water depth data acquired at the same moment; the electronic equipment inputs the water body data sequence into a water body transparency calculation model to obtain water body transparency output by the water body transparency calculation model based on the water body data sequence. In the system, the transparency of the water body is calculated through the water body transparency calculation model depending on the illumination intensity data and the water depth data obtained through objective measurement, and subjective visual observation of measurement personnel is not needed, so that the objectivity and the consistency of the measurement process are ensured, and an accurate water body transparency measurement result is obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of water quality testing technology, and in particular to a water transparency measurement system, method, equipment, medium, and procedure. Background Technology

[0002] The current method for measuring water transparency is the Sieve disc method. A Sieve disc is a round iron disc painted in alternating black and white stripes. During measurement, a rope is threaded through the center hole of the Sieve disc, and the disc is gradually submerged from the water surface until the black and white dividing line on the disc is no longer visible. The length of the rope below the water surface at this point is the water transparency.

[0003] However, the above measurement methods rely on the visual judgment of the measurement personnel. The differences in vision among different measurement personnel, the observation angle of the measurement personnel, and the shaking of the Sievet disk caused by the impact of water flow can all affect the visual judgment of the measurement personnel. This leads to a lack of objectivity and consistency in the measurement results, and it is impossible to obtain accurate measurement results. Summary of the Invention

[0004] The purpose of this application is to provide a water transparency measurement system, method, device, medium, and procedure to obtain accurate water transparency measurement results. The specific technical solution is as follows:

[0005] In a first aspect, embodiments of this application provide a water transparency measurement system, the system comprising: a measuring device and an electronic device, the measuring device including a light sensor and a water depth sensor;

[0006] The measuring device collects a first water body data sequence during the process of sinking from the water surface into the water body to be measured. The first water body data sequence includes multiple sets of water body data, and each set of water body data includes light intensity data and water depth data collected at the same time.

[0007] The electronic device acquires the first water body data sequence, inputs the first water body data sequence into a pre-trained water body transparency calculation model, acquires the first water body transparency output by the water body transparency calculation model based on the first water body data sequence, and determines the target water body transparency of the water body to be tested based on the first water body transparency.

[0008] The water transparency calculation model is trained based on the water transparency of the sample water body and the sample water body data sequence collected by the measuring device.

[0009] Optional,

[0010] The measuring device collects a second water body data sequence during the process of returning from the water body to the water surface. The second water body data sequence includes multiple sets of water body data, and each set of water body data includes light intensity data and water depth data collected at the same time.

[0011] The electronic device acquires the second water body data sequence, inputs the second water body data sequence into a pre-trained water body transparency calculation model, and obtains the second water body transparency output by the water body transparency calculation model based on the second water body data sequence.

[0012] The electronic device is specifically used to determine the target water body transparency of the water body to be tested based on the transparency of the first water body and the transparency of the second water body.

[0013] Optionally, the water transparency calculation model can be trained in the following manner:

[0014] The measurement device acquires a sequence of sample water data during the process of sinking into the sample water body from the water surface and / or returning to the water surface from the sample water body. The sample water data sequence includes multiple sets of water data, each set of water data including light intensity data and water depth data acquired at the same time.

[0015] Obtain the water transparency of the sample water body;

[0016] The sample water body data sequence is input into the model to be trained, and the predicted water transparency output by the model to be trained is obtained based on the change of light intensity with water depth reflected by the sample water body data sequence.

[0017] Based on the difference between the sample water transparency and the predicted water transparency, the model parameters of the model to be trained are adjusted, and the step of inputting the sample water data sequence into the model to be trained is returned until the model to be trained converges. The model to be trained at this time is then used as the water transparency calculation model.

[0018] Optionally, the water transparency calculation model can be trained in the following manner:

[0019] The measurement device acquires a sequence of sample water data during the process of sinking into the sample water body from the water surface and / or returning to the water surface from the sample water body. The sample water data sequence includes multiple sets of water data, each set of water data including light intensity data and water depth data acquired at the same time.

[0020] The actual water depth value corresponding to the preset light intensity data collected by the measuring device is used as the water transparency of the sample water body.

[0021] The sample water body data sequence is input into the model to be trained, so that the model to be trained can predict the target correspondence between water depth data and water depth value based on the sample water body data sequence, and determine the water depth value corresponding to the target water depth data according to the target correspondence, as the predicted water body transparency of the sample water body, wherein the target water depth data is the water depth data corresponding to the preset light intensity data in the sample water body data sequence.

[0022] Based on the difference between the sample water transparency and the predicted water transparency, the model parameters of the model to be trained are adjusted, and the step of inputting the sample water data sequence into the model to be trained is returned until the model to be trained converges. The model to be trained at this time is then used as the water transparency calculation model.

[0023] Optional,

[0024] The electronic device acquires the measurement location of the water body to be measured, records the correspondence between the transparency of the target water body and the measurement location, and displays the transparency of the target water body at the measurement location on the map.

[0025] Optionally, the measuring device includes: a motherboard, a battery for powering the motherboard, and a housing for encapsulating the motherboard and the battery;

[0026] The motherboard integrates a light sensor, a water depth sensor, and a communication module. The pressure-sensitive diaphragm of the water depth sensor is located on the outside of the encapsulation shell, the electronic components of the water depth sensor are located on the inside of the encapsulation shell, and the light sensor is located on the inside of the transparent upper surface of the encapsulation shell. The electronic device acquires water body data sequences through the communication module.

[0027] The outer casing is provided with lifting holes for installing lifting ropes.

[0028] Optionally, the motherboard may also integrate at least one of a temperature sensor, a pH sensor, a dissolved oxygen sensor, a conductivity sensor, and a chlorophyll sensor.

[0029] Secondly, embodiments of this application provide a method for measuring water transparency, the method comprising:

[0030] Acquire a first water body data sequence, wherein the first water body data sequence is collected by the measuring device during the process of sinking from the water surface into the water body to be measured, and the first water body data sequence includes multiple sets of water body data, each set of water body data including light intensity data and water depth data collected at the same time;

[0031] The first water body data sequence is input into a pre-trained water body transparency calculation model to obtain the first water body transparency output by the water body transparency calculation model based on the first water body data sequence. The water body transparency calculation model is trained based on the sample water body transparency of the sample water body and the sample water body data sequence of the sample water body collected by the measuring device.

[0032] Based on the transparency of the first water body, the transparency of the target water body to be tested is determined.

[0033] Optionally, the method further includes:

[0034] Acquire a second water body data sequence, wherein the second water body data sequence is collected by the measuring device during the process of returning from the water body to the water surface, and the second water body data sequence includes multiple sets of water body data, each set of water body data including light intensity data and water depth data collected at the same time;

[0035] The second water body data sequence is input into a pre-trained water body transparency calculation model to obtain the second water body transparency output by the water body transparency calculation model based on the second water body data sequence.

[0036] Determining the target water body transparency based on the transparency of the first water body includes:

[0037] The target water body transparency is determined based on the transparency of the first water body and the transparency of the second water body.

[0038] Optionally, the water transparency calculation model can be trained in the following manner:

[0039] The measurement device acquires a sequence of sample water data during the process of sinking into the sample water body from the water surface and / or returning to the water surface from the sample water body. The sample water data sequence includes multiple sets of water data, each set of water data including light intensity data and water depth data acquired at the same time.

[0040] Obtain the water transparency of the sample water body;

[0041] The sample water body data sequence is input into the model to be trained, and the predicted water transparency output by the model to be trained is obtained based on the change of light intensity with water depth reflected by the sample water body data sequence.

[0042] Based on the difference between the sample water transparency and the predicted water transparency, the model parameters of the model to be trained are adjusted, and the step of inputting the sample water data sequence into the model to be trained is returned until the model to be trained converges. The model to be trained at this time is then used as the water transparency calculation model.

[0043] Optionally, the water transparency calculation model can be trained in the following manner:

[0044] The measurement device acquires a sequence of sample water data during the process of sinking into the sample water body from the water surface and / or returning to the water surface from the sample water body. The sample water data sequence includes multiple sets of water data, each set of water data including light intensity data and water depth data acquired at the same time.

[0045] The actual water depth value corresponding to the preset light intensity data collected by the measuring device is used as the water transparency of the sample water body.

[0046] The sample water body data sequence is input into the model to be trained, so that the model to be trained can predict the target correspondence between water depth data and water depth value based on the sample water body data sequence, and determine the water depth value corresponding to the target water depth data according to the target correspondence, as the predicted water body transparency of the sample water body, wherein the target water depth data is the water depth data corresponding to the preset light intensity data in the sample water body data sequence.

[0047] Based on the difference between the sample water transparency and the predicted water transparency, the model parameters of the model to be trained are adjusted, and the step of inputting the sample water data sequence into the model to be trained is returned until the model to be trained converges. The model to be trained at this time is then used as the water transparency calculation model.

[0048] Optionally, after determining the target water body transparency of the water body to be tested based on the transparency of the first water body, the method further includes:

[0049] Obtain the measurement location of the water body to be tested;

[0050] Record the correspondence between the transparency of the target water body and the measurement location;

[0051] The transparency of the target water body is displayed at the measurement location on the map.

[0052] Thirdly, this application provides a measuring device, which includes: a motherboard, a battery for powering the motherboard, and a housing for encapsulating the motherboard and the battery; the motherboard integrates a light sensor, a water depth sensor, and a communication module.

[0053] The pressure-sensing diaphragm of the depth sensor is located on the outside of the encapsulation shell, and the electronic components of the depth sensor are located on the inside of the encapsulation shell.

[0054] The light sensor is located inside the transparent upper surface of the package housing;

[0055] The communication module is used to support data transmission between the measuring device and other devices.

[0056] Fourthly, embodiments of this application provide an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;

[0057] Memory, used to store computer programs;

[0058] When a processor executes a program stored in memory, it implements any of the methods described in the second aspect above.

[0059] Fifthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements any of the methods described in the second aspect above.

[0060] Sixthly, embodiments of this application provide a computer program product that, when run on a computer, causes the computer to perform any of the methods described in the second aspect above.

[0061] Beneficial effects of the embodiments in this application:

[0062] The water transparency measurement system provided in this application includes: a measuring device and an electronic device. The measuring device includes a light sensor and a water depth sensor. The measuring device collects a first water body data sequence during the process of sinking from the water surface into the water body to be measured. The first water body data sequence includes multiple sets of water body data, each set of water body data including light intensity data and water depth data collected at the same time. The electronic device acquires the first water body data sequence, inputs the first water body data sequence into a pre-trained water transparency calculation model, and obtains the first water body transparency output by the water transparency calculation model based on the first water body data sequence. The water transparency calculation model is trained based on the sample water body transparency of a sample water body and the sample water body data sequence collected by the measuring device.

[0063] In the above system, the measurement of water transparency relies on the light intensity data and water depth data obtained objectively by sensors, rather than the subjective visual judgment of the measurement personnel. This ensures the objectivity and consistency of the measurement process. Furthermore, after inputting the above data into the pre-trained water transparency calculation model, the water transparency calculation model can accurately calculate the water transparency based on the pre-learned relationship between the water data sequence and the water transparency, thereby obtaining accurate water transparency measurement results.

[0064] Furthermore, in water bodies with high flow velocities, the rope used to submerge the Seidon disc may tilt, causing the length of the rope below the water surface to exceed the actual water depth of the Seidon disc. This results in an overestimation of the water transparency measured by the Seidon disc. However, the water depth data in this application is obtained based on a water depth sensor. Even if the high flow velocity causes the rope used to submerge the measuring device to tilt, it will not affect the measurement of water depth data, nor will it affect the measurement of light intensity data. Therefore, the water transparency measurement system provided in this application can still achieve accurate measurement of water transparency in water bodies with high flow velocities.

[0065] Of course, implementing any product or method of this application does not necessarily require achieving all of the advantages described above at the same time. Attached Figure Description

[0066] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other embodiments can be obtained based on these drawings.

[0067] Figure 1 A schematic diagram of a water transparency measurement system provided in an embodiment of this application;

[0068] Figure 2 Based on Figure 1 A flowchart illustrating a model training method in the embodiment shown;

[0069] Figure 3 Based on Figure 1 A flowchart illustrating another model training method in the illustrated embodiment;

[0070] Figure 4 Based on Figure 1 A schematic diagram of a transparency display method in the illustrated embodiment;

[0071] Figure 5 A schematic diagram of the structure of a measuring device provided in an embodiment of this application;

[0072] Figure 6 A schematic flowchart of a water transparency measurement method provided in an embodiment of this application;

[0073] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0074] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art based on this application are within the scope of protection of this application.

[0075] To obtain accurate water transparency measurement results, this application provides a water transparency measurement system, method, electronic device, measuring device, computer-readable medium, and computer program product. The water transparency measurement system provided in this application is described below.

[0076] like Figure 1 As shown, a water transparency measurement system includes: a measuring device 101 and an electronic device 102. The measuring device 101 includes a light sensor and a water depth sensor.

[0077] The measuring device 101 collects the first water body data sequence during the process of sinking from the water surface into the water body to be measured.

[0078] The first water body data sequence includes multiple sets of water body data, each set of water body data including light intensity data and water depth data collected at the same time.

[0079] Electronic device 102 acquires a first water body data sequence, inputs the first water body data sequence into a pre-trained water body transparency calculation model, acquires the first water body transparency output by the water body transparency calculation model based on the first water body data sequence, and determines the target water body transparency of the water body to be measured based on the first water body transparency.

[0080] The water transparency calculation model is trained based on the water transparency of the sample water body and the data sequence of the sample water body collected by the measuring equipment.

[0081] In the water transparency measurement system provided in this application, the measurement of water transparency relies on objectively measured light intensity data and water depth data obtained by sensors, rather than the subjective visual judgment of the measurement personnel. This ensures the objectivity and consistency of the measurement process. Furthermore, after inputting the above data into a pre-trained water transparency calculation model, the model can accurately calculate the water transparency based on the pre-learned relationship between water data sequences and water transparency, thus obtaining accurate water transparency measurement results. In addition, in water bodies with high flow velocities, the rope used to submerge the Seidon disc may tilt, resulting in a length of the rope below the water surface that is greater than the actual water depth of the Seidon disc, leading to an overestimation of the water transparency measured by the Seidon disc. However, the water depth data in this application is obtained based on a water depth sensor. Even if the high water flow velocity causes the rope used to submerge the measuring device to tilt, it will not affect the measurement of water depth data, nor will it affect the measurement of light intensity data. Therefore, the water transparency measurement system provided in this application can still achieve accurate measurement of water transparency in water bodies with high flow velocities.

[0082] The measuring device may include a light sensor and a water depth sensor. When it is necessary to measure the water transparency of the water body to be measured, the light sensor and water depth sensor in the measuring device can be turned on, and then the measuring device can be slowly submerged from the water surface into the water body to be measured through manual control or equipment control.

[0083] For example, surveyors can manually release the rope attached to the measuring equipment to slowly lower the measuring equipment from the water surface into the water body to be measured; or, the rope attached to the measuring equipment can be connected to a winch installed on equipment that can float on the water surface, so that the rope can be automatically released by the winch to slowly lower the measuring equipment into the water body to be measured.

[0084] During the process of the measuring device sinking from the water surface into the water body to be measured, the light sensor and water depth sensor in the measuring device can continuously and synchronously collect data, thereby obtaining the light intensity data and water depth data before entering the water, as well as the light intensity data and water depth data at different depths of the water body to be measured after entering the water, that is, obtaining each set of water body data (each set of water body data includes the light intensity data and water depth data collected at the same time), and then the data sequence composed of each set of water body data is the first water body data sequence of the water body to be measured.

[0085] After the measuring device collects data, the electronic device can establish a communication connection with the measuring device through a wired or wireless connection. Then, the electronic device can obtain the first water body data sequence collected by the measuring device during the process of sinking from the water surface into the water body to be measured through the communication connection between the electronic device and the measuring device. The electronic device can then input the first water body data sequence into the pre-trained water transparency calculation model.

[0086] It should be noted that if the measuring device stops sinking to a shallow depth during the immersion process, the amount of water data collected will be insufficient. In this case, the resulting data sequence cannot accurately determine the water transparency. Therefore, the measuring device should be slowly retrieved from the water body once the immersion depth meets the requirement of accurately determining water transparency.

[0087] The requirement that the submersion depth of the measuring equipment can meet the requirement of "accurately determining the transparency of the water body" can be achieved in the following ways, but not limited to: the measuring personnel cannot observe the indicator lights on the measuring equipment, or the submersion depth of the measuring equipment reaches the preset depth, or the length of the suspension rope is set to the preset length, and then the suspension rope is fully released when the measuring equipment is submerged into the water body to be measured.

[0088] Here is a brief explanation of the principle behind the water transparency calculation model, which calculates water transparency based on water body data sequences:

[0089] When light enters a body of water, it is absorbed and scattered by water molecules, plankton, suspended particles, etc. as the depth increases. Therefore, the light intensity decreases with increasing water depth, and the more turbid the water (i.e., the lower the water transparency), the faster the light intensity decreases.

[0090] Based on this, a water transparency calculation model can be pre-trained using "sample water body data sequence collected by measurement equipment" and "sample water body transparency". Thus, the water transparency calculation model can learn the relationship between "water body data sequence" and "water body transparency".

[0091] In the actual measurement process, after the electronic device inputs the first water body data sequence into the pre-trained water body transparency calculation model, the water body transparency calculation model can predict the water body transparency corresponding to the "first water body data sequence", i.e., the first water body transparency, based on the pre-learned relationship between the "water body data sequence" and the "water body transparency".

[0092] After obtaining the transparency of the first water body, the electronic device can directly use it as the transparency of the target water body to be measured; or it can calculate the transparency of the target water body based on the transparency of the first water body and other indicators; or it can calculate a correction coefficient based on the environmental information at the time of measurement (light intensity on the water surface, wind force level, etc.), and then use the product of the correction coefficient and the transparency of the first water body as the transparency of the target water body. No specific limitation is made here.

[0093] In the solution provided in this application, on the one hand, the measurement of water transparency relies on light intensity data and water depth data objectively measured by sensors, rather than the subjective visual judgment of the measuring personnel, thus ensuring the objectivity and consistency of the measurement process. Furthermore, after inputting the above data into a pre-trained water transparency calculation model, the water transparency calculation model can accurately calculate the water transparency based on the pre-learned relationship between water data sequences and water transparency, thereby obtaining accurate water transparency measurement results. On the other hand, in water bodies with high flow velocities, the rope used to submerge the Seidon disc may tilt, resulting in the length of the rope below the water surface being greater than the actual water depth of the Seidon disc, thus leading to an overestimation of the water transparency measured by the Seidon disc. However, the water depth data in this application is based on measurements by a water depth sensor. Even if the high water flow velocity causes the rope used to submerge the measuring device to tilt, it will not affect the measurement of water depth data, nor will it affect the measurement of light intensity data. Therefore, the water transparency measurement system provided in this application can still achieve accurate measurement of water transparency in water bodies with high flow velocities.

[0094] As one embodiment of this application, the water transparency measurement system can calculate water transparency by comprehensively collecting data from the measuring device during the sinking and rising phases. Specifically:

[0095] During the process of the measuring equipment being retrieved from the water body to the surface, the light sensor and water depth sensor in the measuring equipment can continuously and synchronously collect data, thereby obtaining light intensity data and water depth data at different depths of the water body to be measured, that is, obtaining each set of water body data (each set of water body data includes light intensity data and water depth data collected at the same time), and then the data sequence composed of each set of water body data is the second water body data sequence of the water body to be measured.

[0096] Similarly, after the measuring device collects data, the electronic device can also obtain the second water body data sequence through its communication connection with the measuring device, and input the second water body data sequence into the pre-trained water body transparency calculation model, thereby obtaining the second water body transparency output by the water body transparency calculation model based on the second water body data sequence.

[0097] Since the first and second water body data are collected from the same water body at the same location, theoretically the two data reflect essentially the same water transparency. Based on this, after obtaining the transparency of the first and second water bodies, the electronic device can determine the target water body transparency based on a comprehensive analysis of the two data.

[0098] For example, the average of the two can be used as the target water body transparency, or the two data can be weighted and averaged because the reliability of the data collected during the sinking and rising processes is different, and the weighted average can be used as the target water body transparency.

[0099] In one embodiment, before determining the transparency of the target water body based on the transparency of the first water body and the transparency of the second water body, the electronic device can first determine whether the difference between the transparency of the first water body and the transparency of the second water body is greater than a preset threshold. If it is greater, it indicates that there is a large difference between the data collected by the measuring device during the rising and sinking phases. Based on this, the electronic device can output a prompt message to indicate that the data acquisition of the measuring device is incorrect.

[0100] For example, the data during the sinking phase is normal, but the data during the rising phase shows abnormally low light intensity due to suspended objects above the measuring device at a certain depth. Therefore, there will be a large difference between the transparency of the first water body calculated based on the data during the sinking phase (i.e., the first water body data sequence) and the transparency of the second water body calculated based on the data during the rising phase (i.e., the second water body data sequence). At this time, the electronic device outputs a prompt message to indicate that the data acquisition of the measuring device has failed.

[0101] It should be noted that during the process of submerging the measuring device from the water surface into the body of water to be measured, and during the process of retrieving the measuring device from the body of water to the surface, the measuring device may not distinguish between the water data of the submersion phase and the water data of the ascent phase when storing the collected water data. Instead, it may store both as a whole water data sequence. Based on this, after acquiring this whole water data sequence, the electronic device can distinguish between the water data of the submersion phase and the water data of the ascent phase by observing the trend of water depth changes (i.e., dividing it into the first water data sequence and the second water data sequence). That is, the water data sequence in which the water depth data shows a continuous downward trend is the first water data sequence, and the water data sequence in which the water depth data shows a continuous upward trend is the second water data sequence.

[0102] In the solution provided in this application embodiment, the water transparency measurement system can calculate the water transparency of the water body to be measured by comprehensively measuring the data collected by the measuring device during the sinking and rising phases. In this way, the reliability of the data collected by the measuring device can be verified by the consistency characteristics of the water data during the rising and sinking phases, thereby avoiding the calculation of inaccurate water transparency based on water data with large errors.

[0103] The following will combine Figure 2 and Figure 3 This application provides two methods for training water transparency calculation models.

[0104] As one implementation method of this application, it can be carried out according to Figure 2 The water transparency calculation model is trained as shown:

[0105] S201, Acquire the sequence of sample water data collected by the measuring device during the process of sinking into the sample water body from the water surface and / or returning to the water surface from the sample water body.

[0106] S202, obtain the transparency of the sample water body.

[0107] When training the model, multiple sample water bodies can be selected. Then, for each sample water body, the sample water body data sequence is obtained using the measurement device described in this embodiment, and the sample water body transparency is obtained using methods such as Cyclops disc measurement. The method of obtaining the sample water body data sequence is similar to the method of obtaining the first water body data sequence and / or the second water body data sequence, and will not be described again here.

[0108] It should be noted that when obtaining the sample water body data sequence, you can obtain only the data collected by the measuring device during the process of sinking into the sample water body from the water surface, or only the data collected by the measuring device during the process of returning to the water surface from the sample water body, or you can obtain the data collected by the measuring device during both the process of sinking into the sample water body from the water surface and the process of returning to the water surface from the sample water body.

[0109] S203, Input the sample water body data sequence into the model to be trained, and obtain the predicted water transparency output by the model to be trained based on the change of light intensity with water depth reflected by the sample water body data sequence.

[0110] After obtaining the sample water body data sequence, it can be input into the model to be trained. The model can then predict the transparency of the sample water body based on the change of light intensity with water depth reflected in the sample water body data sequence.

[0111] S204, determine whether the model to be trained has converged; if the result is no, proceed to step S205; if the result is yes, proceed to step S206.

[0112] After obtaining the predicted water transparency output by the model to be trained, the electronic device can substitute the sample water transparency and the predicted water transparency into a pre-built loss function, and then determine whether the model to be trained has converged based on the loss function. For example, if the loss value obtained after substituting the sample water transparency and the predicted water transparency into the pre-built loss function is less than the preset loss value, then it is determined that the model to be trained has converged.

[0113] S205, adjust the model parameters of the model to be trained based on the difference between the sample water transparency and the predicted water transparency.

[0114] If the judgment result of step S204 is negative, that is, the model to be trained has not converged, the model parameters of the model to be trained can be adjusted based on the difference between the sample water transparency and the predicted water transparency, using methods such as stochastic gradient descent, momentum method, and Adam (Adaptive Moment Estimation), and then return to step S203 to repeat the training steps.

[0115] S206, the model to be trained at this time is used as the water transparency calculation model.

[0116] If the judgment result of step S204 is yes, that is, the model to be trained has converged, then the model to be trained at this time can be used as the water transparency calculation model, that is, the water transparency calculation model is trained.

[0117] The solution provided in this application can train a water transparency calculation model based on the water body data sequence and water transparency of each sample water body. This allows the model to learn the correspondence between "the change in light intensity with water depth reflected in the water body data sequence" and "water transparency." In subsequent actual measurements, after the electronic device inputs the water body data sequence of the water body to be measured into the water transparency calculation model, the model can automatically calculate the water transparency of the water body based on the pre-learned correspondence, thus achieving objective and accurate calculation of water transparency and obtaining accurate water transparency measurement results. Furthermore, it can automatically adapt to water transparency measurements of different water bodies without requiring manual parameter adjustment.

[0118] As one implementation method of this application, it can be carried out according to Figure 3 The water transparency calculation model is trained as shown:

[0119] S301, Acquire the sequence of sample water data collected by the measuring device during the process of sinking into the sample water body from the water surface and / or returning to the water surface from the sample water body.

[0120] S302, Obtain the actual water depth value corresponding to the target water depth data collected by the measuring equipment, and use it as the water transparency of the sample water body.

[0121] When training the model, multiple sample water bodies can be selected. Then, for each sample water body, the sample water body data sequence is obtained using the measuring device described in this embodiment. Furthermore, during the process of the measuring device submerging in the sample water body, the actual water depth value corresponding to each moment can be recorded using devices such as a laser depth sounder. The method for obtaining the sample water body data sequence is similar to the aforementioned method for obtaining the first water body data sequence and / or the second water body data sequence, and will not be repeated here.

[0122] It should be noted that when obtaining the sample water body data sequence, you can obtain only the data collected by the measuring device during the process of sinking into the sample water body from the water surface, or only the data collected by the measuring device during the process of returning to the water surface from the sample water body, or you can obtain the data collected by the measuring device during both the process of sinking into the sample water body from the water surface and the process of returning to the water surface from the sample water body.

[0123] Currently, the method for measuring water transparency involves threading a rope through the center hole of a Sieveoir disc and gradually lowering the disc into the water until the black-and-white boundary line on the disc is no longer visible. The length of the rope below the water surface at this point is considered the water transparency. From a data quantification perspective, this visual critical state, where the black-and-white boundary line on the Sieveoir disc is no longer visible, corresponds to a reduction in light intensity at the location of the disc to a certain low threshold, insufficient for the human eye to clearly distinguish the black-and-white boundary line. Therefore, this subjective visual critical state can be converted into a preset light intensity data point, thereby quantifying the measurement process.

[0124] Based on this, the actual water depth value corresponding to the preset light intensity data collected by the measuring equipment can be determined by using the actual water depth values ​​recorded by equipment such as laser depth sounders, and this value can be used as the water transparency of the sample water body.

[0125] S303, Input the sample water body data sequence into the model to be trained, so that the model to be trained can predict the target correspondence between water depth data and water depth value based on the sample water body data sequence, and determine the water depth value corresponding to the target water depth data according to the target correspondence, as the predicted water body transparency of the sample water body.

[0126] Although water depth values ​​can be obtained by directly converting water depth data in the sample water body data sequence, different water environments will affect the correspondence between water depth data and water depth values. This will result in a certain deviation between the "water depth value obtained by directly converting the water depth data corresponding to the preset light intensity data" and the "actual water depth value corresponding to the preset light intensity data collected by the measuring equipment".

[0127] For example, when the water depth sensor is a pressure sensor, the water depth data is pressure data. However, different water environments will cause the pressure data and water depth values ​​to not strictly follow the theoretical conversion of "1 bar ≈ 10.2 meters". Therefore, if the water depth data corresponding to the preset light intensity data is directly converted according to the above theoretical conversion, there will be a certain deviation between the converted water depth value and the actual water depth value.

[0128] Therefore, in this embodiment of the application, the model incorporates light intensity data as a key basis for correcting the correspondence between water depth data and water depth values ​​during training. Specifically:

[0129] After inputting the sample water body data sequence into the model to be trained, the model calculates the degree of light attenuation (light intensity at current depth / light intensity at water surface). This ratio directly reflects the light transmission characteristics of the water body (in turbid water, light attenuates rapidly with increasing depth; in clear water, the attenuation is relatively slow).

[0130] Based on this, the model to be trained no longer relies on a fixed correspondence between "water depth data and water depth value". Instead, it dynamically predicts the true correspondence between "water depth data and water depth value" (i.e., the target correspondence) under the current water environment by analyzing the light attenuation rate.

[0131] Finally, the model to be trained accurately converts the target water body data corresponding to the preset light intensity data in the sample water body data sequence into water depth values ​​based on the predicted target correspondence, and uses these values ​​as the predicted water body transparency of the sample water body.

[0132] S304, determine whether the model to be trained has converged; if the result is no, proceed to step S305; if the result is yes, proceed to step S306.

[0133] S305, adjust the model parameters of the model to be trained based on the difference between the sample water transparency and the predicted water transparency.

[0134] S306, the model to be trained at this time is used as the water transparency calculation model.

[0135] Steps S304-S306 are similar to steps S204-S206, and will not be described again here.

[0136] The solution provided in this application allows for the training of a water transparency calculation model based on water body data sequences and water transparency data for each sample water body. This enables the model to accurately predict the correspondence between water body data and water depth values ​​based on light intensity data. In subsequent measurements, after the electronic device inputs the water body data sequence into the water transparency calculation model, the model can utilize the learned "water depth data-water depth value" mapping relationship applicable to the current water environment to determine the water transparency. This achieves objective and accurate calculation of water transparency, resulting in accurate measurement results. Furthermore, the solution can automatically adapt to water transparency measurements in different water bodies without requiring manual parameter adjustments.

[0137] Furthermore, to ensure the accuracy of the trained model and the accuracy of the water transparency output during actual measurements based on the model, the following processing can be performed:

[0138] I. Process the water body data sequence using at least one of the following methods.

[0139] 1. Handling missing values.

[0140] If the light intensity / water depth data at a certain moment is missing in the water body data sequence, it is filled using the light intensity / water depth data from surrounding moments. For example, the average of the light intensity / water depth data from the five moments before and after that moment is used to fill in the missing light intensity / water depth data at that moment.

[0141] 2. Outlier filtering.

[0142] Based on common sense in physics: if the light intensity data is negative (sensor malfunction) or the water depth data exceeds the range of the water depth sensor, then the data should be discarded directly.

[0143] Based on statistical methods: use the "3σ principle" (data exceeding the mean ± 3 times the standard deviation is considered outlier) to filter out values ​​with excessive fluctuations.

[0144] 3. Data standardization.

[0145] The light intensity data (e.g., 0-10000 lux) and pressure values ​​(e.g., 0-30 bar) are normalized to the [0,1] range by the formula (x - min) / (max - min), thereby avoiding the influence of the difference in feature value range on model training (e.g., the pressure value "bar" is much smaller than the light value "lux", causing the model to focus on light features).

[0146] 4. Rate of change of water depth.

[0147] Calculate the difference between the current water depth data and the water depth data at the previous moment to determine the instantaneous fluctuation of water depth. If the instantaneous fluctuation of water depth is large, combine it with the instantaneous fluctuation of light intensity data to determine whether the instantaneous fluctuation of water depth is a true change in water depth or an abnormal change in water depth caused by equipment vibration. If it is an abnormal change in water depth, then filter out the instantaneous fluctuation of water depth.

[0148] For example, if the water depth data is pressure data collected by a pressure sensor, then the difference (ΔP) between the current pressure and the pressure at the previous moment can be calculated to determine the instantaneous pressure fluctuation. If ΔP is too large, it may be caused by factors such as equipment vibration. It is necessary to combine the instantaneous fluctuation of the light intensity data to determine whether ΔP is the actual water depth change. If not, then ΔP should be filtered out.

[0149] II. Model Iterative Optimization.

[0150] Collect sample water data sequences and water transparency data, and periodically retrain the model with new sample data. If the accuracy is found to decrease in a certain scenario (such as highly turbid water), supplement the model with sample data for that scenario to iteratively train the model, improve the model's generalization ability, and avoid the problem of the model "working well in clear water but having large errors in turbid water".

[0151] As one embodiment of this application, after determining the transparency of the water body, the electronic device can display the water transparency at the corresponding location. Specifically:

[0152] When measuring water transparency, it is usually necessary to measure multiple points to avoid errors from a single measurement. In order to directly present the water transparency of the water body to be measured to the user, the electronic device can determine the measurement location of the target water transparency after acquiring the transparency of each target water body, that is, after obtaining the target water transparency of the water body at each location. Then, it can record the correspondence between the target water transparency and the measurement location for subsequent data retrieval. At the same time, it can also display the target water transparency at the measurement location on the map.

[0153] For example, targeting Figure 4 The lake shown is assumed to have water body data sequences collected at locations A, B, and C using measuring equipment. The electronic device calculates the target water transparency as 5m based on the data sequence at location A, 5.5m based on the data sequence at location B, and 3m based on the data sequence at location C. Then, the electronic device can... Figure 4In the lake shown, the target water transparency is displayed at locations A, B, and C, respectively, yielding... Figure 4 The display effect shown.

[0154] In the solution provided in this application embodiment, after the electronic device calculates the transparency of the target water body, it can display the transparency of the target water body at the corresponding measurement location on the map. In this way, users can intuitively view the transparency of the water body at different locations through the display of the electronic device, so as to carry out water body monitoring, pollution source investigation, water body treatment and other work.

[0155] The specific structure of the measuring device in the embodiments of this application is described below, such as... Figure 5 As shown, the measuring device may include: a motherboard 501, a battery 502 for powering the motherboard, and a housing 503 for encapsulating the motherboard and the battery. The motherboard integrates a light sensor, a water depth sensor, and a communication module.

[0156] The pressure-sensing diaphragm of the depth sensor is located on the outside of the encapsulation shell and is in direct contact with the water body to be measured, so as to measure the pressure value at the current water depth of the measuring device. Then, based on the conversion relationship between pressure and water depth, the measured pressure value is converted into water depth data. The electronic components of the depth sensor are located on the inside of the encapsulation shell to prevent the water body to be measured from damaging the electronic components.

[0157] The entire light sensor is located inside the encapsulated housing to prevent the water body under test from damaging the light sensor. At the same time, the light sensor is located inside the transparent upper surface of the encapsulated housing so that the light sensor can measure the light intensity at the current water depth where the measuring device is located.

[0158] The communication module can support communication between the measuring device and the electronic device, thereby enabling the electronic device to acquire the water body data sequence collected by the measuring device.

[0159] The types and models of the aforementioned components, such as the encapsulation shell, water depth sensor, light intensity sensor, and communication module, can be selected according to the actual application scenario. This application embodiment does not impose specific limitations on this. For example, an acrylic sheet can be used as the encapsulation shell; an MS5837-30BA water depth sensor based on the pressure measurement principle with a range of 0-30 bar and a measurement accuracy of up to 0.2 cm can be used; a BH1750 high-precision light sensor with high precision and low power consumption, capable of accurately measuring changes in light intensity at different depths in water, can be used; and an HC-05 Bluetooth module can be used as the communication module, etc.

[0160] In one embodiment, the enclosure may also be provided with a lifting hole for mounting a sling, so as to lower the measuring device from the water surface into the water body to be measured based on the sling, and to retrieve the measuring device from the water body to the water surface.

[0161] In one embodiment, the measuring device may further include a switch and a power indicator light. The switch controls the turning on and off of the measuring device, and the power indicator light illuminates when the switch is turned on to indicate that the measuring device is powered on. Furthermore, the power indicator light may remain constantly lit when the measuring device is operating, and flash when the measuring device has insufficient power or malfunctions.

[0162] In one embodiment, in addition to integrating a light sensor and a water depth sensor, the motherboard may further integrate at least one of a temperature sensor, a pH sensor, a dissolved oxygen sensor, a conductivity sensor, and a chlorophyll sensor. This allows the measuring device to measure more water parameters of the water body under test, so that users can comprehensively evaluate the quality of the water body under test based on the water parameters measured by the measuring device.

[0163] In one embodiment, the battery of the measuring device can be a battery that supports wireless charging, so that the measuring device does not need to be disassembled to replace the battery. In addition, the measuring device can be in a completely sealed state to minimize water leakage due to poor sealing.

[0164] In the solution provided in this application, the measuring device employs a high-precision light sensor and a water depth sensor, enabling precise measurement of minute changes in light intensity and water depth. Based on this accurate light intensity and water depth data, the electronic equipment can calculate a more accurate water transparency, significantly improving the measurement accuracy compared to the traditional Saybolt disk method. Furthermore, by combining it with other water quality sensors, it can achieve simultaneous measurement and comprehensive analysis of multiple water parameters, providing more data support for a comprehensive assessment of water quality. In addition, the use of high-strength, pressure-resistant acrylic sheet for encapsulation gives the measuring device excellent waterproof and pressure-resistant performance, allowing it to operate stably in water bodies of varying depths and flow velocities.

[0165] This application also provides a method for measuring water transparency, such as... Figure 6 As shown, a method for measuring water transparency includes:

[0166] S601, Obtain the first water body data sequence.

[0167] The first water body data sequence is collected by the measuring equipment during the process of sinking from the water surface into the water body to be measured. The first water body data sequence includes multiple sets of water body data, and each set of water body data includes light intensity data and water depth data collected at the same time.

[0168] S602, input the first water body data sequence into the pre-trained water body transparency calculation model, and obtain the first water body transparency output by the water body transparency calculation model based on the first water body data sequence.

[0169] The water transparency calculation model is trained based on the water transparency of the sample water body and the data sequence of the sample water body collected by the measuring equipment.

[0170] S603, based on the transparency of the first water body, determine the transparency of the target water body to be tested.

[0171] In the water transparency measurement system provided in this application, the measurement of water transparency relies on objectively measured light intensity data and water depth data obtained by sensors, rather than the subjective visual judgment of the measurement personnel. This ensures the objectivity and consistency of the measurement process. Furthermore, after inputting the above data into a pre-trained water transparency calculation model, the model can accurately calculate the water transparency based on the pre-learned relationship between water data sequences and water transparency, thus obtaining accurate water transparency measurement results. In addition, in water bodies with high flow velocities, the rope used to submerge the Seidon disc may tilt, resulting in a length of the rope below the water surface that is greater than the actual water depth of the Seidon disc, leading to an overestimation of the water transparency measured by the Seidon disc. However, the water depth data in this application is obtained based on a water depth sensor. Even if the high water flow velocity causes the rope used to submerge the measuring device to tilt, it will not affect the measurement of water depth data, nor will it affect the measurement of light intensity data. Therefore, the water transparency measurement system provided in this application can still achieve accurate measurement of water transparency in water bodies with high flow velocities.

[0172] As one embodiment of this application, the above method may further include:

[0173] Acquire a second water body data sequence, wherein the second water body data sequence is collected by the measuring device during the process of returning from the water body to the water surface. The second water body data sequence includes multiple sets of water body data, each set of water body data including light intensity data and water depth data collected at the same time.

[0174] Input the second water body data sequence into the pre-trained water body transparency calculation model, and obtain the second water body transparency output by the water body transparency calculation model based on the second water body data sequence;

[0175] The above-mentioned determination of the target water body transparency based on the transparency of the first water body may include:

[0176] The target water body transparency is determined based on the transparency of the first water body and the transparency of the second water body.

[0177] As one implementation method of this application, the water transparency calculation model can be trained in the following manner:

[0178] Acquire a sequence of sample water data collected by the measuring device during the process of sinking into the sample water body from the water surface and / or returning to the water surface from the sample water body. The sample water data sequence includes multiple sets of water data, each set of water data including light intensity data and water depth data collected at the same time.

[0179] Obtain the transparency of the sample water body;

[0180] Input the sample water body data sequence into the model to be trained, and obtain the predicted water transparency output by the model based on the change of light intensity with water depth reflected by the sample water body data sequence.

[0181] Based on the difference between the sample water transparency and the predicted water transparency, the model parameters of the model to be trained are adjusted, and the step of inputting the sample water data sequence into the model to be trained is returned until the model to be trained converges. The model to be trained at this point is then used as the water transparency calculation model.

[0182] As one implementation method of this application, the water transparency calculation model can be trained in the following manner:

[0183] Acquire a sequence of sample water data collected by the measuring device during the process of sinking into the sample water body from the water surface and / or returning to the water surface from the sample water body. The sample water data sequence includes multiple sets of water data, each set of water data including light intensity data and water depth data collected at the same time.

[0184] The actual water depth value corresponding to the preset light intensity data collected by the measuring equipment is used as the water transparency of the sample water body.

[0185] The sample water body data sequence is input into the model to be trained so that the model can predict the target correspondence between water depth data and water depth value based on the sample water body data sequence, and determine the water depth value corresponding to the target water depth data according to the target correspondence, which is used as the predicted water body transparency of the sample water body. The target water depth data is the water depth data corresponding to the preset light intensity data in the sample water body data sequence.

[0186] Based on the difference between the sample water transparency and the predicted water transparency, the model parameters of the model to be trained are adjusted, and the step of inputting the sample water data sequence into the model to be trained is returned until the model to be trained converges. The model to be trained at this point is then used as the water transparency calculation model.

[0187] As one embodiment of this application, after determining the target water body transparency based on the transparency of the first water body, the method may further include:

[0188] Obtain the measurement location of the water body to be tested;

[0189] Record the correspondence between the transparency of the target water body and the measurement location;

[0190] Display the transparency of the target water body at the measurement location on the map.

[0191] This application also provides an electronic device, such as... Figure 7 As shown, it includes a processor 701, a communication interface 702, a memory 703, and a communication bus 704, wherein the processor 701, the communication interface 702, and the memory 703 communicate with each other through the communication bus 704.

[0192] Memory 703 is used to store computer programs;

[0193] The processor 701, when executing the program stored in the memory 703, implements the water transparency measurement method described in any of the above embodiments.

[0194] The communication bus mentioned in the above electronic devices can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.

[0195] The communication interface is used for communication between the aforementioned electronic devices and other devices.

[0196] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0197] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0198] In another embodiment provided in this application, a computer-readable storage medium is also provided, which stores a computer program that, when executed by a processor, implements the steps of the water transparency measurement method described in any of the above embodiments.

[0199] In another embodiment provided in this application, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute the water transparency measurement method described in any of the above embodiments.

[0200] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially as 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, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).

[0201] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0202] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments of methods, electronic devices, computer-readable storage media, and computer program products are basically similar to the system embodiments, and therefore the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0203] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application are included within the scope of protection of this application.

Claims

1. A water transparency measurement system, characterized in that, The system includes: measuring equipment and electronic equipment, wherein the measuring equipment includes a light sensor and a water depth sensor; The measuring device collects a first water body data sequence during the process of sinking from the water surface into the water body to be measured. The first water body data sequence includes multiple sets of water body data, and each set of water body data includes light intensity data and water depth data collected at the same time. The electronic device acquires the first water body data sequence, inputs the first water body data sequence into a pre-trained water body transparency calculation model, acquires the first water body transparency output by the water body transparency calculation model based on the first water body data sequence, and determines the target water body transparency of the water body to be measured based on the first water body transparency. The water body transparency calculation model is trained based on the sample water body transparency of the sample water body and the sample water body data sequence of the sample water body collected by the measuring device. The water transparency calculation model was trained in the following manner: The measurement device acquires a sequence of sample water data during the process of sinking into the sample water body from the water surface and / or returning to the water surface from the sample water body. The sample water data sequence includes multiple sets of water data, each set of water data including light intensity data and water depth data acquired at the same time. The actual water depth value corresponding to the preset light intensity data collected by the measuring device is used as the water transparency of the sample water body. The sample water body data sequence is input into the model to be trained, so that the model to be trained calculates the light attenuation degree based on the sample water body data sequence, predicts the target correspondence between water depth data and water depth value according to the light attenuation degree, and determines the water depth value corresponding to the target water depth data according to the target correspondence, as the predicted water transparency of the sample water body, wherein the light attenuation degree is the ratio of the light intensity at the current depth to the light intensity at the water surface, and the target water depth data is the water depth data corresponding to the preset light intensity data in the sample water body data sequence; Based on the difference between the sample water transparency and the predicted water transparency, the model parameters of the model to be trained are adjusted, and the step of inputting the sample water data sequence into the model to be trained is returned until the model to be trained converges. The model to be trained at this time is then used as the water transparency calculation model.

2. The system according to claim 1, characterized in that, The measuring device collects a second water body data sequence during the process of returning from the water body to the water surface. The second water body data sequence includes multiple sets of water body data, and each set of water body data includes light intensity data and water depth data collected at the same time. The electronic device acquires the second water body data sequence, inputs the second water body data sequence into a pre-trained water body transparency calculation model, and obtains the second water body transparency output by the water body transparency calculation model based on the second water body data sequence. The electronic device is specifically used to determine the target water body transparency of the water body to be tested based on the transparency of the first water body and the transparency of the second water body.

3. The system according to claim 1, characterized in that, The electronic device acquires the measurement location of the water body to be measured, records the correspondence between the transparency of the target water body and the measurement location, and displays the transparency of the target water body at the measurement location on the map.

4. The system according to any one of claims 1-3, characterized in that, The measuring device includes: a motherboard, a battery for powering the motherboard, and a housing for encapsulating the motherboard and the battery; The motherboard integrates a light sensor, a water depth sensor, and a communication module. The pressure-sensitive diaphragm of the water depth sensor is located on the outside of the encapsulation shell, the electronic components of the water depth sensor are located on the inside of the encapsulation shell, and the light sensor is located on the inside of the transparent upper surface of the encapsulation shell. The electronic device acquires water body data sequences through the communication module. The outer casing is provided with lifting holes for installing lifting ropes.

5. The system according to claim 4, characterized in that, The motherboard also integrates at least one of the following: temperature sensor, pH sensor, dissolved oxygen sensor, conductivity sensor, and chlorophyll sensor.

6. A method for measuring water transparency, characterized in that, The method includes: Acquire a first water body data sequence, wherein the first water body data sequence is collected by the measuring device during the process of sinking from the water surface into the water body to be measured, and the first water body data sequence includes multiple sets of water body data, each set of water body data including light intensity data and water depth data collected at the same time; The first water body data sequence is input into a pre-trained water body transparency calculation model to obtain the first water body transparency output by the water body transparency calculation model based on the first water body data sequence. The water body transparency calculation model is trained based on the sample water body transparency of the sample water body and the sample water body data sequence of the sample water body collected by the measuring device. Based on the transparency of the first water body, the target water body transparency of the water body to be tested is determined; The water transparency calculation model was trained in the following manner: The measurement device acquires a sequence of sample water data during the process of sinking into the sample water body from the water surface and / or returning to the water surface from the sample water body. The sample water data sequence includes multiple sets of water data, each set of water data including light intensity data and water depth data acquired at the same time. The actual water depth value corresponding to the preset light intensity data collected by the measuring device is used as the water transparency of the sample water body. The sample water body data sequence is input into the model to be trained, so that the model to be trained calculates the light attenuation degree based on the sample water body data sequence, predicts the target correspondence between water depth data and water depth value according to the light attenuation degree, and determines the water depth value corresponding to the target water depth data according to the target correspondence, as the predicted water transparency of the sample water body, wherein the light attenuation degree is the ratio of the light intensity at the current depth to the light intensity at the water surface, and the target water depth data is the water depth data corresponding to the preset light intensity data in the sample water body data sequence; Based on the difference between the sample water transparency and the predicted water transparency, the model parameters of the model to be trained are adjusted, and the step of inputting the sample water data sequence into the model to be trained is returned until the model to be trained converges. The model to be trained at this time is then used as the water transparency calculation model.

7. The method according to claim 6, characterized in that, The method further includes: Acquire a second water body data sequence, wherein the second water body data sequence is collected by the measuring device during the process of returning from the water body to the water surface, and the second water body data sequence includes multiple sets of water body data, each set of water body data including light intensity data and water depth data collected at the same time; The second water body data sequence is input into a pre-trained water body transparency calculation model to obtain the second water body transparency output by the water body transparency calculation model based on the second water body data sequence. Determining the target water body transparency based on the transparency of the first water body includes: The target water body transparency is determined based on the transparency of the first water body and the transparency of the second water body.

8. The method according to claim 6, characterized in that, After determining the target water body transparency of the water body to be tested based on the transparency of the first water body, the method further includes: Obtain the measurement location of the water body to be tested; Record the correspondence between the transparency of the target water body and the measurement location; The transparency of the target water body is displayed at the measurement location on the map.

9. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the method of any one of claims 6-8.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method described in any one of claims 6-8.

11. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method described in any one of claims 6-8.

Citation Information

Patent Citations

  • Water transparency measuring device and method

    CN106053395A

  • Method and device used for detecting water body transparency

    CN108458976A

  • Automatic water transparency measuring device

    CN112051242A

  • Device and method for detecting transparency of water body by using multi-parameter water quality sensor

    CN116698794A

  • Device for measuring transparency of water body through multi-dimensional information coupling correction and use method of device

    CN117705885A