Power supply control method and device of self-generating water meter, storage medium and electronic equipment

By predicting the load power consumption of the self-generated water meter in the target time period and combining the current power difference, the self-generated water meter adopts appropriate data upload or load operation mode, solving the problem of unreasonable power supply strategy when users do not use water for a long time, extending the working time of the equipment and improving the level of intelligence.

CN120109968AActive Publication Date: 2025-06-06SHAANXI WATER GRP WATER TREATMENT EQUIP CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202510588281.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-08
Publication Date
2025-06-06
Estimated Expiration
2045-05-08

AI Technical Summary

Technical Problem

When users do not use water for a long time, self-generating water meter lacks effective power supply strategies, which affects the power supply of its intelligent functions.

Method used

By receiving information from the target time period, the historical electricity consumption data of multiple electricity consumption loads in the power generation water meter are obtained, the theoretical value of the total electricity consumption of the load is predicted, and the power difference is determined based on the current stored electricity. According to the power difference and the duration of the target time period, determine the target data upload method or the target load operation method to optimize the power supply strategy.

Benefits of technology

It realizes a reasonable power supply solution for self-generating water meter when users do not use water, extends the working and running time of the equipment without power generation, and improves the intelligence level of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120109968A_ABST
    Figure CN120109968A_ABST
Patent Text Reader

Abstract

The invention provides a power supply control method and device for a self-generating water meter, a storage medium and electronic equipment, and relates to the technical field of power supply. The power supply control method comprises the steps that the current stored electric quantity of the self-generating water meter is obtained, and the electric quantity difference value between the theoretical value of the total load electricity consumption and the stored electric quantity in a target time period is determined; if the electric quantity difference value is larger than the first threshold value and smaller than the second threshold value, a target data uploading mode, corresponding to the electric quantity difference value and the duration of the target time period, of the self-generating water meter is determined, and the target data uploading mode is applied in the target time period; if the electric quantity difference value is larger than a second threshold value and smaller than a third threshold value, a target load operation mode, corresponding to the electric quantity difference value and the duration of the target time period, of the self-generating water meter is determined, and the target load operation mode is applied in the target time period; and if the electric quantity difference value is greater than a third threshold value, sending electric quantity alarm information to the client. The power supply reasonability of the self-generating water meter can be improved when a user does not use water.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] As an instrument mainly used to measure water flow, water meters are widely used in various water use scenarios. With the integration of technologies, self-generating water meters have emerged to enhance the intelligence of water meters.

[0003] For self-generating water meters, users may not use water for a long time. In this case, the self-generating water meter will affect the power supply of its intelligent function due to the lack of water flow. For this, there is currently no better power supply strategy.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] The purpose of the present disclosure is to provide a power supply control method and device, storage medium and electronic device for a self-generating water meter, thereby at least to a certain extent overcoming the problem of unreasonable power supply strategy of the self-generating water meter due to long-term water non-use by users.

[0006] According to a first aspect of the present disclosure, a power supply control method for a self-generating water meter is provided, comprising: receiving information of a target time period, the target time period being a time period during which a user of the self-generating water meter will not use water after the current time period, the target time period being obtained in response to a time setting operation on a client corresponding to the self-generating water meter; obtaining historical power consumption data of a plurality of power loads in the self-generating water meter, and predicting a theoretical value of the total load power consumption within the target time period based on the historical power consumption data of the plurality of power loads; obtaining the current stored power of the self-generating water meter, and determining a power difference between the theoretical value of the total load power consumption and the stored power; if the power difference is greater than a first threshold value and less than a second threshold value, determining a target number of the self-generating water meter corresponding to the power difference and the duration of the target time period A target data upload mode is selected, and the target data upload mode is applied within the target time period; wherein, the data upload mode includes the type of uploaded data and the time interval for data upload, and different data upload modes have different types of uploaded data and / or different time intervals for data upload; if the power difference is greater than or equal to the second threshold and less than or equal to the third threshold, the target load operation mode of the self-generating water meter corresponding to the power difference and the duration of the target time period is determined, and the target load operation mode is applied within the target time period; wherein, the load operation mode includes a switching mode configured for each power load according to the priority order of each power load, and the switching mode of each power load of different load operation modes is different; if the power difference is greater than the third threshold, a power alarm message is sent to the client.

