A method for remote transmission of data on agricultural drinking water intelligent operation and maintenance platform
By analyzing the water pressure anomalies and surrounding node characteristics of water use nodes in agricultural and drinking water projects, the target abnormal nodes are screened out for remote transmission, which solves the problem of low data transmission efficiency in water pipelines and achieves timely monitoring and management of agricultural and drinking water projects.
Patent Information
- Application Number
- CN202411025376.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-07-30
AI Technical Summary
The existing abnormal pressure data transmission efficiency of water pipelines in agricultural and drinking water projects is low, and the real abnormal data cannot be accurately identified, resulting in untimely data transmission.
By obtaining the water pressure anomalies of different water use nodes and surrounding abnormal water use nodes, the overall and downstream abnormal characteristics are analyzed, weighted based on similar trends, the target abnormal nodes are screened out, and remote data transmission is performed on them.
It improves the efficiency of water pipeline data transmission of abnormal nodes and ensures timely monitoring and management of pipeline abnormalities in agricultural and drinking water projects.
Smart Images

Figure CN118550242B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing based on monitoring anomalies, and in particular to a method for remote transmission of data on an agricultural drinking water smart operation and maintenance platform. Background Art
[0002] The rural drinking water project is a project that benefits thousands of households. It is also an important project to improve the rural living environment and improve the quality of life in rural areas. In the process from urban water plants to township water plants and then to rural households, the change in pipeline pressure is an important technical issue. The change in pipeline pressure involves the informatization construction of rural drinking water projects. The first task of the informatization construction of rural drinking water projects is to improve rural drinking water safety through information technology, to achieve effective planning of the operation and management of rural drinking water projects, and to make them present an informatization development state. Through the current smart operation and maintenance platform, the informatization development of rural drinking water can be realized, and the pressure abnormalities of rural drinking water pipes can be monitored in real time, providing reliable guarantees for the safe and stable operation of drinking water projects.
[0003] At present, the existing transmission monitoring of abnormal pressure data of water pipes in agricultural drinking water projects is to obtain the normal range of pressure data of each node through historical data. When the actual pressure data exceeds this range, the pressure data is considered abnormal. However, when abnormal pressure occurs at a certain node, it may be due to changes in user water demand: peak water use or sudden increase in water consumption by some large users may cause local or overall pressure to drop, which is not necessarily a real abnormality. At this time, directly transmitting the abnormal data with greater retention will result in the data obtained being not necessarily the desired data, which will lead to the problem of low efficiency in transmitting data on water pipes for agricultural drinking water. Summary of the invention
[0004] In order to solve the technical problem of low efficiency in transmitting data of agricultural drinking water pipes, the purpose of the present invention is to provide a remote transmission method for data of an agricultural drinking water intelligent operation and maintenance platform. The technical solution adopted is as follows:
[0005] In a first aspect, an embodiment of the present invention provides a method for remote transmission of data of an agricultural drinking water intelligent operation and maintenance platform, the method comprising:
[0006] Obtaining abnormal water pressure values at different water use nodes in the agricultural drinking water project and abnormal water use nodes around each water use node, wherein the abnormal water use nodes include abnormal downstream nodes;
[0007] Analyze the abnormal water pressure values of abnormal water consumption nodes around the water consumption nodes respectively to determine the overall abnormal characteristics of the water consumption nodes;
[0008] Based on the similar trend of water pressure between the water-using node and the corresponding abnormal downstream node, the water pressure abnormal value of the abnormal downstream node corresponding to the water-using node is weighted to obtain the downstream abnormal characteristics of the water-using node;
[0009] In combination with the overall abnormal characteristics and the downstream abnormal characteristics, target abnormal nodes are screened out from water-using nodes; and data of water pipes corresponding to the target abnormal nodes are remotely transmitted.
[0010] Furthermore, the method for obtaining the water pressure abnormal value is:
[0011] Obtain water pressure data and normal water pressure range at different water use nodes in agricultural drinking water projects;
[0012] Compare the water pressure data of different water-using nodes with the corresponding normal water pressure range to determine the abnormal water pressure value of each water-using node.
[0013] Furthermore, the step of comparing the water pressure data of different water-using nodes with the corresponding normal water pressure range to determine the abnormal water pressure value of each water-using node includes:
[0014] For any water-using node, when the water pressure data exceeds the upper limit of the normal water pressure range, the difference between the water pressure data and the upper limit of the normal water pressure range is obtained as the abnormal difference of the water-using node; when the water pressure data is less than the lower limit of the normal water pressure range, the difference between the lower limit of the normal water pressure range and the water pressure data is obtained as the abnormal difference of the water-using node;
[0015] The ratio of the abnormal difference of each water-using node to the lower limit of the corresponding normal water pressure range is taken as the abnormal water pressure value of each water-using node in the agricultural drinking water project;
[0016] When the water pressure data of the water-using node is within the normal water pressure range, the water pressure abnormal value of the water-using node is set to 0.
[0017] Furthermore, the method for acquiring abnormal water consumption nodes around each water consumption node is as follows:
[0018] The water consumption nodes whose corresponding water pressure abnormal values are non-zero are regarded as abnormal nodes;
[0019] For any water-using node, the abnormal nodes within the preset channel distance of the water-using node are regarded as the abnormal water-using nodes around the water-using node.
[0020] Furthermore, the step of respectively analyzing the abnormal water pressure values of the abnormal water consumption nodes around the water consumption node to determine the overall abnormal characteristics of the water consumption node includes:
[0021] Analyze the abnormal water pressure values of the abnormal upstream and downstream nodes around the water-using nodes, and determine the abnormal characteristics of the upstream and downstream nodes;
[0022] Analyze the abnormal water pressure values of abnormal peer nodes around the water-using node and determine the abnormal characteristics of the peer nodes;
[0023] The overall abnormal characteristics of the water-using node are determined by combining the upstream and downstream abnormal characteristics and the same-level abnormal characteristics.
[0024] Furthermore, the analysis of abnormal water pressure values of abnormal upstream and downstream nodes around the water-using node to determine the abnormal upstream and downstream characteristics of the water-using node includes:
[0025] Based on the channel distance between the water-using node and the corresponding abnormal upstream and downstream nodes, the water pressure anomaly values of the abnormal upstream and downstream nodes around the water-using node are weighted summed to obtain the upstream and downstream abnormal characteristics of the water-using node.
[0026] Furthermore, the analysis of abnormal water pressure values of abnormal peer nodes around the water-using node to determine the abnormal characteristics of the peer nodes of the water-using node includes:
[0027] For water-using nodes and surrounding abnormal peer nodes, abnormal peer nodes with water pressure data less than the normal water pressure range are marked as negative, and abnormal peer nodes with water pressure data greater than the normal water pressure range are marked as positive;
[0028] Obtain the percentage of abnormal peer nodes around the water-using node that have the opposite sign to the water-using node;
[0029] Taking the proportion of node quantity as weight, the water pressure anomaly values of abnormal peer nodes around the water-using node are weighted to obtain the peer anomaly characteristics of the water-using node.
[0030] Furthermore, based on the similarity trend of water pressures of the water-using node and the corresponding abnormal downstream node, the water pressure abnormality value of the abnormal downstream node corresponding to the water-using node is weighted to obtain the downstream abnormality characteristics of the water-using node, including:
[0031] For each abnormal downstream node corresponding to the water-using node, obtaining the trend consistency of the pressure curve formed by the water pressure data of the water-using node and the corresponding abnormal downstream node;
[0032] Based on the trend consistency of abnormal downstream nodes, the water pressure anomaly values of the abnormal downstream nodes corresponding to the water-using nodes are weighted summed to obtain the downstream anomaly characteristics of the water-using nodes.
[0033] Furthermore, combining the overall abnormal characteristics and the downstream abnormal characteristics to select target abnormal nodes from water-using nodes includes:
[0034] Determine pipeline abnormality characteristics by combining the overall abnormality characteristics and the downstream abnormality characteristics;
[0035] The water-using node whose pipeline abnormality characteristic is greater than the preset abnormal probability is taken as the target abnormal node.
[0036] Furthermore, the remote transmission of the data of the water pipe corresponding to the target abnormal node includes:
[0037] Based on the order of pipeline abnormality features from large to small, the data of the water pipeline corresponding to the target abnormal node is remotely transmitted in sequence.
[0038] In the second aspect, a data remote transmission system for an agricultural drinking water intelligent operation and maintenance platform is provided, and the system includes the following modules:
[0039] An acquisition module is used to acquire abnormal water pressure values at different water use nodes in the agricultural drinking water project and abnormal water use nodes around each water use node, wherein the abnormal water use nodes include abnormal downstream nodes;
[0040] The overall analysis module is used to analyze the abnormal water pressure values of abnormal water consumption nodes around the water consumption node and determine the overall abnormal characteristics of the water consumption node;
[0041] A downstream analysis module is used to weight the abnormal water pressure values of the abnormal downstream nodes corresponding to the water-using nodes based on the similar water pressure trends of the water-using nodes and the corresponding abnormal downstream nodes, so as to obtain the downstream abnormal characteristics of the water-using nodes;
[0042] The remote transmission module is used to combine the overall abnormal characteristics and the downstream abnormal characteristics to screen out target abnormal nodes from water-using nodes; and remotely transmit the data of the water pipe corresponding to the target abnormal node.
[0043] In a third aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, various possible embodiments of the first aspect are implemented.
[0044] In a fourth aspect, an embodiment of the present invention provides a computer program product, which includes: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.
[0045] In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, enables the computer to execute various possible implementations of the first aspect.
[0046] The embodiments of the present invention have at least the following beneficial effects:
[0047] The present invention first obtains the water pressure abnormal values at different water use nodes in the agricultural drinking water project and the abnormal water use nodes around each water use node; when the water use node is abnormal, it will affect the surrounding nodes of the water use node, so by analyzing the water pressure abnormal values of the abnormal water use nodes around the water use node, the overall abnormal characteristics of the water use node are determined, and the overall abnormal characteristics are analyzed from the overall abnormal angle of the water use node in the agricultural drinking water project; further, the water pressure abnormalities of the water use node and the corresponding abnormal downstream node are analyzed to determine the downstream abnormal characteristics of the water use node, and the downstream abnormal characteristics are analyzed from the perspective that the abnormality is caused by the pipeline problem. When the pipeline leaks, the downstream node is greatly affected, so the downstream abnormal characteristics of the water use node are determined by analyzing the degree of influence of the downstream node. Combined with the overall abnormal characteristics and the downstream abnormal characteristics, the target abnormal node is screened out from the water use node; the data of the water pipe corresponding to the target abnormal node is remotely transmitted, which improves the transmission efficiency of the data of the water pipe corresponding to the abnormal node, and solves the problem of low efficiency when transmitting the data of the water pipe of the agricultural drinking water. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are 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 paying creative work.
[0049] Figure 1 A method flow chart of a method for remote transmission of data of an agricultural drinking water intelligent operation and maintenance platform provided by an embodiment of the present invention;
[0050] Figure 2 A schematic diagram of a water supply network for a rural drinking water project provided by an embodiment of the present invention;
[0051] Figure 3 A method flow chart of a method for obtaining overall abnormal characteristics provided by an embodiment of the present invention;
[0052] Figure 4 A method flow chart of a method for acquiring downstream abnormal characteristics provided by an embodiment of the present invention;
[0053] Figure 5 A schematic diagram of the structure of a computer device provided by an embodiment of the present invention;
[0054] Figure 6 A schematic diagram of pressure data of a water outlet of a city water plant in a certain area provided by an embodiment of the present invention;
[0055] Figure 7A schematic diagram of pressure data of a water inlet of a township water plant in a certain area provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0056] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined purpose of the invention, the specific implementation method, structure, characteristics and effects of the remote transmission method of data of the smart operation and maintenance platform of agricultural drinking water proposed by the present invention are described in detail as follows in combination with the accompanying drawings and preferred embodiments.
[0057] In the following description, different "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0058] Among them, in the description of the embodiments of the present invention, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a way to describe the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present invention, "multiple" refers to two or more than two.
[0059] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0060] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0061] The embodiments of the present invention are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided by the embodiments of the present invention are also applicable to similar technical problems.
[0062] The specific scheme of the method for remote transmission of data of an intelligent operation and maintenance platform for agricultural drinking water provided by the present invention is described in detail below with reference to the accompanying drawings.
[0063] Embodiment 1:
[0064] See also Figure 1 , which shows a flowchart of a method for remote transmission of data of an agricultural drinking water intelligent operation and maintenance platform provided by an embodiment of the present invention, the method comprising the following steps:
[0065] Step S100, obtaining abnormal water pressure values at different water use nodes in the agricultural drinking water project and abnormal water use nodes around each water use node, wherein the abnormal water use nodes include abnormal downstream nodes.
[0066] See also Figure 2 , Figure 2 This is a schematic diagram of the water supply network of the rural drinking water project, that is, a network diagram of the water resources in the rural drinking water project from the urban water plant to the township water plant, then to each rural area, and then to each rural household through the pipeline network.
[0067] Pressure sensors are installed in water pipes at multiple locations to obtain water pressure data at different locations. The locations where pressure sensors are installed are: water plant outlets, different sections of trunk pipelines, inlets and outlets of township water plants, pipeline branch points, intersections and other key water nodes.
[0068] See also Figure 6 , Figure 6 This is a schematic diagram of the pressure data of the water outlet of a city water plant in a certain area. Figure 6 A1 is the real-time pressure data value of the day, A2 is the real-time pressure value of yesterday, and A3 is the real-time pressure value of the day before yesterday.
[0069] See also Figure 7 , Figure 7 This is a schematic diagram of the pressure data of the water inlet of a township water plant in a certain area. Figure 7 Among them, B1 is the real-time pressure data value of the day, B2 is the real-time pressure value of yesterday, and B3 is the real-time pressure value of the day before yesterday.
[0070] Please refer to Table 1, which shows the average water pressure data of water pipes at different locations and different time periods on any day. The water pressure data is collected once every 1 minute.
[0071] Table 1
[0072]
[0073] Regarding the water pressure data at different water - using nodes in the rural drinking water project, if it is due to the change in user demand, it will lead to a decrease in local pressure. For example, during certain periods of a day, such as in the morning and evening, the user water demand will increase significantly, which is called the peak water - using period. During the peak water - using period, household, commercial, and industrial users use water simultaneously, resulting in an increase in the overall water demand of the system; at the same time, the increase in water demand will consume more stored pressure in the pipeline. If the water supply system cannot replenish enough water in time, it will lead to a decrease in local pressure. At this time, the flow rates of the upstream node, downstream node, and peer nodes of this abnormal node will decrease, and abnormalities will also occur. It should be noted that according to the water flow direction, relative to a certain node, the node through which the water flows before this node is the upstream node of this node; according to the water flow direction, relative to a certain node, the node through which the water flows after this node is the upstream node of this node; please refer to Figure 2 , Figure 2 Village No. 1 and Village No. N are peer nodes, and Farmer No. 1 and Farmer No. N are peer nodes.
[0074] If the abnormal node pressure is caused by a pipeline leakage problem, then first the pressure at the leakage point will drop, and then due to the leakage, the water flow at the downstream node will decrease and the pressure will drop.
[0075] Through pressure sensors, obtain the water pressure data of different water - using nodes in the rural drinking water project and the normal water pressure range of this water - using node.
[0076] For the water pressure data collected by the pressure sensor at each water - using node, first, through historical statistics, the normal water pressure range of this location can be obtained, which is represented by [a, b]. If the actual water pressure data of a certain water - using node at a certain moment is represented by c, if c is within the normal water pressure range, there is no abnormality; if c b, then the pressure data of the corresponding water - using node is determined. It should be noted that the normal water pressure range is obtained in advance by the implementer, and the value of a is not 0.
[0077] Furthermore, compare the water pressure data of different water - using nodes with the corresponding normal water pressure ranges to determine the water pressure abnormal values of each water - using node. Specifically:
[0078] In some embodiments, for any water use node, when the water pressure data exceeds the upper limit of the normal water pressure range, the difference between the water pressure data and the upper limit of the normal water pressure range is obtained as the abnormal difference of the water use node. When the water pressure data is less than the lower limit of the normal water pressure range, the difference between the lower limit of the normal water pressure range and the water pressure data is obtained as the abnormal difference of the water use node. The ratio of the abnormal difference of each water use node to the corresponding lower limit of the normal water pressure range is used as the water pressure abnormality of each water use node in the agricultural drinking water project. When the water pressure data of the water use node is within the normal water pressure range, the water pressure abnormality of the water use node is directly set to 0. The larger the water pressure abnormality, the greater the degree to which the water pressure data deviates from the normal pressure range, and the water pressure abnormality is represented by s.
[0079] After obtaining the abnormal water pressure value corresponding to each water-using node, the distance between the water-using node and the surrounding water-using nodes with abnormalities is analyzed to obtain the abnormal water-using nodes around each water-using node.
[0080] Firstly, the abnormal water consumption nodes are determined, and the water consumption nodes whose corresponding abnormal water pressure values are non-zero are regarded as abnormal nodes.
[0081] Furthermore, for any water-using node, the abnormal nodes within the preset channel distance of the water-using node are regarded as abnormal water-using nodes around the water-using node. In the embodiment of the present invention, the preset channel distance is set to 3, and in other embodiments, the implementer adjusts the value according to the actual situation.
[0082] The channel distance between two water-using nodes is the shortest path between the two water-using nodes. When there is only one water-using channel between the two water-using nodes, that is, when the two water-using nodes are directly connected, the channel distance between the two water-using nodes is 1. Figure 2 The channel distance from the No. 1 village to the No. 1 farmer at the next level of the No. 1 township-level water plant is 1, the channel distance from the No. 1 township-level water plant to the No. 1 village at the next level is also 1, and the channel distance from the No. 1 township-level water plant to the No. 1 farmer in the No. 1 village at the next level is 2. It can be understood that the channel distance between two water-using nodes is the minimum number of water-using pipes between the two water-using nodes.
[0083] It should be noted that the surrounding abnormal water usage nodes can be upstream nodes, downstream nodes, or nodes at the same level.
[0084] In some embodiments, for any water-using node, it can be understood that an abnormal node whose channel distance to the water-using node is less than or equal to 3 is regarded as an abnormal water-using node of the water-using node.
[0085] Among them, abnormal water-using nodes include: abnormal downstream nodes, abnormal upstream nodes and abnormal peer nodes. An abnormal downstream node is an abnormal node belonging to a downstream node within a preset channel distance for a water-using node; the corresponding abnormal upstream node is an abnormal node belonging to an upstream node within a preset channel distance for a water-using node; the corresponding abnormal peer node is an abnormal node belonging to a peer node within a preset channel distance for a water-using node.
[0086] Step S200, analyzing the abnormal water pressure values of the abnormal water-using nodes around the water-using node respectively, and determining the overall abnormal characteristics of the water-using node.
[0087] When the water supply of the water-using node in the agricultural drinking water project is insufficient and the local pressure drops, the upstream node, the node at the same level and the downstream node of the water-using node will have abnormal water pressure. For any water-using node, the abnormal water-using nodes around the water-using node include abnormal upstream nodes, abnormal downstream nodes and abnormal nodes at the same level. The overall abnormal characteristics of the water-using node are determined based on the abnormal upstream and downstream nodes and abnormal nodes at the same level of the water-using node. The overall abnormal characteristics can not only reflect the abnormal situation of the water-using node from the water pressure situation of the nodes at the same level, but also reflect the abnormal situation of the water-using node from the water pressure situation of the upstream and downstream nodes. It can be understood that the overall abnormal characteristics are equivalent to considering the abnormal impact of multiple levels on the water-using node, making the abnormal monitoring of the water-using node more accurate.
[0088] When the water demand of a water-using node is abnormal, resulting in abnormal water pressure data, the pressure of the upstream node suddenly decreases first. Compared with the nodes at the same level and the downstream nodes, the pressure reduction of the upstream node is the largest. Then the water flow of the water-using nodes at the same level as the water-using node decreases, resulting in a decrease in water pressure data. The downstream nodes of the abnormal pressure water-using node are relatively more affected by the pressure if the downstream nodes are only connected to the abnormal water-using node. If the downstream nodes are connected to multiple water-using nodes and the impact of other water-using nodes on the node is greater than that of the water-using node, the pressure impact is relatively small.
[0089] In some embodiments, the water pressure anomaly values of the abnormal upstream nodes, abnormal downstream nodes and abnormal peer nodes around the water-using node are analyzed respectively, and then the overall abnormal characteristics of the water-using node are determined, that is, the above step S200 can be performed by Figure 3 The steps shown achieve:
[0090] Step S210, analyzing the abnormal water pressure values of the abnormal upstream and downstream nodes around the water-using node, and determining the abnormal characteristics of the upstream and downstream nodes of the water-using node.
[0091] Among them, the abnormal upstream and downstream nodes include: abnormal upstream nodes and abnormal downstream nodes.
[0092] Based on the channel distance between the water-using node and the corresponding abnormal upstream and downstream nodes, the water pressure anomaly values of the abnormal upstream and downstream nodes around the water-using node are weighted summed to obtain the upstream and downstream abnormal characteristics of the water-using node. It should be noted that the channel distance is the minimum number of water-using channels between two nodes, which has been illustrated above and will not be repeated here.
[0093] The channel distances between the water-using nodes and the corresponding abnormal upstream and downstream nodes are normalized by negative correlation to obtain the distance weight. The distance weight is used as the weight of the water pressure anomaly value, and the water pressure anomaly values of the abnormal upstream and downstream nodes around the water-using nodes are weighted summed to obtain the upstream and downstream abnormal characteristics of the water-using nodes.
[0094] Among them, the distance weight represents the influence weight of the abnormal water pressure value of each node in the abnormal upstream and downstream nodes of the water-using node on the change of the upstream and downstream water pressure data. The closer the distance to the water-using node is, the greater the distance weight of the corresponding abnormal upstream and downstream nodes is.
[0095] As an embodiment of the present invention, the ratio of the channel distance of the abnormal upstream and downstream nodes to the preset channel distance may be negatively correlated to achieve negative correlation normalization of the channel distance.
[0096] As another embodiment of the present invention, the negative correlation normalization of the channel distance may be achieved directly by using an exponential function with a natural constant as the base and a negative value of the channel distance as the exponent.
[0097] As an optional embodiment of the present invention, the calculation formula of the upstream and downstream abnormal characteristics of the water use node is:
[0098] ;
[0099] Among them, z1 is the upstream and downstream abnormal characteristics of the water-using node; n is the number of abnormal upstream nodes and abnormal downstream nodes around the water-using node, which is understandable, that is, the number of abnormal upstream and downstream nodes around the water-using node; is the channel distance between the water-using node and the surrounding i-th abnormal upstream and downstream nodes; is the abnormal water pressure value of the i-th abnormal upstream and downstream node around the water-using node.
[0100] The upstream and downstream abnormal characteristics are determined by analyzing the distance between the water-using node and the surrounding abnormal upstream and downstream nodes, as well as the abnormal water pressure values of the abnormal upstream and downstream nodes, to determine the pressure changes upstream and downstream of the water-using node.
[0101] Step S220, analyzing the abnormal water pressure values of abnormal nodes at the same level around the water-using node, and determining the abnormal characteristics of the water-using node at the same level.
[0102] If the abnormality of the surrounding abnormal water consumption nodes is caused by the corresponding water consumption nodes, the water consumption of the target node increases, and the water consumption exceeds the upper limit of the normal water pressure range at the node, while the water consumption at other surrounding water consumption nodes is less than the maximum value at the corresponding node due to the reduction in flow. First, obtain the proportion of the number of nodes with positive and negative abnormalities and the abnormality of the water consumption nodes among the same-level nodes, that is, the proportion of the number of nodes with water consumption exceeding the maximum value and less than the lower limit of the normal water pressure range of the corresponding nodes among the same-level nodes.
[0103] As an embodiment of the present invention, for a water-using node and the surrounding abnormal peer nodes, the abnormal peer nodes whose water pressure data is less than the normal water pressure range are marked as negative, and the abnormal peer nodes whose water pressure data is greater than the normal water pressure range are marked as positive; the proportion of the number of abnormal peer nodes around the water-using node with a mark opposite to that of the water-using node is obtained; the water pressure anomaly values of the abnormal peer nodes around the water-using node are weighted using the proportion of the number of nodes as a weight to obtain the peer abnormality characteristics of the water-using node.
[0104] As an optional embodiment of the present invention, the calculation formula of the same-level abnormal characteristics of the water-using node is:
[0105] ;
[0106] Among them, z2 is the abnormal feature of the same level of the water-using node; c is the number of abnormal nodes of the same level around the water-using node with the opposite label to the water-using node; m is the number of abnormal nodes of the same level around the water-using node; The ratio of abnormal peer nodes around the water-using node with the opposite sign to the water-using node. is the abnormal water pressure value of the jth abnormal node of the same level around the water-using node; It is the sum of the abnormal water pressure values of all abnormal nodes of the same level around the water-using node.
[0107] Furthermore, the pressure change characteristics of the nodes at the same level as the water-using node can be reflected through the same-level abnormal characteristics of the water-using node.
[0108] Step S230, combining the upstream and downstream abnormal characteristics and the same-level abnormal characteristics to determine the overall abnormal characteristics of the water-using node.
[0109] Among them, the upstream and downstream abnormal characteristics and the same-level abnormal characteristics are both positively correlated with the overall abnormal characteristics of the water-using node.
[0110] As an embodiment of the present invention, the normalized value of the sum of the upstream and downstream abnormal features and the same-level abnormal features is used as the overall abnormal feature of the water-using node.
[0111] As another embodiment of the present invention, the normalization of the product of the upstream and downstream abnormal characteristics and the same-level abnormal characteristics may be used as the overall abnormal characteristics of the water-using node.
[0112] Step S300, based on the similarity trend of water pressure between the water-using node and the corresponding abnormal downstream node, weight the abnormal water pressure value of the abnormal downstream node corresponding to the water-using node to obtain the downstream abnormal characteristics of the water-using node.
[0113] If the abnormal node pressure is caused by a pipeline leakage problem, the pressure at the leakage point will drop first, and then the water flow at the downstream node will decrease and the pressure will drop due to the pipeline leakage at the leakage point. If the pressure abnormality is caused by pipeline leakage, etc., the downstream node will be greatly affected, resulting in the pressure change of the abnormal downstream node being similar to the change of the water-using node at that location. Therefore, by calculating the similarity between the pressure change trend of the abnormal node in the abnormal downstream node and the pressure change trend of the corresponding water-using node, the probability that the water-using node abnormality is caused by a pipeline problem is expressed. This probability is also the trend consistency of the pressure curve composed of the water pressure data of the water-using node and the corresponding abnormal downstream node.
[0114] In some embodiments, the abnormal downstream characteristics of the water-using node are determined by analyzing the water pressure data of the water-using node and the abnormal downstream node. That is, the above step S300 can be performed by Figure 4 The steps shown achieve:
[0115] Step S310, for each abnormal downstream node corresponding to the water-using node, obtain the trend consistency of the pressure curve formed by the water pressure data of the water-using node and the corresponding abnormal downstream node.
[0116] As an embodiment of the present invention, the process of calculating trend consistency is: first, obtain a pressure curve composed of water pressure data of a water-using node as a target pressure curve; obtain a pressure curve composed of water pressure data of an abnormal downstream node as an abnormal downstream pressure curve; and use the negative correlation normalized value of the dynamic time-warped distance between the target pressure curve and the downstream abnormal pressure curve as the trend consistency of the pressure curve composed of water pressure data of the water-using node and the corresponding abnormal downstream node.
[0117] It should be noted that the dynamic time warping distance between two curves can be calculated by dynamic time warping (DTW), which will not be described in detail here.
[0118] As another embodiment of the present invention, the process of calculating trend consistency can also be: using the normalized value of the Pearson correlation coefficient between the target pressure curve and the downstream abnormal pressure curve as the trend consistency of the pressure curve composed of the water pressure data of the water-using node and the corresponding abnormal downstream node.
[0119] It should be noted that the water-using node and each abnormal downstream node around it have their own corresponding trend consistency.
[0120] Step S320, based on the trend consistency of the abnormal downstream nodes, weighted summation is performed on the water pressure abnormal values of the abnormal downstream nodes corresponding to the water-using nodes to obtain the downstream abnormal characteristics of the water-using nodes.
[0121] As an optional embodiment of the present invention, the calculation formula of the downstream abnormal characteristics of the water consumption node is:
[0122] ;
[0123] Among them, z3 is the abnormal downstream feature of the water-using node; l is the number of abnormal downstream nodes around the water-using node; is the trend consistency of the kth abnormal downstream node corresponding to the water-using node; is the abnormal water pressure value of the kth abnormal downstream node corresponding to the water-using node.
[0124] The downstream abnormal characteristics of the water-using node reflect the change characteristics of the downstream nodes corresponding to the water-using node, which is analyzed from the perspective that the abnormality is caused by pipeline problems.
[0125] Step S400, combining the overall abnormal characteristics and the downstream abnormal characteristics, screening out target abnormal nodes from water-using nodes; and remotely transmitting data of water pipes corresponding to the target abnormal nodes.
[0126] Since the downstream abnormality feature is analyzed from the perspective of whether the abnormality is caused by pipeline problems, and the overall abnormality feature is analyzed from the perspective of the overall abnormality of the water-using nodes in the agricultural drinking water project, if the downstream variability is closer to the overall variability, it is more likely that the pressure data abnormality is caused by pipeline abnormality. Therefore, the overall abnormality feature and the downstream abnormality feature are further combined to screen out the target abnormal nodes from the water-using nodes.
[0127] Firstly, the pipeline abnormality feature is determined by combining the overall abnormality feature and the downstream abnormality feature.
[0128] In one embodiment of the present invention, the method for obtaining pipeline abnormality characteristics is: taking the absolute value of the difference between the overall abnormality characteristics and the downstream abnormality characteristics as the numerator, taking the overall abnormality characteristics as the numerator, and taking the ratio of the numerator and the denominator as the pipeline abnormality characteristics. That is, when the downstream variability is closer to the overall variability, the corresponding numerator is larger, and the corresponding ratio of the numerator and the denominator is larger, so the probability that the abnormality of the water node in the agricultural drinking water project is caused by the pipeline abnormality is greater.
[0129] The calculation formula for the pipeline abnormality characteristic is: ; Among them, g is the pipeline abnormality characteristic of the water-using node; z3 is the downstream abnormality characteristic; z is the overall abnormality characteristic; To take the absolute value sign.
[0130] The pipeline abnormality feature also represents the proportion of the downstream abnormality feature in the overall abnormality feature, that is, the probability that the pressure abnormality is caused by the pipeline abnormality.
[0131] After obtaining the pipeline abnormality characteristics corresponding to each water consumption node, the water consumption node whose pipeline abnormality characteristics are greater than the preset abnormality probability is taken as the target abnormal node. In the embodiment of the present invention, the preset abnormality probability is 0.5, and in other embodiments, the implementer can adjust it according to the actual situation.
[0132] Finally, the data of the water pipe corresponding to the target abnormal node is transmitted remotely.
[0133] In the embodiment of the present invention, based on the order of pipeline abnormality features from large to small, the data of the water pipes corresponding to the target abnormal nodes are remotely transmitted in sequence. That is, the data of the water pipes with a higher probability of abnormality are first remotely transmitted, so that the supervisory staff can find the abnormality of the water pipes in time.
[0134] More specifically: for the target abnormal node, the water pipe segment to which the target abnormal node belongs is obtained, wherein the water pipe segment can also be referred to as the water pipe. The data corresponding to the water pipe is used as the data of the target abnormal node, and the largest pipeline abnormality feature in the water pipe is used as the updated pipeline abnormality feature of the water pipe, that is, the largest pipeline abnormality feature in the water pipe is used as the representative value; if a water node corresponds to two upper and lower water pipes, then a water pipe between the two water nodes has two corresponding pipeline abnormality features, so the largest pipeline abnormality feature among the pipeline abnormality features corresponding to the water pipe is used as the updated pipeline abnormality feature of the water pipe. Then, when data is transmitted, the data of the water pipe is transmitted in sequence according to the order of pipeline abnormality features from large to small, wherein the data of the water pipe includes water quality data, such as turbidity, residual chlorine, PH, etc. The data is further analyzed on the cloud platform through more accurate analysis methods, such as neural network models, and after the abnormality is obtained, the abnormal pipeline segment is repaired in time.
[0135] Embodiment 2:
[0136] The embodiment of the present invention provides a data remote transmission system for an agricultural drinking water intelligent operation and maintenance platform, and the system includes the following modules:
[0137] An acquisition module is used to acquire abnormal water pressure values at different water use nodes in the agricultural drinking water project and abnormal water use nodes around each water use node, wherein the abnormal water use nodes include abnormal downstream nodes;
[0138] The overall analysis module is used to analyze the abnormal water pressure values of abnormal water consumption nodes around the water consumption node and determine the overall abnormal characteristics of the water consumption node;
[0139] A downstream analysis module is used to weight the water pressure anomaly value of the abnormal downstream node corresponding to the water-using node based on the similar trend of the water pressure of the water-using node and the corresponding abnormal downstream node, so as to obtain the downstream abnormal characteristics of the water-using node;
[0140] The remote transmission module is used to combine the overall abnormal characteristics and the downstream abnormal characteristics to screen out target abnormal nodes from water-using nodes; and remotely transmit the data of the water pipe corresponding to the target abnormal node.
[0141] Optionally, the transmission medium may be a wired link, such as but not limited to coaxial cable, optical fiber, and digital subscriber line, or a wireless link, such as but not limited to Wireless Fidelity (WIFI), Bluetooth, and mobile device network.
[0142] It should be noted that: the device provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the shopping guide device provided in the above embodiment and the image extension method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0143] Figure 5 is a schematic diagram of the structure of a computer device provided by an embodiment of the present invention. Figure 5 As shown, the computer device 500 includes: a memory 510, a processor 520, and a computer program 530 stored in the memory 510 and running on the processor 520, wherein when the processor 520 executes the computer program 530, the computer device can execute any one of the aforementioned methods for remote transmission of data of the smart operation and maintenance platform for agricultural drinking water.
[0144] Embodiment three:
[0145] In addition, an embodiment of the present invention also protects a device, which may include a memory and a processor, wherein the memory stores executable program code, and the processor is used to call and execute the executable program code to execute a method for remote transmission of data of an agricultural drinking water smart operation and maintenance platform provided by an embodiment of the present invention.
[0146] The embodiment of the present invention can divide the functional modules of the device according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0147] In the case of dividing each module according to each function, the device may also include a signal uploading module, a determining module, an adjusting module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0148] It should be understood that the device provided in the embodiment of the present invention is used to execute the above-mentioned method for remote transmission of data of the agricultural drinking water intelligent operation and maintenance platform, and thus can achieve the same effect as the above-mentioned implementation method.
[0149] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a device, the processing module may be used to control and manage the actions of the device. The storage module may be used to support the device to execute mutual program codes, etc. The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of the present invention. The processor may also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0150] In addition, the device provided in an embodiment of the present invention may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a method for remote transmission of data of an intelligent operation and maintenance platform for agricultural drinking water provided in the above embodiment.
[0151] Embodiment 4:
[0152] An embodiment of the present invention also provides a computer-readable storage medium, which stores computer program code. When the computer program code runs on a computer, the computer executes the above-mentioned related method steps to implement a method for remote transmission of data of an agricultural drinking water smart operation and maintenance platform provided in the above embodiment.
[0153] Embodiment five:
[0154] An embodiment of the present invention also provides a computer program product. When the computer program product runs on a computer, it enables the computer to execute the above-mentioned related steps to implement a method for remote transmission of data of an agricultural drinking water intelligent operation and maintenance platform provided in the above embodiment.
[0155] Among them, the device, computer-readable storage medium, computer program product or chip provided in the embodiments of the present invention are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here. Through the description of the above implementation methods, technicians in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways.
[0156] The device embodiments described above are merely illustrative. For example, the division of modules or units is only a logical function division. There may be other divisions in actual implementation. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection of devices or units, which may be electrical, mechanical or other forms.
[0157] It should also be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0158] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0159] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0160] The above contents are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A remote data transmission method for an agricultural drinking water smart operation and maintenance platform. It is characterized in that The method comprises the following steps: Obtaining abnormal water pressure values at different water use nodes in the agricultural drinking water project and abnormal water use nodes around each water use node, wherein the abnormal water use nodes include abnormal downstream nodes; Analyze the abnormal water pressure values of abnormal water consumption nodes around the water consumption nodes respectively to determine the overall abnormal characteristics of the water consumption nodes; Based on the similar trend of water pressure between the water-using node and the corresponding abnormal downstream node, the water pressure abnormal value of the abnormal downstream node corresponding to the water-using node is weighted to obtain the downstream abnormal characteristics of the water-using node; In combination with the overall abnormal characteristics and the downstream abnormal characteristics, a target abnormal node is screened out from the water-using nodes; and data of the water-using pipeline corresponding to the target abnormal node is remotely transmitted; Among them, the method for determining the abnormal characteristics of upstream and downstream water consumption nodes is: Based on the channel distance between the water-using node and the corresponding abnormal upstream and downstream nodes, the water pressure anomaly values of the abnormal upstream and downstream nodes around the water-using node are weighted summed to obtain the upstream and downstream abnormal characteristics of the water-using node; Among them, the method for determining the same-level abnormal characteristics of the water-consuming node is: For water-using nodes and surrounding abnormal peer nodes, abnormal peer nodes with water pressure data less than the normal water pressure range are marked as negative, and abnormal peer nodes with water pressure data greater than the normal water pressure range are marked as positive; the proportion of abnormal peer nodes around water-using nodes with the opposite marking to the water-using nodes is obtained; the water pressure anomaly values of abnormal peer nodes around water-using nodes are weighted using the proportion of node numbers as weights to obtain the abnormal peer characteristics of water-using nodes; Among them, the method for determining the downstream abnormal characteristics of the water-using node is as follows: for each abnormal downstream node corresponding to the water-using node, obtain the trend consistency of the pressure curve composed of the water pressure data of the water-using node and the corresponding abnormal downstream node; based on the trend consistency of the abnormal downstream nodes, perform weighted summation on the water pressure abnormal values of the abnormal downstream nodes corresponding to the water-using node to obtain the downstream abnormal characteristics of the water-using node; The step of selecting target abnormal nodes from water-using nodes is as follows: combining the overall abnormal characteristics and the downstream abnormal characteristics to determine pipeline abnormal characteristics; taking water-using nodes whose pipeline abnormal characteristics are greater than a preset abnormal probability as target abnormal nodes; Specifically, the data of the water pipe corresponding to the target abnormal node is remotely transmitted as follows: based on the order of pipeline abnormality features from large to small, the data of the water pipe corresponding to the target abnormal node is remotely transmitted in sequence.
2. The remote transmission method of data of the smart operation and maintenance platform for agricultural drinking water according to claim 1, It is characterized in that The method for obtaining the water pressure abnormal value is: Obtain water pressure data and normal water pressure range at different water use nodes in agricultural drinking water projects; Compare the water pressure data of different water-using nodes with the corresponding normal water pressure range to determine the abnormal water pressure value of each water-using node.
3. The remote transmission method of data of the smart operation and maintenance platform for agricultural drinking water according to claim 2, It is characterized in that The comparing the water pressure data of different water use nodes with the corresponding normal water pressure range to determine the abnormal water pressure value of each water use node includes: For any water-using node, when the water pressure data exceeds the upper limit of the normal water pressure range, the difference between the water pressure data and the upper limit of the normal water pressure range is obtained as the abnormal difference of the water-using node; when the water pressure data is less than the lower limit of the normal water pressure range, the difference between the lower limit of the normal water pressure range and the water pressure data is obtained as the abnormal difference of the water-using node; The ratio of the abnormal difference of each water-using node to the lower limit of the corresponding normal water pressure range is taken as the abnormal water pressure value of each water-using node in the agricultural drinking water project; When the water pressure data of the water-using node is within the normal water pressure range, the water pressure abnormal value of the water-using node is set to 0.
4. The remote transmission method of data of the smart operation and maintenance platform for agricultural drinking water according to claim 3, It is characterized in that The method for obtaining the abnormal water consumption nodes around each water consumption node is as follows: The water consumption nodes whose corresponding water pressure abnormal values are non-zero are regarded as abnormal nodes; For any water-using node, the abnormal nodes within the preset channel distance of the water-using node are regarded as the abnormal water-using nodes around the water-using node.
5. The remote transmission method of data of the smart operation and maintenance platform for agricultural drinking water according to claim 1, It is characterized in that The method of respectively analyzing the abnormal water pressure values of the abnormal water consumption nodes around the water consumption node to determine the overall abnormal characteristics of the water consumption node includes: Analyze the abnormal water pressure values of the abnormal upstream and downstream nodes around the water-using nodes, and determine the abnormal characteristics of the upstream and downstream nodes; Analyze the abnormal water pressure values of abnormal peer nodes around the water-using node and determine the abnormal characteristics of the peer nodes; The overall abnormal characteristics of the water-using node are determined by combining the upstream and downstream abnormal characteristics and the same-level abnormal characteristics.
