Flow measurement method and device, storage medium, electronic device and computer program product
By determining pipeline distribution information and environmental information, and rationally setting up metering equipment, precise monitoring of pipeline flow is achieved, solving the problems of inaccurate monitoring and low efficiency in the existing technology.
Patent Information
- Application Number
- CN202411007970.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-09-27
AI Technical Summary
Existing technology cannot accurately monitor the flow of pipelines, resulting in inaccurate and inefficient monitoring results, and is easily affected by human factors.
By determining the distribution information of the target pipeline, selecting an appropriate flow information collection point, and setting up an appropriate number and type of metering equipment according to the environmental information of the collection point, the flow data is collected to determine the flow rate of the pipeline.
It achieves precise monitoring of pipeline flow, solves the problem of inaccurate monitoring, improves monitoring efficiency, and reduces the impact of human factors.
Smart Images

Figure CN118706200A
Abstract
Description
Technical Field
[0001] The present application relates to the field of flow measurement, and more specifically, to a flow measurement method and device, a storage medium, an electronic device, and a computer program product. Background Art
[0002] In today's society, pipeline transportation has become an important mode of transportation and is widely used in the fields of oil, natural gas, chemical industry, water supply, etc. However, flow monitoring and management of pipeline transportation has always been a major technical problem. At present, traditional flow monitoring methods mainly rely on traditional sensor manual inspections and empirical judgments. This method is not only inefficient, but also easily affected by human factors, resulting in inaccurate monitoring results. Therefore, it is of great practical significance to develop an intelligent system that can accurately collect and analyze pipeline flow information.
[0003] With regard to the problem in the related technology that the flow rate of the pipeline cannot be accurately monitored, no effective solution has been proposed yet.
[0004] Therefore, it is necessary to improve the related technology to overcome the above-mentioned defects in the related technology. Summary of the invention
[0005] The embodiments of the present application provide a flow measurement method and device, a storage medium, an electronic device, and a computer program product to at least solve the problem of being unable to accurately monitor the flow of a pipeline.
[0006] According to one aspect of an embodiment of the present application, a flow measurement method is provided, comprising: determining distribution information of a target pipeline, and determining N flow information collection points inside the target pipeline according to the distribution information of the target pipeline; setting metering devices at the N flow information collection points according to environmental information of the N flow information collection points; and when M metering devices are set at the N flow information collection points, determining the flow of the target pipeline according to flow data collected by the M metering devices.
[0007] In an exemplary embodiment, metering equipment is set at the N flow information collection points according to the environmental information of the N flow information collection points, including: setting a metering equipment at the i-th flow information collection point among the N flow information collection points in the following manner, so as to set a metering equipment at the N flow information collection points: determining whether the i-th flow information collection point meets the placement conditions of the metering equipment according to the environmental information of the i-th flow information collection point; if the i-th flow information collection point does not meet the placement conditions of the metering equipment, no metering equipment is set at the i-th flow information collection point; if the i-th flow information collection point meets the placement conditions of the metering equipment, determining the type and quantity of the metering equipment set at the i-th flow information collection point according to the environmental information of the i-th flow information collection point.
[0008] In an exemplary embodiment, determining whether the i-th flow information collection point meets the placement conditions of the metering device according to the environmental information of the i-th flow information collection point includes: when the pressure of the i-th flow information collection point is greater than a first preset threshold, determining that the i-th flow information collection point does not meet the placement conditions of the metering device; and / or when the vibration frequency of the i-th flow information collection point is greater than a second preset threshold, determining that the i-th flow information collection point does not meet the placement conditions of the metering device; and / or when the humidity of the i-th flow information collection point is greater than a third preset threshold, determining that the i-th flow information collection point does not meet the placement conditions of the metering device; and / or when the temperature of the i-th flow information collection point is greater than a fourth preset threshold, determining that the i-th flow information collection point does not meet the placement conditions of the metering device; and / or when the environmental noise of the i-th flow information collection point is greater than a fifth preset threshold, determining that the i-th flow information collection point does not meet the placement conditions of the metering device; and / or when the metering device cannot be repaired after being installed at the i-th flow information collection point, determining that the i-th flow information collection point does not meet the placement conditions of the metering device.
[0009] In an exemplary embodiment, determining the type of metering equipment set at the i-th flow information collection point according to the environmental information of the i-th flow information collection point includes: obtaining a target configuration file, wherein the target configuration file contains types of metering equipment corresponding to different environmental information, and the environmental information includes at least one of the following: pressure, vibration frequency, humidity, temperature, environmental noise, and estimated flow range; based on the target configuration file, determining the type of metering equipment set at the i-th flow information collection point according to the environmental information of the i-th flow information collection point.
[0010] In an exemplary embodiment, determining the number of metering devices set at the i-th flow information collection point based on the environmental information of the i-th flow information collection point includes: determining the distribution of fluid flow at the i-th flow information collection point, wherein the distribution of the fluid flow includes at least one of the following: flow velocity distribution, flow direction, flow distribution uniformity and flow peak value; determining the number of metering devices set at the i-th flow information collection point based on the distribution of the fluid flow.
[0011] In an exemplary embodiment, determining the flow rate of the target pipeline according to the flow data collected by the M metering devices includes: determining the flow rate of the target pipeline according to the M flow data collected by the M metering devices based on the position information of the M metering devices in the target pipeline and the collection time of the M metering devices.
[0012] According to another aspect of an embodiment of the present application, a flow measurement device is also provided, including: a first determination module, used to determine the distribution information of a target pipeline, and determine N flow information collection points inside the target pipeline according to the distribution information of the target pipeline; a setting module, used to set metering devices at the N flow information collection points according to the environmental information of the N flow information collection points; a second determination module, used to determine the flow of the target pipeline according to the flow data collected by the M metering devices when M metering devices are set at the N flow information collection points.
[0013] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned flow measurement method when running.
[0014] According to another aspect of an embodiment of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the flow measurement method through the computer program.
[0015] According to another aspect of the embodiments of the present application, a computer program product is provided, including a computer program, and the computer program is executed by a processor to perform the above-mentioned flow measurement method.
[0016] Through this application, N flow information collection points are determined inside the target pipeline according to the distribution information of the target pipeline, and then metering devices are set at the N flow information collection points according to the environmental information of the N flow information collection points. If M metering devices are set at the N flow information collection points, the flow of the target pipeline is determined according to the flow data collected by the M metering devices. Since the distribution information of the pipeline and the environmental information of the collection point are taken into account when setting the calculation device, the metering device can be reasonably set in the pipeline to achieve accurate monitoring of the flow of the pipeline, solving the problem of being unable to accurately monitor the flow of the pipeline. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0019] Figure 1 It is a hardware structure block diagram of a mobile terminal of a flow measurement method according to an embodiment of the present application;
[0020] Figure 2 is a flow chart of a flow measurement method according to an embodiment of the present application;
[0021] Figure 3 is a schematic diagram of the placement position of a metering device according to an embodiment of the present application;
[0022] Figure 4 is a structural block diagram of a flow measurement device according to an embodiment of the present application;
[0023] Figure 5 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0024] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 1 is a hardware structure block diagram of a mobile terminal of a flow measurement method according to an embodiment of the present application. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor (Central Processing Unit, MCU) or a programmable logic device (Field Programmable Gate Array, FPGA)) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0027] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the flow measurement method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0028] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0029] In this embodiment, a flow measurement method is provided. Figure 2 is a flow chart of a flow measurement method according to an embodiment of the present application, such as Figure 2 As shown, the process includes the following steps S202-S206:
[0030] Step S202: determining the distribution information of the target pipeline, and determining N flow information collection points inside the target pipeline according to the distribution information of the target pipeline, where N is a positive integer;
[0031] Optionally, the current pipeline distribution information, including the direction, length, diameter, etc. of the pipeline, can be collected and organized through technical means such as geographic information systems.
[0032] Optionally, the pipeline distribution information and fluid mechanics principles can be combined to analyze and determine appropriate flow information collection points in the pipeline, and these collection points should be able to accurately reflect the flow changes in the pipeline.
[0033] Optionally, you need to first understand the layout of the pipeline in detail, including the length, diameter, elbows, branches, etc. of the pipeline. This information is crucial for analyzing the flow characteristics of the fluid in the pipeline. Then, the principles of fluid mechanics, especially the continuity equation and the energy equation, are applied to analyze the flow of the fluid in the pipeline. These equations can help predict the velocity, pressure, and flow distribution of the fluid.
[0034] It should be noted that in a straight pipe, the flow velocity is usually the largest in the center of the pipe and the smallest near the pipe wall. This uneven distribution needs to be considered when determining the flow information collection point.
[0035] Optionally, when determining the flow information collection point, physical properties such as viscosity and density of the fluid in the pipeline may also be considered, which may also affect the flow of the fluid to a certain extent. For example, a high viscosity fluid may form a laminar flow in the pipeline, while a low viscosity fluid may form a turbulent flow.
[0036] Optionally, simulation tools such as computational fluid dynamics (CFD) can be used to simulate the fluid flow in the pipeline to verify whether the selection of flow information collection points is reasonable.
[0037] Step S204: setting metering equipment at the N flow information collection points according to the environmental information of the N flow information collection points;
[0038] Step S206: When M metering devices are set at the N flow information collection points, the flow rate of the target pipeline is determined according to the flow data collected by the M metering devices.
[0039] In the above steps, N flow information collection points are determined inside the target pipeline according to the distribution information of the target pipeline, and then metering devices are set at the N flow information collection points according to the environmental information of the N flow information collection points. If M metering devices are set at the N flow information collection points, the flow of the target pipeline is determined according to the flow data collected by the M metering devices. Since the distribution information of the pipeline and the environmental information of the collection point are taken into account when setting the calculation device, the metering device can be reasonably set in the pipeline to achieve accurate monitoring of the flow of the pipeline, solving the problem of being unable to accurately monitor the flow of the pipeline.
[0040] In an exemplary embodiment, the step S204 includes: setting a metering device at the i-th flow information collection point among the N flow information collection points through the following steps S11-S13, so as to set a metering device at the N flow information collection points, wherein i is a positive integer greater than 0 and less than or equal to N:
[0041] Step S11: determining whether the i-th flow information collection point meets the placement conditions of the metering device according to the environmental information of the i-th flow information collection point;
[0042] Optionally, the environmental information includes at least one of the following: pressure, vibration frequency, humidity, temperature, environmental noise and estimated flow range.
[0043] In an exemplary embodiment, the above-mentioned step S11 includes: when the pressure at the i-th flow information collection point is greater than a first preset threshold, determining that the i-th flow information collection point does not meet the placement conditions of the metering device; and / or when the vibration frequency of the i-th flow information collection point is greater than a second preset threshold, determining that the i-th flow information collection point does not meet the placement conditions of the metering device; and / or when the humidity at the i-th flow information collection point is greater than a third preset threshold, determining that the i-th flow information collection point does not meet the placement conditions of the metering device; and / or when the temperature at the i-th flow information collection point is greater than a fourth preset threshold, determining that the i-th flow information collection point does not meet the placement conditions of the metering device; and / or when the ambient noise at the i-th flow information collection point is greater than a fifth preset threshold, determining that the i-th flow information collection point does not meet the placement conditions of the metering device; and / or after the metering device is installed at the i-th flow information collection point, if the metering device cannot be repaired, determining that the i-th flow information collection point does not meet the placement conditions of the metering device.
[0044] It should be noted that if the pressure, vibration frequency, humidity, temperature, and environmental noise of the flow information collection point are high, the metering equipment installed here may not work properly, and the measurement results obtained are also wrong. In this case, the metering equipment is not installed at the flow information collection point. If the metering equipment is not easy to maintain and monitor after it is installed at the flow information collection point, the metering equipment is not installed at the flow information collection point.
[0045] Step S12: when the i-th flow information collection point does not meet the placement conditions of the metering device, no metering device is set at the i-th flow information collection point;
[0046] Step S13: when the i-th flow information collection point meets the placement conditions of the metering equipment, the type and quantity of the metering equipment to be set at the i-th flow information collection point are determined according to the environmental information of the i-th flow information collection point.
[0047] In an exemplary embodiment, determining the type of metering equipment provided at the i-th flow information collection point according to the environmental information of the i-th flow information collection point can be achieved by the following steps S21-S22:
[0048] Step S21: Acquire a target configuration file, wherein the target configuration file contains types of metering equipment corresponding to different environmental information, and the environmental information includes at least one of the following: pressure, vibration frequency, humidity, temperature, environmental noise, and estimated flow range;
[0049] Step S22: Based on the target configuration file, determine the type of metering equipment set at the i-th flow information collection point according to the environmental information of the i-th flow information collection point.
[0050] It should be noted that different metering devices have different effective working environments. In places with harsh environments, corresponding metering devices that can work in such environments need to be placed. If the accuracy of metering devices placed in harsh environments is low, several more metering devices can be placed at the flow information collection point to improve the measurement accuracy.
[0051] That is to say, in this embodiment, it is necessary to determine the type of metering equipment according to the environmental information of the flow information collection point, so that after the metering equipment is placed, the metering equipment can normally collect the flow information.
[0052] In an exemplary embodiment, determining the number of metering devices provided at the i-th flow information collection point according to the environmental information of the i-th flow information collection point may be achieved by the following steps S31-S32:
[0053] Step S31: determining the distribution of the fluid flow at the i-th flow information collection point, wherein the distribution of the fluid flow includes at least one of the following: flow velocity distribution, flow direction, flow distribution uniformity and flow peak value;
[0054] Step S32: Determine the number of metering devices to be set at the i-th flow information collection point based on the distribution of the fluid flow.
[0055] Optionally, if the i-th flow information collection point is a collection point of key concern, several more metering devices may be provided at the i-th flow information collection point to achieve more accurate measurement.
[0056] In an exemplary embodiment, Figure 3 The placement of metering equipment inside the pipeline is shown schematically.
[0057] In an exemplary embodiment, the above step S206 includes: determining the flow of the target pipeline according to the flow data collected by the M metering devices, including: determining the flow of the target pipeline according to the M flow data collected by the M metering devices based on the position information of the M metering devices in the target pipeline and the collection time of the M metering devices.
[0058] Optionally, the location information includes but is not limited to: whether it is located at a branch, whether it is at an elbow, valve attachment, etc.
[0059] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.
[0060] In this embodiment, a flow measurement device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0061] Figure 4 : is a structural block diagram of a flow measurement device according to an embodiment of the present application, the device comprising:
[0062] A first determining module 42 is used to determine the distribution information of the target pipeline, and determine N flow information collection points inside the target pipeline according to the distribution information of the target pipeline;
[0063] A setting module 44, configured to set metering equipment at the N flow information collection points according to the environmental information of the N flow information collection points;
[0064] The second determination module 46 is used to determine the flow rate of the target pipeline according to the flow data collected by the M metering devices when M metering devices are set at the N flow information collection points.
[0065] The above device determines N flow information collection points inside the target pipeline according to the distribution information of the target pipeline, and then sets metering devices at the N flow information collection points according to the environmental information of the N flow information collection points. If M metering devices are set at the N flow information collection points, the flow of the target pipeline is determined according to the flow data collected by the M metering devices. Since the distribution information of the pipeline and the environmental information of the collection points are taken into account when setting the calculation device, the metering device can be reasonably set in the pipeline to achieve accurate monitoring of the flow of the pipeline, solving the problem of being unable to accurately monitor the flow of the pipeline.
[0066] In an exemplary embodiment, the setting module 44 is also used to set a metering device at the i-th flow information collection point among the N flow information collection points in the following manner so as to set a metering device at the N flow information collection points: determine whether the i-th flow information collection point meets the placement conditions of the metering device according to the environmental information of the i-th flow information collection point; if the i-th flow information collection point does not meet the placement conditions of the metering device, do not set the metering device at the i-th flow information collection point; if the i-th flow information collection point meets the placement conditions of the metering device, determine the type and quantity of the metering device set at the i-th flow information collection point according to the environmental information of the i-th flow information collection point.
[0067] In an exemplary embodiment, the setting module 44 is further used to determine that the i-th flow information collection point does not meet the placement conditions of the metering device when the pressure at the i-th flow information collection point is greater than the first preset threshold; and / or when the vibration frequency of the i-th flow information collection point is greater than the second preset threshold, determine that the i-th flow information collection point does not meet the placement conditions of the metering device; and / or when the humidity at the i-th flow information collection point is greater than the third preset threshold, determine that the i-th flow information collection point does not meet the placement conditions of the metering device; and / or when the temperature at the i-th flow information collection point is greater than the fourth preset threshold, determine that the i-th flow information collection point does not meet the placement conditions of the metering device; and / or when the ambient noise at the i-th flow information collection point is greater than the fifth preset threshold, determine that the i-th flow information collection point does not meet the placement conditions of the metering device; and / or after the metering device is installed at the i-th flow information collection point, if the metering device cannot be repaired, determine that the i-th flow information collection point does not meet the placement conditions of the metering device.
[0068] In an exemplary embodiment, the setting module 44 is also used to obtain a target configuration file, wherein the target configuration file contains types of metering devices corresponding to different environmental information, and the environmental information includes at least one of the following: pressure, vibration frequency, humidity, temperature, environmental noise and estimated flow range; based on the target configuration file, the type of metering device set at the i-th flow information collection point is determined according to the environmental information of the i-th flow information collection point.
[0069] In an exemplary embodiment, the setting module 44 is also used to determine the distribution of fluid flow at the i-th flow information collection point, wherein the distribution of the fluid flow includes at least one of the following: flow velocity distribution, flow direction, flow distribution uniformity and flow peak value; based on the distribution of the fluid flow, determine the number of metering devices set at the i-th flow information collection point.
[0070] In an exemplary embodiment, the second determination module 46 is further used to determine the flow of the target pipeline according to the M flow data collected by the M metering devices based on the location information of the M metering devices in the target pipeline and the collection time of the M metering devices.
[0071] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0072] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
[0073] S1, determining distribution information of a target pipeline, and determining N flow information collection points inside the target pipeline according to the distribution information of the target pipeline;
[0074] S2, setting metering equipment at the N flow information collection points according to the environmental information of the N flow information collection points;
[0075] S3, when M metering devices are set at the N flow information collection points, the flow of the target pipeline is determined according to the flow data collected by the M metering devices.
[0076] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0077] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0078] An embodiment of the present application further provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps in any one of the above method embodiments are performed.
[0079] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0080] The embodiment of the present application also provides an electronic device, such as Figure 5As shown, the electronic device includes a memory 502 and a processor 504. The memory 502 stores a computer program, and the processor 504 is configured to execute the steps in any of the above method embodiments through the computer program.
[0081] Optionally, in this embodiment, the processor 504 may be configured to perform the following steps through a computer program:
[0082] S1, determining distribution information of a target pipeline, and determining N flow information collection points inside the target pipeline according to the distribution information of the target pipeline;
[0083] S2, setting metering equipment at the N flow information collection points according to the environmental information of the N flow information collection points;
[0084] S3, when M metering devices are set at the N flow information collection points, the flow of the target pipeline is determined according to the flow data collected by the M metering devices.
[0085] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0086] Alternatively, a person skilled in the art may understand that: Figure 5 The structure shown is for illustration only. Figure 5 The structure of the electronic device is not limited. For example, the electronic device may also include Figure 5 More or fewer components (such as network interfaces, etc.) as shown in, or with Figure 5 Different configurations shown.
[0087] Among them, the memory 502 can be used to store software programs and modules, such as the program instructions / modules corresponding to the flow measurement method and flow measurement device in the embodiments of the present application. The processor 504 executes various functional applications and data processing by running the software programs and modules stored in the memory 502, that is, to implement the above-mentioned flow measurement method. The memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 502 may further include a memory remotely located relative to the processor 504, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 502 can be specifically, but not limited to, used to store information such as system configuration files. As an example, such as Figure 5As shown, the memory 502 may include but is not limited to the first determination module 42, the setting module 44 and the second determination module 46 in the flow measurement device. In addition, it may also include but is not limited to other module units in the flow measurement device, which will not be repeated in this example.
[0088] Optionally, the transmission device 506 is used to receive or send data via a network. Specific examples of the network may include wired networks and wireless networks. In one example, the transmission device 506 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 506 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0089] In addition, the electronic device further includes: a display 508; and a connection bus 510, which is used to connect various module components in the electronic device.
[0090] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0091] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0092] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A flow measurement method, characterized in that: include: Determine the distribution information of the target pipeline, and determine N flow information collection points inside the target pipeline according to the distribution information of the target pipeline; Setting metering equipment at the N flow information collection points according to the environmental information of the N flow information collection points; In the case where M metering devices are arranged at the N flow information collection points, the flow of the target pipeline is determined according to the flow data collected by the M metering devices.
2. The method according to claim 1, characterized in that Setting metering equipment at the N flow information collection points according to the environmental information of the N flow information collection points includes: The metering device is set at the i-th flow information collection point among the N flow information collection points in the following manner, so as to set the metering device at the N flow information collection points: Determining whether the i-th flow information collection point meets the placement conditions of the metering device according to the environmental information of the i-th flow information collection point; If the i-th flow information collection point does not meet the placement conditions of the metering device, no metering device is set at the i-th flow information collection point; When the i-th flow information collection point meets the placement conditions of the metering equipment, the type and quantity of the metering equipment to be set at the i-th flow information collection point are determined according to the environmental information of the i-th flow information collection point.
3. The method according to claim 2, characterized in that Determining whether the i-th flow information collection point meets the placement conditions of the metering device according to the environmental information of the i-th flow information collection point includes: When the pressure at the i-th flow information collection point is greater than a first preset threshold, determining that the i-th flow information collection point does not meet the placement conditions of the metering device; and / or When the vibration frequency of the i-th flow information collection point is greater than a second preset threshold, determining that the i-th flow information collection point does not meet the placement conditions of the metering device; and / or When the humidity at the i-th flow information collection point is greater than a third preset threshold, determining that the i-th flow information collection point does not meet the placement conditions of the metering device; and / or When the temperature of the i-th flow information collection point is greater than a fourth preset threshold, determining that the i-th flow information collection point does not meet the placement conditions of the metering device; and / or When the ambient noise at the i-th flow information collection point is greater than a fifth preset threshold, determining that the i-th flow information collection point does not meet the placement conditions of the metering device; and / or After the metering device is installed at the i-th flow information collection point, when the metering device cannot be repaired, it is determined that the i-th flow information collection point does not meet the placement conditions of the metering device.
4. The method according to claim 2, characterized in that: Determining the type of metering equipment provided at the i-th flow information collection point according to the environmental information of the i-th flow information collection point includes: Acquire a target configuration file, wherein the target configuration file contains types of metering devices corresponding to different environmental information, and the environmental information includes at least one of the following: pressure, vibration frequency, humidity, temperature, environmental noise, and estimated flow range; Based on the target configuration file, the type of metering equipment provided at the i-th flow information collection point is determined according to the environmental information of the i-th flow information collection point.
5. The method according to claim 2, characterized in that: Determining the number of metering devices provided at the i-th flow information collection point according to the environmental information of the i-th flow information collection point includes: Determine the distribution of the fluid flow at the i-th flow information collection point, wherein the distribution of the fluid flow includes at least one of the following: flow velocity distribution, flow direction, flow distribution uniformity and flow peak value; The number of metering devices to be arranged at the i-th flow information collection point is determined based on the distribution of the fluid flow.
6. The method according to claim 1, characterized in that Determining the flow rate of the target pipeline according to the flow rate data collected by the M metering devices includes: Based on the position information of the M metering devices in the target pipeline and the collection time of the M metering devices, the flow rate of the target pipeline is determined according to the M flow data collected by the M metering devices.
7. A flow measurement device, characterized in that: include: A first determination module is used to determine distribution information of a target pipeline, and determine N flow information collection points inside the target pipeline according to the distribution information of the target pipeline; A setting module, used to set metering equipment at the N flow information collection points according to the environmental information of the N flow information collection points; The second determination module is used to determine the flow rate of the target pipeline according to the flow data collected by the M metering devices when M metering devices are set at the N flow information collection points.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 6 when executed.
9. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 6 through the computer program.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
