Water supply prediction method and equipment for agricultural drinking water

By combining the water supply data analysis of the water treatment plant with the historical data of customer water supply, a predictive production volume model was constructed, which solved the problem of unreasonable supply distribution in the water treatment plant, achieving accurate matching of water supply demand and improving production efficiency.

CN118350835BActive Publication Date: 2024-09-20ZHONGMEI ATT PUMP GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410774998.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-09-20
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

The existing water treatment plants lack rationality in terms of customer production volume and supply allocation, resulting in equipment production efficiency that cannot accurately match customer needs, resulting in high production energy consumption and low efficiency.

Method used

By obtaining the water supply data of multiple sample customers, analyze the difference between the set water supply volume and the actual water supply volume, build a forecast production volume model, combine the historical water supply times and default payment times, establish a production priority list of water supply types, and use data collection The device collects actual and set water supply data and executes water supply prediction methods to adjust the prediction model and improve prediction accuracy.

Benefits of technology

It achieves accurate prediction of customers' water supply needs, optimizes the production configuration of water treatment equipment, reduces energy consumption and improves production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118350835B
    Figure CN118350835B
Patent Text Reader

Abstract

The present application relates to a method and equipment for treating agricultural drinking water. The connection between historical water supply data and future water supply data is established by acquiring, analyzing and calculating customer data. A prediction production model is constructed based on this connection. The prediction production model should be trained using past historical data so that the prediction production model has a prediction function. The prediction production model can also adjust the composition of historical data in real time according to the deviation between the predicted value and the historical data to increase the accuracy of the prediction of the prediction production model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of water supply prediction, and in particular to a method and device for predicting agricultural drinking water supply. Background Art

[0002] Water treatment equipment is a kind of equipment that integrates multiple water purification processes. The equipment has the characteristics of good water purification effect, wide application range, small footprint, simple operation, water saving, electricity saving, labor saving, etc. The working principle of water treatment equipment is mainly to use raw water to react flocculation, sedimentation, mud collection, mud discharge, water collection, water distribution, filtration, backwashing, sewage discharge, dosing, disinfection and other automated processes inside the equipment to achieve the purpose of raw water purification.

[0003] Existing water treatment plants lack rationality in production volume and supply allocation for customers, resulting in the inability to accurately match the production efficiency of the water treatment plant equipment with customer needs, resulting in excessively high production energy consumption of the equipment and correspondingly low production efficiency. Summary of the invention

[0004] Based on this, it is necessary to provide a water supply prediction method and equipment for agricultural drinking water to address the problem that traditional water treatment plants lack rationality in production volume and supply allocation for customers, resulting in the production efficiency of water treatment plant equipment being unable to accurately meet customer needs.

[0005] The present application provides a method for predicting agricultural drinking water supply, comprising:

[0006] Acquire sample customer data of a plurality of sample customers, wherein the sample customer data includes a plurality of sample monthly water supply data;

[0007] Each water supply type is marked according to the difference between the set water supply and the actual water supply in each sample month’s water supply data;

[0008] The marking of each water supply type according to the difference between the set water supply amount and the actual water supply amount in each sample monthly water supply data includes:

[0009] Select a sample monthly water supply data;

[0010] Analyze the sample monthly water supply data to obtain the water supply type, set water supply amount and actual water supply amount in the sample monthly water supply data, wherein the water supply type includes drinking water, boiler water, recycled water and irrigation water;

[0011] Select a water supply type;

[0012] The actual water supply of the water supply type is subtracted from the set water supply of the water supply type to obtain a difference, and the obtained difference is recorded as a floating change amount;

[0013] When the obtained floating change is greater than zero, the water supply type is marked;

[0014] Returning to the step of selecting a water supply type, until each water supply type has been selected once, obtaining a marked water supply type;

[0015] Returning to the step of selecting a sample monthly water supply data until each sample monthly water supply data has been selected once;