[0007] Optionally, predicting the theoretical value of the total load power consumption within the target time period based on the historical power consumption data of multiple power loads includes: predicting the load power consumption of each power load within the target time period based on the historical power consumption data of each power load; adding the load power consumption of each power load to obtain the theoretical value of the load power consumption.

[0008] Optionally, multiple power loads include a target power load; predicting the load power consumption of the target power load within the target time period based on the historical power consumption data of the target power load includes: obtaining power consumption data of the target power load at multiple historical moments, and determining the power consumption feature vector of each historical moment based on the power consumption data of each historical moment; for the first historical moment farthest from the current time among the multiple historical moments, using the power consumption feature vector of the first historical moment as the input of the long short-term memory network for feature processing to obtain the power consumption analysis result of the first historical moment; for the mth historical moment among the multiple historical moments, using the power consumption feature vector of the mth historical moment and the power consumption analysis result of the m-1th historical moment as the input of the long short-term memory network for feature processing to obtain the power consumption analysis result of the mth historical moment; wherein m is a positive integer greater than 1; using the fully connected layer to perform feature synthesis on the power consumption analysis results of each historical moment to obtain the predicted value of the load power consumption of the future target power load.

[0009] Optionally, the multiple power loads of the self-generating water meter include a display load, a communication load, a sensing load, and a data analysis and control load.

[0010] Optionally, when the power difference is greater than a third threshold, the power supply control method further includes: sending a battery installation prompt message to the client; wherein the battery installation prompt message is used to instruct the user to install a battery for the self-generating water meter.

[0011] Optionally, when the power difference is greater than a third threshold, the power supply control method further includes: sending a request instruction to the client to access the user's power system; in response to the instruction to access the user's power system, turning on the switch for the self-generating water meter to access the user's power system, so that the user's power system can supply power to the self-generating water meter.

[0012] Optionally, the power supply control method further includes: performing statistics on the electric energy consumption generated by the self-generating water meter in a time dimension and generating an electricity bill; and sending the electricity bill to the client.

[0013] According to a second aspect of the present disclosure, a power supply control device for a self-generating water meter is provided, comprising: a time period receiving module, for receiving information of a target time period, the target time period being a time period during which the user of the self-generating water meter does not use water after the current time period, the target time period being obtained in response to a time setting operation of a client corresponding to the self-generating water meter; a power consumption prediction module, for obtaining historical power consumption data of a plurality of power loads in the self-generating water meter, and predicting a theoretical value of the total load power consumption within the target time period based on the historical power consumption data of the plurality of power loads; a power difference determination module, for obtaining the current stored power of the self-generating water meter, and determining a power difference between the theoretical value of the total load power consumption and the stored power; a first control module, for determining the power difference between the self-generating water meter and the target time period if the power difference is greater than a first threshold value and less than a second threshold value The target data upload mode corresponds to the duration of the target time period, and the target data upload mode is applied within the target time period; wherein the data upload mode includes the upload data type and the data upload time interval, and the upload data types and / or data upload time intervals of different data upload modes are different; a second control module is used to determine the target load operation mode of the self-generating water meter corresponding to the power difference and the duration of the target time period if the power difference is greater than or equal to the second threshold and less than or equal to the third threshold, and apply the target load operation mode within the target time period; wherein the load operation mode includes a switching mode configured for each power load according to the priority order of each power load, and the switching mode of each power load of different load operation modes is different; a third control module is used to send power alarm information to the client if the power difference is greater than the third threshold.

[0014] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the power supply control method of the self-generating water meter is implemented.

[0015] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; the processor is configured to implement a power supply control method for a self-generating water meter by executing the executable instructions.

[0016] In the technical solutions provided in some embodiments of the present disclosure, a power supply strategy including regulating the data upload method and the load operation mode is configured by determining the difference between the theoretical value of the total load power consumption of the self-generating water meter during the period when the user does not use water and the stored power. This can achieve a reasonable power supply plan for the self-generating water meter when the user does not use water. While meeting the needs as much as possible, the power supply mode of the self-generating water meter for its own power load is gradually adjusted, which can extend the working time of the self-generating water meter when it is not generating electricity as much as possible, further improving the intelligence of the self-generating water meter.

[0017] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0019] Figure 1 A system framework diagram schematically illustrates a power supply control scheme for a self-generating water meter according to an exemplary embodiment of the present disclosure.

[0020] Figure 2 A flow chart schematically illustrates a method for controlling power supply of a self-generating water meter according to an exemplary embodiment of the present disclosure.

[0021] Figure 3 A schematic diagram schematically illustrates a process of predicting load power consumption according to an embodiment of the present disclosure.

[0022] Figure 4 A block diagram schematically shows a power supply control device for a self-generating water meter according to an embodiment of the present disclosure.

[0023] Figure 5 A block diagram of an electronic device according to an exemplary embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0024] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0025] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0026] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the steps. For example, some steps may be decomposed, while some steps may be combined or partially combined, so the actual execution order may change according to the actual situation. In addition, all the terms "first", "second", "third", etc. below are only for the purpose of distinction and should not be used as limitations of the present disclosure.

[0027] Figure 1 A system framework diagram schematically illustrates a power supply control scheme for a self-generating water meter according to an exemplary embodiment of the present disclosure.

[0028] refer to Figure 1 First, the client 11 responds to the user's time setting operation to determine the time period when the user does not need water after the current time period, and the embodiment of the disclosure records this time period as the target time period. Next, the client 11 sends the target time period to the self-generating water meter 12.

[0029] It should be understood that, on the one hand, the client 11 can be configured on the terminal device in the form of an application program, and the present disclosure does not limit the type of the terminal device, for example, it can be a smart phone, a tablet computer, a personal computer, etc. On the other hand, the self-generating water meter 12 of the embodiment of the present disclosure has data processing capabilities, that is, a processing unit can be configured therein to implement the data processing process of the present disclosure on the side of the self-generating water meter 12. In addition, the process of the client 11 sending the target time period to the self-generating water meter 12, for data transmission between devices, is that the terminal device installed with the client 11 sends the information of the target time period to the processing unit of the self-generating water meter 12.

[0030] The self-generating water meter 12 can respond to the information of the target time period to obtain the historical power consumption data of multiple power loads therein, and predict the theoretical value of the total load power consumption within the target time period based on the historical power consumption data of multiple power loads. In addition, the current amount of power stored in the self-generating water meter 12 itself can be obtained, which is recorded as the stored power. Next, the self-generating water meter 12 can determine the power difference between the theoretical value of the total load power consumption and the stored power. It can be understood that the power difference can be a positive value or a negative value, and under extreme conditions, it can also be 0, and the present disclosure does not limit this.

[0031] Then, the self-powered water meter 12 can configure a self-powered strategy including regulating the data upload mode and the load operation mode in combination with the power difference.

[0032] In order to more clearly describe the power supply control scheme of the present disclosure, the power supply control method of the self-generating water meter of the present disclosure is described below. It can be understood that, unless otherwise specified, each step of the following power supply control method is executed by the self-generating water meter.

[0033] Figure 2 The flowchart schematically shows a power supply control method of a self-generating water meter according to an exemplary embodiment of the present disclosure. Figure 2 The power supply control method of the self-generating water meter may include the following steps: S22. Receive information of a target time period, where the target time period is a time period during which the user of the self-generating water meter does not use water from now on, and the target time period is obtained in response to a time setting operation of a client corresponding to the self-generating water meter.

[0034] First, the client can determine the target time period in response to the user's time setting operation. The time setting operation can be a handwriting input operation, a voice input operation, etc., which is not limited by the present disclosure. That is, in the intelligent self-generating water meter solution of the present disclosure, the client provides a function for the user to input the time period after the current time when no water is used.

[0035] Next, the client can send information including the target time period to the self-generating water meter.

[0036] S24. Obtain historical power consumption data of multiple power loads in the self-generating water meter, and predict a theoretical value of the total load power consumption within a target time period based on the historical power consumption data of the multiple power loads.

[0037] According to some embodiments of the present disclosure, first, the self-generating water meter can predict the load power consumption of each power load within a target time period based on the historical power consumption data of each power load; next, the self-generating water meter can add the load power consumption of each power load to obtain a theoretical value of the load power consumption.

[0038] That is to say, for the process of predicting load power consumption, the load power consumption of each power load can be predicted separately, and then the sum of the load power consumption of all power loads can be calculated to obtain a theoretical value of the load power consumption.

[0039] For the convenience of description, the determination of the load power consumption of one power load is described below, and the processing procedures for other power loads are similar.

[0040] Multiple power loads may include a target power load, and the target power load may be any one of the multiple power loads. Specifically, the power load may include a display load, a communication load, a sensing load, a data analysis and control load, etc. in the self-generating water meter. In this case, the target load may be any one of the display load, the communication load, the sensing load, the data analysis and control load in the self-generating water meter. It should be noted that these loads all belong to the self-generating water meter itself, that is, the power loads mentioned in the present disclosure are all load units included in the self-generating water meter. Among them, the display load is used to display information related to the water meter or the inlet and outlet of water through the display screen of the self-generating water meter. The communication load is used to transmit data for data communication with other devices. The sensing load corresponds to various sensors of the water meter, such as flow sensors, pressure sensors, etc. The data analysis and control load is used to process and analyze various data of the self-generating water meter, and perform corresponding control operations according to the analysis results.

[0041] First, the power consumption data of the target power load at multiple historical moments may be obtained, and the power consumption feature vector at each historical moment may be determined according to the power consumption data at each historical moment.

[0042] Specifically, multiple historical moments can be determined from history within a predetermined time period from the current time. For example, multiple historical moments can be determined from a month from the current time, or multiple historical moments can be determined from a quarter from the current time. The present disclosure does not impose any restrictions on this.

[0043] Next, for the first historical moment that is farthest from the current moment among these historical moments, the power feature vector corresponding to the first historical moment can be used as the input of the Long Short-Term Memory (LSTM) network for feature processing to obtain the power consumption analysis result of the first historical moment.

[0044] In addition, for other historical moments except the first historical moment, specifically, for the mth historical moment, where m is a positive integer greater than 1, the power consumption feature vector of the mth historical moment and the power consumption analysis result of the m-1th historical moment can be used as input of the LSTM network for feature processing to obtain the power consumption analysis result of the mth historical moment.

[0045] Then, the fully connected layer can be used to perform feature synthesis on the power consumption analysis results at each historical moment to obtain the predicted value of the load power consumption of the future target power load.

[0046] Figure 3 The schematic diagram schematically shows the process of predicting load power consumption according to an embodiment of the present disclosure. Figure 3First, the LSTM network is used to process the power consumption feature vector of the first historical moment to obtain the power consumption analysis result of the first historical moment, and then the LSTM network is used to process the power consumption analysis result of the first historical moment and the combined data of the power consumption characteristics of the second historical moment to obtain the power consumption analysis result of the second historical moment, and so on, until the power consumption analysis results of all historical moments are determined. Subsequently, these results can be integrated and analyzed using the fully connected layer to determine the load power consumption prediction value of the target power load.

[0047] The present disclosure does not limit the specific network structure and training process of the above-mentioned LSTM network.

[0048] In addition, the ARIMA model may also be used to predict the power consumption of each power load, and the present disclosure does not impose any restrictions on this.

[0049] S26. Obtain the current stored power of the self-generating water meter, and determine the difference between the theoretical value of the total power consumption of the load and the stored power.

[0050] Specifically, the self-generating water meter can obtain the current stored power from its own energy storage unit, and calculate the power difference between the theoretical value of the total load power consumption determined in step S24 and the stored power.

[0051] S28. Provide a power supply strategy based on the power difference.

[0052] According to some embodiments of the present disclosure, if the power difference is greater than a first threshold and less than a second threshold, a target data upload method corresponding to the power difference and the duration of a target time period of the self-generating water meter is determined, and the target data upload method is applied within the target time period.

[0053] Specifically, the data upload method includes the upload data type and the data upload time interval. Different data upload methods have different upload data types and / or different data upload time intervals. Among them, the data type may include data collected by each sensor in the self-generating water meter, and each type of data corresponds to a data type. The upload time interval may include 12h, 24h, 48h, etc. These different combinations construct the different data upload methods mentioned in the embodiment of the present disclosure.

[0054] In addition, the first threshold may be, for example, 0, and the second threshold may be configured as a maximum value of power saving that can be achieved by regulating the data upload method or a value associated with the maximum value, and the present disclosure does not impose any limitation on its specific value.

[0055] In addition, if the power difference is less than or equal to the first threshold, it indicates that the electric energy stored in the self-generating water meter itself can meet the load power consumption within the target time period. At this time, there is no need to adjust the power supply strategy.

[0056] According to other embodiments of the present disclosure, if the power difference is greater than or equal to the second threshold and less than or equal to the third threshold, the target load operation mode of the self-generating water meter corresponding to the power difference and the duration of the target time period is determined, and the target load operation mode is applied within the target time period.

[0057] Specifically, the load operation mode includes a switch mode configured for each power load according to the priority order of each power load, and the switch mode of each power load in different load operation modes is different. Among them, the priority of each power load is pre-configured, and the priority represents the importance of the power load. For example, the higher the priority, the more important the power load is, and the more it needs to be turned on; the lower the priority, the lower the importance of the power load, and the more it can be turned off. For example, the priority of sensor A is higher than that of sensor B. In some cases, sensor B can be turned off while sensor A is kept on.

[0058] In addition, the third threshold value may be configured as a maximum value of electric energy saving that can be achieved by regulating the load operation mode or a value associated with the maximum value, and the present disclosure does not impose any limitation on its specific value.

[0059] According to some other embodiments of the present disclosure, if the power difference is greater than a third threshold, a power alarm message is sent to the client to remind the user that the self-generated water meter will be completely powered off during the target time period.

[0060] In view of this situation, in some embodiments, the self-generating water meter can send a battery installation prompt message to the client, and the battery installation prompt message is used to instruct the user to install a battery for the self-generating water meter to ensure continuous power supply to the self-generating water meter.

[0061] In other embodiments, the self-generating water meter may send a request instruction to the client to access the user's power system. If the user agrees to the request, the self-generating water meter may respond to the instruction to access the user's power system and turn on the switch for the self-generating water meter to access the user's power system so that the user's power system can supply power to the self-generating water meter. The user's power system described in the embodiment of the present disclosure may be consistent with the municipal power supply connected to the user scenario, that is, at this time, in some scenarios, the self-generating water meter can be powered by the municipal power supply.

[0062] In addition, the self-generating water meter can also perform time dimension statistics on the electricity consumption generated by the self-generating water meter, generate an electricity bill, and send the electricity bill to the client so that the user can understand the power consumption of the self-generating water meter in this case.

[0063] It should be noted that although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0064] Furthermore, this exemplary embodiment also provides a power supply control device for a self-generating water meter.

[0065] Figure 4 FIG. 1 schematically shows a block diagram of a power supply control device for a self-generating water meter according to an exemplary embodiment of the present disclosure. Figure 4 According to an exemplary embodiment of the present disclosure, the power supply control device 4 of the self-generating water meter may include a time period receiving module 401, a power consumption prediction module 403, a power difference determination module 405, a first control module 407, a second control module 409 and a third control module 411.

[0066] Specifically, the time period receiving module 401 can be used to receive information of a target time period, where the target time period is a time period during which the user of the self-generating water meter does not use water from now on, and the target time period response is obtained by the time setting operation of the client corresponding to the self-generating water meter; the power consumption prediction module 403 can be used to obtain historical power consumption data of multiple power loads in the self-generating water meter, and predict the theoretical value of the total load power consumption in the target time period based on the historical power consumption data of multiple power loads; the power difference determination module 405 can be used to obtain the current stored power of the self-generating water meter, and determine the power difference between the theoretical value of the total load power consumption and the stored power; the first control module 407 can be used to determine the target power of the self-generating water meter corresponding to the power difference and the duration of the target time period if the power difference is greater than a first threshold value and less than a second threshold value. A data upload mode, and applying the target data upload mode within the target time period; wherein the data upload mode includes an upload data type and a data upload time interval, and different data upload modes have different upload data types and / or different data upload time intervals; the second control module 409 can be used to determine the target load operation mode of the self-generating water meter corresponding to the power difference and the duration of the target time period if the power difference is greater than or equal to the second threshold and less than or equal to the third threshold, and apply the target load operation mode within the target time period; wherein the load operation mode includes a switching mode configured for each power load according to the priority order of each power load, and the switching mode of each power load of different load operation modes is different; the third control module 411 can be used to send a power alarm message to the client if the power difference is greater than the third threshold.

[0067] According to an exemplary embodiment of the present disclosure, the power consumption prediction module 403 can be configured to: predict the load power consumption of each power load within the target time period based on the historical power consumption data of each power load; add the load power consumption of each power load to obtain a theoretical value of the load power consumption.

[0068] According to an exemplary embodiment of the present disclosure, multiple power loads include a target power load. The power consumption prediction module 403 can be configured as follows: obtaining power consumption data of multiple historical moments of the target power load, determining the power consumption feature vector of each historical moment according to the power consumption data of each historical moment; for the first historical moment farthest from the current one among the multiple historical moments, using the power consumption feature vector of the first historical moment as the input of the long short-term memory network for feature processing to obtain the power consumption analysis result of the first historical moment; for the mth historical moment among the multiple historical moments, using the power consumption feature vector of the mth historical moment and the power consumption analysis result of the m-1th historical moment as the input of the long short-term memory network for feature processing to obtain the power consumption analysis result of the mth historical moment; wherein m is a positive integer greater than 1; using the fully connected layer to perform feature synthesis on the power consumption analysis results of each historical moment to obtain the predicted value of the load power consumption of the future target power load.

[0069] According to an exemplary embodiment of the present disclosure, a plurality of power loads of a self-generating water meter include a display load, a communication load, a sensing load, and a data analysis and control load.

[0070] According to an exemplary embodiment of the present disclosure, the third control module 411 can also be used to send a battery installation prompt message to the client when the power difference is greater than a third threshold; wherein the battery installation prompt message is used to instruct the user to install a battery for the self-generating water meter.

[0071] According to an exemplary embodiment of the present disclosure, the third control module 411 can also be used to send a request instruction to the client to access the user's power system when the power difference is greater than a third threshold value; in response to the instruction to access the user's power system, turn on the switch for the self-generating water meter to access the user's power system so that the user's power system can supply power to the self-generating water meter.

[0072] According to an exemplary embodiment of the present disclosure, the third control module 411 may also be used to perform time dimension statistics on the electric energy consumption generated by the self-generating water meter, generate an electricity bill, and send the electricity bill to the client.

