CN116029535B - Water supply pressure early warning method and device, electronic equipment and storage medium - Google Patents

Water supply pressure early warning method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116029535B
CN116029535B CN202310302488.2A CN202310302488A CN116029535B CN 116029535 B CN116029535 B CN 116029535B CN 202310302488 A CN202310302488 A CN 202310302488A CN 116029535 B CN116029535 B CN 116029535B
Authority
CN
China
Prior art keywords
water
resident
score
users
supply pressure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310302488.2A
Other languages
Chinese (zh)
Other versions
CN116029535A (en
Inventor
梁帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongguan Prophet Big Data Co ltd
Original Assignee
Dongguan Prophet Big Data Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongguan Prophet Big Data Co ltd filed Critical Dongguan Prophet Big Data Co ltd
Priority to CN202310302488.2A priority Critical patent/CN116029535B/en
Publication of CN116029535A publication Critical patent/CN116029535A/en
Application granted granted Critical
Publication of CN116029535B publication Critical patent/CN116029535B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A20/00Water conservation; Efficient water supply; Efficient water use

Abstract

The application relates to a water supply pressure early warning method, a device, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring non-resident user information and resident user information in the independent metering area partition; clustering according to the position information in the non-resident user information to obtain a plurality of clustering centers, and dividing the non-resident user into a plurality of non-resident user areas according to the plurality of clustering centers; determining the influence resident users in the non-resident user areas according to the non-resident user areas and the resident user information, acquiring all the influence resident users in the non-resident user areas, and counting a water use characteristic set; calculating a water use trend score, an estimated water use score and a resident water use score according to the water use feature set; determining a water demand score from the water trend score, the estimated water score, and the resident water score; determining water supply pressure scores for a plurality of non-residential user areas based on the water demand scores; a determination is made as to whether the plurality of non-residential user areas have a water supply pressure based on the water supply pressure score.

Description

Water supply pressure early warning method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of water supply safety, in particular to a water supply pressure early warning method, a device, electronic equipment and a storage medium.
Background
At present, urban population of China is sharply increased, total water demand is greatly increased, but leakage rate of a water supply network is continuously increased, so that consumption of water sources and energy sources is caused, water supply cost is increased, serious potential safety hazards exist for pavement and buildings, and secondary pollution is caused to be high. DMA partition management is one of effective methods for controlling water loss of an urban water supply system, a DMA partition metering management system discovers water supply abnormality of a pipe network, and calculates leakage conditions of an area, but water service data is complex and large in quantity, excavation and analysis based on multi-source historical data are lacking in an original system, water supply pressure problems cannot be effectively analyzed, data are excessively dead and stiff, decision support effect on the current and future is not exerted, and water service work efficiency is low.
Disclosure of Invention
Based on the above problems, the application provides a water supply pressure early warning method, a device, electronic equipment and a storage medium.
In a first aspect, an embodiment of the present application provides a water supply pressure early warning method, including:
acquiring non-resident user information and resident user information in the independent metering area partition;
clustering according to the position information in the non-resident user information to obtain a plurality of clustering centers, and dividing the non-resident user into a plurality of non-resident user areas according to the plurality of clustering centers;
determining the influence resident users in the non-resident user areas according to the non-resident user areas and the resident user information, acquiring all the influence resident users in the non-resident user areas, and counting the water use characteristic sets of all the influence resident users in the non-resident user areas;
calculating a water use trend score, an estimated water use score and a resident water use score according to the water use feature set;
determining a water demand score from the water trend score, the estimated water score, and the resident water score;
determining water supply pressure scores for a plurality of non-residential user areas based on the water demand scores;
determining whether the plurality of non-residential user areas have water supply pressure based on the water supply pressure scores;
the areas with water supply pressure in the plurality of non-resident user areas form water supply pressure early warning areas output in the independent metering area areas.
Further, in the water supply pressure early warning method, according to the information of the non-resident user areas and the resident users, the influence resident users in the non-resident user areas are determined, all the influence resident users in the non-resident user areas are obtained, and the water use characteristic set of all the influence resident users in the non-resident user areas is counted, including:
for any one of a plurality of non-residential areas
Figure SMS_1
The radius of the area is
Figure SMS_2
For a resident user information the position is
Figure SMS_3
When the resident user information satisfies the following conditions:
Figure SMS_4
determining resident user as non-resident user area
Figure SMS_5
Is the influence of the resident user, wherein
Figure SMS_6
A first judgment threshold value is set;
obtaining non-resident user areas
Figure SMS_7
All of which affect residential subscribers;
a water usage feature set for all affecting residential subscribers for a plurality of non-residential subscriber areas, comprising: counting the sum of daily water consumption of non-resident users
Figure SMS_8
The sum of the daily water consumption of all the resident users
Figure SMS_9
Corresponding time to start statistics
Figure SMS_10
Component feature vector
Figure SMS_11
Obtaining non-resident user area
Figure SMS_12
Is set of water characteristics of (a)
Figure SMS_13
Wherein h is the sequence number of the water feature set element, and the length of the water feature set is
Figure SMS_14
Further, in the water supply pressure early warning method, the water trend score is calculated according to the water feature set, and the method comprises the following steps:
according to time
Figure SMS_15
Water feature set by year
Figure SMS_16
Dividing into a plurality of subsets, each last point of each year being numbered
Figure SMS_17
Wherein for the number of years to segment,
Figure SMS_18
definition of
Figure SMS_19
The water usage score for each year was calculated by the following formula:
Figure SMS_20
wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure SMS_21
for the serial number of the year,
Figure SMS_22
in order to correct the score with water,
Figure SMS_23
representing the sum of daily water consumption of non-resident users,
Figure SMS_24
Representing the sum of the daily water consumption of all the resident users,
Figure SMS_25
Indicating the corresponding time to start statistics, h is the sequence number of the water use feature set element, and the water use feature setLength of the combination is
Figure SMS_26
Figure SMS_27
Figure SMS_28
An index indicating a large amount of water is set as the second judgment threshold,
according to the score of a large amount of water used each year
Figure SMS_29
Calculating water trend score
Figure SMS_30
Is calculated by the following formula:
Figure SMS_31
further, in the water supply pressure early warning method, the evaluating water score is obtained by calculating according to the water feature set, and the method comprises the following steps:
the water feature set is expressed as
Figure SMS_32
Wherein, the method comprises the steps of, wherein,
Figure SMS_33
representing the sum of daily water consumption of non-resident users,
Figure SMS_34
Representing the sum of the daily water consumption of all the resident users,
Figure SMS_35
Indicating the corresponding time for starting statistics, h is the sequence number of the water feature set element, and the length of the water feature set is
Figure SMS_36
Acquisition time
Figure SMS_37
Front part
Figure SMS_38
The number of the feature vectors in the range is
Figure SMS_39
The sum of the water consumption of non-resident users in the characteristic vectors is counted
Figure SMS_40
According to
Figure SMS_41
The same date each year before the corresponding date was acquired
Figure SMS_44
Front and back
Figure SMS_46
Number of feature vectors in range
Figure SMS_42
Sum of water consumption of non-resident users in characteristic vector
Figure SMS_45
Maximum water usage in feature vectors
Figure SMS_47
Wherein
Figure SMS_48
For the corresponding sequence number,
Figure SMS_43
-1;
calculating an evaluation water score
Figure SMS_49
Is calculated by the following formula:
Figure SMS_50
further, in the water supply pressure early warning method, the resident water score obtained by calculation according to the water feature set is calculated by the following formula:
Figure SMS_51
wherein the water feature set is expressed as
Figure SMS_52
Figure SMS_53
Representing the sum of daily water consumption of non-resident users,
Figure SMS_54
Representing the sum of the daily water consumption of all the resident users,
Figure SMS_55
Indicating the corresponding time for starting statistics, h is the sequence number of the water feature set element, and the length of the water feature set is
Figure SMS_56
Figure SMS_57
Indicating the score of the water used by residents,
Figure SMS_58
and the first correction constant obtained for the historical data training ensures that the resident water consumption score is closer to the real resident water consumption state.
Further, in the water supply pressure early warning method, the water demand score is determined according to the water trend score, the estimated water score and the resident water score by the following formula:
Figure SMS_59
wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure SMS_60
a score indicating water trend,
Figure SMS_61
Represents the score of the water for evaluation,
Figure SMS_62
Indicating the score of water used by residents,
Figure SMS_63
Indicating the water demand score.
Further, in the water supply pressure early warning method, the water supply pressure scores of the plurality of non-residential user areas are determined according to the water demand scores, and are calculated according to the following formula:
Figure SMS_64
wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure SMS_65
the water demand score is indicated as a function of the water demand score,
Figure SMS_66
a water supply pressure score is indicated,
Figure SMS_67
for the third judgment threshold value to be set,
Figure SMS_68
is the set fourth judgment threshold value.
In a second aspect, an embodiment of the present application further provides a water supply pressure early warning device, including:
the acquisition module is used for: the method is used for acquiring non-resident user information and resident user information in the independent metering area partition;
and a clustering module: the non-resident user information processing system is used for carrying out clustering according to the position information in the non-resident user information to obtain a plurality of clustering centers, and dividing the non-resident user into a plurality of non-resident user areas according to the plurality of clustering centers;
a first determination module: the method comprises the steps of determining influencing resident users in a plurality of non-resident user areas, acquiring all influencing resident users in the plurality of non-resident user areas, and counting water use feature sets of all influencing resident users in the plurality of non-resident user areas;
the calculation module: for calculating a water use trend score, an estimated water use score, and a resident water use score from the water use feature set;
a second determination module: for determining a water demand score based on the water trend score, the estimated water score, and the resident water score;
and a third determination module: determining water supply pressure scores for a plurality of non-residential user areas based on the water demand scores;
a fourth determination module: for determining whether the plurality of non-residential user areas have water supply pressure based on the water supply pressure scores;
and an output module: the areas with water supply pressure in the non-resident user areas form water supply pressure early warning area output in the independent metering area partition.
In a third aspect, an embodiment of the present invention further provides an electronic device, including: a processor and a memory;
the processor is used for executing the water supply pressure early warning method according to any one of the above by calling the program or the instruction stored in the memory.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing a program or instructions that cause a computer to execute a water supply pressure warning method according to any one of the above.
The embodiment of the application has the advantages that: acquiring non-resident user information and resident user information in the independent metering area partition; clustering according to the position information in the non-resident user information to obtain a plurality of clustering centers, and dividing the non-resident user into a plurality of non-resident user areas according to the plurality of clustering centers; determining the influence resident users in the non-resident user areas according to the non-resident user areas and the resident user information, acquiring all the influence resident users in the non-resident user areas, and counting the water use characteristic sets of all the influence resident users in the non-resident user areas; calculating a water use trend score, an estimated water use score and a resident water use score according to the water use feature set; determining a water demand score from the water trend score, the estimated water score, and the resident water score; determining water supply pressure scores for a plurality of non-residential user areas based on the water demand scores; determining whether the plurality of non-residential user areas have water supply pressure based on the water supply pressure scores; the areas with water supply pressure in the plurality of non-resident user areas form water supply pressure early warning area output. The water supply pressure score of the method and the system determine whether the plurality of non-resident user areas have water supply pressure or not, and the areas with the water supply pressure form water supply pressure early warning areas to be output, so that potential safety hazards caused by large water supply pressure in the water supply process are eliminated, and water service decision management support is provided for related management departments.
Drawings
In order to more clearly illustrate the technical solutions of embodiments or conventional techniques of the present application, the drawings required for the descriptions of the embodiments or conventional techniques will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 is a schematic diagram of a water supply pressure early warning method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a water supply pressure early warning device according to an embodiment of the present application;
fig. 3 is a schematic block diagram of an electronic device provided by an embodiment of the present disclosure.
Detailed Description
In order to make the above objects, features and advantages of the present application more comprehensible, embodiments accompanied with figures are described in detail below. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is, however, susceptible of embodiment in many other ways than those herein described and similar modifications can be made by those skilled in the art without departing from the spirit of the application, and therefore the application is not limited to the specific embodiments disclosed below.
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 application belongs. The terminology used herein in the description of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
Fig. 1 is a schematic diagram of a water supply pressure early warning method according to an embodiment of the present application.
In a first aspect, an embodiment of the present application provides a water supply pressure early warning method, in combination with fig. 1, including:
s101: non-resident user information and resident user information in the independent metering area partition are acquired.
Specifically, in the embodiment of the application, non-resident user information in the independent metering area partition DMA is acquired, and then the intelligent analyzer for the water affair secondary scene is uploaded.
S102: clustering is carried out according to the position information in the non-resident user information to obtain a plurality of clustering centers, and the non-resident users are divided into a plurality of non-resident user areas according to the plurality of clustering centers.
Specifically, in the embodiment of the application, the intelligent water service secondary landscape analyzer is based on the position information of the non-resident user
Figure SMS_69
Clustering by using a clustering module based on K-means to obtain
Figure SMS_70
Personal clustering center
Figure SMS_71
According to
Figure SMS_72
Personal clustering center
Figure SMS_73
Dividing non-resident users into
Figure SMS_74
And a non-residential user area.
S103: and determining the influence resident users in the non-resident user areas according to the non-resident user areas and the resident user information, acquiring all the influence resident users in the non-resident user areas, and counting the water use characteristic sets of all the influence resident users in the non-resident user areas.
Specifically, in the embodiment of the present application, according to
Figure SMS_75
Individual non-resident user area and resident user information determination
Figure SMS_76
Affecting resident users in a non-resident user area to obtain
Figure SMS_77
All of the non-residential areas affect the residential users, statistics
Figure SMS_78
The steps of the overall impact on the water usage profile of the residential subscribers for each non-residential subscriber area are described in detail below.
S104: a water use trend score, an estimated water use score, and a resident water use score are calculated from the water use feature set.
Specifically, in the embodiment of the present application, the water feature set is expressed as
Figure SMS_79
Wherein, the method comprises the steps of, wherein,
Figure SMS_80
representing the sum of daily water consumption of non-resident users,
Figure SMS_81
Representing the sum of the daily water consumption of all the resident users,
Figure SMS_82
Indicating the corresponding time for starting statistics, h is the sequence number of the water feature set element, and the length of the water feature set is
Figure SMS_83
The steps of calculating the water use trend score, evaluating the water use score, and the resident water use score from the water use feature set are described in detail below.
S105: a water demand score is determined from the water trend score, the estimated water score, and the resident water score.
Specifically, in the embodiments of the present application, the step of determining the water demand score from the water trend score, the estimated water score, and the resident water score is described in detail below.
S106: water supply pressure scores for a plurality of non-residential user areas are determined based on the water demand scores.
Specifically, in the embodiment of the application, the determination is made according to the water demand score
Figure SMS_84
The step of scoring the water supply pressure of the individual non-residential user areas is described in detail below.
S107: a determination is made as to whether the plurality of non-residential user areas have a water supply pressure based on the water supply pressure score.
Specifically, in the embodiment of the present application, determining whether the plurality of non-resident user areas have the water supply pressure according to the water supply pressure score is performed by comparing the water supply pressure score with the set fifth judgment threshold
Figure SMS_85
When the water supply pressure score is greater than the set fifth judgment threshold
Figure SMS_86
When it is determined that the non-resident user area has water supply pressure。
S108: the areas with water supply pressure in the plurality of non-resident user areas form water supply pressure early warning areas output in the independent metering area areas.
Specifically, in the embodiment of the application, the water service decision management support is provided for the relevant management departments by outputting the water supply pressure early warning areas in the areas with water supply pressure in the plurality of non-resident user areas to form the independent metering area subareas.
Further, in the water supply pressure early warning method, according to the information of the non-resident user areas and the resident users, the influence resident users in the non-resident user areas are determined, all the influence resident users in the non-resident user areas are obtained, and the water use characteristic set of all the influence resident users in the non-resident user areas is counted, including:
for the following
Figure SMS_87
Any one of the non-resident user areas
Figure SMS_88
The radius of the area is
Figure SMS_89
For a resident user information the position is
Figure SMS_90
When the resident user information satisfies the following conditions:
Figure SMS_91
determining resident user as non-resident user area
Figure SMS_92
Is the influence of the resident user, wherein
Figure SMS_93
A first judgment threshold value is set;
acquisition of
Figure SMS_94
All of the individual non-residential areas affect residential users;
statistics
Figure SMS_95
A set of water usage characteristics for all affected residential subscribers of a non-residential subscriber area, comprising: counting the sum of daily water consumption of non-resident users
Figure SMS_98
The sum of the daily water consumption of all the resident users
Figure SMS_100
Corresponding time to start statistics
Figure SMS_97
Component feature vector
Figure SMS_99
Obtaining non-resident user area
Figure SMS_101
Is set of water characteristics of (a)
Figure SMS_102
Wherein h is the sequence number of the water feature set element, and the length of the water feature set is
Figure SMS_96
Specifically, in the embodiment of the present application, the set first judgment threshold value
Figure SMS_103
Flexibly set according to the actual situation.
Further, in the water supply pressure early warning method, the water trend score is calculated according to the water feature set, and the method comprises the following steps:
according to time
Figure SMS_104
Water feature set by year
Figure SMS_105
Dividing into a plurality of subsets, each last point of each year being numbered
Figure SMS_106
Wherein for the number of years to segment,
Figure SMS_107
definition of
Figure SMS_108
The water usage score for each year was calculated by the following formula:
Figure SMS_109
wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure SMS_110
for the serial number of the year,
Figure SMS_111
in order to correct the score with water,
Figure SMS_112
representing the sum of daily water consumption of non-resident users,
Figure SMS_113
Representing the sum of the daily water consumption of all the resident users,
Figure SMS_114
Indicating the corresponding time for starting statistics, h is the sequence number of the water feature set element, and the length of the water feature set is
Figure SMS_115
Figure SMS_116
Figure SMS_117
An index indicating a large amount of water is set as the second judgment threshold,
according to the score of a large amount of water used each year
Figure SMS_118
Calculating water trend score
Figure SMS_119
Is calculated by the following formula:
Figure SMS_120
specifically, in the embodiment of the present application, the set second judgment threshold value
Figure SMS_121
Flexibly set according to the actual situation.
Further, in the water supply pressure early warning method, the evaluating water score is obtained by calculating according to the water feature set, and the method comprises the following steps:
the water feature set is expressed as
Figure SMS_122
Wherein, the method comprises the steps of, wherein,
Figure SMS_123
representing the sum of daily water consumption of non-resident users,
Figure SMS_124
Representing the sum of the daily water consumption of all the resident users,
Figure SMS_125
Indicating the corresponding time for starting statistics, h is the sequence number of the water feature set element, and the length of the water feature set is
Figure SMS_126
Acquisition time
Figure SMS_127
Front part
Figure SMS_128
The number of the feature vectors in the range is
Figure SMS_129
The sum of the water consumption of non-resident users in the characteristic vectors is counted
Figure SMS_130
According to
Figure SMS_132
The same date each year before the corresponding date was acquired
Figure SMS_134
Front and back
Figure SMS_136
Number of feature vectors in range
Figure SMS_133
Sum of water consumption of non-resident users in characteristic vector
Figure SMS_135
Maximum water usage in feature vectors
Figure SMS_137
Wherein
Figure SMS_138
For the corresponding sequence number,
Figure SMS_131
-1;
calculating an evaluation water score
Figure SMS_139
Is calculated by the following formula:
Figure SMS_140
further, in the water supply pressure early warning method, the resident water score obtained by calculation according to the water feature set is calculated by the following formula:
Figure SMS_141
wherein the water feature set is expressed as
Figure SMS_142
Figure SMS_143
Representing the sum of daily water consumption of non-resident users,
Figure SMS_144
Representing the sum of the daily water consumption of all the resident users,
Figure SMS_145
Indicating the corresponding time for starting statistics, h is the sequence number of the water feature set element, and the length of the water feature set is
Figure SMS_146
Figure SMS_147
Indicating the score of the water used by residents,
Figure SMS_148
and the first correction constant obtained for the historical data training ensures that the resident water consumption score is closer to the real resident water consumption state.
Further, in the water supply pressure early warning method, the water demand score is determined according to the water trend score, the estimated water score and the resident water score by the following formula:
Figure SMS_149
wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure SMS_150
a score indicating water trend,
Figure SMS_151
Represents the score of the water for evaluation,
Figure SMS_152
Indicating the score of water used by residents,
Figure SMS_153
Indicating the water demand score.
Further, in the water supply pressure early warning method, the water supply pressure scores of the plurality of non-residential user areas are determined according to the water demand scores, and are calculated according to the following formula:
Figure SMS_154
wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure SMS_155
the water demand score is indicated as a function of the water demand score,
Figure SMS_156
a water supply pressure score is indicated,
Figure SMS_157
for the third judgment threshold value to be set,
Figure SMS_158
is the set fourth judgment threshold value.
Specifically, in the embodiment of the present application, the third determination threshold is set
Figure SMS_159
A fourth judgment threshold value set
Figure SMS_160
Flexibly set according to actual conditionsAnd (5) setting.
Fig. 2 is a schematic diagram of a water supply pressure early warning device according to an embodiment of the present application.
In a second aspect, an embodiment of the present application further provides a water supply pressure early warning device, in combination with fig. 2, including:
the acquisition module 201: the method is used for acquiring non-resident user information and resident user information in the independent metering area partition;
clustering module 202: the non-resident user information processing system is used for carrying out clustering according to the position information in the non-resident user information to obtain a plurality of clustering centers, and dividing the non-resident user into a plurality of non-resident user areas according to the plurality of clustering centers;
the first determination module 203: the method comprises the steps of determining influencing resident users in a plurality of non-resident user areas, acquiring all influencing resident users in the plurality of non-resident user areas, and counting water use feature sets of all influencing resident users in the plurality of non-resident user areas;
the calculation module 204: for calculating a water use trend score, an estimated water use score, and a resident water use score from the water use feature set;
the second determination module 205: for determining a water demand score based on the water trend score, the estimated water score, and the resident water score;
a third determination module 206: determining water supply pressure scores for a plurality of non-residential user areas based on the water demand scores;
a fourth determination module 207: for determining whether the plurality of non-residential user areas have water supply pressure based on the water supply pressure scores;
the output module 208: the areas with water supply pressure in the plurality of non-residential user areas form water supply pressure early warning area output.
In a third aspect, an embodiment of the present invention further provides an electronic device, including: a processor and a memory;
the processor is used for executing the water supply pressure early warning method according to any one of the above by calling the program or the instruction stored in the memory.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing a program or instructions that cause a computer to execute a water supply pressure warning method according to any one of the above.
Fig. 3 is a schematic block diagram of an electronic device provided by an embodiment of the present disclosure.
As shown in fig. 3, the electronic device includes: at least one processor 301, at least one memory 302, and at least one communication interface 303. The various components in the electronic device are coupled together by a bus system 304. A communication interface 303 for information transfer with an external device. It is understood that bus system 304 is used to enable connected communications between these components. The bus system 304 includes a power bus, a control bus, and a status signal bus in addition to the data bus. The various buses are labeled in fig. 3 as bus system 304 for clarity of illustration.
It is to be understood that the memory 302 in this embodiment may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory.
In some implementations, the memory 302 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system and application programs.
The operating system includes various system programs, such as a framework layer, a core library layer, a driving layer, and the like, and is used for realizing various basic services and processing hardware-based tasks. Applications, including various applications such as Media Player (Media Player), browser (Browser), etc., are used to implement various application services. The program for implementing any one of the water supply pressure early warning methods provided in the embodiments of the present application may be included in the application program.
In the embodiment of the present application, the processor 301 is configured to execute the steps of each embodiment of the water supply pressure early warning method provided in the embodiment of the present application by calling a program or an instruction stored in the memory 302, specifically, a program or an instruction stored in an application program.
Acquiring non-resident user information and resident user information in the independent metering area partition;
clustering according to the position information in the non-resident user information to obtain a plurality of clustering centers, and dividing the non-resident user into a plurality of non-resident user areas according to the plurality of clustering centers;
determining the influence resident users in the non-resident user areas according to the non-resident user areas and the resident user information, acquiring all the influence resident users in the non-resident user areas, and counting the water use characteristic sets of all the influence resident users in the non-resident user areas;
calculating a water use trend score, an estimated water use score and a resident water use score according to the water use feature set;
determining a water demand score from the water trend score, the estimated water score, and the resident water score;
determining water supply pressure scores for a plurality of non-residential user areas based on the water demand scores;
determining whether the plurality of non-residential user areas have water supply pressure based on the water supply pressure scores;
the areas with water supply pressure in the plurality of non-resident user areas form water supply pressure early warning area output.
Any one of the water supply pressure early warning methods provided in the embodiments of the present application may be applied to the processor 301, or implemented by the processor 301. The processor 301 may be an integrated circuit chip with signal capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry of hardware in the processor 301 or instructions in the form of software. The processor 301 may be a general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The steps of any one of the water supply pressure early warning methods provided in the embodiments of the present application may be directly embodied as execution completion of the hardware decoding processor, or may be executed by a combination of hardware and software units in the decoding processor. The software elements may be located in a random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory 302, and the processor 301 reads the information in the memory 302, and in combination with its hardware, completes the steps of a water supply pressure warning method.
Those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the present application and form different embodiments.
Those skilled in the art will appreciate that the descriptions of the various embodiments are each focused on, and that portions of one embodiment that are not described in detail may be referred to as related descriptions of other embodiments.
The present invention is not limited to the above embodiments, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the present invention, and these modifications and substitutions are intended to be included in the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (4)

1. A water supply pressure early warning method, comprising:
acquiring non-resident user information and resident user information in the independent metering area partition;
clustering according to the position information in the non-resident user information to obtain a plurality of clustering centers, and dividing the non-resident user into a plurality of non-resident user areas according to the plurality of clustering centers;
determining the influence resident users in the non-resident user areas according to the non-resident user areas and the resident user information, acquiring all influence resident users in the non-resident user areas, and counting the water use characteristic sets of all influence resident users in the non-resident user areas;
calculating a water use trend score, an estimated water use score and a resident water use score according to the water use feature set;
determining a water demand score from the water trend score, the estimated water score, and the resident water score;
determining water supply pressure scores for the plurality of non-residential user areas based on the water demand scores;
determining whether the plurality of non-residential user areas have water supply pressure according to the water supply pressure score;
the areas with water supply pressure in the non-resident user areas form water supply pressure early warning areas in the independent metering area partitions to be output;
wherein the determining the influencing resident users in the non-resident user areas according to the non-resident user areas and the resident user information, obtaining all influencing resident users in the non-resident user areas, and counting the water use feature set of all influencing resident users in the non-resident user areas, includes:
for any one of a plurality of non-residential areas
Figure QLYQS_1
The area radius is +.>
Figure QLYQS_2
The position in the information is +.>
Figure QLYQS_3
When the resident user information satisfies the following conditions:
Figure QLYQS_4
;
determining resident user as non-resident user area
Figure QLYQS_5
Is a resident user, wherein->
Figure QLYQS_6
A first judgment threshold value is set;
acquiring all the influence resident users in a plurality of non-resident user areas;
counting a set of water usage characteristics of all of the plurality of non-residential user areas affecting residential users, comprising: counting the sum of daily water consumption of non-resident users
Figure QLYQS_7
Sum of water consumption all affecting the residential users every day +.>
Figure QLYQS_8
Time of corresponding start statistics ∈>
Figure QLYQS_9
Component feature vector->
Figure QLYQS_10
Obtaining a water use characteristic set of the non-resident user area>
Figure QLYQS_11
Wherein h is the sequence number of the water feature set element, and the length of the water feature set is +.>
Figure QLYQS_12
The calculating the water trend score according to the water feature set comprises the following steps:
according to time
Figure QLYQS_13
Water use characteristic set according to year>
Figure QLYQS_14
Dividing into a plurality of subsets, and respectively marking the sequence number of the last point every year as +.>
Figure QLYQS_15
Wherein +.f for the number of years divided>
Figure QLYQS_16
Definitions->
Figure QLYQS_17
The water usage score for each year was calculated by the following formula:
Figure QLYQS_18
;
wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure QLYQS_19
for the serial number of year,/->
Figure QLYQS_20
To correct the score with water, < >>
Figure QLYQS_21
Representing the sum of daily water consumption of non-resident users,
Figure QLYQS_22
Representing the sum of the daily water consumption of all the resident users>
Figure QLYQS_23
Indicating the corresponding start statistics time, h is the sequence number of the water feature set element, the length of the water feature set is +.>
Figure QLYQS_24
Figure QLYQS_25
;
Figure QLYQS_26
An index indicating a large amount of water is set as the second judgment threshold,
according to the annual water consumption score
Figure QLYQS_27
Calculate water trend score->
Figure QLYQS_28
Is calculated by the following formula:
Figure QLYQS_29
;
the calculating to obtain the water score for evaluation according to the water feature set comprises the following steps:
the water feature set is expressed as
Figure QLYQS_30
Wherein->
Figure QLYQS_31
Representing the sum of daily water consumption of non-resident users,
Figure QLYQS_32
Representing the sum of the daily water consumption of all the resident users>
Figure QLYQS_33
Indicating the corresponding start statistics time, h is the sequence number of the water feature set element, the length of the water feature set is +.>
Figure QLYQS_34
Acquisition time
Figure QLYQS_35
Front->
Figure QLYQS_36
Feature vectors in the range, the number of feature vectors is +.>
Figure QLYQS_37
The sum of the water consumption of non-resident users in the characteristic vectors is counted>
Figure QLYQS_38
According to
Figure QLYQS_40
The same date +.annually before the corresponding date was acquired>
Figure QLYQS_42
Front and back->
Figure QLYQS_43
Number of feature vectors in the range +.>
Figure QLYQS_41
Sum of water consumption of non-resident users in characteristic vector +.>
Figure QLYQS_44
And maximum water consumption in the feature vector>
Figure QLYQS_45
Wherein
Figure QLYQS_46
For the corresponding serial number, ">
Figure QLYQS_39
-1;
Calculating an evaluation water score
Figure QLYQS_47
Is calculated by the following formula:
Figure QLYQS_48
the resident water score calculated according to the water feature set is calculated by the following formula:
Figure QLYQS_49
;
wherein the water feature set is expressed as
Figure QLYQS_50
,/>
Figure QLYQS_51
Representing the sum of daily water consumption of non-resident users,
Figure QLYQS_52
Representing the sum of the daily water consumption of all the resident users>
Figure QLYQS_53
Indicating the corresponding start statistics time, h is the sequence number of the water feature set element, the length of the water feature set is +.>
Figure QLYQS_54
,/>
Figure QLYQS_55
Indicating a resident water score>
Figure QLYQS_56
The first correction constant obtained for the historical data training ensures that the resident water consumption score is closer to the real resident water consumption state;
the determining the water demand score from the water trend score, the evaluation water score, and the resident water score is calculated by the following formula:
Figure QLYQS_57
wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure QLYQS_58
score indicating water trend,/->
Figure QLYQS_59
Representing the evaluation water score>
Figure QLYQS_60
Indicating resident water score>
Figure QLYQS_61
Indicating a water demand score;
the determining of the water supply pressure scores for the plurality of non-residential user areas based on the water demand scores is calculated by the following formula:
Figure QLYQS_62
wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure QLYQS_63
indicating water demand score,/->
Figure QLYQS_64
Indicating a water supply pressure score,/->
Figure QLYQS_65
For a third decision threshold value set, +.>
Figure QLYQS_66
Is the set fourth judgment threshold value.
2. A water supply pressure early warning device, comprising:
the acquisition module is used for: the method is used for acquiring non-resident user information and resident user information in the independent metering area partition;
and a clustering module: the non-resident user information processing system is used for carrying out clustering according to the position information in the non-resident user information to obtain a plurality of clustering centers, and dividing the non-resident user into a plurality of non-resident user areas according to the plurality of clustering centers;
a first determination module: the method comprises the steps of determining influencing resident users in a plurality of non-resident user areas, acquiring all influencing resident users in the plurality of non-resident user areas, and counting a water use characteristic set of all influencing resident users in the plurality of non-resident user areas;
the calculation module: for calculating a water use trend score, an estimated water use score and a resident water use score from the water use feature set;
a second determination module: for determining a water demand score from the water trend score, the assessment water score, and the resident water score;
and a third determination module: determining water supply pressure scores for the plurality of non-residential user areas based on the water demand scores;
a fourth determination module: for determining whether the plurality of non-residential user areas have a water supply pressure based on the water supply pressure score;
and an output module: the areas with water supply pressure in the non-resident user areas form water supply pressure early warning areas in the independent metering area partitions;
wherein the determining the influencing resident users in the non-resident user areas according to the non-resident user areas and the resident user information, obtaining all influencing resident users in the non-resident user areas, and counting the water use feature set of all influencing resident users in the non-resident user areas, includes:
for any one of a plurality of non-residential areas
Figure QLYQS_67
The area radius is +.>
Figure QLYQS_68
The position in the information is +.>
Figure QLYQS_69
When the resident user information satisfies the following conditions:
Figure QLYQS_70
determining resident user as non-resident user area
Figure QLYQS_71
Is a resident user, wherein->
Figure QLYQS_72
A first judgment threshold value is set;
acquiring all the influence resident users in a plurality of non-resident user areas;
counting a set of water usage characteristics of all of the plurality of non-residential user areas affecting residential users, comprising: counting the sum of daily water consumption of non-resident users
Figure QLYQS_73
Sum of water consumption all affecting the residential users every day +.>
Figure QLYQS_74
Time of corresponding start statistics ∈>
Figure QLYQS_75
Component feature vector->
Figure QLYQS_76
Obtaining a water use characteristic set of the non-resident user area>
Figure QLYQS_77
Wherein h is the sequence number of the water feature set element, and the length of the water feature set is +.>
Figure QLYQS_78
The calculating the water trend score according to the water feature set comprises the following steps:
according to time
Figure QLYQS_79
Water use characteristic set according to year>
Figure QLYQS_80
Dividing into a plurality of subsets, and respectively marking the sequence number of the last point every year as +.>
Figure QLYQS_81
Wherein +.f for the number of years divided>
Figure QLYQS_82
Definitions->
Figure QLYQS_83
The water usage score for each year was calculated by the following formula:
Figure QLYQS_84
wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure QLYQS_85
for the serial number of year,/->
Figure QLYQS_86
To correct the score with water, < >>
Figure QLYQS_87
Representing the sum of daily water consumption of non-resident users,
Figure QLYQS_88
Representing the sum of the daily water consumption of all the resident users>
Figure QLYQS_89
Indicating the corresponding start statistics time, h is the sequence number of the water feature set element, the length of the water feature set is +.>
Figure QLYQS_90
Figure QLYQS_91
Figure QLYQS_92
An index indicating a large amount of water is set as the second judgment threshold,
according to the annual water consumption score
Figure QLYQS_93
Calculate water trend score->
Figure QLYQS_94
Is calculated by the following formula:
Figure QLYQS_95
the calculating to obtain the water score for evaluation according to the water feature set comprises the following steps:
the water feature set is expressed as
Figure QLYQS_96
Wherein->
Figure QLYQS_97
Representing the sum of daily water consumption of non-resident users,
Figure QLYQS_98
Representing the sum of the daily water consumption of all the resident users>
Figure QLYQS_99
Indicating the corresponding start statistics time, h is the sequence number of the water feature set element, the length of the water feature set is +.>
Figure QLYQS_100
Acquisition time
Figure QLYQS_101
Front->
Figure QLYQS_102
Feature vectors in the range, the number of feature vectors is +.>
Figure QLYQS_103
The sum of the water consumption of non-resident users in the characteristic vectors is counted>
Figure QLYQS_104
According to
Figure QLYQS_107
The same date +.annually before the corresponding date was acquired>
Figure QLYQS_108
Front and back->
Figure QLYQS_110
Number of feature vectors in the range +.>
Figure QLYQS_106
Sum of water consumption of non-resident users in characteristic vector +.>
Figure QLYQS_109
And maximum water consumption in the feature vector>
Figure QLYQS_111
Wherein
Figure QLYQS_112
For the corresponding serial number, ">
Figure QLYQS_105
-1;
Calculating an evaluation water score
Figure QLYQS_113
Is calculated by the following formula:
Figure QLYQS_114
the resident water score calculated according to the water feature set is calculated by the following formula:
Figure QLYQS_115
wherein the water feature set is expressed as
Figure QLYQS_116
,/>
Figure QLYQS_117
Representing the sum of daily water consumption of non-resident users,
Figure QLYQS_118
Representing the sum of the daily water consumption of all the resident users>
Figure QLYQS_119
Indicating the time corresponding to the start of the statistics,h is the sequence number of the water feature set element, and the length of the water feature set is +.>
Figure QLYQS_120
,/>
Figure QLYQS_121
Indicating a resident water score>
Figure QLYQS_122
The first correction constant obtained for the historical data training ensures that the resident water consumption score is closer to the real resident water consumption state;
the determining the water demand score from the water trend score, the evaluation water score, and the resident water score is calculated by the following formula:
Figure QLYQS_123
wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure QLYQS_124
score indicating water trend,/->
Figure QLYQS_125
Representing the evaluation water score>
Figure QLYQS_126
Indicating resident water score>
Figure QLYQS_127
Indicating a water demand score;
the determining of the water supply pressure scores for the plurality of non-residential user areas based on the water demand scores is calculated by the following formula:
Figure QLYQS_128
wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure QLYQS_129
indicating water demand score,/->
Figure QLYQS_130
Indicating a water supply pressure score,/->
Figure QLYQS_131
For a third decision threshold value set, +.>
Figure QLYQS_132
Is the set fourth judgment threshold value.
3. An electronic device, comprising: a processor and a memory;
the processor is used for executing the water supply pressure early warning method according to claim 1 by calling a program or instructions stored in the memory.
4. A computer-readable storage medium storing a program or instructions that cause a computer to execute a water supply pressure warning method according to claim 1.
CN202310302488.2A 2023-03-27 2023-03-27 Water supply pressure early warning method and device, electronic equipment and storage medium Active CN116029535B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310302488.2A CN116029535B (en) 2023-03-27 2023-03-27 Water supply pressure early warning method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310302488.2A CN116029535B (en) 2023-03-27 2023-03-27 Water supply pressure early warning method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116029535A CN116029535A (en) 2023-04-28
CN116029535B true CN116029535B (en) 2023-06-30

Family

ID=86077897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310302488.2A Active CN116029535B (en) 2023-03-27 2023-03-27 Water supply pressure early warning method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116029535B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116992385B (en) * 2023-08-14 2024-01-19 宁夏隆基宁光仪表股份有限公司 Abnormal detection method and system for water meter consumption of Internet of things

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105844490A (en) * 2016-03-22 2016-08-10 天津大学 Game theory-based user and power company interaction method
US11138269B1 (en) * 2017-03-14 2021-10-05 Wells Fargo Bank, N.A. Optimizing database query processes with supervised independent autonomy through a dynamically scaling matching and priority engine
JP2020529092A (en) * 2017-07-24 2020-10-01 アブデエルサミー,メア,エー. Methods and systems for environmental credit scoring
CN107480880A (en) * 2017-08-10 2017-12-15 中国水利水电科学研究院 Resident living needs computational methods, device and the equipment of water
US11100739B1 (en) * 2019-01-11 2021-08-24 Securus Technologies, Llc Two factor identification verification of controlled-environment facility residents and associated non-residents
CN111598356A (en) * 2020-05-29 2020-08-28 中国水利水电科学研究院 Agricultural water optimized allocation system and method based on water consumption control
CN112651552A (en) * 2020-12-22 2021-04-13 国网浙江玉环市供电有限公司 Electric power big data based industrial structure optimization method and device and storage medium
CN112801542A (en) * 2021-03-09 2021-05-14 海南电网有限责任公司信息通信分公司 Credit assessment method for electricity utilization client
CN113837311B (en) * 2021-09-30 2023-10-10 南昌工程学院 Resident customer clustering method and device based on demand response data
CN114399212A (en) * 2022-01-18 2022-04-26 平安国际智慧城市科技股份有限公司 Ecological environment quality evaluation method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN116029535A (en) 2023-04-28

Similar Documents

Publication Publication Date Title
CN116029535B (en) Water supply pressure early warning method and device, electronic equipment and storage medium
CN110751828B (en) Road congestion measuring method and device, computer equipment and storage medium
CN115577861B (en) Water leakage area recommendation method, electronic equipment and storage medium
CN108491122B (en) Click event response method, computer readable storage medium and terminal equipment
CN109357896B (en) Method and device for detecting running performance of air pre-heater
CN111784160A (en) River hydrological situation change evaluation method and system
CN111260147A (en) Power generation capacity prediction method and device and terminal equipment
CN116050946B (en) Water service user collection management method and device, electronic equipment and storage medium
CN111563504B (en) License plate recognition method and related equipment
TWI503780B (en) Optimizing system for contract demand and optimizing method using for the same
CN108830663B (en) Electric power customer value evaluation method and system and terminal equipment
CN110578317B (en) Hydrological model reservoir discharge capacity simulation method
CN112950436A (en) Method and device for calculating overflow control parameters of combined pipeline
CN111835536B (en) Flow prediction method and device
CN109242321B (en) User power load online analysis method and terminal equipment
CN116862106A (en) Urban construction land updating potential analysis method, device, terminal and medium
CN113222245A (en) Method and system for checking monthly electric quantity and electricity charge abnormity of residential user and storage medium
CN104952131A (en) Method and device for visitor&#39;s visit time register of building intercom system
CN113157212A (en) Flash storage method and device, intelligent wearable device and storage medium
CN109995551B (en) Service metering method and device of cloud computing system
CN112511503A (en) Method, system, equipment and storage medium for improving safety of intelligent electric meter
CN112241806A (en) Road damage probability prediction method, device terminal equipment and readable storage medium
CN111199345A (en) Measuring and calculating method for design rainfall of sponge city and terminal equipment
CN111062004A (en) Prediction model adjusting method and device, prediction simulator and storage medium
CN117973808A (en) Method and device for determining leakage maintenance strategy, electronic equipment and storage medium

Legal Events

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