[0016] Construct a forecast production model based on each month's water supply data, each marked water supply type, each unmarked water supply type, the estimated change of each marked water supply type, and the estimated production of each month;

[0017] Score each sample customer's water supply type based on the number of historical water supplies, the number of overdue payments, and the set water supply volume corresponding to the water supply type;

[0018] A production priority table of water supply types for sample customers is established based on the corresponding relationship between the score of the water supply type for each sample customer and the production priority;

[0019] Obtaining a monthly water supply data to be tested, inputting the monthly water supply data to be tested into a fine-tuned forecast production model, starting the fine-tuned forecast production model, and obtaining a total forecast production output by the fine-tuned forecast production model;

[0020] Obtain a water supply type for a sample customer to be tested, score the water supply type for the sample customer to be tested, obtain the score of the water supply type for the sample customer to be tested, use the score of the water supply type for the sample customer to be tested as an index to retrieve a production priority table of the water supply type for the sample customer, and obtain the production priority of the water supply type for the sample customer to be tested.

[0021] The present application also provides a water supply prediction device for agricultural drinking water, comprising:

[0022] The first data collection device is used to collect actual water production data of different water supply types in the agricultural drinking water treatment equipment;

[0023] The second data collection device is used to collect water supply data set in the contract signed with the customer;

[0024] A processing device is connected in communication with the first data acquisition device, and the processing device is also connected in communication with the second data acquisition device, and the processing device is used to execute the agricultural drinking water supply prediction method as described above.

[0025] The present application relates to a method and device for predicting agricultural drinking water supply. By acquiring, analyzing and calculating customer data, a connection between historical water supply data and future water supply data is established. A prediction production model is constructed based on this connection. Past historical data should be used to train the prediction production model so that the prediction production model has a prediction function. The prediction production model can also adjust the composition of historical data in real time according to the deviation between the predicted value and historical data to increase the accuracy of the prediction of the prediction production model. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A schematic flow chart of a method for predicting agricultural drinking water supply provided in accordance with an embodiment of the present application.

[0027] Figure 2 A schematic diagram of the structure of a water supply prediction device for agricultural drinking water provided in one embodiment of the present application. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0029] like Figure 1 As shown, in one embodiment of the present application, the agricultural drinking water supply prediction method includes the following S100 to S700:

[0030] S100, obtaining sample customer data of a plurality of sample customers, wherein the sample customer data includes a plurality of sample monthly water supply data.

[0031] The marking of each water supply type according to the difference between the set water supply amount and the actual water supply amount in each sample monthly water supply data includes:

[0032] Select a sample monthly water supply data;

[0033] Analyze the sample monthly water supply data to obtain the water supply type, set water supply amount and actual water supply amount in the sample monthly water supply data, wherein the water supply type includes drinking water, boiler water, recycled water and irrigation water; select a water supply type;

[0034] The actual water supply of the water supply type is subtracted from the set water supply of the water supply type to obtain a difference, and the obtained difference is recorded as a floating change amount;

[0035] When the obtained floating change is greater than zero, the water supply type is marked;

[0036] Returning to the step of selecting a water supply type, until each water supply type has been selected once, obtaining a marked water supply type;

[0037] Return to the step of selecting a sample monthly water supply data until each sample monthly water supply data has been selected once.

[0038] Specifically, water supply types include drinking water, boiler water, recycled water and irrigation water. The production processes of different water supply types are somewhat different.

[0039] In this embodiment, the actual water supply of a water supply type for a sample customer in a month's water supply data is first selected and the set water supply is subtracted to obtain a difference, and the difference greater than zero is screened out, and the water supply type is marked, and then the water supply type for a sample customer in a month's water supply data is returned to be selected, until each water supply type for each sample customer in each month's water supply data has been selected once, and all the differences and marked water supply types are obtained.

[0040] In this embodiment, sample customers refer to customers with whom a cooperative relationship has been established and will maintain a stable and continuous cooperative relationship, and there is stable water supply data during the period of the maintained cooperative relationship; sample monthly water supply data refers to the specific water supply volume data of different water supply types for different customers within a one-month period.

[0041] S200, marking each water supply type according to the difference between the set water supply volume and the actual water supply volume in each sample monthly water supply data.

[0042] In this embodiment, the water supply volume is set to the water supply volume agreed in advance with the customer, the actual water supply volume is subtracted from the set water supply volume to obtain a difference, and the water supply type in the monthly water supply data is marked based on the obtained difference.

[0043] S300, constructing a forecast production model based on each month's water supply data, each marked water supply type, each unmarked water supply type, the estimated change of each marked water supply type, and the estimated production of each month.

[0044] In this embodiment, a big data-based prediction is performed on the expected change in each marked water supply type, and the prediction result is obtained. The prediction result of each marked water supply type is summed with the set water supply of the unmarked water supply type to obtain the expected production volume for the month, and this is used as the basic principle of prediction to construct and train a predicted production volume model.

[0045] S400, scoring the water supply type of each sample customer based on the number of historical water supplies, the number of overdue payments, and the set water supply volume corresponding to the water supply type.

[0046] In this embodiment, different weights are set for the historical water supply times, the overdue payment times, and the set water supply volume corresponding to the water supply types, thereby scoring each water supply type for each sample customer.

[0047] S500: Establish a production priority table of water supply types for sample customers based on the corresponding relationship between the score of each sample customer's water supply type and the production priority.

[0048] In this embodiment, the scores of each water supply type of the customer are sorted, and corresponding priorities are set for scores in different ranges, and then a production priority table with corresponding relationships is established, and the specific production supply sequence is further arranged based on the production priority table.

[0049] S600, obtaining a monthly water supply data to be tested, inputting the monthly water supply data to be tested into a fine-tuned forecast production model, starting the fine-tuned forecast production model, and obtaining a total forecast production output by the fine-tuned forecast production model.

[0050] In this embodiment, historical monthly water supply data is input into a fine-tuned forecast production model, and then the fine-tuned forecast production model is started. The forecast function of the fine-tuned forecast production model is used to obtain the predicted monthly water supply data output by the fine-tuned forecast production model.

[0051] S700, obtain the water supply type of a sample customer to be tested, score the water supply type of the sample customer to be tested, obtain the score of the water supply type of the sample customer to be tested, use the score of the water supply type of the sample customer to be tested as an index to retrieve the production priority table of the water supply type of the sample customer, and obtain the production priority of the water supply type of the sample customer to be tested.

[0052] In one embodiment of the present application, the step of obtaining sample customer data and the step of obtaining sample customer data of multiple sample customers include the following steps S101 to S103:

[0053] S101, select a sample customer.

[0054] S102, acquiring the sample customer and obtaining the monthly water supply data of the sample customer, wherein the monthly water supply data includes a set water supply volume, an actual water supply volume and a water supply type for a month.

[0055] S103, returning to the step of selecting a sample customer until each sample customer has been selected once.

[0056] Specifically, taking a sample customer as a template for data acquisition, data of different water supply types for the sample customer are acquired each month. The data of the water supply type has two characteristics: actual water supply and set water supply. Based on taking a sample customer as a template for data acquisition, data of each sample customer are acquired.

[0057] In this embodiment, a sample customer may have one or more water supply types in the water supply data of a month, and each water supply type has a set water supply volume and an actual water supply volume in the water supply data of each month.

[0058] In one embodiment of the present application, the method of constructing a prediction production model based on each monthly water supply data, each marked water supply type, each unmarked water supply type, the estimated change of each marked water supply type and the estimated production of each month includes the following S301 to S313:

[0059] S301, select a sample monthly water supply data.

[0060] S302, obtaining the sample monthly water supply data, and obtaining each marked water supply type, the floating change amount of each marked water supply type, each unmarked water supply type, and the set water supply amount of each unmarked water supply type in the sample monthly water supply data.

[0061] S303, returning to the step of selecting a sample monthly water supply data, until each sample monthly water supply data has been selected once.

[0062] S304, selecting a marked water supply type.

[0063] S305, obtaining all floating changes of the marked water supply type.

[0064] S306, calculating the sum of all floating changes of the marked water supply type, and recording it as the floating change sum.

[0065] S307, calculating the number of months in which the marked water supply type is marked.

[0066] S308, calculating the floating change amount and the average value of the number of marked months to obtain the estimated change amount of the marked water supply type.

[0067] S309: sum the predicted change of the marked water supply type and the set water supply of the marked water supply type to obtain the predicted production of the marked water supply type.

[0068] S310, returning to the step of selecting a marked water supply type until each marked water supply type has been selected once.

[0069] S311, taking the set water supply of each unmarked water supply type as the estimated production of each unmarked water supply type, summing the set water supply of each unmarked water supply type with the estimated production of each marked water supply type to obtain the total estimated production for the next month.

[0070] S312, creating a production volume prediction model.

[0071] S313, using each monthly water supply data, each marked water supply type, the floating change of each marked water supply type, each unmarked water supply type, the set water supply of each marked water supply type, the estimated production of each unmarked water supply type, the estimated change of each marked water supply type and the calculation logic of the total estimated production as training data to train the predicted production model, and obtain the trained predicted production model.

[0072] Specifically, the total estimated production volume for a month refers to the sum of the estimated production volume of each water supply type for each customer in a month.

[0073] In this embodiment, the floating change of each marked water supply type in each month of water supply data in the historical data is obtained, and the average value of the floating change is calculated. The average value is summed with the set water supply of the marked water supply type to obtain the estimated production of the marked water supply type. The sum of the estimated production of all marked water supply types in one month of water supply data and the sum of the set water supply of all unmarked water supply types are summed again to obtain the estimated production of one month of water supply data. Based on this logic, a predictive production model is constructed and trained to obtain a predictive production model with the function of predicting the total production of the next month.

[0074] In one embodiment of the present application, after marking each water supply type according to the difference between the set water supply amount and the actual water supply amount in each sample monthly water supply data, the method further includes the following S210 to S213:

[0075] S210, sorting all floating changes of the marked water supply types in descending order to obtain a floating change sorting result.

[0076] S211, preset a fixed numerical screening value.

[0077] S212, when the floating change of the marked water supply type is greater than the screening value, the floating change is removed when calculating the sum of all floating changes of the marked water supply type, recorded as the floating change sum.

[0078] S213, when the floating change of the marked water supply type is less than or equal to the screening value, the floating change is retained when calculating the sum of all floating changes of the marked water supply type, recorded as the sum of floating changes.

[0079] Specifically, the fixed numerical screening value can control the discrimination of the screening. By adjusting the size of the fixed numerical screening value, different degrees of interference removal can be established. The smaller the fixed numerical screening value, the stronger the degree of anti-interference. On the contrary, the larger the fixed numerical screening value, the weaker the degree of anti-interference. The fixed numerical screening value is directly proportional to the size of the floating change.

[0080] In this embodiment, a fixed screening value is set to remove the more extreme data in the floating variation of the marked water supply type, thereby increasing the stability of the data basis and reducing the interference of extreme uncontrollable events on data calculation.

[0081] In one embodiment of the present application, the water supply type of each sample customer is scored based on the number of historical water supplies, the number of overdue payments, and the set water supply volume corresponding to the water supply type, including the following S401 to S404:

[0082] S401, select a sample customer.

[0083] S402, acquiring the sample customer, obtaining the historical water supply times of the sample customer, the number of overdue payments of the sample customer, and the set water supply volume corresponding to each water supply type of the sample customer.

[0084] S403, scoring each water supply type of the sample customer according to Formula 1;

[0085] Z i =A i ×30%-10B×30%+C i ×40% Formula 1

[0086] Among them, i is the water supply type, Z i is the score of water supply type i for the sample customer; A i is the water supply cooperation period of water supply type i, and the water supply cooperation period is in months; B is the number of overdue payments; Ci is the set water supply volume of water supply type i, and the set water supply volume is in tons.

[0087] S404, returning to the step of selecting a sample customer until each sample customer has been selected once.

[0088] Specifically, one scenario of the set water supply here refers to that the value of each type of water supply for each customer is the same in each month and does not change because a contract is signed; another scenario is that the set water supply is dynamic, then the set water supply of the most recent month is substituted into Formula 1; or on the basis that the set water supply is dynamic, the average value of the set water supply of the most recent N months is substituted into Formula 1, where N is a positive integer and N is greater than 1.

[0089] In this embodiment, different scoring weights are set for the sample customers' historical water supply times, the number of overdue payments, and the set water supply volume corresponding to the water supply type, and the water supply type of each sample customer is followed up and updated over a long period of time to improve the accuracy of the scoring of each water supply type for each customer.

[0090] In one embodiment of the present application, the production priority table of the water supply types of the sample customers is established according to the correspondence between the score of each water supply type of each sample customer and the production priority, including the following S501 to S505:

[0091] S501, obtaining the score of each water supply type for each sample customer.

[0092] S502: sort the scores of all water supply types of each sample customer in descending order to obtain a sorting result.

[0093] S503, dividing the sorting result into several ranking queues with the same score gap interval, each ranking queue includes scores of multiple adjacent water supply types.

[0094] S504, establishing a mapping relationship between each ranking queue and a production priority level; the higher the score of a water supply type in the ranking queue, the higher the production priority level of the water supply type.

[0095] S505, establishing a water supply type production priority table for each sample customer, and storing the score and production priority of each sample customer's water supply type in the sample customer's water supply type production priority table in correspondence.

[0096] In this embodiment, the scores of the water supply types of the sample customers updated in each monthly water supply data are sorted from large to small, and different production priority levels are established for the corresponding different segments. Based on the corresponding relationship, a water supply type production priority level table for the sample customers is established and updated in each monthly water supply data.

[0097] In one embodiment of the present application, after constructing the forecast production volume model based on each monthly water supply data, each marked water supply type, each unmarked water supply type, the estimated change of each marked water supply type, and the estimated production volume of each month, the method further includes S320,

[0098] S320, fine-tuning the predicted production model according to the difference between the actual water supply and the expected production in the water supply data of each month.

[0099] In one embodiment of the present application, the prediction production model is fine-tuned according to the difference between the actual water supply and the expected production in the water supply data of each month, including the following S320a to S320h:

[0100] S320a, select a sample monthly water supply data.

[0101] S320b, obtaining the sample monthly water supply data, and obtaining the actual water supply and estimated production of all water supply types in the sample monthly water supply data.

[0102] S320c, calculating the sum of the actual water supply of all water supply types to obtain the actual water supply sum.

[0103] S320d, based on the actual water supply and a preset floating range.

[0104] S320e, determining whether the total estimated production volume is within a preset floating range.

[0105] S320f, if the total estimated production volume does not appear within the preset floating range, the total estimated production volume is adjusted until the estimated production volume appears within the preset floating range.

[0106] S320g, inputting the total estimated production volume after increase or decrease into the predicted production volume model to fine-tune the predicted production volume model.

[0107] S320h, returning to the step of selecting one month's water supply data until each month's water supply data has been selected once.

[0108] In this embodiment, the actual water supply in the water supply data of each month is used as the basic value, and a certain threshold floating range is preset on this basis. The training data of the predicted production model is adjusted by judging whether the estimated production output by the predicted production model is within the floating range to improve the accuracy of the predicted production model's prediction.

[0109] In one embodiment of the present application, if the total estimated production volume does not appear within the preset floating range, the total estimated production volume is adjusted until the estimated production volume appears within the preset floating range, including the following S801 to S805:

[0110] S801, marking each sample monthly water supply data according to the order of data output time to obtain the monthly water supply data marking result.

[0111] S802, removing a water supply type whose data output time is farthest from the current system time, to obtain multiple water supply types that are retained.

[0112] S803, calculating the sum of the estimated production volumes of all remaining water supply types to obtain an adjusted total estimated production volume.

[0113] S804, determining whether the adjusted total estimated production volume is within a preset floating range.

[0114] S805: If the adjusted total estimated production volume is within the preset floating range, then the removal of the marked water supply types is stopped.

[0115] In this embodiment, based on the chronological order, multiple sample monthly water supply data sorted in chronological order are obtained, and the sample monthly water supply data are removed one by one in order from far to near in time. The total expected production is calculated once each time a sample monthly water supply data is removed, and the removal of a sample monthly water supply data is stopped until the obtained total expected production appears within the preset floating range. This method reduces interference with the prediction results by removing the sample monthly water supply data that is relatively far away on the time axis.

[0116] In this embodiment, the total amount of all historically marked water supply types in the operation of the predicted production model is screened out, and the distance in time is used as the basic judgment condition for screening out, so that the total amount of historically marked water supply types is closer to the current monthly water supply data, thereby improving the accuracy of the data.

[0117] like Figure 2 As shown, in one embodiment of the present application, a water supply prediction device for agricultural drinking water is provided, and the water supply prediction device for agricultural drinking water includes a first data acquisition device, a second data acquisition device and a processing device.

[0118] The first data acquisition device is used to collect actual water production data of different water supply types in agricultural drinking water treatment equipment.

[0119] The second data collection device is used to collect water supply volume data set in the contract signed with the customer.

[0120] The processing device is connected to the first data acquisition device for communication. The processing device is also connected to the second data acquisition device for communication. The processing device is used to execute the above-mentioned agricultural drinking water supply prediction method.

[0121] Specifically, Figure 2 The water supply type 1 in the figure represents the actual water production data of multiple customers based on this water supply type; customer 1 represents a cooperation contract of a customer, which includes the set water supply volume data of one or more water supply types.

[0122] In this embodiment, the first data acquisition device collects data from relevant sterilization or filtration equipment for agricultural drinking water treatment to determine the actual water supply of different water supply types, and the second data acquisition device is used to collect the set water supply of different water supply types in the contract signed with the customer; the first data acquisition device and the second data acquisition device transmit the collected data to the processing device, and the processing device processes the obtained data using the above-mentioned agricultural drinking water water supply prediction method to obtain the predicted water supply of different water supply types for different customers in the next month. At the same time, the processing device can also establish production order priorities for different water supply types for different customers, and the processing device can also optimize the collected data to remove interference to continuously improve the accuracy of the prediction.