[0073] Since the functional modules of the power supply control device of the self-generating water meter in the embodiment of the present disclosure are the same as those in the above-mentioned method implementation, they will not be described in detail here.

[0074] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present disclosure described in the above "Exemplary Method" section of the present specification.

[0075] The program product for implementing the above method according to the embodiment of the present disclosure can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0076] The program product may adopt any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical disk, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0077] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0078] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0079] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).

[0080] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0081] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".

[0082] Refer to the following Figure 5 The electronic device 500 according to this embodiment of the present disclosure is described. Figure 5 The electronic device 500 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0083] like Figure 5 As shown, the electronic device 500 is in the form of a general computing device. The components of the electronic device 500 may include but are not limited to: at least one processing unit 510, at least one storage unit 520, a bus 530 connecting different system components (including the storage unit 520 and the processing unit 510), and a display unit 540.

[0084] The storage unit stores a program code, which can be executed by the processing unit 510, so that the processing unit 510 performs the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of this specification. For example, the processing unit 510 can perform various steps of the power supply control method of the self-generating water meter of the embodiment of the present disclosure.

[0085] The storage unit 520 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 5201 and / or a cache storage unit 5202 , and may further include a read-only storage unit (ROM) 5203 .

[0086] The storage unit 520 may also include a program / utility 5204 having a set (at least one) of program modules 5205, such program modules 5205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0087] Bus 530 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0088] The electronic device 500 may also communicate with one or more external devices 600 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 500, and / or communicate with any device that enables the electronic device 500 to communicate with one or more other computing devices (e.g., routers, modems, etc.). This communication may be performed through an input / output (I / O) interface 550. In addition, the electronic device 500 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) through a network adapter 560. As shown, the network adapter 560 communicates with other modules of the electronic device 500 through a bus 530. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0089] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes a number of instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0090] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0091] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0092] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing what is disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and embodiments are to be considered merely as exemplary, and the true scope and spirit of the present disclosure are indicated by the claims.

[0093] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A power supply control method for a self-generating water meter, characterized in that: include: receiving information of a target time period, wherein the target time period is a time period during which a user of the self-generating water meter does not use water from now on, and the target time period is obtained in response to a time setting operation of a client corresponding to the self-generating water meter; Acquire historical power consumption data of multiple power loads in the self-generating water meter, and predict a theoretical value of the total load power consumption within the target time period based on the historical power consumption data of the multiple power loads; Obtaining the current stored power of the self-generating water meter, and determining the power difference between the theoretical value of the total power consumption of the load and the stored power; If the power difference is greater than the first threshold value and less than the second threshold value, a target data upload mode corresponding to the power difference value and the duration of the target time period of the self-generating water meter is determined, and the target data upload mode is applied within the target time period; wherein the data upload mode includes an upload data type and a data upload time interval, and different data upload modes have different upload data types and / or different data upload time intervals; If the power difference is greater than or equal to the second threshold and less than or equal to the third threshold, determine the target load operation mode of the self-generating water meter corresponding to the power difference and the duration of the target time period, and apply the target load operation mode within the target time period; wherein the load operation mode includes a switching mode configured for each of the power loads according to the priority order of each of the power loads, and the switching modes of each of the power loads in different load operation modes are different; If the power difference is greater than the third threshold, power warning information is sent to the client.

2. The power supply control method according to claim 1, characterized in that: Predicting the theoretical value of the total load power consumption within the target time period based on the historical power consumption data of the multiple power loads includes: Predicting the load power consumption of each of the power loads within the target time period according to the historical power consumption data of each of the power loads; The load power consumption of each of the power loads is added together to obtain a theoretical value of the load power consumption.

3. The power supply control method according to claim 2, characterized in that: The plurality of electrical loads include a target electrical load; Predicting the load power consumption of the target power load within the target time period according to the historical power consumption data of the target power load includes: Acquire power consumption data of the target power load at multiple historical moments, and determine a power consumption feature vector at each historical moment according to the power consumption data at each historical moment; For the first historical moment which is the farthest from the current moment among the multiple historical moments, the power feature vector of the first historical moment is used as the input of the long short-term memory network for feature processing to obtain the power consumption analysis result of the first historical moment; For the mth historical moment among the multiple historical moments, the power consumption feature vector of the mth historical moment and the power consumption analysis result of the m-1th historical moment are used as inputs of the long short-term memory network for feature processing to obtain the power consumption analysis result of the mth historical moment; wherein m is a positive integer greater than 1; The fully connected layer is used to perform feature synthesis on the power consumption analysis results at each historical moment to obtain the predicted value of the load power consumption of the target power load in the future.

4. The power supply control method according to claim 1, characterized in that: The multiple power loads of the self-generating water meter include a display load, a communication load, a sensing load, and a data analysis and control load.

5. The power supply control method according to any one of claims 1 to 4, characterized in that: When the power difference is greater than the third threshold, the power supply control method further includes: Sending battery installation prompt information to the client; The battery installation prompt information is used to instruct the user to install a battery for the self-generating water meter.

6. The power supply control method according to any one of claims 1 to 4, characterized in that: When the power difference is greater than the third threshold, the power supply control method further includes: Sending a request instruction to the client to access the user's power system; In response to the instruction to connect to the user's power system, the switch for connecting the self-generating water meter to the user's power system is turned on, so that the user's power system supplies power to the self-generating water meter.

7. The power supply control method according to claim 6, characterized in that: The power supply control method further includes: Performing statistics on the electric energy consumption generated by the self-generated water meter in terms of time dimension and generating an electricity bill; The electricity bill is sent to the client.

8. A power supply control device for a self-generating water meter, characterized in that: include: A time period receiving module, used to receive information of a target time period, wherein the target time period is a time period during which a user of the self-generating water meter does not use water from now on, and the target time period is obtained in response to a time setting operation of a client corresponding to the self-generating water meter; The power consumption prediction module is used to obtain the historical power consumption data of multiple power loads in the self-generating water meter, and predict the theoretical value of the total load power consumption in the target time period according to the historical power consumption data of the multiple power loads; An electric quantity difference determination module is used to obtain the current stored electric quantity of the self-generating water meter and determine the electric quantity difference between the theoretical value of the total electric quantity consumed by the load and the stored electric quantity; A first control module is used to determine a target data upload mode of the self-generating water meter corresponding to the power difference and the duration of the target time period if the power difference is greater than a first threshold value and less than a second threshold value, and apply the target data upload mode within the target time period; wherein the data upload mode includes an upload data type and a data upload time interval, and different data upload modes have different upload data types and / or different data upload time intervals; a second control module, configured to determine a target load operation mode of the self-generating water meter corresponding to the power difference and the duration of the target time period if the power difference is greater than the second threshold value and less than a third threshold value, and apply the target load operation mode within the target time period; wherein the load operation mode includes a switching mode configured for each power load according to the priority order of each power load, and the switching modes of each power load of different load operation modes are different; The third control module is used to send power alarm information to the client if the power difference is greater than the third threshold.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the power supply control method of the self-generating water meter according to any one of claims 1 to 7 is implemented.

10. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to implement the power supply control method of the self-generating water meter according to any one of claims 1 to 7 by executing the executable instructions.

Citation Information

Patent Citations

  • FLUID MEASURING DEVICE

    BR102018072543A2

  • Self-power-generation low-power-consumption water meter design and implementation method

    CN103940476A

  • Novel control circuit for self-generating water pipe card inserting metering valve

    CN104658111A

  • Micro water electricity generation and data collection system

    CN109281791A

  • Vertical self-generating ultrasonic intelligent water meter

    CN111006730A