Water plant data processing method and device and computer readable storage medium

By screening water plant data based on the frequency of inspection abnormalities, the processing device solves the problems of high concurrency resulting in downtime and data loss in the water plant data processing, and improves stability and data integrity.

CN119721543APending Publication Date: 2025-03-28WUHAN HUAXIN DATA SYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411630168.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-15
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

Water plant data processing devices are prone to downtime in high concurrency scenarios, resulting in data loss and affecting production operations.

Method used

When multiple water plant data are acquired, they are used as candidate water plants, and the first, second and third water plants are determined based on the frequency of abnormal situations of historical inspections, the data of the third water plant is deleted, the data of the second water plant is stored, and the data of the first water plant is preset and analyzed and uploaded.

Benefits of technology

The amount of data that the water plant data processing device needs to be parsed at the same time is reduced, the operation stability of the device is improved, and data loss is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119721543A_ABST
    Figure CN119721543A_ABST
Patent Text Reader

Abstract

The invention provides a water plant data processing method and device and a computer readable storage medium, and the method comprises the steps: enabling a preset water plant which transmits the data of each water plant to serve as a candidate water plant when a plurality of pieces of water plant data are obtained; determining the current operation load state of the water plant data processing device; when the current operation load state is a target state, acquiring the occurrence frequency of the abnormal inspection condition when the candidate water plants are subjected to historical inspection; determining a first water plant, a second water plant and a third water plant in the plurality of candidate water plants based on the occurrence frequency of the inspection abnormal condition; and deleting the water plant data of the third water plant, storing the water plant data of the second water plant, performing preset analysis processing on the water plant data of the first water plant to obtain first analyzed data, and uploading the first analyzed data to a preset cloud server. The operation stability of the water plant data processing device can be improved.
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 plant data, and in particular to a method and device for processing water plant data and a computer-readable storage medium. Background Art

[0002] With the popularization of the Internet, all walks of life are developing information technology, and the relevant data generated during the operation of the water plant have also formed digital assets. Therefore, when using the collection terminal to upload the water plant data to the cloud server, whether the collection terminal can operate stably is very important.

[0003] In the related technology, the data collection terminal usually needs to process a large amount of water plant data. If the computing power of the data collection terminal is insufficient, it will cause the data collection terminal to crash and the related water plant data to be lost, thus affecting the production and operation of the water plant. Summary of the invention

[0004] The embodiments of the present application provide a method, device and computer-readable storage medium for processing water plant data, aiming to improve the stability of the water plant data processing device during operation.

[0005] In a first aspect, an embodiment of the present application provides a method for processing water plant data, wherein the method for processing water plant data is applied to a water plant data processing device, including:

[0006] When multiple water plant data are obtained, the preset water plant that sends each of the water plant data is used as a candidate water plant;

[0007] Determine the current operating load status of the processing device of the water plant data;

[0008] When the current operating load state is the target state, obtaining the frequency of occurrence of abnormal inspection situations during historical inspections of each of the candidate water plants;

[0009] Based on the frequency of occurrence of the abnormal inspection situation, determining a first water plant, a second water plant and a third water plant among the plurality of candidate water plants;

[0010] The water plant data of the third water plant is deleted, the water plant data of the second water plant is stored, and the water plant data of the first water plant is subjected to preset parsing processing to obtain first parsed data, and the first parsed data is uploaded to a preset cloud server.

[0011] In some embodiments of the present application, determining the first water plant, the second water plant, and the third water plant among the plurality of candidate water plants based on the frequency of occurrence of the abnormal inspection situation includes:

[0012] Determine a first frequency set, a second frequency set, and a third frequency set based on the frequency of occurrence of the inspection abnormalities of different candidate water plants;

[0013] Among the multiple candidate water plants, the candidate water plant with the frequency of occurrence of the inspection abnormality in the first frequency set is taken as the first water plant, the candidate water plant with the frequency of occurrence of the inspection abnormality in the second frequency set is taken as the second water plant, and the candidate water plant with the frequency of occurrence of the inspection abnormality in the third frequency set is taken as the third water plant.

[0014] In some embodiments of the present application, determining the first frequency set, the second frequency set, and the third frequency set based on the frequency of occurrence of the inspection abnormalities of different candidate water plants includes:

[0015] Determine the importance of water plant data corresponding to each of the candidate water plants;

[0016] The first frequency set, the second frequency set and the third frequency set are determined based on the importance of the water plant data of different candidate water plants and the frequency of occurrence of abnormal inspection situations of different candidate water plants.

[0017] In some embodiments of the present application, determining the importance of water plant data corresponding to each of the candidate water plants includes:

[0018] Obtaining the historical water treatment volume and water plant scale level of each of the candidate water plants;

[0019] Determining a water treatment score for each of the candidate water plants based on the historical water treatment volume;

[0020] determining a water treatment weight associated with each of the water plant size classes;

[0021] The water treatment weights are used to perform weighted calculation on the water treatment scores of the candidate water plants to obtain the importance of the water plant data corresponding to the candidate water plants.

[0022] In some embodiments of the present application, the water plant data of the second water plant is stored in a preset water plant database, and after storing the water plant data of the second water plant, the method further includes:

[0023] Re-determine the current operating load status of the processing device of the water plant data;

[0024] If the re-determined current operating load state is not the target state, acquiring water plant data of the second water plant from the water plant database;

[0025] Performing the preset parsing process on the water plant data of the second water plant to obtain second parsed data;

[0026] The second parsed data is uploaded to the cloud server.

[0027] In some embodiments of the present application, obtaining the water plant data of the second water plant from the water plant database includes:

[0028] Acquire current operating load parameters of the processing device of the water plant data;

[0029] Determining a first target data volume based on a first difference between the current operating load parameter and a preset first parameter threshold;

[0030] Acquire, from the water plant database, water plant data of the second water plant whose total data volume is less than the first target data volume.

[0031] In some embodiments of the present application, obtaining water plant data of the second water plant whose total data volume is less than the first target data volume from the water plant database includes:

[0032] Determine the time point at which the water plant data of each of the second water plants in the water plant database is acquired;

[0033] sorting the water plant data of the plurality of second water plants in the water plant database according to the order of the acquired time points to obtain a ranking of the water plant data of the plurality of second water plants;

[0034] In the ranking, the water plant data of the second water plant with a high ranking and a total data volume smaller than the first target data volume is selected.

[0035] In some embodiments of the present application, after determining the current operating load state of the processing device of the water plant data, the method further includes:

[0036] When the current operating load state is not the target state, performing the preset parsing process on the water plant data of each candidate water plant to obtain parsed water plant data;

[0037] The parsed water plant data is uploaded to the cloud server.

[0038] In a second aspect, an embodiment of the present application provides a water plant data processing device, the water plant data processing device comprising:

[0039] A data acquisition module, for acquiring data of multiple water plants and taking the preset water plant that sent each of the water plant data as a candidate water plant;

[0040] A state determination module, used to determine the current operating load state of a processing device of water plant data;

[0041] A frequency acquisition module, used for acquiring the frequency of occurrence of abnormal inspection situations during historical inspections of each of the candidate water plants when the current operating load state is the target state;

[0042] A water plant determination module, used to determine the first water plant, the second water plant and the third water plant among the plurality of candidate water plants based on the frequency of occurrence of the abnormal inspection situation;

[0043] The data processing module is used to delete the water plant data of the third water plant, store the water plant data of the second water plant, and perform preset parsing processing on the water plant data of the first water plant to obtain first parsed data, and upload the first parsed data to a preset cloud server.

[0044] In a third aspect, an embodiment of the present application provides a water plant data processing device, the water plant data processing device comprising:

[0045] one or more processors;

[0046] Memory; and

[0047] One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement any of the above-mentioned methods for processing water plant data.

[0048] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is loaded by a processor to execute the steps in any of the above-mentioned methods for processing water plant data.

[0049] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program or instructions, which are executed by a processor to implement a method for processing water plant data as described in any of the above items.

[0050] Beneficial effects of the embodiments of the present application:

[0051] In an embodiment of the present application, when multiple water plant data are acquired, the preset water plant that sends each water plant data is taken as a candidate water plant. When the current operating load state of the water plant data processing device is the target state, the first water plant, the second water plant and the third water plant among the multiple candidate water plants are determined based on the frequency of occurrence of abnormal inspection situations during historical inspections of each candidate water plant, the water plant data of the third water plant is deleted, the water plant data of the second water plant is stored, and the water plant data of the first water plant is parsed and uploaded, so that the water plant data of different water plants can be processed accordingly based on the different frequencies of occurrence of abnormal inspection situations, so as to reduce the amount of data that needs to be parsed by the water plant data processing device at the same time, improve the stability of the water plant data processing device during operation, and avoid the loss of related water plant data due to the downtime of the water plant data processing device. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0053] Figure 1 This is a schematic diagram of an application scenario of the method for processing water plant data provided in an embodiment of the present application;

[0054] Figure 2 It is a flowchart of an embodiment of a method for processing water plant data provided in an embodiment of the present application;

[0055] Figure 3 is a flow chart of another embodiment of the method for processing water plant data provided in the embodiments of the present application;

[0056] Figure 4 It is a flowchart of another embodiment of the method for processing water plant data provided in the embodiments of the present application;

[0057] Figure 5 It is a schematic diagram of the structure of an embodiment of a water plant data processing device provided in an embodiment of the present application;

[0058] Figure 6 It is a structural schematic diagram of another embodiment of the water plant data processing device provided in the embodiments of the present application. DETAILED DESCRIPTION

[0059] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application. In addition, in the description of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically limited.

[0060] First, a possible application scenario diagram of the method for processing water plant data provided by the embodiment of the present application is introduced. Figure 1 In the embodiment, the water plant data processing device is arranged at the central water plant, and is respectively connected to the corresponding devices in a plurality of different other water plants for communication, so as to obtain the water plant data sent by the corresponding devices in the plurality of different other water plants. The plurality of different other water plants may be, for example, Figure 1 The water plants 1, 2, 3, etc. shown in the figure are generally township water plants. The water plant data processing device may be a collection terminal, which may obtain the water plant data sent by water plants 1, 2, 3, etc., and then parse the obtained water plant data, and upload the parsed data to the cloud server for the managers who log in to the cloud server to view the data, and then manage and make decisions on these water plants to ensure the good production and operation of these water plants.

[0061] However, when a high-concurrency scenario occurs, such as multiple township water plants sending a large amount of water plant data in a short period of time, the data that the water plant data processing device needs to parse at the same time will also increase significantly. If the computing power of the water plant data processing device is insufficient, it will cause the water plant data processing device to crash, and the relevant water plant data will be lost, which will affect the production and operation of the water plant.

[0062] Next, a method for processing water plant data provided by an embodiment of the present application is introduced. The method for processing water plant data uses a water plant data processing device as an execution subject. For simplicity and ease of description, the execution subject will be omitted in the subsequent method embodiments.

[0063] See also Figure 2 , Figure 2 The following is a flow chart of an embodiment of a method for processing water plant data provided in an embodiment of the present application. The method for processing water plant data includes:

[0064] 201. When multiple water plant data are obtained, the preset water plant that sends each water plant data is used as a candidate water plant.

[0065] In the embodiment of the present application, the plurality of preset water plants may be, for example, Figure 1Water Plant 1, Water Plant 2, Water Plant 3, etc., these water plants are generally township water plants, and the water plant data processing device is generally set up in the central water plant. Corresponding equipment is set up in each preset water plant to send water plant data to the water plant data processing device. The corresponding equipment can be, for example, the Remote Terminal Unit (RTU) in the preset water plant. RTU is a special computer measurement and control unit with a modular structure designed for long communication distances and harsh industrial field environments.

[0066] The water plant data may include the operating parameters of each water treatment process equipment in the corresponding preset water plant, the progress information of each water treatment process, etc. Therefore, the management personnel can understand the specific situation of the production and operation of the corresponding preset water plant based on the water plant data, and then manage and make decisions on the corresponding preset water plant.

[0067] In an embodiment of the present application, the plant data processing method device can simultaneously obtain water plant data sent by multiple preset water plants, and then use the preset water plant that sends each water plant data as a candidate water plant. It should be noted that since the data format of the water plant data sent by the preset water plant is generally different from the data format required by the cloud server, the water plant data processing device usually also needs to perform preset parsing processing on the obtained water plant data to convert the water plant data into relevant data formats.

[0068] 202. Determine the current operating load status of the processing device of the water plant data.

[0069] In an embodiment of the present application, the current operating load state of the water plant data processing device represents the current operating load condition of the water plant data processing device, so the current operating load state may be a high load state, a low load state, a normal load state, an abnormal load state, etc.

[0070] In some embodiments, the current operating load state can be determined based on the current operating load parameters. Specifically, determining the current operating load state of the water plant data processing device may include: obtaining the current operating load parameters of the water plant data processing device, wherein the current operating load parameters include at least one of the processor (i.e., CPU) usage rate, processor temperature, and memory usage rate of the water plant data processing device; based on the comparison between the current operating load parameters and the preset load parameter threshold, determining the current operating load state. Among them, there may be multiple preset load parameter thresholds at the same time, and different load parameter thresholds are used to compare with different current operating load parameters. For example, the load parameter threshold may include a processor usage threshold, a processor temperature threshold, a memory usage threshold, etc. The processor usage threshold is used to compare with the processor usage, the processor temperature threshold is used to compare with the processor temperature, and the memory usage threshold is used to compare with the memory usage.

[0071] In a further embodiment, in the step of determining the current operation load state based on the comparison between the current operation load parameter and the preset load parameter threshold, the current operation load state may be, for example, a high load state or a low load state. When each current operation load parameter is less than or equal to the corresponding load parameter threshold, the current operation load state may be determined to be a low load state; and when at least one current operation load parameter is greater than the corresponding load parameter threshold, the current operation load state may be determined to be a high load state.

[0072] 203. When the current operating load state is the target state, the frequency of occurrence of abnormal inspection situations during historical inspections of each candidate water plant is obtained.

[0073] In the embodiment of the present application, the target state may be, for example, a high load state. When the current operating load state is the target state, it indicates that the current load of the water plant data processing device is high. If multiple water plant data to be analyzed are analyzed at the same time, a downtime may occur. Therefore, the frequency of abnormal inspections during historical inspections of each candidate water plant may be obtained, and then step 204 and subsequent steps are executed.

[0074] In order to ensure the safety and stability of each candidate water plant during operation, each candidate water plant will be inspected regularly to detect whether any abnormal situation occurs in each candidate water plant. Therefore, the frequency of abnormal situation during historical inspections of each candidate water plant can be obtained by counting the number of abnormal situations during historical inspections of each candidate water plant.

[0075] 204. Based on the frequency of abnormal inspection situations, determine the first water plant, the second water plant and the third water plant from among the multiple candidate water plants.

[0076] In an embodiment of the present application, when the frequency of abnormal inspections of candidate water plants is high, the possibility of abnormal inspections in the candidate water plants is high, and when the frequency of abnormal inspections of candidate water plants is low, the possibility of abnormal inspections in the candidate water plants is low. Therefore, based on the frequency of abnormal inspections, the first water plant, the second water plant and the third water plant among multiple candidate water plants can be screened out, and then step 205 and its subsequent steps can be executed.

[0077] 205. Delete the water plant data of the third water plant, store the water plant data of the second water plant, perform preset parsing on the water plant data of the first water plant, obtain first parsed data, and upload the first parsed data to a preset cloud server.

[0078] In an embodiment of the present application, the water plant data of the first water plant, the second water plant and the third water plant are processed differently, respectively. Specifically, the water plant data of the third water plant is directly deleted without performing preset parsing processing on the water plant data of the third water plant; the water plant data of the second water plant is stored (for example, the water plant data of the second water plant is stored in a preset water plant database, which is generally a local database of the central water plant, that is, a local database of the water plant data processing device), without immediately performing preset parsing processing on the water plant data of the second water plant; the water plant data of the first water plant is subjected to preset parsing processing to obtain first parsed data, and the first parsed data is uploaded to a preset cloud server, thereby realizing timely parsing and uploading of the water plant data of the first water plant. It can be seen that by performing different processing on the water plant data of the first water plant, the second water plant and the third water plant, respectively, the amount of data that needs to be parsed by the water plant data processing device at the same time can be reduced.

[0079] Among them, the preset parsing process may include data format conversion for the corresponding water plant data, but is not limited to data format conversion. Therefore, after the preset parsing process is performed on the water plant data of the first water plant to obtain the first parsed data, the first parsed data is roughly the same as the content in the water plant data of the first water plant, but the data format is generally different. The preset cloud server can be a designated cloud server, and the relevant management personnel of the water plant can log in to the cloud server to view the data uploaded to the cloud server by the processing device of the water plant data. Therefore, the first parsed data can be uploaded to the cloud server for the relevant management personnel of the water plant to view.

[0080] In some embodiments, after determining the current operating load state of the water plant data processing device, it may also include: when the current operating load state is not the target state, for example, when the current operating load state is not a high load state, it indicates that the water plant data processing device is not prone to downtime, and therefore the water plant data of each candidate water plant can be directly subjected to preset analysis and processing to obtain the analyzed water plant data, and then the analyzed water plant data can be uploaded to the cloud server for viewing by relevant managers of the water plant.

[0081] It can be seen that in the above-mentioned embodiment of the present application, when multiple water plant data are obtained, the preset water plant that sends each water plant data is taken as a candidate water plant, and when the current operating load state of the water plant data processing device is the target state, the first water plant, the second water plant and the third water plant among the multiple candidate water plants are determined based on the frequency of abnormal inspection situations during historical inspections of each candidate water plant, the water plant data of the third water plant is deleted, the water plant data of the second water plant is stored, and the water plant data of the first water plant is parsed and uploaded, so that the water plant data of different water plants can be processed accordingly based on the different frequencies of abnormal inspection situations, so as to reduce the amount of data that needs to be parsed by the water plant data processing device at the same time, improve the stability of the water plant data processing device during operation, and avoid the loss of related water plant data due to the downtime of the water plant data processing device.

[0082] In some embodiments of the present application, Figure 3 As shown, in Figure 2 On the basis of the illustrated embodiment, based on the frequency of occurrence of abnormal inspection situations, determining the first water plant, the second water plant, and the third water plant among multiple candidate water plants may include:

[0083] 301. Determine a first frequency set, a second frequency set, and a third frequency set based on the frequency of occurrence of abnormal inspection situations of different candidate water plants.

[0084] In an embodiment of the present application, the frequencies of occurrence of inspection abnormalities of multiple candidate water plants can be divided according to the frequencies of occurrence of inspection abnormalities of different candidate water plants to obtain a first frequency set, a second frequency set and a third frequency set. The first frequency set, the second frequency set and the third frequency set all include the frequency of occurrence of inspection abnormalities of at least one candidate water plant.

[0085] In some embodiments of the present application, determining the first frequency set, the second frequency set, and the third frequency set based on the frequency of occurrence of abnormal inspection situations in different candidate water plants may include: determining the importance of water plant data corresponding to each candidate water plant; determining the first frequency set, the second frequency set, and the third frequency set based on the importance of water plant data of different candidate water plants and the frequency of occurrence of abnormal inspection situations in different candidate water plants.

[0086] In some embodiments of the present application, based on the importance of water plant data of different candidate water plants and the frequency of occurrence of inspection anomalies of different candidate water plants, determining the first frequency set, the second frequency set and the third frequency set may include: determining the product of the importance of water plant data of the same candidate water plant and the frequency of occurrence of inspection anomalies; based on the product of different candidate water plants, determining the first frequency set, the second frequency set and the third frequency set, for example, the frequency of occurrence of inspection anomalies whose product is greater than the first threshold may be used as the frequency of occurrence of inspection anomalies in the first frequency set, the frequency of occurrence of inspection anomalies whose product is less than the second threshold may be used as the frequency of occurrence of inspection anomalies in the third frequency set, and the frequency of occurrence of inspection anomalies whose product is less than or equal to the first threshold and greater than or equal to the second threshold may be used as the frequency of occurrence of inspection anomalies in the second frequency set, so as to ensure that the water plant data of each candidate water plant can be properly processed, thereby ensuring that the water plant data that may be abnormal in the water plant can be uploaded to the cloud server in a timely manner. Wherein, the first threshold is greater than the second threshold.

[0087] In some embodiments of the present application, before determining the product of the importance of water plant data of the same candidate water plant and the frequency of occurrence of abnormal inspections, it may also include: among the frequencies of occurrence of abnormal inspections of multiple candidate water plants, screening out the frequencies of occurrence of abnormal inspections greater than the first preset frequency, and adding them to the first frequency set, and screening out the frequencies of occurrence of abnormal inspections less than the second preset frequency, and adding them to the third frequency set, thereby taking into account the timely uploading of water plant data that may be abnormal and reducing the amount of data that needs to be parsed by the water plant data processing device at the same time. Wherein, the first preset frequency is greater than the second preset frequency.

[0088] In some embodiments of the present application, determining the importance of water plant data corresponding to each candidate water plant includes: obtaining the historical water treatment volume and water plant scale level of each candidate water plant, where the historical water treatment volume can be, for example, the total water treatment volume, average water treatment volume, etc. of the corresponding water plant in a preset historical period, and the average water treatment volume can be, for example, the average daily water treatment volume, and the water plant scale level refers to the level of the water plant, and the water plant scale level can be, for example, level one, level two, level three, etc., where level one is higher than level two, and level two is higher than level three; based on the historical water treatment volume, determining the water treatment score of each candidate water plant, where the water treatment score is generally positively correlated with the historical water treatment volume. That is, the greater the historical water treatment volume, the greater the water treatment score; determine the water treatment weight associated with each water plant scale level, wherein the association between the water plant scale level and the water treatment weight can be preset, and the water treatment weights associated with different water plant scale levels are generally different. For example, when the water plant scale level is level one, the associated water treatment weight is 0.5, when the water plant scale level is level two, the associated water treatment weight is 0.3, and when the water plant scale level is level three, the associated water treatment weight is 0.2; use the water treatment weight to perform weighted calculation on the water treatment score of each candidate water plant to obtain the importance of the water plant data corresponding to each candidate water plant.

[0089] It is understandable that, as the historical water treatment volume of the candidate water plant is larger, the water conservancy impact caused by problems in the production and operation of the candidate water plant is also greater. Therefore, the importance of the water plant data determined according to the historical water treatment volume can ensure that the water plant data of the candidate water plant with a larger historical water treatment volume is uploaded first, and then the management and decision-making of the candidate water plant are prioritized to minimize the water conservancy impact caused by it. In addition, as the water plant scale level of the candidate water plant is higher, the water treatment process equipment in the candidate water plant is more and more complex, the water treatment process flow in the candidate water plant is also more complex, and the possibility of problems in its production and operation is greater. Therefore, the importance of the water plant data determined according to the water plant scale level can ensure that the water plant data of the candidate water plant that is more prone to problems is uploaded first, and then the management and decision-making of the candidate water plant are prioritized to minimize the water conservancy impact caused by it.

[0090] 302. Among multiple candidate water plants, a candidate water plant having a frequency of abnormal inspection situations in a first frequency set is selected as a first water plant, a candidate water plant having a frequency of abnormal inspection situations in a second frequency set is selected as a second water plant, and a candidate water plant having a frequency of abnormal inspection situations in a third frequency set is selected as a third water plant.

[0091] It can be seen that the embodiment of the present application selects the first water plant, the second water plant and the third water plant from multiple candidate water plants based on the frequency of occurrence of abnormal inspections of different candidate water plants, making the selection of the first water plant, the second water plant and the third water plant more reasonable.

[0092] In some embodiments of the present application, Figure 4 As shown, in Figure 2 or Figure 3 On the basis of the illustrated embodiment, after storing the water plant data of the second water plant, the following may also be included:

[0093] 401. Re-determine the current operating load status of the processing device of the water plant data.

[0094] In an embodiment of the present application, since the water plant data of the second water plant are temporarily stored in the water plant database, it is necessary to find an appropriate time to process the water plant data of the second water plant and complete the uploading of relevant data. Therefore, after storing the water plant data of the second water plant, the current operating load status of the water plant data processing device can also be re-determined to determine the appropriate time to process the water plant data of the second water plant.

[0095] 402. If the re-determined current operating load state is not the target state, obtain water plant data of the second water plant from the water plant database.

[0096] In an embodiment of the present application, if the re-determined current operating load state is not the target state, it indicates that it is suitable to process the water plant data of these second water plants at this time, so the water plant data of the second water plants can be obtained from the water plant database.

[0097] 403. Perform preset parsing processing on the water plant data of the second water plant to obtain second parsed data.

[0098] 404. Upload the second parsed data to the cloud server.

[0099] In an embodiment of the present application, after obtaining the water plant data of the second water plant from the water plant database, the water plant data of the second water plant can be subjected to preset parsing processing to obtain corresponding second parsed data, and then the second parsed data can be uploaded to the cloud server to achieve supplementary uploading of the water plant data of the second water plant, thereby ensuring the integrity of the water plant data stored in the cloud server.

[0100] In some embodiments of the present application, after obtaining the water plant data of the second water plant from the water plant database, the water plant data processing device not only needs to process the latest water plant data sent in real time by multiple first water plants, but also needs to process the water plant data of the second water plant obtained from the water plant database, which may again lead to a large increase in the amount of data that the water plant data processing device needs to parse at the same time. In this regard, obtaining water plant data of the second water plant from the water plant database may include: obtaining current operating load parameters of a processing device for the water plant data, which may include, for example, at least one of a processor (i.e., CPU) usage rate, a processor temperature, and a memory usage rate of the processing device for the water plant data; determining a first target data volume based on a first difference between the current operating load parameter and a preset first parameter threshold, wherein the first difference is greater than zero, and the value of the first parameter threshold may be set based on actual needs, and the first target data volume and the first difference generally have a negative correlation, that is, the smaller the first difference, the larger the first target data volume; obtaining water plant data of the second water plant whose total data volume is less than the first target data volume from the water plant database, that is, it is necessary to ensure that the total data volume of the water plant data of the second water plant obtained from the water plant database is less than the first target data volume, so as to avoid downtime caused by excessive operating load of the processing device for the water plant data due to preset parsing of the water plant data of the second water plant.

[0101] In a further embodiment, in the step of determining the first target data volume based on the first difference between the current operating load parameter and a preset first parameter threshold, if the current operating load parameter is only one of the processor usage, processor temperature and memory usage of the water plant data processing device, then there is only one first difference. At this time, the first target data volume corresponding to the first difference can be determined according to the preset correlation between the first difference and the target data volume.

[0102] In a further embodiment, if the current operating load parameter is a plurality of the processor usage rate, processor temperature, and memory usage rate of the water plant data processing device, that is, there are a plurality of current operating load parameters at the same time, then there are also a plurality of first parameter thresholds at the same time, and there are also a plurality of first difference values ​​at the same time, and each first difference value is the difference between a current operating load parameter and a corresponding first parameter threshold value. In the step of determining the first target data volume based on the first difference value between the current operating load parameter and the preset first parameter threshold value, the maximum difference value can be determined from the plurality of first difference values, and then the target data volume corresponding to the maximum difference value is determined according to the preset correlation relationship between the first difference value and the target data volume, and is used as the first target data volume, so as to avoid the water plant data processing device from shutting down due to excessive operating load as much as possible.

[0103] Among them, since the processor temperature of the water plant data processing device is generally greater than the processor utilization rate and the memory utilization rate, when calculating the first difference between the processor temperature and the corresponding first parameter threshold, it is necessary to first multiply the processor temperature by a preset coefficient to obtain the corrected processor temperature, and then use the difference between the corrected processor temperature and the corresponding first parameter threshold as the corresponding first difference.

[0104] In a further embodiment, obtaining water plant data of a second water plant whose total data volume is less than the first target data volume from a water plant database includes: determining the time point at which the water plant data of each second water plant in the water plant database is obtained, the time point at which the water plant data processing device obtains the water plant data of the corresponding second water plant from the corresponding candidate water plant; sorting the water plant data of multiple second water plants in the water plant database according to the order of the obtained time points to obtain the ranking of the water plant data of multiple second water plants; in the ranking, selecting the water plant data of the second water plant with a high ranking and a total data volume less than the first target data volume, that is, the time point at which the water plant data of each selected second water plant is obtained is earlier than the time point at which the water plant data of the second water plant not selected in the water plant database is obtained, and the total data volume of the water plant data of the second water plant obtained from the water plant database is less than the first target data volume. It can be seen that the embodiment of the present application selects the water plant data of the second water plant from the water plant database in the order of the obtained time points, so as to avoid the situation that the water plant data of some second water plants are always retained in the water plant database and cannot be uploaded, thereby ensuring the timeliness of uploading the water plant data of the second water plant.

