CN112651138A - Traffic obtaining method and device, terminal equipment and computer readable storage medium - Google Patents

Traffic obtaining method and device, terminal equipment and computer readable storage medium Download PDF

Info

Publication number
CN112651138A
CN112651138A CN202011643444.9A CN202011643444A CN112651138A CN 112651138 A CN112651138 A CN 112651138A CN 202011643444 A CN202011643444 A CN 202011643444A CN 112651138 A CN112651138 A CN 112651138A
Authority
CN
China
Prior art keywords
real
preset
time
flow
water supply
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011643444.9A
Other languages
Chinese (zh)
Other versions
CN112651138B (en
Inventor
何志远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Resources Power Hubei Co Ltd
Original Assignee
China Resources Power Hubei Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Resources Power Hubei Co Ltd filed Critical China Resources Power Hubei Co Ltd
Priority to CN202011643444.9A priority Critical patent/CN112651138B/en
Publication of CN112651138A publication Critical patent/CN112651138A/en
Application granted granted Critical
Publication of CN112651138B publication Critical patent/CN112651138B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/08Fluids
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/14Pipes

Abstract

The invention discloses a flow obtaining method, which comprises the following steps: acquiring real-time running state information of a preset water supply system; determining real-time simulation flow in a preset simulation flow meter based on the real-time operation state information; and when the real-time running state information meets a preset condition, obtaining the result flow of the preset water supply system based on the real-time simulation flow. The invention also discloses a flow obtaining device, terminal equipment and a computer readable storage medium. By utilizing the flow obtaining method, the technical effect of improving the accuracy of the result flow of the preset water supply system is achieved.

Description

Traffic obtaining method and device, terminal equipment and computer readable storage medium
Technical Field
The present invention relates to the field of water supply technologies, and in particular, to a method and an apparatus for obtaining a flow rate, a terminal device, and a computer-readable storage medium.
Background
In the field of water supply technology, a water supply department needs to obtain the flow rate (water supply flow rate) of a water supply system in real time to adjust the operation state of the water supply system according to the obtained flow rate.
In the related art, the flow rate of each water supply pipe is obtained by each flow meter, and the flow rate is transmitted to the terminal device, so that the terminal device obtains the resultant flow rate based on the flow rate of each water supply pipe.
However, the accuracy of the result traffic obtained by the terminal device is low by adopting the existing traffic obtaining method.
Disclosure of Invention
The invention mainly aims to provide a traffic obtaining method, a traffic obtaining device, a terminal device and a computer readable storage medium, and aims to solve the technical problem that the accuracy of the result traffic obtained by the terminal device is low by adopting the existing traffic obtaining method in the prior art.
In order to achieve the above object, the present invention provides a traffic obtaining method, including the following steps:
acquiring real-time running state information of a preset water supply system;
determining real-time simulation flow in a preset simulation flow meter based on the real-time operation state information;
and when the real-time running state information meets a preset condition, obtaining the result flow of the preset water supply system based on the real-time simulation flow.
Optionally, the step of determining the real-time simulation flow rate in a preset simulation flow meter based on the real-time operation state information includes:
acquiring real-time combination information based on the real-time running state information;
determining selected combination information corresponding to the real-time combination information in the preset simulation flow meter, wherein the preset simulation flow meter comprises different combination information and simulation flow corresponding to the different combination information;
determining a selected analog flow corresponding to the selected combination information in the preset analog flow meter;
determining the selected simulated flow as the real-time simulated flow.
Optionally, the real-time operation state information includes first device information of an operation water pump in the preset water supply system, a real-time current of the operation water pump, and real-time switch state information of a preset communication door in the preset water supply system; the step of obtaining real-time combination information based on the real-time running state information comprises:
and acquiring the real-time combination information based on the first equipment information, the real-time current and the real-time switch state information.
Optionally, before the step of determining the selected combination information corresponding to the real-time combination information in the preset simulated flow meter, the method further includes:
determining a preset operation water pump in the preset water supply system;
acquiring preset combination information by using preset switch state information of the preset interconnection door, second equipment information of the preset running water pump and preset current of the preset running water pump;
configuring the preset water supply system by using the preset combination information to obtain a preset detection flow;
establishing a mapping relation between the preset combination information and the preset detection flow;
and obtaining the preset simulated flow meter based on the preset combination information and the preset detection flow.
Optionally, the real-time running state information further includes a real-time detection flow rate of the preset water supply system; the preset conditions include:
and the duration that the ratio of the absolute value of the flow difference to the real-time simulation flow is greater than a preset ratio is greater than or equal to a preset duration, wherein the flow difference is the flow difference between the real-time detection flow and the real-time simulation flow.
Optionally, the real-time operation state information further includes a real-time flow rate of change of the preset water supply system, a current rate of change of the real-time current, and a real-time pressure rate of change of a water pipe in the preset water supply system; the preset conditions include:
the real-time flow rate of change is greater than a preset flow rate of change,
or the like, or, alternatively,
the real-time flow rate of change is greater than the sum of the current rate of change and the real-time pressure rate of change.
Optionally, the real-time operation state information further includes a real-time pressure of a water pipe in the preset water supply system; when the real-time running state information meets a preset condition, the step of obtaining the result flow of the preset water supply system based on the real-time simulation flow comprises the following steps:
when the real-time running state information meets the preset condition, obtaining a correction value based on the real-time current and the real-time pressure;
and correcting the real-time simulation flow by using the correction value to obtain the result flow.
In addition, to achieve the above object, the present invention also provides a flow rate obtaining apparatus, including:
the acquisition module is used for acquiring real-time running state information of a preset water supply system;
the determining module is used for determining real-time simulation flow in a preset simulation flow meter based on the real-time running state information;
and the obtaining module is used for obtaining the result flow of the preset water supply system based on the real-time simulation flow when the real-time running state information meets the preset condition.
In addition, to achieve the above object, the present invention further provides a terminal device, including: a memory, a processor and a flow obtaining program stored on the memory and running on the processor, the flow obtaining program when executed by the processor implementing the steps of the flow obtaining method as claimed in any one of the above.
Further, to achieve the above object, the present invention also proposes a computer-readable storage medium having stored thereon a flow volume obtaining program which, when executed by a processor, realizes the steps of the flow volume obtaining method according to any one of the above.
The technical scheme of the invention provides a flow obtaining method, which comprises the following steps: acquiring real-time running state information of a preset water supply system; determining real-time simulation flow in a preset simulation flow meter based on the real-time operation state information; and when the real-time running state information meets a preset condition, obtaining the result flow of the preset water supply system based on the real-time simulation flow. In the existing flow detection method, when the real-time running state of a preset water supply system meets a preset condition, a flow meter possibly has a fault or the measurement error of the flow meter is large, the accuracy rate of the real-time detected flow detected by the flow meter is low, and the accuracy rate of the finally obtained result flow is low; when the real-time running state information meets the preset condition, the result flow is obtained based on the real-time simulation flow corresponding to the real-time running state information in the simulation flow meter, the accuracy of the real-time simulation flow is higher, and the accuracy of the obtained result flow is higher.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of a traffic obtaining method according to the present invention;
FIG. 3 is a schematic structural view of a first embodiment of the default water supply system of the present invention;
fig. 4 is a block diagram showing the configuration of the first embodiment of the flow rate obtaining apparatus according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present invention.
The device may be a User Equipment (UE) such as a Mobile phone, smart phone, laptop, digital broadcast receiver, Personal Digital Assistant (PDA), tablet computer (PAD), handheld device, vehicular device, wearable device, computing device or other processing device connected to a wireless modem, Mobile Station (MS), or the like. The device may be referred to as a user terminal, portable terminal, desktop terminal, etc.
Generally, the apparatus comprises: at least one processor 301, a memory 302, and a traffic obtaining program stored on the memory and executable on the processor, the traffic obtaining program being configured to implement the steps of the traffic obtaining method as described above.
The processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 301 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. The processor 301 may further include an AI (Artificial Intelligence) processor for processing operations related to the flow rate acquisition method, so that the flow rate acquisition method model can be learned by self-training, improving efficiency and accuracy.
Memory 302 may include one or more computer-readable storage media, which may be non-transitory. Memory 302 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 302 is used to store at least one instruction for execution by processor 301 to implement a traffic acquisition method as provided by method embodiments herein.
In some embodiments, the terminal may further include: a communication interface 303 and at least one peripheral device. The processor 301, the memory 302 and the communication interface 303 may be connected by a bus or signal lines. Various peripheral devices may be connected to communication interface 303 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, a display screen 305, and a power source 306.
The communication interface 303 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 301 and the memory 302. In some embodiments, processor 301, memory 302, and communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 301, the memory 302 and the communication interface 303 may be implemented on a single chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 304 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 304 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 304 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 304 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 304 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 305 is a touch display screen, the display screen 305 also has the ability to capture touch signals on or over the surface of the display screen 305. The touch signal may be input to the processor 301 as a control signal for processing. At this point, the display screen 305 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 305 may be one, the front panel of the electronic device; in other embodiments, the display screens 305 may be at least two, respectively disposed on different surfaces of the electronic device or in a folded design; in still other embodiments, the display screen 305 may be a flexible display screen disposed on a curved surface or a folded surface of the electronic device. Even further, the display screen 305 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 305 may be made of LCD (liquid crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The power supply 306 is used to power various components in the electronic device. The power source 306 may be alternating current, direct current, disposable or rechargeable. When the power source 306 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the terminal device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, on which a flow rate obtaining program is stored, and the flow rate obtaining program, when executed by a processor, implements the steps of the flow rate obtaining method as described above. Therefore, a detailed description thereof will be omitted. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in embodiments of the computer-readable storage medium referred to in the present application, reference is made to the description of embodiments of the method of the present application. Determining by way of example, the program instructions may be deployed to be executed on one terminal device, or on multiple terminal devices located at one site, or distributed across multiple sites and interconnected by a communication network.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The computer-readable storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Based on the above hardware structure, an embodiment of the traffic obtaining method of the present invention is provided.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a traffic obtaining method according to the present invention, where the method is used for a terminal device, and the method includes the following steps:
step S11: and acquiring the real-time running state information of the preset water supply system.
It should be noted that the execution subject of the present invention is a terminal device, a traffic obtaining program is installed in the terminal device, and when the terminal device executes the traffic obtaining program, the traffic obtaining method of the present invention is implemented. The preset water supply system generally comprises a water pipe, a water pump, a communication door, various sensors (sensors for detecting various parameters of the preset water supply system), terminal equipment and the like; the preset water supply system may be a water supply system disposed in any environment or area, such as a water supply system of a certain cell, a water supply system of a certain factory, a water supply system of a certain office building, etc., and the present invention is not limited thereto.
If the water supply system comprises a plurality of water pumps, a plurality of connection doors and a plurality of water pipes (usually referring to water supply pipes), the result flow obtained at a certain moment refers to the current of the preset water supply system and the on-off state information of the connection doors (the respective on-off state information of the plurality of connection doors) based on the water pumps (the water pumps in working states, not including the water pumps which do not work in the preset water supply system) operated by the preset water supply system at the moment, the result flow of each water pipe (usually a water supply pipe) of the preset water supply system at the moment is obtained, and the total result flow of the preset water supply system is obtained based on the result flow of each water pipe. The preset water pumps refer to all water pumps in a preset water supply system.
The real-time operation state information may include: the method comprises the steps of presetting first equipment information of a running water pump in a water supply system, running the real-time current of the water pump, presetting real-time switch state information of a preset contact door in the water supply system, presetting real-time detection flow of the water supply system, presetting real-time flow change rate of the water supply system, current change rate of the real-time current, presetting real-time pressure change rate of a water pipe in the water supply system and presetting real-time pressure of the water pipe in the water supply system. The parameters in the real-time operation state information may be obtained by each sensor, the real-time flow rate of change of the preset water supply system, the current rate of change of the real-time current, and the real-time pressure rate of change of the water pipe in the preset water supply system may be obtained by the terminal device based on the real-time detection flow rate obtained by each sensor in real time, the real-time pressure of the water pipe in the preset water supply system, and the real-time current of the operation water pump, or may be directly detected by each sensor and directly transmitted to the terminal device, which is not limited in the present invention.
It should be noted that the real-time current of the present invention includes the respective real-time current of each operating water pump, the real-time pressure of the water pipe includes the respective real-time pressure of each water supply pipe, the real-time on-off state information of the preset contact gate includes the real-time on-off state information of each preset contact gate, the real-time detected flow of the preset water supply system includes the respective real-time detected flow of each water supply pipe, the real-time flow change rate includes the respective real-time flow change rate of each water supply pipe, the current change rate of the real-time current includes the respective real-time current change rate of each operating water pump, and the real-time pressure change rate of the water pipe includes the. Generally, each water supply pipe is provided with a flow rate detection sensor and a pressure detection sensor, and each preset water pump is provided with a current sensor.
The first equipment information of the operating water pump refers to specific names or mark information of the water pumps in the operating water pump, and the equipment information is used for identifying the water pumps in the preset water supply system. When the first equipment information of the running water pumps is the same, the running water pumps are the same, when the running water pumps are the same and the real-time parameters (real-time current and the like) of the running water pumps are the same, the real-time switch state information of the preset interconnection door is different, and the result flow of each water pipe is different.
Step S12: and determining real-time simulation flow in a preset simulation flow meter based on the real-time running state information.
It should be noted that, usually, a preset analog flow meter needs to be built for a preset water supply system, and the building steps are as follows: determining a preset operation water pump in the preset water supply system; acquiring preset combination information by using preset switch state information of the preset interconnection door, second equipment information of the preset running water pump and preset current of the preset running water pump; configuring the preset water supply system by using the preset combination information to obtain a preset detection flow; establishing a mapping relation between the preset combination information and the preset detection flow; and obtaining the preset simulated flow meter based on the preset combination information and the preset detection flow.
It should be noted that, each time, the preset operating water pump and the respective preset current of each preset operating water pump are determined in the preset water supply system, and the preset switching state information of each preset interconnection door is determined, the three kinds of information jointly form a preset combination information, usually, one preset combination information is generated at one time, and each time, the respective preset current of different preset operating water pumps, the respective preset current of preset operating water pumps, and the preset switching state information of each preset interconnection door are respectively determined, so as to obtain different preset combination information; obtaining a plurality of preset combination information through all combination results of the three kinds of information; the method comprises the steps of configuring a preset water supply system by using preset combination information every time, controlling the preset water supply system to operate after configuration, and detecting real-time flow by using a sensor to obtain detection flow corresponding to the preset combination information, namely the preset detection flow corresponding to the preset combination information, wherein the preset detection flow is the detection flow of each water pipe (generally a water supply pipe). And traversing all the preset combination information to obtain preset detection flows corresponding to all the preset combination information respectively. The method comprises the steps of obtaining a preset analog flow meter based on all preset combination information and all corresponding preset detection flows, namely, storing all the preset combination information and all the corresponding preset detection flows in the preset analog flow meter, wherein in the preset analog flow meter, the preset combination information is combination information in the step that the preset analog flow meter comprises different combination information and analog flows corresponding to the different combination information, and the preset detection flow is analog flow corresponding to the different combination information in the step that the preset analog flow meter comprises the different combination information and the analog flows corresponding to the different combination information.
It should be noted that the preset operation water pump is a water pump determined to be in operation in the preset water pump each time, the preset current is a current when the preset water pump operates, and the preset switch state information is the determined switch state information communicated with the users.
Referring to fig. 3, fig. 3 is a schematic structural view of a first embodiment of the preset water supply system of the present invention; the preset water supply system comprises 5 water pumps, two communication doors and two water supply pipes (respectively connected to a user 1 and a user 2), wherein the 5 water pumps are the same type of water pump and all have 5 working currents, namely 5 preset currents, meanwhile, the running state information of the two contact doors is three preset switch state information of opening the contact door 1 and the contact door 2, opening only the contact door 1 and opening only the contact door 2, 31 kinds of preset running water pumps are provided (32 kinds of the preset running water pumps are provided, and 5 water pumps are completely closed, not selected and meaningless), that is, there are 31 kinds of the second device information corresponding to the preset operation water pump, the preset combination information is 31 × 3 × 5-465 kinds, the corresponding preset detection flow rates are also 465, wherein each preset detection flow rate comprises the respective preset detection flow rate of the two water supply pipes. The finally obtained preset analog flow meter includes 465 kinds of preset combination information and corresponding 465 kinds of preset detection flows, that is, the obtained preset analog flow meter includes 465 kinds of combination information and corresponding 465 kinds of analog flows.
Further, step S12 includes: acquiring real-time combination information based on the real-time running state information; determining selected combination information corresponding to the real-time combination information in the preset simulation flow meter, wherein the preset simulation flow meter comprises different combination information and simulation flow corresponding to the different combination information; determining a selected analog flow corresponding to the selected combination information in the preset analog flow meter; determining the selected simulated flow as the real-time simulated flow.
Wherein the step of obtaining real-time combination information based on the real-time operation state information comprises: and acquiring the real-time combination information based on the first equipment information, the real-time current and the real-time switch state information.
It can be understood that three information, namely, the operation water pump (represented by the first device information), the real-time current and the real-time switch state information of the preset interconnection gate, are obtained from the real-time operation state information, and the selected combination information is determined in the preset analog flow meter, wherein the device information included in the selected combination information is completely the same as the first device information, the current included in the selected combination information is completely the same as the real-time current, and the switch state information included in the selected combination information is completely the same as the real-time switch state information. Generally, the real-time currents include real-time currents respectively corresponding to the operating water pumps, and then the current included in the selected combination information is the same as the real-time currents of the operating water pumps in the real-time currents.
For example, referring to fig. 3, the real-time operation state information includes device information of the water pump 1 and the water pump 2, the real-time currents included in the real-time operation state information are the current a of the water pump 1 and the current b of the water pump 2, the real-time contact door state information included in the real-time operation state information is that only the contact door 1 is opened, the corresponding selected combination information is determined in the preset analog flow meter, wherein the selected combination information comprises equipment information of the water pump 1 and the water pump 2, the selected combination information comprises a current a of the water pump 1 and a current b of the water pump 2, the selected combination information comprises that only the communication door 1 is opened, the analog flow of the pipeline 1 corresponding to the selected combination information is M, the analog flow of the pipeline 2 is N, at this time, the real-time simulation flow rate is (M + N), where the real-time simulation flow rate of the pipeline 1 is M, and the real-time simulation flow rate of the pipeline 2 is N.
Step S13: and when the real-time running state information meets a preset condition, obtaining the result flow of the preset water supply system based on the real-time simulation flow.
Wherein the preset conditions include:
the duration that the ratio of the absolute value of the flow difference to the real-time simulation flow is greater than a preset ratio is greater than or equal to a preset duration, wherein the flow difference is the flow difference between the real-time detection flow and the real-time simulation flow, or,
the real-time flow rate of change is greater than a preset flow rate of change, or,
the real-time flow rate of change is greater than the sum of the current rate of change and the real-time pressure rate of change.
It should be noted that the preset ratio is 0.1, and the preset time duration is 15 s. In addition, the real-time flow rate of change is greater than the preset flow rate of change and the real-time flow rate of change is greater than the sum of the current rate of change and the real-time pressure rate of change, or may be constrained by a duration, that is, within 15s to 30s (delay 3s), the real-time flow rate of change is greater than the preset flow rate of change, that is, the preset condition is satisfied, or, within 15s to 30s (delay 3s), the real-time flow rate of change is greater than the sum of the current rate of change and the real-time pressure rate of change, that is, the preset condition is satisfied.
It can be understood that the preset ratio, the preset duration, the duration and the delay time can be set by the user according to the requirement, the present invention is not limited, and the above values are preferred values.
Specifically, step S13 includes: when the real-time running state information meets the preset condition, obtaining a correction value based on the real-time current and the real-time pressure; and correcting the real-time simulation flow by using the correction value to obtain the result flow.
Generally, the accuracy of the real-time simulated flow obtained is not very high, and the real-time simulated flow needs to be corrected by the real-time current and the real-time pressure to obtain the final result flow. In addition, the obtained real-time simulated flow rate is a real-time simulated flow rate of each pipeline (generally, a water supply pipeline), and it is required to obtain a corrected value of each pipeline by using a real-time pressure and the real-time current of each pipeline, obtain a resultant flow rate of each pipeline based on the corrected value of each pipeline and the real-time simulated flow rate of each pipeline, and sum the resultant flow rates of each pipeline to obtain a final resultant flow rate, i.e., the resultant flow rate.
The technical scheme of the invention provides a flow obtaining method, which comprises the following steps: acquiring real-time running state information of a preset water supply system; determining real-time simulation flow in a preset simulation flow meter based on the real-time operation state information; and when the real-time running state information meets a preset condition, obtaining the result flow of the preset water supply system based on the real-time simulation flow. In the existing flow detection method, when the real-time running state of a preset water supply system meets a preset condition, a flow meter possibly has a fault or the measurement error of the flow meter is large, the accuracy rate of the real-time detected flow detected by the flow meter is low, and the accuracy rate of the finally obtained result flow is low; when the real-time running state information meets the preset condition, the result flow is obtained based on the real-time simulation flow corresponding to the real-time running state information in the simulation flow meter, the accuracy of the real-time simulation flow is higher, and the accuracy of the obtained result flow is higher.
Referring to fig. 4, fig. 4 is a block diagram of a first embodiment of a traffic obtaining apparatus according to the present invention, where the apparatus is used for a terminal device, and the apparatus includes:
the acquisition module 10 is used for acquiring real-time running state information of a preset water supply system;
the determining module 20 is configured to determine a real-time simulated flow rate in a preset simulated flow meter based on the real-time operating state information;
an obtaining module 30, configured to obtain a result flow of the preset water supply system based on the real-time simulated flow when the real-time operating state information meets a preset condition.
The above description is only an alternative embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for traffic acquisition, characterized in that it comprises the steps of:
acquiring real-time running state information of a preset water supply system;
determining real-time simulation flow in a preset simulation flow meter based on the real-time operation state information;
and when the real-time running state information meets a preset condition, obtaining the result flow of the preset water supply system based on the real-time simulation flow.
2. The method of claim 1, wherein the step of determining a real-time simulated flow rate in a preset simulated flow meter based on the real-time operating condition information comprises:
acquiring real-time combination information based on the real-time running state information;
determining selected combination information corresponding to the real-time combination information in the preset simulation flow meter, wherein the preset simulation flow meter comprises different combination information and simulation flow corresponding to the different combination information;
determining a selected analog flow corresponding to the selected combination information in the preset analog flow meter;
determining the selected simulated flow as the real-time simulated flow.
3. The method of claim 2, wherein the real-time operation state information includes first equipment information of operating a water pump in the preset water supply system, real-time current of the operating water pump, and real-time on-off state information of a preset communication door in the preset water supply system; the step of obtaining real-time combination information based on the real-time running state information comprises:
and acquiring the real-time combination information based on the first equipment information, the real-time current and the real-time switch state information.
4. The method of claim 3, wherein prior to the step of determining the selected combination information corresponding to the real-time combination information in the preset simulated flow chart, the method further comprises:
determining a preset operation water pump in the preset water supply system;
acquiring preset combination information by using preset switch state information of the preset interconnection door, second equipment information of the preset running water pump and preset current of the preset running water pump;
configuring the preset water supply system by using the preset combination information to obtain a preset detection flow;
establishing a mapping relation between the preset combination information and the preset detection flow;
and obtaining the preset simulated flow meter based on the preset combination information and the preset detection flow.
5. The method of claim 4, wherein the real-time operational status information further comprises a real-time detected flow rate of the pre-set water supply system; the preset conditions include:
and the duration that the ratio of the absolute value of the flow difference to the real-time simulation flow is greater than a preset ratio is greater than or equal to a preset duration, wherein the flow difference is the flow difference between the real-time detection flow and the real-time simulation flow.
6. The method of claim 4, wherein the real-time operational status information further comprises a real-time flow rate change rate of the pre-set water supply system, a current rate change of the real-time current, and a real-time pressure rate change of a water pipe in the pre-set water supply system; the preset conditions include:
the real-time flow rate of change is greater than a preset flow rate of change,
or the like, or, alternatively,
the real-time flow rate of change is greater than the sum of the current rate of change and the real-time pressure rate of change.
7. The method of claim 5 or 6, wherein the real-time operational status information further comprises a real-time pressure of a water line in the pre-set water supply system; when the real-time running state information meets a preset condition, the step of obtaining the result flow of the preset water supply system based on the real-time simulation flow comprises the following steps:
when the real-time running state information meets the preset condition, obtaining a correction value based on the real-time current and the real-time pressure;
and correcting the real-time simulation flow by using the correction value to obtain the result flow.
8. A flow obtaining apparatus, characterized in that the apparatus comprises:
the acquisition module is used for acquiring real-time running state information of a preset water supply system;
the determining module is used for determining real-time simulation flow in a preset simulation flow meter based on the real-time running state information;
and the obtaining module is used for obtaining the result flow of the preset water supply system based on the real-time simulation flow when the real-time running state information meets the preset condition.
9. A terminal device, characterized in that the terminal device comprises: memory, processor and a flow acquisition program stored on the memory and running on the processor, the flow acquisition program when executed by the processor implementing the steps of the flow acquisition method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a flow rate obtaining program is stored thereon, which when executed by a processor implements the steps of the flow rate obtaining method according to any one of claims 1 to 7.
CN202011643444.9A 2020-12-30 2020-12-30 Traffic obtaining method, traffic obtaining device, terminal equipment and computer readable storage medium Active CN112651138B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011643444.9A CN112651138B (en) 2020-12-30 2020-12-30 Traffic obtaining method, traffic obtaining device, terminal equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011643444.9A CN112651138B (en) 2020-12-30 2020-12-30 Traffic obtaining method, traffic obtaining device, terminal equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112651138A true CN112651138A (en) 2021-04-13
CN112651138B CN112651138B (en) 2023-12-08

Family

ID=75367101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011643444.9A Active CN112651138B (en) 2020-12-30 2020-12-30 Traffic obtaining method, traffic obtaining device, terminal equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112651138B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020173923A1 (en) * 2001-03-09 2002-11-21 Schutzbach James S. Sewer flow monitoring method and system
CN107228692A (en) * 2017-06-30 2017-10-03 深圳龙电电气股份有限公司 The metering method and its device of a kind of water flow
US20180238765A1 (en) * 2017-02-22 2018-08-23 Max H. GRAMESPACHER Method and system for water metering and unusual water flow detection
CN108984873A (en) * 2018-06-28 2018-12-11 武汉新烽光电股份有限公司 The real-time soil's rigidity method of water supply network, equipment, system and storage medium
CN109186888A (en) * 2018-08-30 2019-01-11 深圳奇迹智慧网络有限公司 A kind of method, apparatus and terminal device of running water pipe water leakage monitoring
CN109215821A (en) * 2018-08-14 2019-01-15 中广核核电运营有限公司 Nuclear power plant evaporator main feedwater flow redundant measurement channel comparative approach and system
KR20190094692A (en) * 2018-02-05 2019-08-14 문경훈 Method of estimating flow rate and of detecting leak of wide area water using recurrent analysis, recurrent neural network and deep neural network
CN110956339A (en) * 2019-12-17 2020-04-03 上海威派格智慧水务股份有限公司 Flow prediction method
CN110992209A (en) * 2019-12-17 2020-04-10 上海威派格智慧水务股份有限公司 Flow prediction method
CN110987130A (en) * 2019-12-26 2020-04-10 安为机电设备制造(上海)有限公司 Flowmeter detection system and detection method thereof
CN111951988A (en) * 2020-07-13 2020-11-17 中广核核电运营有限公司 Method and device for detecting abnormity of main water supply flow and computer equipment
CN111982245A (en) * 2020-07-13 2020-11-24 中广核核电运营有限公司 Method and device for calibrating main steam flow, computer equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020173923A1 (en) * 2001-03-09 2002-11-21 Schutzbach James S. Sewer flow monitoring method and system
US20180238765A1 (en) * 2017-02-22 2018-08-23 Max H. GRAMESPACHER Method and system for water metering and unusual water flow detection
CN107228692A (en) * 2017-06-30 2017-10-03 深圳龙电电气股份有限公司 The metering method and its device of a kind of water flow
KR20190094692A (en) * 2018-02-05 2019-08-14 문경훈 Method of estimating flow rate and of detecting leak of wide area water using recurrent analysis, recurrent neural network and deep neural network
CN108984873A (en) * 2018-06-28 2018-12-11 武汉新烽光电股份有限公司 The real-time soil's rigidity method of water supply network, equipment, system and storage medium
CN109215821A (en) * 2018-08-14 2019-01-15 中广核核电运营有限公司 Nuclear power plant evaporator main feedwater flow redundant measurement channel comparative approach and system
CN109186888A (en) * 2018-08-30 2019-01-11 深圳奇迹智慧网络有限公司 A kind of method, apparatus and terminal device of running water pipe water leakage monitoring
CN110956339A (en) * 2019-12-17 2020-04-03 上海威派格智慧水务股份有限公司 Flow prediction method
CN110992209A (en) * 2019-12-17 2020-04-10 上海威派格智慧水务股份有限公司 Flow prediction method
CN110987130A (en) * 2019-12-26 2020-04-10 安为机电设备制造(上海)有限公司 Flowmeter detection system and detection method thereof
CN111951988A (en) * 2020-07-13 2020-11-17 中广核核电运营有限公司 Method and device for detecting abnormity of main water supply flow and computer equipment
CN111982245A (en) * 2020-07-13 2020-11-24 中广核核电运营有限公司 Method and device for calibrating main steam flow, computer equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
丛海兵;黄廷林;: "供水系统运行状态实时模拟方法", 供水技术, no. 01, pages 25 - 29 *
任永良等: "基于供水模拟系统的高精度动态数据采集", 化工自动化及仪表, vol. 46, pages 721 - 724 *

Also Published As

Publication number Publication date
CN112651138B (en) 2023-12-08

Similar Documents

Publication Publication Date Title
CN111277991B (en) Operator name display method and device, mobile terminal and storage medium
CN110730017A (en) Radio frequency device, control method thereof and terminal equipment
CN110933706A (en) Network communication setting method, device, storage medium and terminal
CN108880751A (en) transmission rate adjusting method, device and electronic device
CN112566244B (en) Equipment positioning method, device, terminal equipment and storage medium
CN110062416B (en) Resource relation notification and determination methods, base station and terminal
KR100539892B1 (en) Composite personal digital assistant for controlling display and method therein
CN112351097A (en) Device control method, device, sending end and storage medium
US20230378767A1 (en) Charging control method and apparatus, electronic device, and charger
CN112612526A (en) Application program control method and device, terminal device and storage medium
CN112583907A (en) Connection method and device, smart home equipment and computer readable storage medium
CN112651138A (en) Traffic obtaining method and device, terminal equipment and computer readable storage medium
CN111368238A (en) Status bar adjusting method and device, mobile terminal and storage medium
CN111026457A (en) Hardware configuration method and device, storage medium and terminal equipment
CN113407392B (en) Floating point arithmetic unit testing method and device, centralized control equipment and storage medium
CN113225234B (en) Asset detection method, device, terminal equipment and computer readable storage medium
CN114881398A (en) Implementation method of low-carbon planning platform and related product
CN110995324A (en) Bluetooth communication method, device, storage medium and terminal equipment
CN111048056A (en) Terminal equipment brightness adjusting method and system, storage medium and terminal equipment
CN113741215B (en) Equipment control method and device based on associated characteristic data
CN112423004B (en) Video data transmission method, device, transmitting end and storage medium
CN111277642B (en) Method and device for enhancing information transmission speed, storage medium and mobile terminal
CN111163509B (en) Power saving display method and device, storage medium and mobile terminal
CN116092434B (en) Dimming method, dimming device, electronic equipment and computer readable storage medium
CN111026488B (en) Communication data saving method, device, terminal equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant