Method and device for determining blocking time of liquid conveying pipeline, equipment and medium
By adjusting the flow curve of the pipeline flow detected by the flow sensor of the chemical transportation pipeline, the problem that the detection results in the prior art are affected by the inner wall impurities is solved, and the accurate identification of the pipeline blockage time is achieved, and the accuracy of production operations of the production line is improved.
Patent Information
- Application Number
- CN202411924943.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-04-11
AI Technical Summary
When the prior art determines whether the chemical transportation pipeline meets the clogging requirements, the detection results are affected by the inner wall impurities, which are of low accuracy, resulting in errors in judgment and affecting the production operations of the production line.
By continuously obtaining the pipeline flow detected by the flow sensor and adjusting it based on the preset flow curve at the flow correction time, the adjusted flow curve is obtained. If the pipeline flow failure is detected, the estimated blockage time of the target liquid delivery pipeline is determined based on the adjusted flow curve.
It realizes accurate identification of the blockage time of chemical liquid transportation pipelines, reduces the possibility of judgment errors, and improves the accuracy of production operations of the production line.
Smart Images

Figure CN119803626A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of pipeline detection, and in particular to a method, device, equipment and medium for determining the blockage time of a liquid delivery pipeline. Background Art
[0002] In chemical transportation pipelines, flow sensors are usually needed to detect pipeline flow. However, impurities are easily attached to the inner wall of the pipeline, and the impurity layer will become thicker and thicker as the pipeline is used. The sensor will be affected by the impurities, resulting in distorted detection results.
[0003] When identifying whether a chemical transport pipeline has reached the blockage requirement, if the judgment is based on the sensor's detection results, since the detection results are affected by impurities on the inner wall and have low accuracy, incorrect judgments may occur, affecting production operations on the production line. Summary of the invention
[0004] The invention provides a method, device, equipment and medium for determining the blockage time of a liquid delivery pipeline, which can accurately identify the blockage time of a chemical liquid delivery pipeline.
[0005] According to one aspect of the present invention, a method for determining the blockage time of a liquid delivery pipeline is provided, the method comprising:
[0006] Continuously obtain the pipeline flow rate obtained by the flow sensor detecting the target liquid delivery pipeline;
[0007] At the flow correction moment, the preset flow curve is adjusted based on the pipeline flow to obtain an adjusted flow curve; the preset flow curve reflects the change of the flow of the target liquid delivery pipeline over time;
[0008] If it is determined that the pipeline flow detected by the flow sensor has failed, an estimated blockage time of the target liquid delivery pipeline is determined based on the adjusted flow curve.
[0009] According to another aspect of the present invention, there is provided a device for determining the blockage time of a liquid delivery pipeline, comprising:
[0010] A pipeline flow acquisition module is used to continuously acquire the pipeline flow rate obtained by the flow sensor detecting the target liquid delivery pipeline;
[0011] A curve adjustment module, used to adjust a preset flow curve based on the pipeline flow at the flow correction moment to obtain an adjusted flow curve; the preset flow curve reflects the change of the flow of the target liquid delivery pipeline over time;
[0012] The blockage time determination module is used to determine the estimated blockage time of the target liquid delivery pipeline based on the adjusted flow curve if it is determined that the pipeline flow detected by the flow sensor has failed.
[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0014] at least one processor; and
[0015] a memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for determining the blockage time of the liquid delivery pipeline described in any embodiment of the present invention.
[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining the blockage time of a liquid delivery pipeline described in any embodiment of the present invention when executed.
[0018] The technical solution of the embodiment of the present application includes: continuously obtaining the pipeline flow rate obtained by the flow sensor detecting the target liquid delivery pipeline; at the flow correction moment, adjusting the preset flow curve based on the pipeline flow rate to obtain an adjusted flow curve; the preset flow curve reflects the change of the flow rate of the target liquid delivery pipeline over time; if it is determined that the pipeline flow rate detected by the flow sensor has failed, then determining the estimated blockage time of the target liquid delivery pipeline based on the adjusted flow curve. This technical solution adjusts the preset flow curve so that the obtained adjusted flow curve is closer to the pipeline flow, and then after the pipeline flow fails, the estimated blockage time of the target liquid delivery pipeline can be accurately determined based on the adjusted flow curve.
[0019] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0021] Figure 1 It is a flow chart of a method for determining the blockage time of a liquid delivery pipeline provided in accordance with the first embodiment of the present application;
[0022] Figure 2 It is a flow chart of a method for determining the blockage time of a liquid delivery pipeline provided in accordance with the second embodiment of the present application;
[0023] Figure 3 It is a structural schematic diagram of a device for determining the blockage time of a liquid delivery pipeline provided according to the third embodiment of the present application;
[0024] Figure 4 It is a structural schematic diagram of an electronic device for implementing a method for determining the blockage time of a liquid delivery pipeline according to an embodiment of the present application. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only embodiments of a part of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0026] It should be noted that the terms "first", "second", "target", etc. in the specification and claims of the present invention 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 interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes 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.
[0027] Embodiment 1
[0028] Figure 1 A flow chart of a method for determining the blockage time of a liquid delivery pipeline is provided for the first embodiment of the present application. The embodiment of the present application can be applied to the situation of identifying the blockage time of a chemical transportation pipeline. The method can be executed by a device for determining the blockage time of a liquid delivery pipeline. The device for determining the blockage time of a liquid delivery pipeline can be implemented in the form of hardware and / or software. The device for determining the blockage time of a liquid delivery pipeline can be configured in an electronic device with data processing capabilities. Figure 1 As shown, the method includes:
[0029] S110, continuously acquiring the pipeline flow rate obtained by the flow sensor detecting the target liquid delivery pipeline.
[0030] The target liquid delivery pipeline may be a pipeline for delivering chemicals, such as certain acidic liquids, alkaline liquids, etc. Since the target liquid delivery pipeline is used to deliver chemicals, impurities may appear on its inner wall, and the environment inside the pipeline is special (such as strong acid, strong alkali environment, etc.), and a flow sensor is usually required for flow detection.
[0031] Specifically, a sensor for detecting the flow rate of the target liquid delivery pipeline is pre-installed. After the target liquid delivery pipeline begins to be used, that is, after the liquid is transported through the pipeline, the pipeline flow rate detected by the flow sensor is continuously obtained. Since the pipeline flow rate is obtained in real time, as time goes by, more and more pipeline flow data is collected, and the pipeline flow rate can be fitted into a pipeline flow curve.
[0032] In the embodiment of the present application, since the impurities on the inner wall of the target liquid delivery pipeline will increase with the transportation of the liquid, the detection result of the flow sensor will gradually begin to fail from being relatively accurate. Therefore, when the detection result of the flow sensor is relatively accurate, the preset flow curve can be adjusted through step S120; when the detection result of the flow sensor fails, the subsequent blockage time can be judged by adjusting the flow curve, thereby achieving the effect of accurately identifying the estimated blockage time of the target liquid delivery pipeline.
[0033] S120, at the flow correction time, adjusting the preset flow curve based on the pipeline flow to obtain an adjusted flow curve.
[0034] The preset flow curve reflects the change of the flow of the target liquid delivery pipeline over time, and the preset flow curve may be determined in advance based on the historical flow data of the target liquid delivery pipeline or the flow data of other pipelines.
[0035] Specifically, the preset flow curve can reflect the flow change of the target liquid delivery pipeline from the start time, but the flow is different from the actual flow, so the preset flow curve can be adjusted based on the pipeline flow at the flow correction time, and the specific adjustment method includes but is not limited to curve translation, scaling, distortion, etc. The adjusted curve is determined as the adjusted flow curve.
[0036] Exemplarily, when continuously acquiring pipeline flow, if it is determined that the flow correction moment has been reached, the preset flow curve is shifted according to the pipeline flow at the flow correction moment to obtain an adjusted flow curve, so that the adjusted flow curve is more consistent with the actual measured pipeline flow; if the flow correction moment is reached again, the adjusted flow curve obtained by the last adjustment is shifted according to the pipeline flow at the flow correction moment to obtain a new adjusted flow curve, so that the adjusted flow curve is more consistent with the latest pipeline flow, until the time when the pipeline flow has expired is reached, and S130 is executed.
[0037] S130: If it is determined that the pipeline flow detected by the flow sensor has failed, an estimated blockage time of the target liquid delivery pipeline is determined based on the adjusted flow curve.
[0038] Among them, the failure of the pipeline flow reflects that the pipeline flow can no longer reflect the actual flow in the target liquid delivery pipeline. In one case, if the pipeline flow detected by the flow sensor becomes 0, it is determined that the pipeline flow at that moment has failed; in another case, if the pipeline flow detected by the flow sensor is reduced to the blockage flow threshold, it is determined that the pipeline flow at that moment has failed; in yet another case, if the pipeline flow detected by the flow sensor continues to decrease, and the decrease rate is greater than the standard value, it is determined that the pipeline flow at that moment has failed.
[0039] Specifically, in the process of continuously receiving the pipeline flow detected by the flow sensor, if it is determined that the pipeline flow detected by the flow sensor has failed, the time when the flow drops to the blockage flow threshold is determined based on the adjusted flow curve, and the time is determined as the estimated blockage time of the target liquid delivery pipeline.
[0040] In an embodiment of the present application, optionally, determining an estimated blockage time of the target liquid delivery pipeline based on the adjusted flow curve includes: determining the time corresponding to the blockage flow threshold in the adjusted flow curve as the estimated blockage time.
[0041] In an embodiment of the present application, optionally, the method further includes: obtaining the latest adjusted flow curve of each stage, fitting each curve, and obtaining a historical flow curve corresponding to the target liquid delivery pipeline, so that when subsequently determining the preset flow curves of other liquid delivery pipelines, the determination is made according to the historical flow curves corresponding to the target liquid delivery pipeline.
[0042] The technical solution of the embodiment of the present application includes: continuously obtaining the pipeline flow rate obtained by the flow sensor detecting the target liquid delivery pipeline; at the flow correction moment, adjusting the preset flow curve based on the pipeline flow rate to obtain an adjusted flow curve; the preset flow curve reflects the change of the flow rate of the target liquid delivery pipeline over time; if it is determined that the pipeline flow rate detected by the flow sensor has failed, then determining the estimated blockage time of the target liquid delivery pipeline based on the adjusted flow curve. This technical solution adjusts the preset flow curve so that the obtained adjusted flow curve is closer to the pipeline flow, and then after the pipeline flow fails, the estimated blockage time of the target liquid delivery pipeline can be accurately determined based on the adjusted flow curve.
[0043] Embodiment 2
[0044] Figure 2This is a flow chart of a method for determining the blockage time of a liquid delivery pipeline provided in Example 2 of the present application. The embodiment of the present application is optimized based on the above embodiment.
[0045] like Figure 2 As shown, the method of the embodiment of the present application specifically includes the following steps:
[0046] S210, continuously acquiring the pipeline flow rate obtained by the flow sensor detecting the target liquid delivery pipeline.
[0047] S220: If it is determined that the pipeline flow curve and the preset flow curve meet the curve deviation condition, the current time is determined as the flow correction time.
[0048] Specifically, under normal circumstances (for example, in the early and middle stages of transporting chemical liquids in the target liquid delivery pipeline), the pipeline flow collected by the flow sensor is relatively accurate, and it can identify in real time whether the pipeline flow curve and the preset flow curve meet the curve deviation condition. If so, it means that the gap between the preset flow curve and the pipeline flow is too large, and the preset flow curve should be adjusted, that is, the current moment is determined as the flow correction moment.
[0049] In an embodiment of the present application, optionally, if it is determined that the pipeline flow curve and the preset flow curve meet the curve deviation condition, the current time is determined as the flow correction moment, including: if the flow difference between the pipeline flow value and the preset flow value is greater than the first flow threshold, the current time is determined as the flow correction moment; the pipeline flow value is the value in the pipeline flow curve corresponding to the current time, and the preset flow value is the value in the preset flow curve corresponding to the current time.
[0050] Among them, the first flow threshold can be determined according to actual conditions, and the embodiment of the present application does not limit this.
[0051] Specifically, the numerical value corresponding to the current time in the preset flow curve is determined as the preset flow value; the pipeline flow of the flow sensor obtained at the current time is determined as the pipeline flow value, and the flow difference between the preset flow value and the pipeline flow value is calculated. If the flow difference is greater than the first flow threshold, it indicates that the pipeline flow curve deviates greatly from the preset flow curve, and the curve deviation condition has been met, and the current time is determined as the flow correction moment.
[0052] The present scheme is configured in such a way that the degree of deviation between the latest pipeline flow value and the preset flow value in the pipeline flow curve can be determined in real time, and then the flow correction moment can be determined in time when the flow difference is greater than the first flow threshold value to adjust the preset flow curve, so that the preset flow curve (i.e., the adjusted flow curve) is always close to the latest actual pipeline flow.
[0053] In an embodiment of the present application, optionally, if it is determined that the pipeline flow curve and the preset flow curve meet the curve deviation condition, the current time is determined as the flow correction moment, including: if the flow difference between the pipeline flow value and the preset flow value is greater than the second flow threshold, and the slope difference between the pipeline flow curve at the current time and the preset flow curve is greater than the preset slope difference, the current time is determined as the flow correction moment.
[0054] The second flow threshold is smaller than the first flow threshold.
[0055] Specifically, if the flow difference between the pipeline flow value and the preset flow value is greater than the second flow threshold and less than the first flow threshold, it means that the real-time pipeline flow and the preset pipeline curve have a certain offset, but the offset is not large. In this case, if the slope difference between the pipeline flow curve at the current time and the preset flow curve is greater than the preset slope difference, it means that the pipeline flow curve and the preset flow curve have a trend of increasing deviation. In this case, the current time can be determined as the flow correction moment to perform flow correction in advance.
[0056] In an embodiment of the present application, optionally, the process of determining the flow correction time includes: obtaining a pre-calibrated correction interval time; starting from the first use of the target liquid delivery pipeline, each time a correction interval time has passed, determining the current time as the flow correction time.
[0057] Specifically, the correction interval time may be preset, and the current time may be determined as the flow correction moment every time the correction interval time elapses, so as to realize continuous correction of the preset flow curve.
[0058] S230, at the flow correction time, determining the curve located at the flow correction time and after the flow correction time in the preset flow curve as the curve to be moved.
[0059] Specifically, if the flow correction time is reached, the curve located at the flow correction time and after the flow correction time in the preset flow curve is determined as the curve to be moved, so that the curve to be moved is moved in subsequent steps.
[0060] S240, moving the curve to be moved in the direction of the pipeline flow curve to obtain an adjusted flow curve.
[0061] Specifically, the moving curve is moved. When moving, since the horizontal axis is time and the vertical axis is flow, the moving curve can be translated up and down so that the value of the current moment in the obtained adjusted flow curve is equal to the pipeline flow value.
[0062] In an embodiment of the present application, optionally, the curve to be moved is moved in the direction of the pipeline flow curve to obtain an adjusted flow curve, including: determining a first flow value corresponding to the flow correction moment in the pipeline flow curve, and determining a second flow value corresponding to the flow correction moment in the curve to be moved; in a plane rectangular coordinate system, determining a target moving direction and a target moving distance from the second flow value to the first flow value; in a plane rectangular coordinate system, translating the curve to be moved based on the target moving direction and the target moving distance to obtain an adjusted flow curve.
[0063] Specifically, a plane rectangular coordinate system is established, and a pipeline flow curve is generated based on the acquired pipeline flow. The numerical value of the pipeline flow curve corresponding to the flow correction moment is determined as the first flow value, and the numerical value of the curve to be moved corresponding to the flow correction moment is determined as the second flow value. In the plane rectangular coordinate system, the target moving direction and target moving distance required to move from the second flow value to the first flow value are calculated, and the curve to be moved is translated according to the target moving direction and target moving distance to obtain an adjusted flow curve.
[0064] Furthermore, if the flow correction time is reached again, the adjustment operation is performed again on the current adjustment flow curve. The adjustment method can be the same as the preset flow curve to obtain a new adjustment flow curve until it is determined that the pipeline flow detected by the flow sensor has failed.
[0065] S250: If it is determined that the pipeline flow detected by the flow sensor has failed, an estimated blockage time of the target liquid delivery pipeline is determined based on the adjusted flow curve.
[0066] In an embodiment of the present application, optionally, if it is determined that the pipeline flow detected by the flow sensor has failed, the estimated blockage time of the target liquid delivery pipeline is determined based on the adjusted flow curve, including: if it is determined that the pipeline flow detected by the flow sensor has failed, and the interval time between the failure time and the last flow correction time is greater than the failure time of the flow sensor, the estimated blockage time of the target liquid delivery pipeline is determined based on the latest adjusted flow curve; otherwise, the estimated blockage time of the target liquid delivery pipeline is determined based on the adjusted flow curve obtained by the last curve adjustment.
[0067] Specifically, since the data of the flow sensor are not of reference within the failure duration, if it is determined that the pipeline flow detected by the flow sensor has failed, and the interval between the failure time and the last flow correction time is greater than the failure duration of the flow sensor, it means that the latest adjusted flow curve is adjusted according to the actual pipeline flow, and the estimated blockage time of the target liquid delivery pipeline is determined based on the latest adjusted flow curve; otherwise, it means that the latest adjusted flow curve is adjusted according to the failed pipeline flow and has no reference value, and the estimated blockage time of the target liquid delivery pipeline can be determined based on the adjusted flow curve before the latest adjusted flow curve (i.e., the second to last adjusted flow curve).
[0068] In an embodiment of the present application, optionally, if it is determined that the pipeline flow detected by the flow sensor has failed, the possible blockage time corresponding to the blockage flow threshold is determined based on the adjusted flow curve. If it is determined that the current time has reached the possible blockage time, the liquid level change information of the liquid storage device is obtained. The liquid storage device is a device for storing liquid connected to the target liquid delivery pipeline (due to the complex environment inside the target liquid delivery pipeline, the flow rate cannot be directly measured, and it can be indirectly inferred through the information of the outflowing liquid). The flow rate of the target liquid delivery pipeline is calculated according to the liquid change information. If the flow rate is greater than the blockage flow threshold, the adjusted flow curve is adjusted again based on the flow rate, so that the time corresponding to the blockage flow threshold is used as the estimated blockage time according to the final adjusted flow curve.
[0069] The technical solution of the embodiment of the present application determines a flow correction time suitable for curve adjustment according to the degree of deviation between the pipeline flow curve and the preset flow curve, and then adjusts the preset flow curve at the flow correction time, so that the obtained adjusted flow curve is closer to the actual flow of the target liquid delivery pipeline. After the pipeline flow collected by the flow sensor fails, a more accurate blockage time of the target liquid delivery pipeline can be determined based on the adjusted flow curve, providing accurate data for assembly line production and avoiding the situation where the generation plan is disrupted due to sudden blockage of the pipeline.
[0070] Embodiment 3
[0071] Figure 3 This is a schematic diagram of the structure of a device for determining the blockage time of a liquid delivery pipeline provided in the third embodiment of the present application. The device can execute the method for determining the blockage time of a liquid delivery pipeline provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. Figure 3 As shown, the device comprises:
[0072] The pipeline flow acquisition module 310 is used to continuously acquire the pipeline flow obtained by the flow sensor detecting the target liquid delivery pipeline;
[0073] The curve adjustment module 320 is used to adjust the preset flow curve based on the pipeline flow at the flow correction moment to obtain an adjusted flow curve; the preset flow curve reflects the change of the flow of the target liquid delivery pipeline over time;
[0074] The blockage time determination module 330 is used to determine the estimated blockage time of the target liquid delivery pipeline based on the adjusted flow curve if it is determined that the pipeline flow detected by the flow sensor has failed.
[0075] The technical solution of the embodiment of the present application includes: a pipeline flow acquisition module 310, which is used to continuously obtain the pipeline flow obtained by the flow sensor detecting the target liquid delivery pipeline; a curve adjustment module 320, which is used to adjust the preset flow curve based on the pipeline flow at the flow correction moment to obtain an adjusted flow curve; the preset flow curve reflects the change of the flow of the target liquid delivery pipeline over time; a blockage time determination module 330, which is used to determine the estimated blockage time of the target liquid delivery pipeline based on the adjusted flow curve if it is determined that the pipeline flow detected by the flow sensor has failed. This technical solution adjusts the preset flow curve so that the obtained adjusted flow curve is closer to the pipeline flow, and then after the pipeline flow fails, the estimated blockage time of the target liquid delivery pipeline can be accurately determined based on the adjusted flow curve.
[0076] In the embodiment of the present application, optionally, the curve adjustment module 320 includes:
[0077] A to-be-moved determination unit, used to determine a curve located after the flow correction moment and the flow calibration moment in the preset flow curve as a to-be-moved curve;
[0078] The curve moving unit is used to move the curve to be moved in the direction of the pipeline flow curve to obtain an adjusted flow curve.
[0079] In an embodiment of the present application, optionally, the curve moving unit includes:
[0080] A flow value determination subunit, used to determine a first flow value corresponding to the flow correction moment in the pipeline flow curve, and to determine a second flow value corresponding to the flow correction moment in the to-be-moved curve;
[0081] A movement information determination subunit, used to determine a target movement direction and a target movement distance from the second flow value to the first flow value in a plane rectangular coordinate system;
[0082] The curve translation subunit is used to translate the curve to be moved based on the target moving direction and the target moving distance in the plane rectangular coordinate system to obtain an adjusted flow curve.
[0083] In the embodiment of the present application, optionally, the device further includes: a flow correction time determination module, including:
[0084] A flow correction time determination unit, configured to determine the current time as the flow correction time if it is determined that the pipeline flow curve and the preset flow curve meet a curve deviation condition;
[0085] Alternatively, a pre-calibrated calibration interval is obtained;
[0086] Starting from the first use of the target liquid delivery pipeline, the current time is determined as the flow rate correction time every time a correction interval time passes.
[0087] In the embodiment of the present application, optionally, the flow correction time determination unit is specifically used to:
[0088] If the flow difference between the pipeline flow value and the preset flow value is greater than the first flow threshold, the current time is determined as the flow correction time; the pipeline flow value is the value corresponding to the current time in the pipeline flow curve, and the preset flow value is the value corresponding to the current time in the preset flow curve;
[0089] Alternatively, if the flow difference between the pipeline flow value and the preset flow value is greater than the second flow threshold, and the slope difference between the pipeline flow curve at the current time and the preset flow curve is greater than the preset slope difference, the current time is determined as the flow correction moment.
[0090] In the embodiment of the present application, optionally, the congestion time determination module 330 includes:
[0091] A blockage time determination unit, for determining an estimated blockage time of the target liquid delivery pipeline based on a latest adjusted flow curve if it is determined that the pipeline flow detected by the flow sensor has failed, and the interval between the failure time and the last flow correction time is greater than the failure time of the flow sensor;
[0092] Otherwise, the estimated blockage time of the target liquid delivery pipeline is determined based on the adjusted flow curve obtained by the last curve adjustment.
[0093] In the embodiment of the present application, optionally, the congestion time determination module 330 includes:
[0094] The congestion time determination unit is used to determine the time corresponding to the congestion flow threshold in the adjusted flow curve as the estimated congestion time.
[0095] A device for determining the blockage time of a liquid conveying pipeline provided in an embodiment of the present application can execute a method for determining the blockage time of a liquid conveying pipeline provided in any embodiment of the present application, and has functional modules and beneficial effects corresponding to the execution method.
[0096] Embodiment 4
[0097] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0098] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0099] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0100] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for determining the blockage time of a liquid delivery pipeline.
[0101] In some embodiments, the method for determining the blockage time of the liquid delivery pipeline can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for determining the blockage time of the liquid delivery pipeline described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the method for determining the blockage time of the liquid delivery pipeline in any other appropriate manner (for example, by means of firmware).
[0102] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0103] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0104] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0105] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0106] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0107] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0108] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0109] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for determining the blockage time of a liquid delivery pipeline, characterized in that: include: Continuously obtain the pipeline flow rate obtained by the flow sensor detecting the target liquid delivery pipeline; At the flow correction moment, the preset flow curve is adjusted based on the pipeline flow to obtain an adjusted flow curve; the preset flow curve reflects the change of the flow of the target liquid delivery pipeline over time; If it is determined that the pipeline flow detected by the flow sensor has failed, an estimated blockage time of the target liquid delivery pipeline is determined based on the adjusted flow curve.
2. The method according to claim 1, characterized in that The preset flow curve is adjusted based on the pipeline flow to obtain an adjusted flow curve, including: Determine the curve located at the flow correction moment and after the flow correction moment in the preset flow curve as the curve to be moved; The curve to be moved is moved in the direction of the pipeline flow curve to obtain an adjusted flow curve.
3. The method according to claim 2, characterized in that Move the curve to be moved in the direction of the pipeline flow curve to obtain the adjusted flow curve, including: Determine a first flow value corresponding to the flow correction time in the pipeline flow curve, and determine a second flow value corresponding to the flow correction time in the to-be-moved curve; In a plane rectangular coordinate system, determining a target moving direction and a target moving distance from the second flow value to the first flow value; In a plane rectangular coordinate system, the to-be-moved curve is translated based on the target moving direction and the target moving distance to obtain an adjusted flow curve.
4. The method according to claim 1, characterized in that: The process of determining the flow correction time includes: If it is determined that the pipeline flow curve and the preset flow curve meet the curve deviation condition, the current time is determined as the flow correction time; Alternatively, a pre-calibrated calibration interval is obtained; Starting from the first use of the target liquid delivery pipeline, the current time is determined as the flow rate correction time every time a correction interval time passes.
5. The method according to claim 4, characterized in that If it is determined that the pipeline flow curve and the preset flow curve meet the curve deviation condition, the current time is determined as the flow correction time, including: If the flow difference between the pipeline flow value and the preset flow value is greater than the first flow threshold, the current time is determined as the flow correction time; the pipeline flow value is the value corresponding to the current time in the pipeline flow curve, and the preset flow value is the value corresponding to the current time in the preset flow curve; Alternatively, if the flow difference between the pipeline flow value and the preset flow value is greater than the second flow threshold, and the slope difference between the pipeline flow curve at the current time and the preset flow curve is greater than the preset slope difference, the current time is determined as the flow correction time.
6. The method according to claim 1, characterized in that If it is determined that the pipeline flow detected by the flow sensor has failed, the estimated blockage time of the target liquid delivery pipeline is determined based on the adjusted flow curve, including: If it is determined that the pipeline flow detected by the flow sensor has failed, and the interval between the failure time and the last flow calibration time is greater than the failure time of the flow sensor, the estimated blockage time of the target liquid delivery pipeline is determined based on the latest adjusted flow curve; Otherwise, the estimated blockage time of the target liquid delivery pipeline is determined based on the adjusted flow curve obtained by the last curve adjustment.
7. The method according to claim 1, characterized in that Determine the estimated blockage time of the target liquid delivery pipeline based on the adjusted flow curve, including: In the adjusted flow curve, the time corresponding to the congestion flow threshold is determined as the estimated congestion time.
8. A device for determining the blockage time of a liquid delivery pipeline, characterized in that: include: A pipeline flow acquisition module is used to continuously acquire the pipeline flow rate obtained by the flow sensor detecting the target liquid delivery pipeline; A curve adjustment module, used to adjust a preset flow curve based on the pipeline flow at the flow correction moment to obtain an adjusted flow curve; the preset flow curve reflects the change of the flow of the target liquid delivery pipeline over time; The blockage time determination module is used to determine the estimated blockage time of the target liquid delivery pipeline based on the adjusted flow curve if it is determined that the pipeline flow detected by the flow sensor has failed.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for determining the blockage time of the liquid transport pipeline according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining the blockage time of a liquid delivery pipeline according to any one of claims 1 to 7 when executed.