[0105] In order to better implement the method for processing water plant data in the embodiment of the present application, on the basis of the method for processing water plant data, a device for processing water plant data is also provided in the embodiment of the present application. Figure 5 As shown, the water plant data processing device 500 includes:

[0106] The data acquisition module 501 is used to, when acquiring data of multiple water plants, take the preset water plant that sends each water plant data as a candidate water plant;

[0107] A state determination module 502, for determining the current operating load state of the processing device of the water plant data;

[0108] The frequency acquisition module 503 is used to acquire the frequency of abnormal inspection situations during historical inspections of each candidate water plant when the current operating load state is the target state;

[0109] A water plant determination module 504 is used to determine a first water plant, a second water plant and a third water plant from among a plurality of candidate water plants based on the frequency of occurrence of abnormal inspection situations;

[0110] The data processing module 505 is used to delete the water plant data of the third water plant, store the water plant data of the second water plant, and perform preset parsing processing on the water plant data of the first water plant to obtain first parsed data, and upload the first parsed data to a preset cloud server.

[0111] In addition to the above-mentioned water plant data processing method and device, the present application embodiment also provides a water plant data processing device. The water plant data processing device includes:

[0112] one or more processors;

[0113] Memory; and

[0114] One or more applications, wherein the one or more applications are stored in the memory and are configured to execute the steps in any embodiment of the above-mentioned water plant data processing method by the processor.

[0115] The present application also provides a device for processing water plant data. Figure 6 As shown, it shows a schematic diagram of the structure of the water plant data processing device involved in the embodiment of the present application, specifically:

[0116] The water plant data processing device may include one or more processing core processors 601, one or more computer-readable storage medium storage units 602, power supplies 603, and input units 604. Those skilled in the art will appreciate that Figure 6 The structure of the water plant data processing device shown in the figure does not constitute a limitation on the water plant data processing device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0117] The processor 601 is the control center of the water plant data processing device. It uses various interfaces and lines to connect various parts of the entire water plant data processing device. By running or executing the software program and / or module stored in the storage unit 602, and calling the data stored in the storage unit 602, it executes various functions of the water plant data processing device and processes data, thereby monitoring the water plant data processing device as a whole. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 601.

[0118] The storage unit 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the storage unit 602. The storage unit 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of a processing device for water plant data, etc. In addition, the storage unit 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the storage unit 602 may also include a memory controller to provide the processor 601 with access to the storage unit 602.

[0119] The water plant data processing device also includes a power supply 603 for supplying power to each component. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 603 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.

[0120] The water plant data processing device may further include an input unit 604, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0121] Although not shown, the water plant data processing device may also include a display unit, etc., which will not be described in detail here. Specifically, in the embodiment of the present application, the processor 601 in the water plant data processing device will load the executable file corresponding to the process of one or more application programs into the storage unit 602 according to the following instructions, and the processor 601 will run the application program stored in the storage unit 602, thereby implementing the steps in any one of the water plant data processing methods provided in the embodiment of the present application, for example:

[0122] When multiple water plant data are obtained, the preset water plant that sends each water plant data is used as a candidate water plant; the current operating load state of the water plant data processing device is determined; when the current operating load state is the target state, the frequency of abnormal inspection situations during historical inspections of each candidate water plant is obtained; based on the frequency of abnormal inspection situations, the first water plant, the second water plant and the third water plant among the multiple candidate water plants are determined; the water plant data of the third water plant is deleted, the water plant data of the second water plant is stored, and the water plant data of the first water plant is subjected to preset parsing processing to obtain first parsed data, and the first parsed data is uploaded to a preset cloud server.

[0123] To this end, an embodiment of the present application provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. The computer-readable storage medium stores a plurality of instructions, which can be loaded by a processor to execute the steps in any of the water plant data processing methods provided in the embodiments of the present application, for example:

[0124] When multiple water plant data are obtained, the preset water plant that sends each water plant data is used as a candidate water plant; the current operating load state of the water plant data processing device is determined; when the current operating load state is the target state, the frequency of abnormal inspection situations during historical inspections of each candidate water plant is obtained; based on the frequency of abnormal inspection situations, the first water plant, the second water plant and the third water plant among the multiple candidate water plants are determined; the water plant data of the third water plant is deleted, the water plant data of the second water plant is stored, and the water plant data of the first water plant is subjected to preset parsing processing to obtain first parsed data, and the first parsed data is uploaded to a preset cloud server.

[0125] In addition, an embodiment of the present application further provides a computer program product or a computer program, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. The processor of the water plant data processing device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the water plant data processing device executes to implement the water plant data processing method as described in any one of the above items, for example:

