A water analysis method, device, electronic equipment and storage medium

By acquiring and analyzing water usage data, determining water usage stages and fees, and generating water usage information feedback, the problem of users having difficulty viewing their water usage status is solved, enabling real-time analysis and conservation of water usage management.

CN115526455BActive Publication Date: 2026-07-03HEBEI SHENKE INTELLIGENT MFG CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HEBEI SHENKE INTELLIGENT MFG CO LTD
Filing Date
2022-08-29
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

Users find it difficult to view and analyze their daily water consumption and related costs in real time, making it difficult to effectively manage and conserve water.

Method used

By acquiring current water usage data, determining water usage stages and historical water usage data, calculating new water consumption and water fees, and generating water usage information feedback to users, including abnormal water usage detection and analysis of habitual water usage time, the system controls valve closure to reduce waste.

Benefits of technology

It enables users to analyze and view water usage in real time, improves the accuracy of water bill calculation, promptly detects abnormal water usage, and reduces water consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115526455B_ABST
    Figure CN115526455B_ABST
Patent Text Reader

Abstract

The application relates to the field of data analysis, in particular to a water consumption analysis method and device, electronic equipment and a storage medium, which comprises the following steps: acquiring water consumption data, wherein the water consumption data is the total actual water consumption in a current period; determining a current water consumption stage corresponding to the current period according to the water consumption data; determining an added water consumption according to the water consumption data and historical water consumption data; determining an added water fee according to the current water consumption stage and the added water consumption, wherein each water consumption stage corresponds to each charging standard; generating added water consumption information according to the added water consumption and the added water fee, and feeding back the added water consumption information. The application has the effect of facilitating user checking of water consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data analysis, and in particular to a water analysis method, apparatus, electronic device, and storage medium. Background Technology

[0002] Freshwater resources consist of water from rivers and lakes, snow and ice on mountains, glaciers, and groundwater. They are the water resources we depend on for survival. Of the water resources on Earth, seawater accounts for 97.5%, while freshwater accounts for only 2.5%. Due to population growth, economic development, and increased per capita water consumption, my country's per capita freshwater resources are lower than the world average.

[0003] To promote water conservation, many places have implemented phased water fee collection methods to protect freshwater resources. However, in the relevant technologies, users can only pay water fees regularly for daily use, making it difficult to check the daily water consumption and the costs incurred.

[0004] Regarding the aforementioned technologies, the inventors believe there is an urgent need for a method that allows users to easily view water usage information. Summary of the Invention

[0005] To facilitate users in monitoring water usage, this application provides a water usage analysis method, apparatus, electronic device, and storage medium.

[0006] In a first aspect, this application provides a water analysis method, which adopts the following technical solution:

[0007] A water analysis method, comprising:

[0008] Obtain current water usage data, which is the total actual water usage within the current period;

[0009] Determine the current water usage stage corresponding to the current cycle based on the current water usage data;

[0010] The additional water consumption will be determined based on the current water consumption data and historical water consumption data.

[0011] The new water fee is determined based on the current water usage stage and the new water usage, with each water usage stage corresponding to a specific charging standard.

[0012] New water usage information is generated based on the new water consumption and the new water fee, and the new water usage information is then fed back.

[0013] By adopting the above technical solution, after obtaining the total actual water consumption in the current period, the current water consumption stage is determined based on the total actual water consumption generated in the current period. Different water consumption stages correspond to different charging standards. Then, the new water consumption in the current period is determined based on the total actual water consumption in the current period and the historical total water consumption. Next, the new water fee corresponding to the new water consumption is determined based on the charging standard corresponding to the current water consumption stage. Finally, new water consumption information is generated based on the new water consumption and the new water fee, and the generated new water consumption information is sent to the user's terminal device for feedback. By recording the new water consumption and the new water fee corresponding to the new water consumption in each period and providing feedback, it is convenient for users to analyze and view their water consumption.

[0014] In one possible implementation, determining the additional water fee based on the current water usage stage and the increased water usage includes:

[0015] Obtain the water consumption limit corresponding to the current water consumption stage;

[0016] The historical water usage data is compared with the water usage limit corresponding to the current water usage stage to determine whether the sum of the historical water usage data and the newly added water usage exceeds the water usage limit corresponding to the current water usage stage.

[0017] If the amount exceeds the limit, the charging standard corresponding to the previous water usage phase is obtained, and the additional water fee corresponding to the additional water usage is determined based on the charging standard corresponding to the previous water usage phase and the charging standard corresponding to the current water usage phase.

[0018] By adopting the above technical solution, the water consumption limit corresponding to the current water consumption stage is first obtained. Then, the historical water consumption data is compared with the water consumption limit corresponding to the current water consumption stage to determine whether the historical water consumption data corresponds to the water consumption limit corresponding to the current water consumption stage. If the historical water consumption data corresponds to the water consumption limit corresponding to the current water consumption stage, the charging standard corresponding to the previous water consumption stage is obtained. The charging standard corresponding to the previous water consumption stage and the charging standard corresponding to the current water consumption stage are used together to calculate the additional water fee corresponding to the additional water consumption, thereby improving the accuracy of calculating the additional water fee.

[0019] In one possible implementation, it is determined whether the increased water consumption exceeds the water consumption limit difference, where the water consumption limit difference is the difference between the water consumption limits corresponding to two water consumption stages.

[0020] If the increased water consumption exceeds the water consumption limit difference, cross-stage anomaly information is generated and fed back.

[0021] By adopting the above technical solution, after determining the additional water consumption, the difference in water consumption limits between adjacent different water consumption stages is determined. The additional water consumption is compared with the difference in water consumption limits. When the additional water consumption exceeds the difference in water consumption limits, cross-stage abnormal information is generated and fed back to the user, so that the user can discover abnormal water consumption in a timely manner.

[0022] In one possible implementation, it is determined whether the current cycle belongs to the next cycle phase based on the current date, wherein the cycle phase includes multiple cycles;

[0023] If so, then summarize the multiple new water charges corresponding to the previous cycle stage and form the initial cycle stage water charge report;

[0024] Based on the water bill report of the initial period stage, determine the average water cost of each period corresponding to the previous period stage.

[0025] The abnormally added water charges exceeding the average water charges for the period in the initial period water charge report are marked, and the final period water charge report is generated.

[0026] By adopting the above technical solution, the system first determines whether the current period belongs to a new period stage based on the current date. If the current period belongs to a new period stage, the system summarizes the multiple periods included in the previous period stage and the corresponding new water charges to generate an initial period stage water charge report. Then, based on the calculated average water cost of the period, the new water charges in the initial period stage water charge report that exceed the average water cost of the period are identified as abnormal new water charges and marked. Finally, the system generates the final period stage water charge report, which allows users to easily view abnormal water usage.

[0027] In one possible implementation, user information is determined based on current water usage data, and the existence of associated water meters is determined based on the user information.

[0028] If it exists, obtain the historical associated cost list corresponding to the preset period stage, where the historical associated cost list is the historical cost list corresponding to the associated water meter.

[0029] The total predicted cost of associated water use for the next cycle period corresponding to the associated water meter is determined based on the historical associated cost list, and the total predicted cost of associated water use is fed back.

[0030] By adopting the above technical solution, the corresponding user information is determined through the current water usage data, and it is determined whether the user has an associated water meter based on the user information. If an associated water meter is included, the historical associated cost list of the associated water meter in the preset period is obtained. Based on the historical associated cost list, the total predicted cost of associated water usage for the next period of the associated water meter is determined, and the generated total predicted cost of associated water usage is fed back, so that users can recharge according to the total predicted cost of associated water usage, reducing the probability of sudden water outages due to insufficient recharge balance.

[0031] In one possible implementation, multiple water usage data corresponding to a preset periodic stage are obtained to determine the user's habitual water usage time.

[0032] When water usage occurs during uncommon times, the water usage time is timed to generate a water usage duration.

[0033] If the water usage duration exceeds the preset standard water usage duration, abnormal water usage information is generated and fed back.

[0034] If no abnormal cancellation information is received within the preset confirmation time, a closing signal is generated to control the valve to close.

[0035] By adopting the above technical solution, the user's habitual water usage time is determined based on multiple water usage data corresponding to the preset cycle stage. When water usage is detected during non-habitual water usage time, the water usage time is timed and a water usage duration is generated. When the water usage duration exceeds the preset standard water usage duration, abnormal water usage information is generated. The generated abnormal water usage information is then fed back. If no abnormal cancellation information is received within the preset confirmation time, a closing signal is generated to control the valve to close, thereby reducing the consumption of water resources.

[0036] In one possible implementation, determining the user's habitual water usage time based on the plurality of water usage data includes:

[0037] The cycle type is determined based on multiple water usage data, and the cycle type includes weekdays and non-working days;

[0038] Based on multiple water usage data with multiple cycle types for weekdays, determine the habitual water usage time on weekdays;

[0039] Based on multiple water usage data points for non-working days across multiple period types, determine the habitual water usage times on non-working days;

[0040] The user's habitual water usage time is determined based on the user's habitual water usage time on weekdays and non-weekdays.

[0041] By adopting the above technical solution, the cycle type is determined based on multiple water usage data, including weekdays and non-weekdays. First, the habitual water usage time on weekdays is determined based on multiple water usage data with multiple cycle types of weekdays. Then, the habitual water usage time on non-weekdays is determined based on multiple water usage data with multiple cycle types of non-weekdays. Finally, the habitual water usage time on weekdays and non-weekdays is used to construct the user's habitual water usage time. Determining the user's habitual water usage time through the cycle type facilitates the improvement of the accuracy in determining the habitual water usage time.

[0042] Secondly, this application provides a water analysis device, which adopts the following technical solution:

[0043] A water analysis device, comprising:

[0044] The water usage data acquisition module 210 is used to acquire current water usage data, which is the total actual water usage within the current period.

[0045] The water usage stage determination module 220 is used to determine the current water usage stage corresponding to the current cycle based on the current water usage data.

[0046] The module 230 for determining new water consumption is used to determine new water consumption based on the current water consumption data and historical water consumption data.

[0047] The newly added water fee module 240 is used to determine the new water fee based on the current water usage stage and the new water usage, with each water usage stage corresponding to a charging standard.

[0048] The information feedback module 250 is used to generate new water usage information based on the new water consumption and the new water fee, and to feed back the new water usage information.

[0049] By adopting the above technical solution, after obtaining the total actual water consumption in the current period, the current water consumption stage is determined based on the total actual water consumption generated in the current period. Different water consumption stages correspond to different charging standards. Then, the new water consumption in the current period is determined based on the total actual water consumption in the current period and the historical total water consumption. Next, the new water fee corresponding to the new water consumption is determined based on the charging standard corresponding to the current water consumption stage. Finally, new water consumption information is generated based on the new water consumption and the new water fee, and the generated new water consumption information is sent to the user's terminal device for feedback. By recording the new water consumption and the new water fee corresponding to the new water consumption in each period and providing feedback, it is convenient for users to analyze and view their water consumption.

[0050] Thirdly, this application provides an electronic device that adopts the following technical solution:

[0051] An electronic device comprising:

[0052] At least one processor;

[0053] Memory;

[0054] At least one application, wherein the at least one application is stored in memory and configured to be executed by at least one processor, the at least one application being configured to: perform the above-described method for water analysis.

