Method and system for simultaneously measuring flow and flow velocity of surface water at different depths
Through fitting functions and machine learning algorithms to optimize surface water flow velocity and flow measurement, the problem of the inability to fully obtain surface water flow velocity and flow distribution in the existing technology is solved, and accurate flow velocity and flow measurement is achieved, reducing safety hazards.
Patent Information
- Application Number
- CN202510372959.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-27
- Publication Date
- 2025-07-01
AI Technical Summary
The prior art cannot obtain the flow velocity and flow distribution of surface water at different depths in a timely manner, resulting in an increase in safety hazards in emergencies.
The flow measurement data of the reference surface water is processed through the fitting function, the flow rate and flow distribution of the surface water to be measured are obtained, the surface flow rate of the water body is measured using a radar flow velocity meter, and the data accuracy is optimized in combination with a machine learning algorithm.
Accurate measurement of the flow velocities and flow rates of surface water at different depths is achieved, reducing safety hazards and improving data accuracy.
Smart Images

Figure CN120232486A_ABST
Abstract
Description
Background Art
[0002] Currently, when emergencies occur in surface water (such as water pollution incidents and emergency rescue incidents, etc.), if the flow velocity distribution and flow rate distribution of surface water cannot be obtained in time, safety hazards will arise, causing harm to the personnel handling water pollution incidents and the rescue personnel in emergency rescue incidents, etc. Moreover, currently, only the flow velocity on the water surface of surface water is often measured, and the distribution data of the flow velocity along the depth and the flow rate distribution cannot be comprehensively obtained, which will further expand the safety hazards. Summary of the Invention
[0003] The technical problem to be solved by the present invention is to provide a method and system for simultaneously measuring the flow rate and flow velocity at different depths of surface water in view of the deficiencies of the prior art, specifically as follows:
[0004] 1) In the first aspect, the present invention provides a method for simultaneously measuring the flow rate and flow velocity at different depths of surface water, and the specific technical solution is as follows:
[0005] Fit the flow measurement data of the flow measurement section at the target flow measurement position of the reference surface water to obtain a first fitting function for characterizing the variation relationship between the flow velocity and the depth, and obtain a second fitting function for characterizing the variation relationship between the flow rate and the flow velocity of the sub-section in the flow measurement section of the reference surface water.
[0006] Obtain the flow velocity at the preset position on the flow measurement section at the preset flow measurement position of the surface water to be measured, and according to the first fitting function, obtain the flow velocity at each position on the flow measurement section at the preset flow measurement position of the surface water to be measured, and use the second fitting function to calculate the flow rate of each sub-section on the flow measurement section at the preset flow measurement position of the surface water to be measured.
[0007] The beneficial effects of the method for simultaneously measuring the flow rate and flow velocity at different depths of surface water provided by the present invention are as follows:
[0008] Based on the fitted first fitting function and second fitting function, and using the flow velocity at the preset position on the flow measurement section at the preset flow measurement position of the surface water to be measured, the flow velocity at each position on the flow measurement section at the preset flow measurement position of the surface water to be measured and the flow rate of each sub-section on the flow measurement section at the preset flow measurement position of the surface water to be measured can be obtained. By comprehensively knowing the flow velocity distribution and flow rate distribution, the safety hazards can be effectively reduced.
[0009] On the basis of the above solution, the method for simultaneously measuring the flow rate and flow velocity at different depths of surface water of the present invention can be further improved as follows.
[0010] Further, it further includes:
[0011] Optimize the flow velocity at each position on the flow measurement cross-section at the preset flow measurement position of the surface water to be measured, and optimize the flow rate of each sub-cross-section on the flow measurement cross-section at the preset flow measurement position of the surface water to be measured.
[0012] The beneficial effect of adopting the above further solution is that through optimization, the data accuracy of the flow velocity at each position on the flow measurement cross-section at the preset flow measurement position of the surface water to be measured and the flow rate of each sub-cross-section on the flow measurement cross-section at the preset flow measurement position of the surface water to be measured can be improved.
[0013] Further, optimizing the flow velocity at each position on the flow measurement cross-section at the preset flow measurement position of the surface water to be measured includes:
[0014] Optimize the flow velocity at each position on the flow measurement cross-section at the preset flow measurement position of the surface water to be measured according to the similarity between the flow measurement cross-section at the target flow measurement position of the reference surface water and the flow measurement cross-section at the preset flow measurement position of the surface water to be measured.
[0015] Further, the flow velocity at the preset position on the flow measurement cross-section at the preset flow measurement position of the surface water to be measured is: the flow velocity on the water surface at the preset flow measurement position of the surface water to be measured, and the flow velocity on the water surface at the preset flow measurement position of the surface water to be measured is measured by a radar flow velocity meter.
[0016] 2) In the second aspect, the present invention also provides a method for simultaneously measuring the flow rate and flow velocity at different depths of surface water. The specific technical solution is as follows:
[0017] The data fitting module is used for: fitting the flow measurement data of the flow measurement cross-section at the target flow measurement position of the reference surface water to obtain a first fitting function for characterizing the variation relationship between the flow velocity and the depth, and obtaining a second fitting function for characterizing the variation relationship between the flow rate of the sub-cross-section in the flow measurement cross-section of the reference surface water and the flow velocity;
[0018] The measurement and calculation module is used for:
[0019] Obtain the flow velocity at the preset position on the flow measurement cross-section at the preset flow measurement position of the surface water to be measured, and according to the first fitting function, obtain the flow velocity at each position on the flow measurement cross-section at the preset flow measurement position of the surface water to be measured, and use the second fitting function to calculate the flow rate of each sub-cross-section on the flow measurement cross-section at the preset flow measurement position of the surface water to be measured.
[0020] On the basis of the above solution, a method for simultaneously measuring the flow rate and flow velocity at different depths of surface water according to the present invention can also be improved as follows.
[0021] Further, it further includes a data optimization module, and the data optimization module is used for:
[0022] Optimize the flow velocity at each position on the cross-section of the preset flow measurement position of the surface water to be measured, and optimize the flow rate of each sub-cross-section on the cross-section of the preset flow measurement position of the surface water to be measured.
[0023] Furthermore, the data optimization module is specifically configured to:
[0024] Optimize the flow velocity at each position on the cross-section of the preset flow measurement position of the surface water to be measured according to the similarity between the cross-section of the target flow measurement position of the reference surface water and the cross-section of the preset flow measurement position of the surface water to be measured.
[0025] Furthermore, the flow velocity at the preset position on the cross-section of the preset flow measurement position of the surface water to be measured is: the flow velocity at the water surface of the preset flow measurement position of the surface water to be measured, and the flow velocity at the water surface of the preset flow measurement position of the surface water to be measured is measured by a radar flow velocity meter.
[0026] 3) In a third aspect, the present invention further provides an electronic device, which includes a processor. The processor is coupled to a memory, and at least one computer program is stored in the memory. The at least one computer program is loaded and executed by the processor so that the electronic device implements any one of the above-mentioned methods for simultaneously measuring the flow rate and flow velocity at different depths of surface water.
[0027] 4) In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements any one of the above-mentioned methods for simultaneously measuring the flow rate and flow velocity at different depths of surface water.
[0028] It should be noted that for the beneficial effects obtained by the technical solutions of the second to fourth aspects of the present invention and their corresponding possible implementation manners, reference may be made to the technical effects of the first aspect and its corresponding possible implementation manners described above, which will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for describing the embodiments of the present invention:
[0030] Figure 1 It is a schematic flowchart of a method for simultaneously measuring the flow rate and flow velocity at different depths of surface water according to an embodiment of the present invention;
[0031] Figure 2 It is a schematic structural diagram of a system for simultaneously measuring the flow rate and flow velocity at different depths of surface water according to an embodiment of the present invention;
[0032] Figure 3 It is a schematic structural diagram of an electronic device according to an embodiment of the present invention. Detailed implementation mode
[0033] The principles and features of the present invention will be described below. The examples given are only used to explain the present invention and are not intended to limit the scope of the present invention.
[0034] The technical solution of the present invention and how the technical solution of the present invention solves the above technical problems will be described in detail below with specific embodiments. These several specific embodiments below can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present invention will be described below with reference to the accompanying drawings.
[0035] As Figure 1 shown, a method for simultaneously measuring the flow rate and flow velocity at different depths of surface water according to an embodiment of the present invention includes the following steps:
[0036] S1. Fit the flow measurement data of the flow measurement section at the target flow measurement position of the reference surface water to obtain a first fitting function for characterizing the variation relationship between the flow velocity and the depth, and obtain a second fitting function for characterizing the variation relationship between the flow rate and the flow velocity of the sub-section in the flow measurement section of the reference surface water;
[0037] Among them, the reference surface water refers to: the surface water used to obtain the flow measurement data.
[0038] Among them, considering the following factors, the target flow measurement position of the reference surface water is determined. Specifically:
[0039] 1) Avoid dead water areas and backwater areas.
[0040] 2) Select a position with a stable riverbed, smooth water flow, a wide water surface, and a position on a straight river section of the surface water.
[0041] Among them, the flow measurement data of the flow measurement section at the target flow measurement position of the reference surface water includes: on the flow measurement section at the target flow measurement position of the reference surface water, the depth-flow velocity data (depth-flow velocity data is: the variation data of the flow velocity with the depth) along each flow measurement vertical line.
[0042] After obtaining each depth-flow velocity data at the target flow measurement position of the reference surface water, through flow measurement-related knowledge, the flow rate of each sub-section on the flow measurement section at the target flow measurement position can be calculated, and a second fitting function for characterizing the variation relationship between the flow rate and the flow velocity of the sub-section in the flow measurement section of the reference surface water is fitted. The second fitting function is: the product of the average flow velocity, the bank coefficient, and the area of any sub-section within the sub-section is the flow rate of the sub-section.
[0043] Among them, the explanation of a sub-section is as follows: The area between two adjacent flow measurement vertical lines in a flow measurement section is a sub-section, and the areas between the two end flow measurement vertical lines and the sides of the flow measurement section closest to them are also sub-sections.
[0044] Among them, the process of obtaining each depth-velocity data at the target flow measurement position of the reference surface water is as follows:
[0045] At the target flow measurement position of the reference surface water, a measuring rod is vertically arranged along the flow measurement vertical line. The other side of the measuring rod is fixed at the bottom of the water body of the reference surface water. A plurality of velocity sensors are arranged on the measuring rod, and the sampling frequency of each velocity sensor is set to obtain the velocities at different water depths at different times, that is, the velocity time series data at different water depths. The mean value of the velocities in the velocity time series data at each water depth is used as the corresponding velocity. Thus, the data of the change of the velocity with depth of the flow measurement vertical line where the measuring rod is located is obtained. By changing the position of the measuring rod, the data of the change of the velocity with depth of each flow measurement vertical line is obtained.
[0046] Among them, the process of obtaining the first fitting function is as follows:
[0047] Perform data fitting on the vertical distance (depth) between each velocity sampling point (i.e., the position where the velocity sensor is located) and the water surface of the reference surface water, the vertical distance between each velocity sampling point and the bottom of the water body of the reference surface water, the vertical distance between each velocity sampling point and the shore, and the data of the change of the velocity with depth of each flow measurement vertical line, to obtain a first fitting function with the "vertical distance between the velocity sampling point and the water surface, the vertical distance between the velocity sampling point and the bottom of the water body of the reference surface water, the vertical distance between the velocity sampling point and the shore" as the independent variable and the velocity as the dependent variable.
[0048] Among them, specifically, the first fitting function can be obtained by using non-linear regression for fitting. Or, using the vertical distance (depth) between each velocity sampling point (i.e., the position where the velocity sensor is located) and the water surface of the reference surface water, the vertical distance between each velocity sampling point and the bottom of the water body of the reference surface water, the vertical distance between each velocity sampling point and the shore, and the data of the change of the velocity with depth of each flow measurement vertical line, train machine learning algorithms such as a trained decision tree, random forest, support vector machine or neural network, to obtain a trained machine learning algorithm. The trained machine learning algorithm is the first fitting function. The input of the machine learning algorithm is: the vertical distance between the velocity sampling point and the water surface, the vertical distance between the velocity sampling point and the bottom of the water body of the reference surface water, the vertical distance between the velocity sampling point and the shore, and the depth. The output of the machine learning algorithm is: the predicted value of the velocity.
[0049] S2. Obtain the flow velocity at a preset position on the cross-section of the preset flow measurement position of the surface water to be measured, and according to the first fitting function, obtain the flow velocity at each position on the cross-section of the preset flow measurement position of the surface water to be measured, and use the second fitting function to calculate the flow rate of each sub-cross-section on the cross-section of the preset flow measurement position of the surface water to be measured.
[0050] Among them, the preset flow measurement position can be set according to the actual situation.
[0051] Among them, when obtaining the first fitting function, the vertical distance (depth) between the flow velocity sampling point (i.e., the position where the flow velocity sensor is located) and the water surface of the reference surface water is used. However, when applying the first fitting function, the depth of the preset position needs to be used as the standard depth, calculate the vertical distance between any position other than the preset position on the cross-section of the preset flow measurement position of the surface water to be measured and this standard depth, and bring this vertical distance, as well as the vertical distance between this any position and the bottom surface of the reference surface water, and the vertical distance between this any position and the shore into the first fitting function to calculate the flow velocity of this any position until the flow velocity of each position on the cross-section of the preset flow measurement position of the surface water to be measured is calculated.
[0052] It should be noted that the meaning of "simultaneous measurement" in the subject name of the present invention is: through the technical solution of the present invention, the flow velocity of each position on the cross-section of the preset flow measurement position of the surface water to be measured and the flow rate of each sub-cross-section on the cross-section of the preset flow measurement position of the surface water to be measured can be obtained in real time, rather than the "simultaneous measurement" in the truly strict sense. Therefore, during the process of calculating the flow velocity of each position on the cross-section of the preset flow measurement position of the surface water to be measured and obtaining the flow rate of each sub-cross-section on the cross-section of the preset flow measurement position of the surface water to be measured, there will be a certain calculation duration.
[0053] Optionally, in the above technical solution, it further includes:
[0054] S3. Optimize the flow velocity of each position on the cross-section of the preset flow measurement position of the surface water to be measured, and optimize the flow rate of each sub-cross-section on the cross-section of the preset flow measurement position of the surface water to be measured.
[0055] Optionally, in the above technical solution, optimizing the flow velocity of each position on the cross-section of the preset flow measurement position of the surface water to be measured includes:
[0056] Optimize the flow velocity of each position on the cross-section of the preset flow measurement position of the surface water to be measured according to the similarity between the cross-section of the target flow measurement position of the reference surface water and the cross-section of the preset flow measurement position of the surface water to be measured.
[0057] Due to the different shapes of the flow measurement cross-sections, the accuracy of the flow velocity at each position on the flow measurement cross-section at the preset flow measurement position of the surface water to be measured will be affected. Therefore, optimizing the flow velocity at each position on the flow measurement cross-section at the preset flow measurement position of the surface water to be measured based on the similarity between the flow measurement cross-section at the target flow measurement position of the reference surface water and the flow measurement cross-section at the preset flow measurement position of the surface water to be measured can improve the accuracy of the data.
[0058] Among them, the process of calculating the similarity between the flow measurement cross-section at the target flow measurement position of the reference surface water and the flow measurement cross-section at the preset flow measurement position of the surface water to be measured is as follows:
[0059] S301. Obtain the image of the flow measurement cross-section at the target flow measurement position of the reference surface water, denoted as the first image, and obtain the image of the flow measurement cross-section at the preset flow measurement position of the surface water to be measured, denoted as the second image. The sizes of the first image and the second image are the same.
[0060] S302. Obtain the grayscale image corresponding to the first image, denoted as the first grayscale image, and obtain the grayscale image corresponding to the second image, denoted as the second grayscale image. Among them, the sizes of the first grayscale image and the second grayscale image are the same.
[0061] S303. Convert the first grayscale image into a binary image, denoted as the first binary image, and convert the second grayscale image into a binary image, denoted as the second binary image. Among them, the images of the first binary image and the second binary image are the same.
[0062] S304. Arrange the pixel values in the first binary image and the pixels in the second binary image in the same order to obtain two arrays. Calculate and use the Euclidean distance, cosine similarity, or Pearson correlation coefficient between these two arrays as the similarity between the flow measurement cross-section at the target flow measurement position of the reference surface water and the flow measurement cross-section at the preset flow measurement position of the surface water to be measured. The calculation process is simple and can also ensure the accuracy of the calculated similarity.
[0063] In another implementation, when the first image and the second image are obtained, the similarity between the first image and the second image can be directly calculated as the similarity between the flow measurement cross-section at the target flow measurement position of the reference surface water and the flow measurement cross-section at the preset flow measurement position of the surface water to be measured.
[0064] Optionally, in the above technical solution, the flow velocity at the preset position on the flow measurement cross-section at the preset flow measurement position of the surface water to be measured is: the flow velocity at the water surface at the preset flow measurement position of the surface water to be measured, and the flow velocity at the water surface at the preset flow measurement position of the surface water to be measured is measured by a radar flow velocity meter.
[0065] In the above embodiments, although the steps are numbered as S1, S2, etc., these are only specific embodiments given by the present invention. Those skilled in the art can adjust the execution order of S1, S2, etc. according to the actual situation, which is also within the protection scope of the present invention. It can be understood that in some embodiments, it may include some or all of the above embodiments.
[0066] As Figure 2 shown, a simultaneous measurement system 200 for the flow rate and flow velocity at different depths of surface water according to an embodiment of the present invention includes a data fitting module 201 and a measurement and calculation module 202;
[0067] The data fitting module 201 is configured to: fit the flow measurement data of the flow measurement section at the target flow measurement position of the reference surface water to obtain a first fitting function for characterizing the variation relationship between the flow velocity and the depth, and obtain a second fitting function for characterizing the variation relationship between the flow rate and the flow velocity of the sub-section in the flow measurement section of the reference surface water;
[0068] The measurement and calculation module 202 is configured to: obtain the flow velocity at a preset position on the flow measurement section at the preset flow measurement position of the surface water to be measured, and according to the first fitting function, obtain the flow velocity at each position on the flow measurement section at the preset flow measurement position of the surface water to be measured, and use the second fitting function to calculate the flow rate of each sub-section on the flow measurement section at the preset flow measurement position of the surface water to be measured.
[0069] Optionally, in the above technical solution, it further includes a data optimization module, and the data optimization module is configured to:
[0070] Optimize the flow velocity at each position on the flow measurement section at the preset flow measurement position of the surface water to be measured, and optimize the flow rate of each sub-section on the flow measurement section at the preset flow measurement position of the surface water to be measured.
[0071] Optionally, in the above technical solution, the data optimization module is specifically configured to:
[0072] Optimize the flow velocity at each position on the flow measurement section at the preset flow measurement position of the surface water to be measured according to the similarity between the flow measurement section at the target flow measurement position of the reference surface water and the flow measurement section at the preset flow measurement position of the surface water to be measured.
[0073] Optionally, in the above technical solution, the flow velocity at the preset position on the flow measurement section at the preset flow measurement position of the surface water to be measured is: the flow velocity at the water surface at the preset flow measurement position of the surface water to be measured, and the flow velocity at the water surface at the preset flow measurement position of the surface water to be measured is measured by a radar flow velocity meter.
[0074] It should be noted that the beneficial effects of the simultaneous measurement system 200 for the flow rate and flow velocity at different depths of surface water provided in the above embodiments are the same as those of the simultaneous measurement method for the flow rate and flow velocity at different depths of surface water, which will not be elaborated here. In addition, when the system provided in the above embodiments realizes its functions, only the division of the above functional modules is used for illustration. In practical applications, the above functions can be allocated to different functional modules according to needs, that is, the system can be divided into different functional modules according to the actual situation to complete all or part of the functions described above. In addition, the system and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be seen in the method embodiments, which will not be elaborated here.
[0075] Among them, the simultaneous measurement system for the flow rate and flow velocity at different depths of surface water of the present invention can be a computer program (including program code) running in a computer device. For example, the simultaneous measurement system for the flow rate and flow velocity at different depths of surface water of the present invention is an application software, which can be used to execute the corresponding steps in the simultaneous measurement method for the flow rate and flow velocity at different depths of surface water of the present invention.
[0076] In some embodiments, the simultaneous measurement system for the flow rate and flow velocity at different depths of surface water of the present invention can be implemented in a combination of software and hardware. As an example, the simultaneous measurement system for the flow rate and flow velocity at different depths of surface water of the present invention can be a processor in the form of a hardware decoding processor, which is programmed to execute the simultaneous measurement method for the flow rate and flow velocity at different depths of surface water of the present invention. For example, the processor in the form of a hardware decoding processor can adopt one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs) or other electronic components.
[0077] Among them, the modules involved in the embodiments of the present invention can be implemented in software or in hardware. Among them, the name of the module does not constitute a limitation to the module itself in some cases.
[0078] An electronic device according to an embodiment of the present invention includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the method for simultaneously measuring the flow rate and flow velocity at different depths of surface water as described in any one of the above is implemented. That is to say, an electronic device according to an embodiment of the present invention may include, but is not limited to: a processor and a memory; the memory is used to store a computer program; the processor is used to execute the method for simultaneously measuring the flow rate and flow velocity at different depths of surface water shown in any embodiment of the present invention by calling the computer program.
[0079] In an alternative embodiment, an electronic device is provided, as Figure 3 shown Figure 3 The electronic device 4000 shown in the figure includes: a processor 4001 and a memory 4003. Among them, the processor 4001 and the memory 4003 are connected, such as connected through a bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004, and the transceiver 4004 may be used for data interaction between this electronic device and other electronic devices, such as sending and / or receiving data, etc. It should be noted that in actual applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 does not constitute a limitation to the embodiments of the present invention.
[0080] The processor 4001 may be a CPU (Central Processing Unit, central processor), a general-purpose processor, a DSP (Digital Signal Processor, data signal processor), an ASIC (Application Specific Integrated Circuit, application-specific integrated circuit), an FPGA (Field Programmable Gate Array, field programmable gate array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logic blocks, modules, and circuits described in connection with the disclosure of the present invention. The processor 4001 may also be a combination for implementing computing functions, such as a combination including one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0081] The bus 4002 may include a path for transmitting information between the above components. The bus 4002 may be a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard Architecture, extended industry standard architecture) bus, etc. The bus 4002 may be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, Figure 3Only a thick line is used to represent the bus 4002 in the figure, but it does not mean that there is only one bus or one type of bus.
[0082] The memory 4003 can be a ROM (Read Only Memory), or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory), or other types of dynamic storage devices that can store information and instructions. It can also be an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory), or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media, or other magnetic storage devices, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0083] The memory 4003 is used to store the application program code (computer program) for implementing the solution of the present invention and is controlled by the processor 4001 to execute. The processor 4001 is used to execute the application program code stored in the memory 4003 to implement the content shown in the foregoing method embodiments.
[0084] Among them, the electronic device can also be a terminal device, and the terminal device can be any device that can install applications, including at least one of a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, a smart TV, and a smart vehicle device.
[0085] It should be noted that Figure 3 The electronic device shown is only an example and should not bring any limitations to the functions and usage scopes of the embodiments of the present invention.
[0086] A computer-readable storage medium according to an embodiment of the present invention has a computer program stored thereon, and when the computer program is executed by a processor, it implements the method for simultaneously measuring the flow rate and flow velocity at different depths of surface water as described in any one of the above.
[0087] Optionally, the computer-readable storage medium can be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.
[0088] In an exemplary embodiment, a computer program product or a computer program is further provided. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of the electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes any one of the above methods for simultaneously measuring the flow rate and flow velocity at different depths of surface water.
[0089] Computer program code for performing the operations of the present invention may be written in one or more programming languages or combinations thereof. The above programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (for example, by using an Internet service provider to connect through the Internet).
[0090] It should be understood that the flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of the methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, may be implemented by a dedicated hardware-based system for performing the specified functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions.
[0091] The computer-readable storage medium provided by the embodiments of the present invention may be, but is not limited to, a system, device, or component of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, the computer-readable storage medium may be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, device, or component.
[0092] The above computer-readable storage medium carries one or more programs. When the above one or more programs are executed by the electronic device, the electronic device is caused to execute the method shown in the above embodiments.
[0093] The above description is only for the preferred embodiments of the present invention and the explanation of the applied technical principles. Those skilled in the art should understand that the scope of disclosure involved in the present invention is not limited to the technical solutions formed by the specific combination of the above technical features, but also covers other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the technical solutions formed by mutually replacing the above features with the (but not limited to) technical features having similar functions disclosed in the present invention.
[0094] It should be noted that the terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects, and represent a limitation on a specific order or sequence. The order of use of similar objects may be interchanged under appropriate circumstances, so that the embodiments of this application described here can be implemented in an order other than the illustrated or described order.
[0095] Those skilled in the art know that the present invention can be implemented as a system, method, or computer program product. Therefore, the present invention can be specifically implemented in the following forms: it can be completely hardware, can be completely software (including firmware, resident software, microcode, etc.), or can also be in the form of a combination of hardware and software, generally referred to as "circuit", "module", or "system" in this article. In addition, in some embodiments, the present invention can also be implemented in the form of a computer program product in one or more computer-readable media, and the computer-readable media contains computer-readable program code.
[0096] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present invention.
Claims
1. A method for simultaneously measuring the flow rate and flow velocity of surface water at different depths, characterized in that: include: Fitting the flow measurement data of the flow measurement section at the target flow measurement position of the reference surface water to obtain a first fitting function for characterizing the changing relationship between the flow velocity and the depth, and obtaining a second fitting function for characterizing the changing relationship between the flow rate and the flow velocity of a sub-section in the flow measurement section of the reference surface water; The flow velocity at a preset position on the flow measuring section at the preset flow measuring position of the surface water to be measured is obtained, and based on the first fitting function, the flow velocity at each position on the flow measuring section at the preset flow measuring position of the surface water to be measured is obtained, and the flow rate of each sub-section on the flow measuring section at the preset flow measuring position of the surface water to be measured is calculated using the second fitting function.
2. A method for simultaneously measuring flow and flow velocity of surface water at different depths according to claim 1, characterized in that: Also includes: The flow velocity at each position on the flow measurement section at the preset flow measurement position of the surface water to be measured is optimized, and the flow rate at each sub-section on the flow measurement section at the preset flow measurement position of the surface water to be measured is optimized.
3. A method for simultaneously measuring flow rate and flow velocity of surface water at different depths according to claim 2, characterized in that: Optimizing the flow velocity at each position on the flow measurement section at the preset flow measurement position of the surface water to be measured, including: According to the similarity between the flow measurement section at the target flow measurement position of the reference surface water and the flow measurement section at the preset flow measurement position of the surface water to be measured, the flow velocity at each position on the flow measurement section at the preset flow measurement position of the surface water to be measured is optimized.
4. A method for simultaneously measuring the flow rate and flow velocity of surface water at different depths according to any one of claims 1 to 3, characterized in that: The flow velocity at the preset position on the flow measurement section at the preset flow measurement position of the surface water to be measured is: the flow velocity on the water body surface at the preset flow measurement position of the surface water to be measured, and the flow velocity on the water body surface at the preset flow measurement position of the surface water to be measured is measured by a radar flow meter.
5. A system for simultaneously measuring the flow rate and velocity of surface water at different depths, characterized in that: Including data fitting module and measurement calculation module; The data fitting module is used to fit the flow measurement data of the flow measurement section at the target flow measurement position of the reference surface water to obtain a first fitting function for characterizing the change relationship between the flow velocity and the depth, and to obtain a second fitting function for characterizing the change relationship between the flow rate and the flow velocity of a sub-section in the flow measurement section of the reference surface water; The measurement and calculation module is used for: The flow velocity at a preset position on the flow measuring section at the preset flow measuring position of the surface water to be measured is obtained, and based on the first fitting function, the flow velocity at each position on the flow measuring section at the preset flow measuring position of the surface water to be measured is obtained, and the flow rate of each sub-section on the flow measuring section at the preset flow measuring position of the surface water to be measured is calculated using the second fitting function.
6. A system for simultaneously measuring flow and velocity of surface water at different depths according to claim 5, characterized in that: It also includes a data optimization module, which is used to: The flow velocity at each position on the flow measurement section at the preset flow measurement position of the surface water to be measured is optimized, and the flow rate at each sub-section on the flow measurement section at the preset flow measurement position of the surface water to be measured is optimized.
7. A system for simultaneously measuring flow and velocity of surface water at different depths according to claim 6, characterized in that: The data optimization module is specifically used for: According to the similarity between the flow measurement section at the target flow measurement position of the reference surface water and the flow measurement section at the preset flow measurement position of the surface water to be measured, the flow velocity at each position on the flow measurement section at the preset flow measurement position of the surface water to be measured is optimized.
8. A system for simultaneously measuring flow and velocity of surface water at different depths according to any one of claims 5 to 7, characterized in that: The flow velocity at the preset position on the flow measurement section at the preset flow measurement position of the surface water to be measured is: the flow velocity on the water body surface at the preset flow measurement position of the surface water to be measured, and the flow velocity on the water body surface at the preset flow measurement position of the surface water to be measured is measured by a radar flow meter.
9. An electronic device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for simultaneously measuring the flow rate and flow velocity of surface water at different depths as described in any one of claims 1 to 4 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for simultaneously measuring the flow rate and flow velocity of surface water at different depths as described in any one of claims 1 to 4 is implemented.