[0123] The technical features of the above-described embodiments may be arbitrarily combined, and the execution order of the method steps is not limited. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0124] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for predicting agricultural drinking water supply, characterized in that: The agricultural drinking water supply prediction method comprises: Acquire sample customer data of a plurality of sample customers, wherein the sample customer data includes a plurality of sample monthly water supply data; Each water supply type is marked according to the difference between the set water supply and the actual water supply in each sample month’s water supply data; The marking of each water supply type according to the difference between the set water supply amount and the actual water supply amount in each sample monthly water supply data includes: Select a sample monthly water supply data; Analyze the sample monthly water supply data to obtain the water supply type, set water supply amount and actual water supply amount in the sample monthly water supply data, wherein the water supply type includes drinking water, boiler water, recycled water and irrigation water; Select a water supply type; The actual water supply of the water supply type is subtracted from the set water supply of the water supply type to obtain a difference, and the obtained difference is recorded as a floating change amount; When the obtained floating change is greater than zero, the water supply type is marked; Returning to the step of selecting a water supply type, until each water supply type has been selected once, obtaining a marked water supply type; Returning to the step of selecting a sample monthly water supply data until each sample monthly water supply data has been selected once; Construct a forecast production model based on each month's water supply data, each marked water supply type, each unmarked water supply type, the estimated change of each marked water supply type, and the estimated production of each month; Score each customer's water supply type based on the number of historical water supplies, the number of overdue payments, and the set water supply volume corresponding to the water supply type; Establishing a production priority table of water supply types for sample customers based on the corresponding relationship between the score of each sample customer's water supply type and the production priority; Obtaining a monthly water supply data to be tested, inputting the monthly water supply data to be tested into a fine-tuned forecast production model, starting the fine-tuned forecast production model, and obtaining a total forecast production output by the fine-tuned forecast production model; Obtain a water supply type for a sample customer to be tested, score the water supply type for the sample customer to be tested, obtain the score of the water supply type for the sample customer to be tested, use the score of the water supply type for the sample customer to be tested as an index to retrieve a production priority table of the water supply type for the sample customer, and obtain the production priority of the water supply type for the sample customer to be tested.

2. The method for predicting agricultural drinking water supply according to claim 1, characterized in that: The obtaining of sample customer data of a plurality of sample customers comprises: Select a sample customer; Acquire the sample customer and obtain the monthly water supply data of the sample customer, wherein the monthly water supply data includes a set water supply volume, an actual water supply volume and a water supply type for a month; Return to selecting a sample customer until each sample customer has been selected once.

3. The method for predicting agricultural drinking water supply according to claim 2, characterized in that: The method of constructing a production volume prediction model based on each monthly water supply data, each marked water supply type, each unmarked water supply type, the estimated change of each marked water supply type and the estimated production volume of each month includes: Select a sample monthly water supply data; Acquire the sample monthly water supply data, and obtain each marked water supply type, the floating change amount of each marked water supply type, each unmarked water supply type, and the set water supply amount of each unmarked water supply type in the sample monthly water supply data; Returning to the step of selecting a sample monthly water supply data until each sample monthly water supply data has been selected once; Select a marked water supply type; Get all floating changes of the marked water supply type; Calculate the sum of all floating changes of the marked water supply type, and record it as the sum of floating changes; Calculate the number of months that the marked water supply type is marked; Calculate the floating change and the average value of the marked monthly quantity to obtain the expected change of the marked water supply type; Summing the predicted change of the marked water supply type with the set water supply of the marked water supply type to obtain the predicted production of the marked water supply type; Returning to selecting a marked water supply type until each marked water supply type has been selected once; The set water supply of each unmarked water supply type is used as the estimated production of each unmarked water supply type, and the set water supply of each unmarked water supply type is summed with the estimated production of each marked water supply type to obtain the total estimated production for the next month; Create a model to predict production volume; Each monthly water supply data, each marked water supply type, the floating change of each marked water supply type, each unmarked water supply type, the set water supply of each marked water supply type, the expected production of each unmarked water supply type, the expected change of each marked water supply type and the calculation logic of the total expected production are used as training data to train the predicted production model to obtain the trained predicted production model.

4. The method for predicting agricultural drinking water supply according to claim 3, characterized in that: After marking each water supply type according to the difference between the set water supply amount and the actual water supply amount in each sample monthly water supply data, the method further includes: Sort all the floating changes of the marked water supply types in descending order to obtain the floating change sorting result; Preset a fixed value for the filter value; When the floating change of the marked water supply type is greater than the screening value, the floating change is removed when calculating the sum of all floating changes of the marked water supply type, recorded as the floating change sum; When the floating change of the marked water supply type is less than or equal to the screening value, the floating change is retained when calculating the sum of all floating changes of the marked water supply type, recorded as the sum of floating changes.