[0126] When multiple water plant data are obtained, the preset water plant that sends each water plant data is used as a candidate water plant; the current operating load state of the water plant data processing device is determined; when the current operating load state is the target state, the frequency of abnormal inspection situations during historical inspections of each candidate water plant is obtained; based on the frequency of abnormal inspection situations, the first water plant, the second water plant and the third water plant among the multiple candidate water plants are determined; the water plant data of the third water plant is deleted, the water plant data of the second water plant is stored, and the water plant data of the first water plant is subjected to preset parsing processing to obtain first parsed data, and the first parsed data is uploaded to a preset cloud server.

[0127] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0128] The above is a detailed introduction to a water plant data processing method, device and computer-readable storage medium provided in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope, and the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for processing water plant data, characterized in that: The water plant data processing method is applied to a water plant data processing device, comprising: When multiple water plant data are obtained, the preset water plant that sends each of the water plant data is used as a candidate water plant; Determine the current operating load status of the processing device of the water plant data; When the current operating load state is the target state, obtaining the frequency of occurrence of abnormal inspection situations during historical inspections of each of the candidate water plants; Based on the frequency of occurrence of the abnormal inspection situation, determining a first water plant, a second water plant and a third water plant among the plurality of candidate water plants; The water plant data of the third water plant is deleted, the water plant data of the second water plant is stored, and the water plant data of the first water plant is subjected to preset parsing processing to obtain first parsed data, and the first parsed data is uploaded to a preset cloud server.

2. The method for processing water plant data according to claim 1, characterized in that: The determining of the first water plant, the second water plant and the third water plant among the plurality of candidate water plants based on the frequency of occurrence of the abnormal inspection situation comprises: Determine a first frequency set, a second frequency set, and a third frequency set based on the frequency of occurrence of the inspection abnormalities of different candidate water plants; Among the multiple candidate water plants, the candidate water plant with the frequency of occurrence of the inspection abnormality in the first frequency set is taken as the first water plant, the candidate water plant with the frequency of occurrence of the inspection abnormality in the second frequency set is taken as the second water plant, and the candidate water plant with the frequency of occurrence of the inspection abnormality in the third frequency set is taken as the third water plant.

3. The method for processing water plant data according to claim 2, characterized in that: The determining of the first frequency set, the second frequency set and the third frequency set based on the occurrence frequencies of the inspection abnormalities of different candidate water plants includes: Determine the importance of water plant data corresponding to each of the candidate water plants; The first frequency set, the second frequency set and the third frequency set are determined based on the importance of the water plant data of different candidate water plants and the frequency of occurrence of abnormal inspection situations of different candidate water plants.

4. The method for processing water plant data according to claim 3, characterized in that: The determining of the importance of the water plant data corresponding to each of the candidate water plants includes: Obtaining the historical water treatment volume and water plant scale level of each of the candidate water plants; Determining a water treatment score for each of the candidate water plants based on the historical water treatment volume; determining a water treatment weight associated with each of the water plant size classes; The water treatment weights are used to perform weighted calculation on the water treatment scores of the candidate water plants to obtain the importance of the water plant data corresponding to the candidate water plants.

5. The method for processing water plant data according to claim 1, characterized in that: The water plant data of the second water plant is stored in a preset water plant database. After storing the water plant data of the second water plant, the method further includes: Re-determine the current operating load status of the processing device of the water plant data; If the re-determined current operating load state is not the target state, acquiring water plant data of the second water plant from the water plant database; Performing the preset parsing process on the water plant data of the second water plant to obtain second parsed data; The second parsed data is uploaded to the cloud server.

6. The method for processing water plant data according to claim 5, characterized in that: The step of acquiring the water plant data of the second water plant from the water plant database comprises: Acquire current operating load parameters of the processing device of the water plant data; Determining a first target data volume based on a first difference between the current operating load parameter and a preset first parameter threshold; Acquire, from the water plant database, water plant data of the second water plant whose total data volume is less than the first target data volume.

7. The method for processing water plant data according to claim 6, characterized in that: The step of acquiring the water plant data of the second water plant whose total data volume is less than the first target data volume from the water plant database comprises: Determine the time point at which the water plant data of each of the second water plants in the water plant database is acquired; sorting the water plant data of the plurality of second water plants in the water plant database according to the order of the acquired time points to obtain a ranking of the water plant data of the plurality of second water plants; In the ranking, the water plant data of the second water plant with a high ranking and a total data volume smaller than the first target data volume is selected.

8. The method for processing water plant data according to any one of claims 1 to 7, characterized in that: After determining the current operating load state of the processing device of the water plant data, the method further includes: When the current operating load state is not the target state, performing the preset parsing process on the water plant data of each candidate water plant to obtain parsed water plant data; The analyzed water plant data is uploaded to the cloud server.

9. A water plant data processing device, characterized in that: The water plant data processing device comprises: one or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the method for processing water plant data according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in the method for processing water plant data as described in any one of claims 1 to 8.