[0055] Fourthly, this application provides a computer-readable storage medium, which adopts the following technical solution:

[0056] A computer-readable storage medium includes: a computer program stored thereon that can be loaded by a processor and execute the water analysis method described above.

[0057] In summary, this application includes at least one of the following beneficial technical effects:

[0058] 1. After obtaining the total actual water consumption within the current period, the current water consumption stage is determined based on the total actual water consumption generated within the current period. Different water consumption stages correspond to different charging standards. Then, the new water consumption for the current period is determined based on the total actual water consumption within the current period and the historical total water consumption. Next, the new water consumption fee corresponding to the new water consumption is determined based on the charging standard corresponding to the current water consumption stage. Finally, new water consumption information is generated based on the new water consumption and the new water consumption fee, and the generated new water consumption information is sent to the user's terminal device for feedback. By recording the new water consumption and the new water consumption fee corresponding to each period and providing feedback, it is convenient for users to analyze and view their water consumption.

[0059] 2. By determining the user's habitual water usage time based on multiple water usage data corresponding to preset cycle stages, when water usage is detected during non-habitual water usage times, the water usage time is timed and a water usage duration is generated. When the water usage duration exceeds the preset standard water usage duration, abnormal water usage information is generated. The generated abnormal water usage information is then fed back. If no abnormal cancellation information is received within the preset confirmation time, a closing signal is generated to control the valve to close, thereby reducing water consumption. Attached Figure Description

[0060] Figure 1 This is a schematic flowchart of a water analysis method according to an embodiment of this application;

[0061] Figure 2 This is a schematic diagram of the structure of a water analysis device according to an embodiment of this application;

[0062] Figure 3This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation

[0063] The following is in conjunction with the appendix Figure 1-3 This application will be described in further detail.

[0064] After reading this specification, those skilled in the art may make modifications to this embodiment without contributing any inventive step, but such modifications are protected by patent law as long as they fall within the scope of the claims of this application.

[0065] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0066] To facilitate users' analysis and viewing of water usage, in this embodiment, after obtaining the total actual water usage within the current period, the current water usage stage is determined based on the total actual water usage generated within the current period. Different water usage stages correspond to different charging standards. Then, the new water usage for the current period is determined based on the total actual water usage within the current period and the historical total water usage. Next, the new water fee corresponding to the new water usage is determined based on the charging standard corresponding to the current water usage stage. Finally, new water usage information is generated based on the new water usage and the new water fee, and the generated new water usage information is sent to the user's terminal device for feedback. By recording the new water usage and the new water fee corresponding to the new water usage for each period and providing feedback, it is convenient for users to analyze and view their water usage.

[0067] Specifically, this application provides a water analysis method executed by an electronic device, which can be a server or a terminal device. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smartphone, tablet, laptop, desktop computer, etc., but is not limited to these. The terminal device and the server can be directly or indirectly connected via wired or wireless communication, and this application does not impose any limitations on this connection.

[0068] refer to Figure 1 , Figure 1 This is a flowchart illustrating a water analysis method according to an embodiment of this application. The method includes steps S110, S120, S130, S140, and S150, wherein:

[0069] Step S110: Obtain current water usage data, which is the total actual water usage within the current period.

[0070] Specifically, the current water usage data is used to characterize the current water consumption, which can be determined by obtaining the water meter readings. The actual water consumption for the current period can be determined by comparing the water meter readings at the same time in the previous period with the water meter readings at the same time in the current period. The current period can be one day, one week, or one month; no specific limitation is made in this embodiment.

[0071] Step S120: Determine the current water usage stage corresponding to the current cycle based on the water usage data.

[0072] Specifically, water usage phases are used to characterize the range of total water consumption within each fixed period. For example, if the current period is one month, the corresponding water usage phase for city A is:

[0073] The first water usage phase is for monthly water consumption of 15 tons or less;

[0074] The second water usage phase is characterized by a monthly water consumption of 15-20 tons.

[0075] The third water usage stage is for monthly water consumption of 20 tons or more.

[0076] Step S130: Determine the additional water consumption based on current water consumption data and historical water consumption data.

[0077] Specifically, historical water usage data represents the total actual water usage generated in the previous period, while current water usage data represents the total actual water usage generated in the current period. By calculating the total actual water usage generated in the current period and the total actual water usage generated in the previous period, the increase in water usage in the current period compared to the previous period can be determined.

[0078] Step S140: Determine the additional water fee based on the current water usage stage and the additional water usage, with each water usage stage corresponding to a specific charging standard.

[0079] Specifically, to promote water conservation, different water usage periods have different pricing standards. The more water consumed within a fixed period, the higher the price per ton of water. For example, if the current period is one month, the corresponding water usage period pricing standard for city A is as follows:

[0080] The first water usage phase fee is 0.6 yuan per ton for monthly water consumption of 15 tons or less.

[0081] The second water usage phase is charged at 1.4 yuan per ton for monthly water consumption between 15 and 20 tons.

[0082] The third water usage stage charges 2.1 yuan per ton for monthly water consumption of 20 tons or more.

[0083] Based on the actual total water consumption in the current period, the corresponding water consumption stage is determined, and the additional water fee corresponding to the additional water consumption is calculated according to the water consumption stage. When determining the additional water fee corresponding to the additional water consumption according to the water consumption stage, the portion exceeding the water consumption stage is calculated according to the charging standard corresponding to the excess portion, and the portion within the water consumption stage is calculated according to the charging standard corresponding to the non-exceeding portion.

[0084] For example, if the actual total water consumption in the current period is determined to be 16 tons based on the current water consumption data, and the historical total water consumption corresponding to the water meter reading at the same time in the previous period was 14 tons, then the additional water consumption is 2 tons. Since the total water consumption of 14 tons in the historical period and the additional water consumption of 2 tons exceed the water consumption limit of 15 tons in the first water consumption phase, the additional water fee corresponding to the additional water consumption must be calculated according to the two charging standards. The additional water fee is 1 ton * 0.6 yuan / ton + 1 ton * 1.4 yuan / ton = 2 yuan.

[0085] Step S150: Generate new water usage information based on the new water consumption and new water fees, and then provide feedback on the new water usage information.

[0086] Specifically, the new water usage information consists of the new water consumption and the new water fee. When the generated new water usage information is fed back, the corresponding user information is first determined through the current water usage data or historical water usage data, and then the generated new water usage information is sent to the user's corresponding terminal device based on the user information.

[0087] In this embodiment, after obtaining the total actual water consumption in the current period, the current water consumption stage is determined based on the total actual water consumption generated in the current period. Different water consumption stages correspond to different charging standards. Then, the new water consumption in the current period is determined based on the total actual water consumption in the current period and the historical total water consumption. Next, the new water fee corresponding to the new water consumption is determined based on the charging standard corresponding to the current water consumption stage. Finally, new water consumption information is generated based on the new water consumption and the new water fee, and the generated new water consumption information is sent to the user's terminal device to provide feedback to the user. By recording the new water consumption and the new water fee corresponding to the new water consumption in each period and providing feedback, it is convenient for users to analyze and view their water consumption.

[0088] Furthermore, step S140 determines the additional water fee based on the current water usage stage and the increased water consumption, which may specifically include steps S1401 (not shown in the attached figure), S1402 (not shown in the attached figure), and S1403 (not shown in the attached figure), wherein:

[0089] Step S1401: Obtain the water consumption limit corresponding to the current water consumption stage.

[0090] Specifically, the water consumption limit corresponding to the current water use stage is used to represent the maximum water consumption during the current water use stage. When the total water consumption is below the water consumption limit corresponding to the current water use stage, the total water consumption will be charged according to the charging standard corresponding to the current water use stage. Since the water use stages are divided differently in different regions, the water consumption limit corresponding to each water use stage is not specifically limited in this embodiment of the application, and can be modified according to actual needs.

[0091] Step S1402: Compare the historical water usage data with the water usage limit corresponding to the current water usage stage, and determine whether the total water usage of the historical water usage data and the newly added water usage exceeds the water usage limit corresponding to the current water usage stage.

[0092] Specifically, historical water usage data refers to the water usage data from the previous period, which represents the total water consumption in that period. When calculating the additional water charges corresponding to the increased water consumption in the current period, at least three scenarios apply:

[0093] Scenario 1: The total water consumption, including historical water consumption and newly added water consumption, does not exceed the water consumption period corresponding to the historical water consumption data.

[0094] Scenario 2: The historical water consumption corresponding to the historical water consumption data does not exceed the water consumption stage corresponding to the historical water consumption data, but the total water consumption of the sum of the historical water consumption corresponding to the historical water consumption data and the newly added water consumption exceeds the water consumption stage corresponding to the historical water consumption data.

[0095] Scenario 3: The historical water consumption corresponding to the historical water consumption data is consistent with the water consumption limit of the corresponding water consumption period.

[0096] Step S1403: If the total water consumption corresponding to the historical water consumption data and the newly added water consumption exceeds the water consumption limit corresponding to the current water consumption stage, then obtain the charging standard corresponding to the previous water consumption stage, and determine the new water fee corresponding to the newly added water consumption based on the charging standard corresponding to the previous water consumption stage and the charging standard corresponding to the current water consumption stage.

[0097] Specifically, the charging standard for the previous water usage phase is the water usage phase corresponding to the historical water usage data.

[0098] When the calculation of the new water consumption corresponding to the current period falls under Scenario 1, the charging standard for the new water consumption is consistent with the charging standard for the water consumption stage corresponding to the historical water consumption data. When the calculation of the new water consumption corresponding to the current period falls under Scenario 2, the charging standard for the new water consumption needs to be calculated according to the charging standard for the water consumption stage corresponding to the historical water consumption data and the charging standard for the current water consumption stage. That is, the portion of water consumption not exceeding the water consumption limit corresponding to the historical water consumption data stage is calculated according to the charging standard for the water consumption stage corresponding to the historical water consumption data stage, and the portion exceeding the water consumption limit corresponding to the water consumption stage corresponding to the historical water consumption data stage is calculated according to the charging standard for the current water consumption stage. When the calculation of the new water consumption corresponding to the current period falls under Scenario 3, the charging standard for the new water consumption is consistent with the charging standard for the current water consumption stage.

[0099] In this embodiment, the water consumption limit corresponding to the current water consumption stage is first obtained, and then the historical water consumption data is compared with the water consumption limit corresponding to the current water consumption stage to determine whether the historical water consumption corresponding to the historical water consumption data is the water consumption limit corresponding to the current water consumption stage. If the historical water consumption corresponding to the historical water consumption data exceeds the water consumption limit corresponding to the current water consumption stage, the charging standard corresponding to the previous water consumption stage is obtained. The charging standard corresponding to the previous water consumption stage and the charging standard corresponding to the current water consumption stage are used together to calculate the new water fee corresponding to the new water consumption, thereby improving the accuracy of calculating the new water fee.

[0100] Furthermore, in order to promptly detect abnormal water usage, this application embodiment provides a water usage analysis method, which further includes steps S1 (not shown in the accompanying drawings) and S2 (not shown in the accompanying drawings), wherein:

[0101] Step S1: Determine whether the increased water consumption exceeds the water consumption limit difference. The water consumption limit difference is the difference between the water consumption limits corresponding to the two water consumption stages.

[0102] Step S2: If the newly added water consumption exceeds the water consumption limit difference, cross-stage abnormal information is generated and the abnormal information is fed back.

[0103] Specifically, the water consumption limit difference is the difference between the water consumption limits corresponding to two adjacent water consumption phases. For example, if the first water consumption phase is 15 tons or less per month, and the second water consumption phase is between 15 and 20 tons per month, then the water consumption limit for the first and second water consumption phases is 5 tons. When an additional water consumption exceeding the water consumption limit difference is detected, i.e., an additional water consumption exceeding 5 tons, an abnormal water consumption situation may exist. The abnormal water consumption situation may be a known situation to the user or an unknown situation to the user. The cross-phase abnormal information generated at this time allows the user to view the abnormal water consumption situation in a timely manner.

[0104] In the implementation of this application, after determining the new water consumption, the water consumption limit difference between adjacent different water consumption stages is determined, and the new water consumption is compared with the water consumption limit difference. When the new water consumption exceeds the water consumption limit difference, cross-stage abnormal information is generated and fed back to the user, so that the user can discover abnormal water consumption in a timely manner.

[0105] Furthermore, the embodiments of this application also include steps Sa1 (not shown in the figures), Sa2 (not shown in the figures), Sa3 (not shown in the figures), and Sa4 (not shown in the figures), wherein:

[0106] Step Sa1: Determine whether the current cycle belongs to a new cycle phase based on the current date. A cycle phase contains multiple cycles.

[0107] Specifically, in this embodiment, there are multiple ways to obtain the current date. For example, the System.currentTimeMillis() method can be used. The advantage of this method is that it is not affected by the time zone, but the result is in the format of a timestamp. Alternatively, the Date class located in the Java package java.util can be directly instantiated. In this embodiment, the specific method for obtaining the current date is not specifically limited, as long as it is possible to obtain the current date.

[0108] A cycle phase contains multiple cycles. If a cycle is one day, then the cycle phase is multiple days, such as 7 days or 15 days. If a cycle is one month, then the cycle phase is multiple months, such as 3 months or 6 months. The number of cycles in a cycle phase can be modified according to user needs, and is not specifically limited in this embodiment. If the cycle phase is predetermined to be 7 days according to user needs, then days 1-7 belong to one cycle phase, days 8-14 belong to one cycle phase, days 15-21 belong to one cycle phase, and days 22-28 belong to one cycle phase. If the current cycle is determined to be April 8th based on the current date, then April 8th belongs to a new cycle phase relative to the cycle phase of days 1-7.

[0109] Step Sa2: If the current cycle belongs to a new cycle phase, then summarize the multiple new water charges corresponding to the previous cycle phase and form an initial cycle phase water charge report.

[0110] Specifically, the initial water bill report contains multiple new water charges for the corresponding period. Each period has its own corresponding water bill report, allowing users to view and analyze their water usage for each period. To generate the water bill report for each period, multiple periods are first arranged in chronological order, and then the new water charges for each period are determined.

[0111] Step Sa3: Based on the water bill report of the initial cycle stage, determine the average water cost for each cycle in the previous cycle stage.

[0112] Step Sa4: Mark any abnormal new water charges in the initial periodic water charge report that exceed the average water charge for the period, and generate the final periodic water charge report.

[0113] Specifically, when determining the average water cost for a given period based on the new water charges corresponding to multiple periods, the new water charges for multiple periods are accumulated to obtain the cumulative new water charges for multiple periods. Then, the average water cost for the given period is determined based on the number of periods. When marking abnormal new water charges exceeding the average water cost for the given period in the initial period's water charge report using the determined average water cost for the given period, this can be done by iterating through the initial period's water charge report based on the average water cost for the given period. The specific method is not limited in this embodiment, as long as the abnormal new water charges can be identified. When marking abnormal new water charges, the background color of the location of the abnormal new water charges in the initial period's water charge report can be used, or the font color of the abnormal new water charges can be used. The specific method is not limited in this embodiment, as long as the abnormal new water charges can be distinguished from other normal new water charges.

[0114] In this embodiment, the current period is first determined by the current date to determine whether the current period belongs to a new period phase. If the current period belongs to a new period phase, the multiple periods included in the previous period phase and the corresponding new water charges are summarized to generate an initial period phase water charge report. Then, the new water charges in the initial period phase water charge report that exceed the average period water charges are identified as abnormal new water charges by calculating the average period water charges. The abnormal new water charges are marked, and finally, the final period phase water charge report is generated. The final period phase water charge report makes it easier for users to view abnormal water usage.

[0115] Furthermore, the method also includes steps Sb1 (not shown in the figures), Sb2 (not shown in the figures), and Sb3 (not shown in the figures), wherein:

[0116] Step Sb1: Determine user information based on current water usage data, and determine whether there are associated water meters based on user information.

[0117] Specifically, the associated water meters are multiple water meters corresponding to the same user information. One user information corresponds to one account information. Users can view the water usage of multiple water meters bound to the user information through one account information.

[0118] Step Sb2: If there are associated water meters, obtain the historical associated fee list corresponding to the preset period. The historical associated fee list is the historical fee list corresponding to the associated water meters.

[0119] Specifically, the preset cycle period can be multiple days or multiple months. In this application embodiment, no specific limitation is made, as long as the historical water usage of the associated water meter for each cycle can be viewed through the obtained historical associated fee list.

[0120] Step Sb3: Determine the total forecast cost of associated water use for the next cycle period corresponding to the associated water meter based on the historical associated cost list, and provide feedback on the total forecast cost of associated water use.

[0121] Specifically, the total cost of associated water use is the predicted water bill for the associated water meters in the next cycle, determined based on the historical associated cost list. When determining the total cost of associated water use, the average water bill for the associated water meters in each historical cycle can be determined based on the historical associated cost list.

[0122] In this embodiment, the corresponding user information is determined by the current water usage data, and it is determined whether the user has an associated water meter based on the user information. If an associated water meter is included, the historical associated cost list of the associated water meter in the preset period is obtained. The total predicted cost of associated water usage for the next period is determined based on the historical associated cost list, and the generated total predicted cost of associated water usage is fed back to the user. This allows the user to recharge based on the total predicted cost of associated water usage, reducing the probability of sudden water outages due to insufficient water bill recharge balance.

[0123] Furthermore, the method also includes steps Sc1 (not shown in the figures), Sc2 (not shown in the figures), Sc3 (not shown in the figures), and Sc4 (not shown in the figures), wherein:

[0124] Step Sc1: Determine the user's habitual water usage time based on multiple water usage data corresponding to the preset cycle stage.

[0125] Specifically, users' habitual water usage time refers to the time when users mainly use water. The water usage data for each cycle includes the water consumption at each moment. By analyzing the water consumption at each moment, users' habitual water usage time can be determined.

[0126] Step Sc2: When water usage is detected during non-habitual water usage times, the water usage time is timed to generate water usage duration.

[0127] Step Sc3: If the water usage time exceeds the preset standard water usage time, abnormal water usage information is generated and fed back.

[0128] Specifically, non-habitual water usage time refers to times when users do not primarily use water. When water is used during non-habitual times, a timer is started to record the water usage and generate a water usage duration. The preset standard water usage duration is determined based on the user's historical water usage duration and can be modified and updated according to user needs; it is not specifically limited in this embodiment. If the water usage duration during non-habitual times exceeds the preset standard water usage duration, abnormal water usage may exist, such as a burst water pipe or a tap left running.

[0129] The generated abnormal water usage information helps users to check their water usage during uncommon times.

[0130] Step Sc4: If no abnormal cancellation information is received within the preset confirmation time, a closing signal is generated to control the valve to close.

[0131] Specifically, the preset confirmation time can be modified according to user needs. The abnormal cancellation information is sent after the user's corresponding terminal device receives the abnormal water usage information sent by the electronic device. If the electronic device receives the abnormal cancellation information sent by the user within the preset confirmation time, it means that the user is aware that water usage occurred during uncommon water usage times. If the electronic device does not receive the abnormal cancellation information sent by the user within the preset confirmation time, it means that the user is unaware of the water usage occurring during uncommon water usage times.

[0132] The shut-off signal is generated when the electronic device does not receive an abnormal cancellation signal within a preset confirmation time. The shut-off signal is used to control the valve to close, thereby reducing water waste.

[0133] In this embodiment, the user's habitual water usage time is determined based on multiple water usage data corresponding to a preset cycle stage. When water usage is detected during non-habitual water usage time, the water usage time is timed and a water usage duration is generated. When the water usage duration exceeds a preset standard water usage duration, abnormal water usage information is generated. The generated abnormal water usage information is then fed back. When no abnormal cancellation information is received within a preset confirmation time, a closing signal is generated to control the valve to close, thereby reducing water consumption.

[0134] Furthermore, step Sc1 determines the user's habitual water usage time based on multiple water usage data corresponding to a preset periodic stage. Specifically, this may include steps Sc11 (not shown in the attached diagram), Sc12 (not shown in the attached diagram), Sc13 (not shown in the attached diagram), and Sc14 (not shown in the attached diagram), wherein:

[0135] Step Sc11: Determine the cycle type based on multiple water usage data, including weekdays and non-weekdays.

[0136] Specifically, since water usage on weekdays is generally concentrated outside of working hours and may differ from water usage on non-working days, the cycle type needs to be determined when determining users' habitual water usage time.

[0137] Step Sc12: Determine the habitual water usage time on weekdays based on multiple water usage data of multiple cycle types for weekdays.

[0138] Step Sc13: Determine the habitual water usage time on non-working days based on multiple water usage data of multiple cycle types that are non-working days.

[0139] Specifically, each water usage data point includes the water consumption and usage time corresponding to different times. When determining habitual water usage on weekdays, the habitual water usage time on weekdays is determined by the water consumption and usage time corresponding to each time point. Similarly, the habitual water usage time on non-weekdays is determined.

[0140] Step Sc14: Determine the user's habitual water usage time based on the user's habitual water usage time on weekdays and non-weekdays.

[0141] Specifically, users' habitual water usage time consists of their habitual water usage time on weekdays and their habitual water usage time on non-weekdays.

[0142] In this embodiment, the cycle type is determined based on multiple water usage data, including weekdays and non-weekdays. First, the habitual water usage time on weekdays is determined based on multiple water usage data with multiple cycle types of weekdays. Then, the habitual water usage time on non-weekdays is determined based on multiple water usage data with multiple cycle types of non-weekdays. Finally, the habitual water usage time on weekdays and non-weekdays is used to construct the user's habitual water usage time. Determining the user's habitual water usage time through the cycle type facilitates the improvement of the accuracy in determining the habitual water usage time.

[0143] The above embodiments describe a method for water analysis from the perspective of process flow. The following embodiments describe a device for water analysis from the perspective of virtual modules or virtual units. For details, please refer to the following embodiments.

[0144] This application provides a water analysis apparatus, such as... Figure 2 As shown, the device may specifically include a water usage data acquisition module 210, a water usage stage determination module 220, a new water usage determination module 230, a new water fee determination module 240, and an information feedback module 250, wherein:

[0145] The water usage data acquisition module 210 is used to acquire water usage data, which is the actual total water usage in the current period.

[0146] The water usage stage determination module 220 is used to determine the current water usage stage corresponding to the current cycle based on water usage data.

[0147] The module 230 for determining new water consumption is used to determine new water consumption based on water consumption data and historical water consumption data.

[0148] The newly added water fee module 240 is determined to determine the new water fee based on the current water usage stage and the new water usage, with each water usage stage corresponding to a different charging standard.

[0149] The information feedback module 250 is used to generate new water usage information based on the new water consumption and the new water fee, and to feed back the new water usage information.

[0150] In one possible implementation, determining the new water billing module 240 includes:

[0151] The limit acquisition unit is used to acquire the water consumption limit corresponding to the current water consumption stage;

[0152] The limit comparison unit is used to compare historical water consumption data with the water consumption limit corresponding to the current water consumption stage, and to determine whether the sum of historical water consumption data and the newly added water consumption exceeds the water consumption limit corresponding to the current water consumption stage.

[0153] The newly added water fee unit is determined so that if the water consumption exceeds the limit corresponding to the current water consumption stage, the charging standard corresponding to the previous water consumption stage is obtained, and the new water fee corresponding to the new water consumption is determined based on the charging standard corresponding to the previous water consumption stage and the charging standard corresponding to the current water consumption stage.

[0154] In one possible implementation, the method further includes:

[0155] The limit difference judgment module is used to determine whether the newly added water consumption exceeds the water consumption limit difference. The water consumption limit difference is the difference between the water consumption limits corresponding to two water consumption stages.

[0156] The module for generating abnormal information is used to generate cross-stage abnormal information and provide feedback if the newly added water consumption exceeds the water consumption limit.

[0157] In one possible implementation, the method further includes:

[0158] The cycle phase determination module is used to determine whether the current cycle belongs to the next cycle phase based on the current date. A cycle phase contains multiple cycles.

[0159] The initial cycle stage water fee report generation module is used to summarize multiple new water fees corresponding to the previous cycle stage and form an initial cycle stage water fee report when the current cycle belongs to the next cycle stage.

[0160] The module for determining the average water cost per cycle is used to determine the average water cost per cycle for each cycle in the previous cycle based on the water cost report for the initial cycle stage.

[0161] The periodic water fee report module is used to mark abnormally added water fees that exceed the average water fee for the period in the initial periodic water fee report, and to generate the final periodic water fee report.

[0162] In one possible implementation, the method further includes:

[0163] The associated water meter determination module is used to determine user information based on current water usage data, and to determine whether an associated water meter exists based on the user information.

[0164] The module for obtaining historical associated cost lists is used to obtain historical associated cost lists corresponding to a preset period when associated water meters exist. The historical associated cost list is the historical cost list corresponding to the associated water meters.

[0165] The module for determining the total forecast cost of associated water use is used to determine the total forecast cost of associated water use for the next cycle period corresponding to the associated water meter based on the historical associated cost list, and to provide feedback on the total forecast cost of associated water use.

[0166] In one possible implementation, the method further includes:

[0167] The module for determining habitual water usage time is used to acquire multiple water usage data corresponding to a preset periodic stage to determine the user's habitual water usage time.

[0168] The water usage timing module is used to time the water usage and generate the water usage duration when water usage occurs during uncommon times.

[0169] The abnormal water usage information generation module is used to generate abnormal water usage information and provide feedback if the water usage time exceeds the preset standard water usage time.

[0170] The module for generating a shut-off signal is used to generate a shut-off signal to control the valve to close if no abnormal cancellation information is received within a preset confirmation time.

[0171] In one possible implementation, the module for determining habitual water usage time includes:

[0172] The cycle type determination unit is used to determine the cycle type based on multiple water usage data. The cycle type includes weekdays and non-weekdays.

[0173] The weekday water usage habit determination unit is used to determine the weekday water usage habits based on multiple water usage data of multiple cycle types that are weekdays.

[0174] The non-working day water usage habit determination unit is used to determine the habitual water usage time on non-working days based on multiple water usage data of multiple cycle types that are non-working days;

[0175] The water usage habit determination unit is used to determine the user's habitual water usage time based on the user's habitual water usage time on weekdays and on non-weekdays.

[0176] This application provides an electronic device, such as... Figure 3 As shown, Figure 3 The illustrated electronic device 300 includes a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, for example, via a bus 302. Optionally, the electronic device 300 may also include a transceiver 304. It should be noted that in practical applications, the transceiver 304 is not limited to one type, and the structure of this electronic device 300 does not constitute a limitation on the embodiments of this application.

[0177] Processor 301 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 301 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.

[0178] Bus 302 may include a pathway for transmitting information between the aforementioned components. Bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 302 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 3 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0179] The memory 303 may be a ROM (Read Only Memory) or other type of static storage device capable of storing static information and instructions, RAM (Random Access Memory) or other type of dynamic storage device capable of storing information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto.

[0180] The memory 303 is used to store application code that executes the solution of this application, and its execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the content shown in the foregoing method embodiments.

[0181] Electronic devices include, but are not limited to: mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and in-vehicle terminals (such as in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Servers can also be included. Figure 3 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0182] This application provides a computer-readable storage medium storing a computer program. When the program is run on a computer, it enables the computer to execute the corresponding content in the aforementioned method embodiments. Compared with related technologies, this application, after obtaining the actual total water consumption in the current period, determines the current water consumption stage based on the actual total water consumption generated in the current period. Different water consumption stages correspond to different charging standards. Then, it determines the new water consumption in the current period based on the actual total water consumption in the current period and the historical total water consumption. Next, it determines the new water fee corresponding to the new water consumption based on the charging standard corresponding to the current water consumption stage. Finally, it generates new water consumption information based on the new water consumption and the new water fee, and sends the generated new water consumption information to the user's terminal device for feedback. By recording the new water consumption and the new water fee corresponding to each period and providing feedback, it is convenient for users to analyze and view their water consumption.

[0183] It should be understood that although the steps in the flowcharts of the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the accompanying figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.

[0184] The above description is only a partial embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A method for analyzing water, characterized by, include: Obtain current water usage data, which is the total actual water usage within the current period; Determine the current water usage stage corresponding to the current cycle based on the current water usage data; The additional water consumption will be determined based on the current water consumption data and historical water consumption data. The additional water fee is determined based on the current water usage stage and the additional water usage, with each water usage stage corresponding to a specific charging standard. New water usage information is generated based on the new water consumption and the new water fee, and the new water usage information is fed back. Also includes: User information is determined based on current water usage data, and the existence of associated water meters is determined based on the user information. If it exists, obtain the historical associated cost list corresponding to the preset period stage, where the historical associated cost list is the historical cost list corresponding to the associated water meter. The total predicted cost of water use for the next cycle period corresponding to the associated water meter is determined based on the historical associated cost list, and the total predicted cost of water use is fed back. It also includes: acquiring multiple water usage data corresponding to preset periodic stages to determine the user's habitual water usage time; When water usage occurs during uncommon times, the water usage time is timed to generate a water usage duration. If the water usage duration exceeds the preset standard water usage duration, abnormal water usage information is generated and fed back. If no abnormal cancellation information is received within the preset confirmation time, a closing signal is generated to control the valve to close. The step of determining the user's habitual water usage time based on the multiple water usage data includes: The cycle type is determined based on multiple water usage data, and the cycle type includes weekdays and non-working days; Based on multiple water usage data with multiple cycle types for weekdays, determine the habitual water usage time on weekdays; Based on multiple water usage data points for non-working days across multiple period types, determine the habitual water usage times on non-working days; The user's habitual water usage time is determined based on the user's habitual water usage time on weekdays and non-weekdays.

2. The method of claim 1, wherein, The step of determining the additional water fee based on the current water usage stage and the additional water usage includes: Obtain the water consumption limit corresponding to the current water consumption stage; The historical water usage data is compared with the water usage limit corresponding to the current water usage stage to determine whether the sum of the historical water usage data and the newly added water usage exceeds the water usage limit corresponding to the current water usage stage. If the amount exceeds the limit, the charging standard corresponding to the previous water usage phase is obtained, and the additional water fee corresponding to the additional water usage is determined based on the charging standard corresponding to the previous water usage phase and the charging standard corresponding to the current water usage phase.

3. The method of claim 2, wherein, Also includes: Determine whether the increased water consumption exceeds the water consumption limit difference, where the water consumption limit difference is the difference between the water consumption limits corresponding to two water consumption stages; If the increased water consumption exceeds the water consumption limit difference, cross-stage anomaly information is generated and fed back.

4. The method of claim 1, wherein, Also includes: Determine whether the current cycle belongs to the next cycle phase based on the current date; the cycle phase includes multiple cycles. If so, then summarize the multiple new water charges corresponding to the previous cycle stage and form the initial cycle stage water charge report; Based on the water bill report of the initial period stage, determine the average water cost of each period corresponding to the previous period stage. The abnormally added water charges exceeding the average water charges for the period in the initial period water charge report are marked, and the final period water charge report is generated.

5. An apparatus for analyzing water, characterized by comprising: include: The water usage data acquisition module is used to acquire current water usage data, which is the total actual water usage within the current period; The water usage stage determination module is used to determine the current water usage stage corresponding to the current cycle based on the current water usage data. The module for determining new water consumption is used to determine the new water consumption based on the current water consumption data and historical water consumption data. The module for determining new water fees is used to determine new water fees based on the current water usage stage and the new water usage, with each water usage stage corresponding to a different charging standard. The information feedback module is used to generate new water usage information based on the new water consumption and the new water fee, and to feed back the new water usage information. The associated water meter determination module is used to determine user information based on current water usage data, and to determine whether an associated water meter exists based on the user information. The module for obtaining historical associated cost lists is used to obtain historical associated cost lists corresponding to a preset period when associated water meters exist. The historical associated cost lists are the historical cost lists corresponding to the associated water meters. The module for determining the total predicted cost of associated water use is used to determine the total predicted cost of associated water use for the next period corresponding to the associated water meter based on the historical associated cost list, and to feed back the total predicted cost of associated water use. The module for determining habitual water usage time is used to acquire multiple water usage data corresponding to a preset periodic stage to determine the user's habitual water usage time. The water usage timing module is used to time the water usage and generate the water usage duration when water usage occurs during uncommon times. An abnormal water usage information generation module is used to generate abnormal water usage information and feed it back if the water usage duration exceeds the preset standard water usage duration. The closing signal generation module is used to generate a closing signal if no abnormal cancellation information is received within a preset confirmation time, so as to control the valve to close. The module for determining habitual water usage time includes: a cycle type determination unit, used to determine the cycle type based on multiple water usage data, wherein the cycle type includes weekdays and non-working days; The weekday water usage habit determination unit is used to determine the weekday water usage habits based on multiple water usage data of multiple cycle types that are weekdays. The non-working day water usage habit determination unit is used to determine the habitual water usage time on non-working days based on multiple water usage data of multiple cycle types that are non-working days; The water usage habit determination unit is used to determine the user's habitual water usage time based on the user's habitual water usage time on weekdays and on non-weekdays.

6. An electronic device, comprising: The electronic device includes: At least one processor; Memory; At least one application, wherein the at least one application is stored in memory and configured to be executed by at least one processor, the at least one application being configured to: perform the method of water analysis as described in any one of claims 1-4.

7. A computer-readable storage medium, characterized in that, include: A computer program is stored which can be loaded by a processor and executed to perform the method of analyzing water as claimed in any one of claims 1-4.