5. The method for predicting agricultural drinking water supply according to claim 4, characterized in that: The water supply type of each sample customer is scored based on the number of historical water supplies, the number of overdue payments, and the set water supply volume corresponding to the water supply type, including: Select a sample customer; The sample customer is obtained to obtain the historical water supply times of the sample customer, the number of overdue payments of the sample customer, and the set water supply volume corresponding to each water supply type of the sample customer; Each water supply type of the sample customer is scored according to Formula 1; Zi=Ai×30%-10B×30%+Ci×40% Formula 1; Among them, i is the water supply type, Z i is the score of water supply type i for the sample customer; A i is the water supply cooperation period of water supply type i, which is measured in months; B is the number of overdue payments; C i is the set water supply volume of water supply type i, the set water supply volume is in tons; Return to selecting a sample customer until each sample customer has been selected once.

6. The method for predicting agricultural drinking water supply according to claim 5, characterized in that: The method of establishing a production priority table of water supply types for sample customers based on the correspondence between the score of each water supply type for each sample customer and the production priority includes: Obtain the score for each water supply type for each sample customer; Sort the scores of all water supply types of each sample customer in descending order to obtain the sorting result; The sorting result is divided into several ranking queues with the same score gap interval, and each ranking queue includes scores of multiple adjacent water supply types; A mapping relationship is established between each ranking queue and a production priority level; the higher the score of a water supply type in the ranking queue, the higher the production priority level of the water supply type; A water supply type production priority table is established for each sample customer, and the score and production priority of each sample customer's water supply type are correspondingly stored in the water supply type production priority table for the sample customers.

7. The method for predicting agricultural drinking water supply according to claim 6, characterized in that: After constructing the forecast production volume model based on each monthly water supply data, each marked water supply type, each unmarked water supply type, the estimated change of each marked water supply type and the estimated production volume of each month, the method further includes: Fine-tune the forecast production model based on the actual water supply and expected production differences in the monthly water supply data; The prediction production model is fine-tuned based on the actual water supply and the difference in the expected production in the water supply data of each month, including: Select a sample monthly water supply data; Obtain the sample monthly water supply data, and obtain the actual water supply and estimated production of all water supply types in the sample monthly water supply data; Calculate the sum of the actual water supply of all water supply types to obtain the actual water supply sum; Based on the actual water supply and a preset floating range; Determine whether the total estimated production volume is within the preset floating range; If the total estimated production volume does not appear within the preset floating range, the total estimated production volume will be adjusted until the estimated production volume appears within the preset floating range; Inputting the total estimated production volume after the increase or decrease into the forecast production volume model to fine-tune the forecast production volume model; Return to the selected monthly water supply data until each monthly water supply data has been selected once.

8. The method for predicting agricultural drinking water supply according to claim 7, characterized in that: If the total estimated production volume does not appear within the preset floating range, the total estimated production volume is adjusted until the estimated production volume appears within the preset floating range, including: Mark each sample monthly water supply data in the order of data output time to obtain the monthly water supply data marking result; Remove a water supply type whose data output time is farthest from the current system time, and obtain multiple water supply types that are retained; Calculate the sum of the projected production of all remaining water supply types to obtain the adjusted total projected production; Determine whether the adjusted total estimated production volume is within the preset floating range; If the adjusted total estimated production volume appears within the preset floating range, the removal of the marked water supply type is stopped.

9. A water supply prediction device for agricultural drinking water, characterized in that: The agricultural drinking water treatment equipment includes: The first data collection device is used to collect actual water production data of different water supply types in the agricultural drinking water treatment equipment; The second data collection device is used to collect water supply data set in the contract signed with the customer; A processing device is communicatively connected to the first data acquisition device, and the processing device is also communicatively connected to the second data acquisition device, and the processing device is used to execute the agricultural drinking water supply prediction method as described in any one of claims 1 to 8 above.