Method and system for adjusting and controlling energy consumption cost and medium
By calculating and adjusting the water and electricity fee allowance amount in employee dormitories, the problem of unreasonable free amount in the existing technology is solved, and the reasonable management of water and electricity fees and effective energy utilization are achieved.
Patent Information
- Application Number
- CN202510336047.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-21
- Publication Date
- 2025-04-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When providing water and electricity bill discounts to employee dormitories, the existing technology lacks monitoring of actual usage, resulting in unreasonable bonus amounts, which may lead to waste of resources or overexpend expenses.
By obtaining the energy consumption information and energy consumption time data of the dormitory, calculate the total amount of the bonus and the expected energy consumption cost data, calculate the profit and loss rate of the bonus, and compare it with the preset threshold, adjust the bonus amount to achieve reasonable water and electricity bill management.
Reasonable adjustments to water and electricity bills have been achieved, energy use in dormitories has been optimized, and resource waste and overexpenditure have been avoided.
Smart Images

Figure CN119850266A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of water and electricity fee management, and in particular to an energy consumption cost adjustment and control method, system and medium. Background Art
[0002] Providing water and electricity fee discounts or exemptions for employee dormitories is an employee welfare measure provided by enterprises in order to attract and retain talents. At present, the method for enterprises to give employees water and electricity fee discounts is generally to directly reduce or set a fixed free quota, without monitoring the actual usage, lacking comprehensive consideration of the rationality of the discounts and factors affecting energy consumption. Due to the fluctuations in electricity and water demand in different seasons, weather conditions and accommodation personnel, and if the discount quota is not set reasonably, it may lead to problems such as waste of resources or cost overruns. It is necessary to develop a method that can comprehensively consider multiple factors, accurately count and reasonably adjust the water and electricity fee discount quota, so as to achieve optimized statistics of dormitory water and electricity fee management and effective use of resources.
[0003] In view of the above problems, effective technical solutions are urgently needed. Summary of the invention
[0004] The purpose of this application is to provide an energy consumption cost adjustment and control method, system and medium, which can calculate the profit and loss rate of the gift according to the total gift amount data and the expected energy cost data and compare the thresholds, thereby realizing reasonable gift adjustment and energy control of water and electricity charges.
[0005] The present application also provides an energy consumption cost adjustment and control method, comprising the following steps: Obtain energy usage information and energy usage time data in the dormitory, and extract energy usage account data based on the energy usage information; Processing the energy consumption time data and the energy consumption account data to obtain total amount data of gift fees, including total amount data of gift electricity and total amount data of gift water; Obtain historical weather data and real-time weather data corresponding to the energy consumption time data, and process them to obtain energy consumption influencing factors, and process them in combination with the energy consumption account data and preset per capita energy consumption data to obtain expected energy consumption cost data, including expected electricity cost data and expected water cost data; Compare the total amount of the gift fee with the expected energy cost data to obtain a gift fee profit and loss rate; The bonus profit and loss rate is compared with a preset bonus profit and loss threshold to obtain a bonus status, and the bonus is adjusted according to the bonus status.
[0006] Optionally, in the energy consumption cost adjustment and control method described in the present application, the step of obtaining energy consumption information and energy consumption time data in the dormitory and extracting energy consumption account data according to the energy consumption information includes: Obtain energy usage information and energy usage time data in the dormitory, and extract energy usage account data based on the energy usage information; The energy consumption account data includes the account initial balance data and the number of people receiving free energy consumption data; The account initial balance data includes an initial balance of electricity charges and an initial balance of water charges.
[0007] Optionally, in the energy consumption cost adjustment and control method described in the present application, the energy consumption time data and the energy consumption account data are processed to obtain the total amount of gift fees data, including the total amount of gift electricity data and the total amount of gift water data, including: According to the energy consumption time data, a preset free fee quota database is queried to obtain free fee quota data; The free gift quota data includes fixed quota data and per capita quota data. The fixed quota data includes fixed quota data for free electricity and fixed quota data for free water. The per capita quota data includes average free electricity quota data and average free water quota data. The data of the total amount of electricity donated is obtained by processing the fixed amount data of electricity donated and the average amount data of electricity donated in combination with the number of people with electricity donated and the preset electricity price; The free water fixed amount data and the free water average amount data are processed in combination with the free water number data and the preset water price to obtain the free water total amount data.
[0008] Optionally, in the energy consumption cost adjustment and control method described in the present application, the historical weather data and real-time weather data corresponding to the energy consumption time data are obtained and processed to obtain energy consumption influencing factors, and the energy consumption account data and preset per capita energy consumption data are combined for processing to obtain expected energy consumption cost data, including expected electricity cost data and expected water cost data, including: Obtain historical weather data, real-time weather data, and preset per capita energy consumption data corresponding to the energy consumption time data, where the preset per capita energy consumption data includes preset per capita electricity consumption data and preset per capita water consumption data; The historical weather data includes historical temperature, historical humidity, historical light intensity and historical light duration, and the real-time weather data includes real-time temperature, real-time humidity, real-time light intensity and real-time light duration; Processing is performed according to the historical temperature, historical humidity, historical light intensity and historical light duration as well as the real-time temperature, real-time humidity, real-time light intensity and real-time light duration to obtain an energy consumption influencing factor; The expected electricity cost data is obtained by processing the data on the number of people receiving the free electricity, the preset per capita electricity consumption data, the energy consumption influencing factors and the preset electricity price; The expected water cost data is obtained by processing the data on the number of people receiving the free water, the preset per capita water use data, the energy use influencing factors and the preset water price.
[0009] Optionally, in the energy consumption cost adjustment and control method described in the present application, the comparing and processing of the total amount of the gift with the expected energy cost data to obtain the gift profit and loss rate includes: Compare the total amount of the gift with the expected energy cost data to obtain the gift profit and loss rate, including the gift surplus rate and the gift loss rate. The gift surplus rate includes the gift electricity surplus rate and the gift water surplus rate. The gift loss rate includes the gift electricity loss rate and the gift water loss rate. If the total amount of electricity donation data is greater than the expected electricity cost data, the electricity donation surplus rate is obtained by processing the total amount of electricity donation data and the expected electricity cost data; If the total amount of donated electricity is less than or equal to the expected electricity cost, the donated electricity loss rate is obtained by processing the total amount of donated electricity and the expected electricity cost; If the total amount of free water is greater than the expected water cost, the free water surplus rate is obtained by processing the total amount of free water and the expected water cost; If the data of the total amount of free water is less than or equal to the data of the expected water use fee, the data of the total amount of free water and the expected water use fee are processed to obtain the free water loss rate.
[0010] Optionally, in the energy consumption cost adjustment and control method described in the present application, the step of comparing the bonus profit and loss rate with a preset bonus profit and loss threshold to obtain a bonus status, and adjusting the bonus according to the bonus status includes: The gift fee profit and loss rate is compared with a preset gift fee profit and loss threshold, the preset gift fee profit and loss threshold includes a preset electricity gift profit and loss threshold and a preset water gift profit and loss threshold, the preset electricity gift profit and loss threshold includes an electricity gift surplus threshold and an electricity gift deficit threshold, and the preset water gift profit and loss threshold includes a water gift surplus threshold and a water gift deficit threshold; If the electricity gift surplus rate is less than or equal to the preset electricity gift surplus threshold, the gift status is determined to be normal; If the electricity gift surplus rate is greater than the preset electricity gift surplus threshold, the gift fee status is determined to be an excess gift fee, and the total amount of electricity gift data is adjusted; If the free electricity deficit rate is less than or equal to the preset free electricity deficit threshold, the free electricity status is determined to be normal; If the electricity gift deficit rate is greater than the preset electricity gift deficit threshold, the gift status is determined to be a gift deficit, and the total amount of electricity gift data is adjusted; If the free water surplus rate is less than or equal to the preset free water surplus threshold, the free water status is determined to be normal; If the free water surplus rate is greater than the preset free water surplus threshold, the free water status is determined to be excessive free water, and the free water total amount data is adjusted; If the free water deficit rate is less than or equal to the preset free water deficit threshold, the free water status is determined to be normal; If the free water loss rate is greater than the preset free water loss threshold, the free water status is determined to be free water loss, and the free water total amount data is adjusted.
[0011] Optionally, the energy consumption cost adjustment and control method described in the present application further includes: Obtain meter data of the dormitory, including electricity meter data and water meter data, the electricity meter data includes electricity start code data and electricity stop code data, and the water meter data includes water start code data and water stop code data; The electricity cost data is obtained by processing the electricity start code data and the electricity stop code data in combination with the preset electricity price; Processing the water start code data and the water stop code data in combination with a preset water price to obtain water use fee data; Comparing the total amount of donated electricity data with the electricity cost data; If the total amount of free electricity is greater than or equal to the electricity fee, the initial balance of electricity is the real-time balance of electricity; If the total amount of free electricity data is less than the electricity cost data, the total amount of free electricity data and the electricity cost data are processed in combination with the initial balance of electricity charges to obtain real-time balance data of electric energy; Comparing the total amount of free water with the water use fee data; If the total amount of free water is greater than or equal to the water usage fee, the initial water fee balance is the real-time water energy balance; If the data of the total amount of free water is less than the data of water use fee, the data of the total amount of free water and the water use fee are processed in combination with the initial balance of water fee to obtain the real-time balance data of water energy.
[0012] Optionally, the energy consumption cost adjustment and control method described in the present application further includes: Comparing the real-time balance data of the account with a preset energy consumption control threshold, where the preset energy consumption control threshold includes an electric energy control threshold and a water energy control threshold; If the real-time balance data of electric energy is less than or equal to the electric energy regulation threshold, it is determined that the balance state of the electricity bill account is insufficient, and the energy control solution is to shut down the meter; If the real-time balance data of electric energy is greater than the electric energy regulation threshold, the balance state of the electricity bill account is determined to be normal, and the average daily electricity bill data within the preset time period is obtained, combined with the real-time balance data of electric energy for processing, to obtain the predicted available days of electricity bill; The predicted available days of the electricity bill are compared with the preset collection days threshold. If it is less than or equal to the preset collection days threshold, the energy control scheme is to activate the electricity bill collection reminder. If it is greater than the preset collection days threshold, the energy control scheme is not to activate the electricity bill collection reminder. If the real-time water energy balance data is less than or equal to the water energy regulation threshold, the water fee account balance status is determined to be insufficient, and the energy control solution is to close the water meter valve; If the real-time water energy balance data is greater than the water energy regulation threshold, the water fee account balance status is determined to be normal, and the average daily water fee data within the preset time period is obtained, combined with the real-time water energy balance data for processing, to obtain the water fee prediction available days data; The water fee prediction available days data is compared with the preset collection days threshold. If it is less than or equal to the preset collection days threshold, the energy control plan is to activate the water fee collection reminder. If it is greater than the preset collection days threshold, the energy control plan is not to activate the water fee collection reminder.
[0013] In a second aspect, the present application provides an energy consumption cost adjustment and control system, the system comprising: a memory and a processor, the memory comprising a program of an energy consumption cost adjustment and control method, the program of the energy consumption cost adjustment and control method being executed by the processor to implement the following steps: Obtain energy usage information and energy usage time data in the dormitory, and extract energy usage account data based on the energy usage information; Processing the energy consumption time data and the energy consumption account data to obtain total amount data of gift fees, including total amount data of gift electricity and total amount data of gift water; Obtain historical weather data and real-time weather data corresponding to the energy consumption time data, and process them to obtain energy consumption influencing factors, and process them in combination with the energy consumption account data and preset per capita energy consumption data to obtain expected energy consumption cost data, including expected electricity cost data and expected water cost data; Compare the total amount of the gift fee with the expected energy cost data to obtain a gift fee profit and loss rate; The bonus profit and loss rate is compared with a preset bonus profit and loss threshold to obtain a bonus status, and the bonus is adjusted according to the bonus status.
[0014] In a third aspect, the present application also provides a computer-readable storage medium, which stores an energy consumption cost adjustment and control method program. When the energy consumption cost adjustment and control method program is executed by a processor, the steps of an energy consumption cost adjustment and control method as described in any one of the above items are implemented.
[0015] From the above, it can be seen that the energy consumption cost adjustment and control method, system and medium provided in this application realize reasonable gift adjustment and energy control of water and electricity charges by calculating the gift profit and loss rate based on the total gift amount data and the expected energy consumption cost data and performing threshold comparison.
[0016] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the embodiments of the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 A flow chart of an energy consumption cost adjustment and control method provided in an embodiment of the present application; Figure 2 A flowchart of obtaining total amount of gift fees data for an energy consumption cost adjustment and control method provided in an embodiment of the present application; Figure 3 A flowchart of obtaining expected energy cost data for an energy consumption cost adjustment and control method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0019] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0020] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0021] Please refer to Figure 1 , Figure 1 1 is a flow chart of an energy consumption cost adjustment and control method in some embodiments of the present application. The energy consumption cost adjustment and control method is used in terminal equipment, such as computers, mobile phone terminals, etc. The energy consumption cost adjustment and control method includes the following steps: S11, obtaining energy usage information and energy usage time data in the dormitory, and extracting energy usage account data according to the energy usage information; S12, obtaining data on the total amount of free gifts, including data on the total amount of free electricity and data on the total amount of free water, by processing the data on the energy consumption time and the data on the energy consumption account; S13, obtaining historical weather data and real-time weather data corresponding to the energy consumption time data, and processing them to obtain energy consumption influencing factors, and combining the energy consumption account data and the preset per capita energy consumption data to process them to obtain expected energy consumption cost data, including expected electricity cost data and expected water cost data; S14, comparing the total amount of the gift with the expected energy cost data to obtain a gift profit and loss rate; S15. Compare the bonus profit and loss rate with a preset bonus profit and loss threshold to obtain a bonus status, and adjust the bonus according to the bonus status.
[0022] It should be noted that in order to achieve statistical adjustments to the water and electricity free fees for employee dormitories and the use of water and electricity fees, we first obtain the energy consumption information and energy consumption time data in the dormitory, extract the energy consumption account data based on the energy consumption information, clarify the initial balance of the dormitory's water and electricity account and the number of people in the dormitory, and determine the total amount of free fees provided by the company for the dormitory based on the dormitory's energy consumption time data. Then, analyze the impact of weather on energy consumption, combine the energy consumption account data and the preset per capita energy consumption data for processing, obtain the expected energy consumption cost data, compare the total amount of free fees with the expected energy consumption cost data, obtain the free fee profit and loss rate, and finally perform threshold comparison to obtain the free fee status, and adjust the free fee based on the free fee status.
[0023] According to an embodiment of the present invention, obtaining energy usage information and energy usage time data in a dormitory, and extracting energy usage account data according to the energy usage information include: Obtain energy usage information and energy usage time data in the dormitory, and extract energy usage account data based on the energy usage information; The energy consumption account data includes the account initial balance data and the number of people receiving free energy consumption data; The account initial balance data includes an initial balance of electricity charges and an initial balance of water charges.
[0024] It should be noted that in order to achieve reasonable free charges on demand and intelligent control of water and electricity energy, it is necessary to obtain energy consumption information and energy consumption time data in the dormitory, and extract energy consumption account data including account initial balance data and free charge number data based on the energy consumption information, among which the account initial balance data includes the initial balance of electricity charges and the initial balance of water charges.
[0025] Please refer to Figure 2 , Figure 2 The present invention is a flowchart of obtaining the total amount of free gift data of an energy consumption cost adjustment and control method in some embodiments of the present application. According to an embodiment of the present invention, the total amount of free gift data is obtained by processing the energy consumption time data and the energy consumption account data, including the total amount of free electricity data and the total amount of free water data, including: S21, querying a preset free fee quota database according to the energy consumption time data to obtain free fee quota data; S22, the free fee quota data includes fixed quota data and per capita quota data, the fixed quota data includes free electricity fixed quota data and free water fixed quota data, and the per capita quota data includes free electricity average quota data and free water average quota data; S23, processing the fixed amount data of free electricity and the average amount data of free electricity in combination with the number of people with free electricity and the preset electricity price to obtain the total amount data of free electricity; S24, processing the data on the fixed amount of free water and the average amount of free water in combination with the data on the number of people receiving free water and the preset water price to obtain data on the total amount of free water.
[0026] It should be noted that in order to make reasonable gifts according to different energy consumption times, firstly, the preset gift amount database is queried according to the energy consumption time data, wherein the preset gift amount database is obtained by querying the preset water and electricity fee statistics adjustment management platform, and the preset gift amount database can be used to query and obtain the fixed gift amount of water and electricity corresponding to different times and the relevant data of the per capita gift amount. The electricity fee gift includes the fixed gift amount data and the average gift amount data, and the water fee gift includes the fixed gift amount data and the average gift amount data; then, the fixed gift amount data and the average gift amount data are combined with the gift amount number data and the preset electricity price to obtain the total gift amount data; The calculation formula for the total amount of donated electricity is: ; in, The total amount of electricity donated is , , , They are the fixed amount of free electricity data, the average amount of free electricity data, the number of people receiving free electricity data and the preset electricity price; Then, the data of the fixed amount of free water and the average amount of free water are processed together with the data of the number of people receiving free water and the preset water price to obtain the data of the total amount of free water; The calculation formula for the total amount of free water is: ; in, The total amount of donated water is , , , They are the fixed amount of free water, the average amount of free water, the number of people receiving free water and the preset water price.
[0027] Please refer to Figure 3 , Figure 3 It is a flow chart of obtaining expected energy cost data of an energy consumption cost adjustment and control method in some embodiments of the present application. According to an embodiment of the present invention, the historical weather data and real-time weather data corresponding to the energy consumption time data are obtained and processed to obtain energy consumption influencing factors, and the energy consumption account data and the preset per capita energy consumption data are combined for processing to obtain expected energy consumption cost data, including expected electricity cost data and expected water cost data, including: S31, obtaining historical weather data, real-time weather data and preset per capita energy consumption data corresponding to the energy consumption time data, wherein the preset per capita energy consumption data includes preset per capita electricity consumption data and preset per capita water consumption data; S32, the historical weather data includes historical temperature, historical humidity, historical light intensity and historical light duration, and the real-time weather data includes real-time temperature, real-time humidity, real-time light intensity and real-time light duration; S33, processing according to the historical temperature, historical humidity, historical light intensity and historical light duration and the real-time temperature, real-time humidity, real-time light intensity and real-time light duration to obtain an energy consumption influencing factor; S34, obtaining expected electricity cost data by processing according to the data on the number of people receiving the free electricity, the preset per capita electricity consumption data, the energy consumption influencing factors and the preset electricity price; S35, processing is performed according to the data on the number of people using the free water, the preset per capita water use data, the energy use influencing factors and the preset water price to obtain expected water use cost data.
[0028] It should be noted that in order to estimate the energy consumption data corresponding to the dormitory and to evaluate whether the free fee is reasonable, firstly, the historical weather data including the historical temperature, historical humidity, historical light intensity and historical light duration corresponding to the energy consumption time data and the real-time weather data including the real-time temperature, real-time humidity, real-time light intensity and real-time light duration are obtained, and processed to obtain the energy consumption influencing factors; The energy consumption influencing factor calculation formula is: ; in, is the energy consumption influencing factor, , , , They are historical temperature, historical humidity, historical light intensity and historical light duration. , , , They are real-time temperature, real-time humidity, real-time light intensity and real-time light duration. , , , The preset characteristic coefficient (the characteristic coefficient is obtained by querying the preset water and electricity fee statistics adjustment management platform); Then, according to the data of the number of people receiving the free energy subsidy, the preset per capita energy consumption data and the energy consumption influencing factors and the preset electricity price, the expected energy consumption cost data, including the expected electricity consumption cost data and the expected water consumption cost data, are obtained; The expected electricity cost data calculation formula is: ; in, is the expected electricity cost data, , , , They are the number of people receiving free electricity, the preset per capita electricity consumption data, the energy consumption influencing factors and the preset electricity price. It is a preset characteristic coefficient (the characteristic coefficient is obtained by querying the preset water and electricity fee statistics adjustment management platform). There is external data interaction between the preset water and electricity fee statistics adjustment management platform and the characteristic coefficient of this technical solution; The expected water cost calculation formula is: ; in, is the expected water cost data, , , , They are the number of people receiving the subsidy, the preset per capita water consumption data, the energy consumption influencing factors and the preset water price. It is the preset characteristic coefficient (the characteristic coefficient is obtained by querying the preset water fee statistics adjustment management platform).
[0029] According to an embodiment of the present invention, the step of comparing the total amount of the gift with the expected energy cost data to obtain the gift profit and loss rate includes: Compare the total amount of the gift with the expected energy cost data to obtain the gift profit and loss rate, including the gift surplus rate and the gift loss rate. The gift surplus rate includes the gift electricity surplus rate and the gift water surplus rate. The gift loss rate includes the gift electricity loss rate and the gift water loss rate. If the total amount of electricity donation data is greater than the expected electricity cost data, the electricity donation surplus rate is obtained by processing the total amount of electricity donation data and the expected electricity cost data; If the total amount of donated electricity is less than or equal to the expected electricity cost, the donated electricity loss rate is obtained by processing the total amount of donated electricity and the expected electricity cost; If the total amount of free water is greater than the expected water cost, the free water surplus rate is obtained by processing the total amount of free water and the expected water cost; If the data of the total amount of free water is less than or equal to the data of the expected water use fee, the data of the total amount of free water and the expected water use fee are processed to obtain the free water loss rate.
[0030] It should be noted that if the total amount of electricity gift data obtained is greater than the expected electricity cost data, indicating that there is a surplus in the gift fee, the total amount of electricity gift data and the expected electricity cost data are processed to obtain the surplus rate of electricity gift, which refers to the ratio of the difference between the total amount of electricity gift data and the expected electricity cost data to the total amount of electricity gift data. If the total amount of water gift data obtained is greater than the expected water cost data, the total amount of water gift data and the expected water cost data are processed to obtain the surplus rate of water gift, which refers to the ratio of the difference between the total amount of water gift data and the expected water cost data to the total amount of water gift data. If the obtained total amount of electricity gift data is less than or equal to the expected electricity consumption cost data, it means that the gift amount is insufficient. The total amount of electricity gift data and the expected electricity consumption cost data are processed to obtain the electricity gift loss rate. The electricity gift loss rate refers to the ratio of the absolute value of the difference between the total amount of electricity gift data and the expected electricity consumption cost data to the total amount of electricity gift data. If the obtained total amount of water gift data is greater than the expected water consumption cost data, the total amount of water gift data and the expected water consumption cost data are processed to obtain the water gift loss rate. The water gift loss rate refers to the ratio of the absolute value of the difference between the total amount of water gift data and the expected water consumption cost data to the total amount of water gift data.
[0031] According to an embodiment of the present invention, the bonus profit and loss rate is compared with a preset bonus profit and loss threshold to obtain a bonus status, and the bonus is adjusted according to the bonus status, including: The gift fee profit and loss rate is compared with a preset gift fee profit and loss threshold, the preset gift fee profit and loss threshold includes a preset electricity gift profit and loss threshold and a preset water gift profit and loss threshold, the preset electricity gift profit and loss threshold includes an electricity gift surplus threshold and an electricity gift deficit threshold, and the preset water gift profit and loss threshold includes a water gift surplus threshold and a water gift deficit threshold; If the electricity gift surplus rate is less than or equal to the preset electricity gift surplus threshold, the gift status is determined to be normal; If the electricity gift surplus rate is greater than the preset electricity gift surplus threshold, the gift fee status is determined to be an excess gift fee, and the total amount of electricity gift data is adjusted; If the free electricity deficit rate is less than or equal to the preset free electricity deficit threshold, the free electricity status is determined to be normal; If the electricity gift deficit rate is greater than the preset electricity gift deficit threshold, the gift status is determined to be a gift deficit, and the total amount of electricity gift data is adjusted; If the free water surplus rate is less than or equal to the preset free water surplus threshold, the free water status is determined to be normal; If the free water surplus rate is greater than the preset free water surplus threshold, the free water status is determined to be excessive free water, and the free water total amount data is adjusted; If the free water deficit rate is less than or equal to the preset free water deficit threshold, the free water status is determined to be normal; If the free water loss rate is greater than the preset free water loss threshold, the free water status is determined to be free water loss, and the free water total amount data is adjusted.
[0032] It should be noted that the obtained gift fee profit and loss rate is compared with the preset gift fee profit and loss threshold. In this embodiment, the electricity gift surplus threshold is set to 0.45, and the water gift surplus threshold is set to 0.35. For example, if the obtained electricity gift surplus rate is 0.3, which is less than the preset electricity gift surplus threshold, the gift fee status is determined to be normal and no adjustment is required. If the obtained electricity gift surplus rate is 0.5, which is greater than the preset electricity gift surplus threshold, the gift fee status is determined to be excessive, and the total amount of electricity gift data needs to be adjusted; if the obtained water gift surplus rate is 0.25, which is less than the preset water gift surplus threshold, the gift fee status is determined to be normal and no adjustment is required. If the obtained water gift surplus rate is 0.4, which is greater than the preset water gift surplus threshold, the gift fee status is determined to be excessive, and the total amount of water gift data needs to be adjusted; The electricity gift deficit threshold is set to 0.4, and the water gift deficit threshold is set to 0.55. For example, if the obtained electricity gift deficit rate is 0.3, which is less than the preset electricity gift deficit threshold, the gift fee status is determined to be normal and no adjustment is required. If the obtained electricity gift deficit rate is 0.5, which is greater than the preset electricity gift deficit threshold, the gift fee status is determined to be excessive and the total electricity gift amount data needs to be adjusted. If the obtained water gift deficit rate is 0.25, which is less than the preset water gift deficit threshold, the gift fee status is determined to be normal and no adjustment is required. If the obtained water gift deficit rate is 0.6, which is greater than the preset water gift deficit threshold, the gift fee status is determined to be excessive and the total water gift amount data needs to be adjusted.
[0033] According to an embodiment of the present invention, it also includes: Obtain meter data of the dormitory, including electricity meter data and water meter data, the electricity meter data includes electricity start code data and electricity stop code data, and the water meter data includes water start code data and water stop code data; The electricity cost data is obtained by processing the electricity start code data and the electricity stop code data in combination with the preset electricity price; Processing the water start code data and the water stop code data in combination with a preset water price to obtain water use fee data; Comparing the total amount of donated electricity data with the electricity cost data; If the total amount of free electricity is greater than or equal to the electricity fee, the initial balance of electricity is the real-time balance of electricity; If the total amount of free electricity data is less than the electricity cost data, the total amount of free electricity data and the electricity cost data are processed in combination with the initial balance of electricity charges to obtain real-time balance data of electric energy; Comparing the total amount of free water with the water use fee data; If the total amount of free water is greater than or equal to the water usage fee, the initial water fee balance is the real-time water energy balance; If the data of the total amount of free water is less than the data of water use fee, the data of the total amount of free water and the water use fee are processed in combination with the initial balance of water fee to obtain the real-time balance data of water energy.
[0034] It should be noted that in order to determine the water and electricity charges of the dormitory, firstly, the electric meter data including the electric start data and the electric stop code data, and the water meter data including the water start data and the water stop code data are obtained, and then they are processed in combination with the preset electric price and the preset water price respectively to obtain the electric fee data and the water fee data; The calculation formula for the electricity cost data is: ; in, For electricity cost data, , , They are electricity start code data, electricity stop code data and preset electricity price; The water cost data calculation formula is: ; in, For water cost data, , , They are water starting data, water stopping data and preset water price; In order to confirm the account balance of the dormitory, first compare the total amount of free electricity data with the electricity cost data. If the total amount of free electricity data is greater than or equal to the electricity cost data, it means that the free electricity has not been used up, and the initial balance of the electricity cost is the real-time balance of electricity. If the total amount of free electricity data is less than the electricity cost data, it means that the free electricity has been used up, and it is necessary to further confirm the amount to be deducted from the dormitory account. Specifically, the total amount of free electricity data and the electricity cost data are processed in combination with the initial balance of the electricity cost to obtain the real-time balance of electricity. The calculation formula for the real-time balance data of electric energy is: ; in, Real-time balance data of electric energy. , , They are the total amount of free electricity, electricity cost and initial balance of electricity bill; Then the data of the total amount of free water is compared with the water use fee data. If the data of the total amount of free water is greater than or equal to the water use fee data, it means that the free water fee has not been used up, and the initial balance of the water fee is the real-time balance data of water energy. If the data of the total amount of free water is less than the water use fee data, it means that the free water fee has been used up, and it is necessary to further confirm the amount to be deducted from the dormitory account. Specifically, the data of the total amount of free water and the water use fee data are processed in combination with the initial balance of the water fee to obtain the real-time balance data of water energy. The calculation formula for the real-time water energy balance data is: ; in, Real-time water energy balance data, , , They are the total amount of free water, water usage fee and initial balance of water fee.
[0035] According to an embodiment of the present invention, it also includes: Comparing the real-time balance data of the account with a preset energy consumption control threshold, where the preset energy consumption control threshold includes an electric energy control threshold and a water energy control threshold; If the real-time balance data of electric energy is less than or equal to the electric energy regulation threshold, it is determined that the balance state of the electricity bill account is insufficient, and the energy control solution is to shut down the meter; If the real-time balance data of electric energy is greater than the electric energy regulation threshold, the balance state of the electricity bill account is determined to be normal, and the average daily electricity bill data within the preset time period is obtained, combined with the real-time balance data of electric energy for processing, to obtain the predicted available days of electricity bill; The predicted available days of the electricity bill are compared with the preset collection days threshold. If it is less than or equal to the preset collection days threshold, the energy control scheme is to activate the electricity bill collection reminder. If it is greater than the preset collection days threshold, the energy control scheme is not to activate the electricity bill collection reminder. If the real-time water energy balance data is less than or equal to the water energy regulation threshold, the water fee account balance status is determined to be insufficient, and the energy control solution is to close the water meter valve; If the real-time water energy balance data is greater than the water energy regulation threshold, the water fee account balance status is determined to be normal, and the average daily water fee data within the preset time period is obtained, combined with the real-time water energy balance data for processing, to obtain the water fee prediction available days data; The water fee prediction available days data is compared with the preset collection days threshold. If it is less than or equal to the preset collection days threshold, the energy control plan is to activate the water fee collection reminder. If it is greater than the preset collection days threshold, the energy control plan is not to activate the water fee collection reminder.
[0036] It should be noted that after confirming the dormitory account balance, a corresponding energy control plan is generated according to the balance status. First, the real-time balance data of electric energy is compared with the electric energy regulation threshold. In this embodiment, the electric energy regulation threshold is set to 5 yuan. If it is less than or equal to the electric energy regulation threshold, the balance status of the electricity bill account is determined to be insufficient, and the energy control plan is to turn off the meter and remind the user to recharge in time; if it is greater than the electric energy regulation threshold, the balance status of the electricity bill account is determined to be normal, and the predicted usage days of the balance are further determined. Specifically, the average daily electricity bill data within the preset time period is obtained, combined with the electric energy The real-time balance data is processed to obtain the number of days available for electricity bill prediction. For example, if the average daily electricity bill data is 1.5 yuan and the real-time balance data of electric energy is 6 yuan, then 6 / 1.5=4 is the number of days available for electricity bill prediction. Then the obtained number of days available for electricity bill prediction is compared with the preset collection days threshold. In this embodiment, the preset collection days threshold is set to 5 days. If it is less than or equal to the preset collection days threshold, the energy control scheme is to activate the electricity bill collection reminder to prevent power outages caused by too low electricity bills. If it is greater than the preset collection days threshold, the energy control scheme is not to activate the electricity bill collection reminder. Then the real-time water energy balance data is compared with the water energy regulation threshold. In this embodiment, the water energy regulation threshold is set to 6 yuan. If it is less than or equal to the water energy regulation threshold, the water fee account balance state is determined to be insufficient balance, and the energy control solution is to close the water meter valve to remind the user to recharge in time; if it is greater than the water energy regulation threshold, the water fee account balance state is determined to be normal balance, and the predicted balance usage days are further determined, specifically, the average daily water fee data within a preset time period is obtained, combined with the real-time water energy balance data for processing, to obtain the water fee prediction available days, for example, the average daily water fee data is 0.2 yuan, and the real-time water energy balance data is 5 yuan, then 5 / 0.2=25 is the water fee prediction available days; then the obtained water fee prediction available days are compared with the preset collection days threshold. In this embodiment, the preset collection days threshold is set to 10 days. If it is less than or equal to the preset collection days threshold, the energy control solution is to activate the water fee collection reminder to prevent the valve from being closed due to too low water fees. If it is greater than the preset collection days threshold, the energy control solution is not to activate the water fee collection reminder.
[0037] It is worth mentioning that according to an embodiment of the present invention, it also includes: Obtain real-time recharge amount data of dormitory accounts, including electricity recharge data and water recharge data; The electricity charge recharge data and the electric energy real-time balance data are summed to obtain the current balance data of the electricity charge; Compare the current balance data of the electricity fee with the electric energy regulation threshold, if it is less than or equal to the preset electric energy regulation threshold, activate the insufficient balance reminder, if it is greater than the preset electric energy regulation threshold and the electric meter is in the electric meter disconnected state, activate the closing response; The water charge recharge data and the water energy real-time balance data are summed to obtain the water charge current balance data; The current balance data of the water fee is compared with the water energy regulation threshold. If it is less than or equal to the water energy regulation threshold, the insufficient balance reminder is activated. If it is greater than the water energy regulation threshold and the water meter is in the water meter valve closing state, the valve opening response is activated.
[0038] It should be noted that when the user in the dormitory completes the recharge of the electricity meter or water meter, it is necessary to control the switch of the electricity meter or water meter according to the change of the balance. First, the electricity charge recharge data and the water charge recharge data are obtained, and then the electricity charge recharge data and the real-time balance data of electric energy are summed to obtain the current balance data of the electricity charge, and compared with the electric energy regulation threshold. If it is less than or equal to the electric energy regulation threshold, it means that the recharge amount is too low, and the insufficient balance reminder is activated. If it is greater than the electric energy regulation threshold, it means that the recharge amount is sufficient, and the electricity meter is in the meter-off state, then the closing response is activated and the switch is closed for power supply; the water charge recharge data and the real-time balance data of water energy are summed to obtain the current balance data of the water charge, and compared with the water energy regulation threshold. If it is less than or equal to the water energy regulation threshold, it means that the recharge amount is too low, and the insufficient balance reminder is activated. If it is greater than the water energy regulation threshold, it means that the recharge amount is sufficient, and the water meter is in the water meter valve-off state, then the valve-opening response is activated, and the valve is opened for water supply.
[0039] It is worth mentioning that according to an embodiment of the present invention, it also includes: Obtain peak and valley electricity consumption; Querying a preset electricity price list according to the energy consumption time data to obtain real-time electricity prices, including peak electricity prices and valley electricity prices; The peak-time electricity price and the corresponding peak-time electricity consumption and the valley-time electricity price and the corresponding valley-time electricity consumption are processed to obtain electricity cost correction data.
[0040] It should be noted that the municipal power supply sets peak and valley electricity prices according to the power supply time. In order to obtain the electricity cost of the dormitory more accurately, the peak and valley electricity consumption are first obtained, and then the corresponding peak and valley electricity prices are calculated to obtain the electricity cost correction data; The calculation formula for the electricity cost correction data is: ; in, Correction data for electricity costs, , are peak electricity consumption and peak electricity price, respectively. , They are off-peak electricity consumption and off-peak electricity price respectively.
[0041] It is worth mentioning that according to an embodiment of the present invention, it also includes: Obtain the real-time annual water consumption of the dormitory, including first-tier water consumption, second-tier water consumption, and third-tier water consumption; The first-tier water consumption, the second-tier water consumption and the third-tier water consumption are processed in combination with the corresponding preset first water price, preset second water price and preset third water price to obtain water cost correction data.
[0042] It should be noted that the municipal water supply sets tiered water prices according to different annual water consumption. In order to obtain the water consumption of the dormitory more accurately, the real-time annual water consumption of the dormitory, including the first tier water consumption, the second tier water consumption and the third tier water consumption, is obtained, and then combined with the corresponding preset first water price, preset second water price and preset third water price for processing to obtain the water consumption fee correction data; The water cost correction data calculation formula is: ; in, Corrected data for water charges, , , They are the first-tier water consumption, the second-tier water consumption and the third-tier water consumption. , , The preset first water price, the preset second water price and the preset third water price are respectively.
[0043] The present invention also discloses an energy consumption cost adjustment and control system, including a memory and a processor, wherein the memory includes an energy consumption cost adjustment and control method program, and when the energy consumption cost adjustment and control method program is executed by the processor, the following steps are implemented: Obtain energy usage information and energy usage time data in the dormitory, and extract energy usage account data based on the energy usage information; Processing the energy consumption time data and the energy consumption account data to obtain total amount data of gift fees, including total amount data of gift electricity and total amount data of gift water; Obtain historical weather data and real-time weather data corresponding to the energy consumption time data, and process them to obtain energy consumption influencing factors, and process them in combination with the energy consumption account data and preset per capita energy consumption data to obtain expected energy consumption cost data, including expected electricity cost data and expected water cost data; Compare the total amount of the gift fee with the expected energy cost data to obtain a gift fee profit and loss rate; The expected electricity cost data is obtained by processing the data on the number of people receiving the free electricity, the preset per capita electricity consumption data, the energy consumption influencing factors and the preset electricity price; The expected water cost data is obtained by processing the data on the number of people receiving the free water, the preset per capita water use data, the energy use influencing factors and the preset water price.
[0044] It should be noted that in order to achieve statistical adjustments to the water and electricity free fees for employee dormitories and the use of water and electricity fees, we first obtain the energy consumption information and energy consumption time data in the dormitory, extract the energy consumption account data based on the energy consumption information, clarify the initial balance of the dormitory's water and electricity account and the number of people in the dormitory, and determine the total amount of free fees provided by the company for the dormitory based on the dormitory's energy consumption time data. Then, analyze the impact of weather on energy consumption, combine the energy consumption account data and the preset per capita energy consumption data for processing, obtain the expected energy consumption cost data, compare the total amount of free fees with the expected energy consumption cost data, obtain the free fee profit and loss rate, and finally perform threshold comparison to obtain the free fee status, and adjust the free fee based on the free fee status.
[0045] According to an embodiment of the present invention, obtaining energy usage information and energy usage time data in a dormitory, and extracting energy usage account data according to the energy usage information include: Obtain energy usage information and energy usage time data in the dormitory, and extract energy usage account data based on the energy usage information; The energy consumption account data includes the account initial balance data and the number of people receiving free energy consumption data; The account initial balance data includes an initial balance of electricity charges and an initial balance of water charges.
[0046] It should be noted that in order to achieve reasonable free charges on demand and intelligent control of water and electricity energy, it is necessary to obtain energy consumption information and energy consumption time data in the dormitory, and extract energy consumption account data including account initial balance data and free charge number data based on the energy consumption information, among which the account initial balance data includes the initial balance of electricity charges and the initial balance of water charges.
[0047] According to an embodiment of the present invention, the energy consumption time data and the energy consumption account data are processed to obtain the total amount of gift fees data, including the total amount of gift electricity data and the total amount of gift water data, including: According to the energy consumption time data, a preset free fee quota database is queried to obtain free fee quota data; The free gift quota data includes fixed quota data and per capita quota data. The fixed quota data includes fixed quota data for free electricity and fixed quota data for free water. The per capita quota data includes average free electricity quota data and average free water quota data. The data of the total amount of electricity donated is obtained by processing the fixed amount data of electricity donated and the average amount data of electricity donated in combination with the number of people with electricity donated and the preset electricity price; The free water fixed amount data and the free water average amount data are processed in combination with the free water number data and the preset water price to obtain the free water total amount data.
[0048] It should be noted that in order to make reasonable gifts according to different energy consumption times, firstly, the preset gift amount database is queried according to the energy consumption time data, wherein the preset gift amount database is obtained by querying the preset water and electricity fee statistics adjustment management platform, and the preset gift amount database can be used to query and obtain the fixed gift amount of water and electricity and the relevant data of the per capita gift amount corresponding to different times, the electricity fee gift includes the fixed gift amount data and the average gift amount data, and the water fee gift includes the fixed gift amount data and the average gift amount data; then, the fixed gift amount data and the average gift amount data are combined with the gift amount number data and the preset electricity price to obtain the total gift amount data; The calculation formula for the total amount of donated electricity is: ; in, The total amount of electricity donated is , , , They are the fixed amount of free electricity data, the average amount of free electricity data, the number of people receiving free electricity data and the preset electricity price; Then, the data of the fixed amount of free water and the average amount of free water are processed together with the data of the number of people receiving free water and the preset water price to obtain the data of the total amount of free water; The calculation formula for the total amount of free water is: ; in, The total amount of donated water is , , , They are the fixed amount of free water, the average amount of free water, the number of people receiving free water and the preset water price.
[0049] According to an embodiment of the present invention, the historical weather data and real-time weather data corresponding to the energy consumption time data are obtained and processed to obtain the energy consumption influencing factor, and the energy consumption account data and the preset per capita energy consumption data are combined for processing to obtain the expected energy consumption cost data, including the expected electricity cost data and the expected water cost data, including: Obtain historical weather data, real-time weather data, and preset per capita energy consumption data corresponding to the energy consumption time data, where the preset per capita energy consumption data includes preset per capita electricity consumption data and preset per capita water consumption data; The historical weather data includes historical temperature, historical humidity, historical light intensity and historical light duration, and the real-time weather data includes real-time temperature, real-time humidity, real-time light intensity and real-time light duration; Processing is performed according to the historical temperature, historical humidity, historical light intensity and historical light duration as well as the real-time temperature, real-time humidity, real-time light intensity and real-time light duration to obtain an energy consumption influencing factor; According to the data on the number of people receiving free energy, the preset per capita energy consumption data, the energy consumption influencing factors and the preset electricity price, processing is performed to obtain expected energy consumption cost data, including expected electricity consumption cost data and expected water consumption cost data.
[0050] It should be noted that in order to estimate the energy consumption data corresponding to the dormitory and to evaluate whether the free fee is reasonable, firstly, the historical weather data including the historical temperature, historical humidity, historical light intensity and historical light duration corresponding to the energy consumption time data and the real-time weather data including the real-time temperature, real-time humidity, real-time light intensity and real-time light duration are obtained, and processed to obtain the energy consumption influencing factors; The energy consumption influencing factor calculation formula is: ; in, is the energy consumption influencing factor, , , , They are historical temperature, historical humidity, historical light intensity and historical light duration. , , , They are real-time temperature, real-time humidity, real-time light intensity and real-time light duration. , , , The preset characteristic coefficient (the characteristic coefficient is obtained by querying the preset water and electricity fee statistics adjustment management platform); Then, according to the data of the number of people receiving the free energy subsidy, the preset per capita energy consumption data and the energy consumption influencing factors and the preset electricity price, the expected energy consumption cost data, including the expected electricity consumption cost data and the expected water consumption cost data, are obtained; The expected electricity cost data calculation formula is: ; in, is the expected electricity cost data, , , , They are the number of people receiving free electricity, the preset per capita electricity consumption data, the energy consumption influencing factors and the preset electricity price. It is a preset characteristic coefficient (the characteristic coefficient is obtained by querying the preset water and electricity fee statistics adjustment management platform). There is external data interaction between the preset water and electricity fee statistics adjustment management platform and the characteristic coefficient of this technical solution; The expected water cost calculation formula is: ; in, is the expected water cost data, , , , They are the number of people receiving the subsidy, the preset per capita water consumption data, the energy consumption influencing factors and the preset water price. It is the preset characteristic coefficient (the characteristic coefficient is obtained by querying the preset water fee statistics adjustment management platform).
[0051] According to an embodiment of the present invention, the step of comparing the total amount of the gift with the expected energy cost data to obtain the gift profit and loss rate includes: Compare the total amount of the gift with the expected energy cost data to obtain the gift profit and loss rate, including the gift surplus rate and the gift loss rate. The gift surplus rate includes the gift electricity surplus rate and the gift water surplus rate. The gift loss rate includes the gift electricity loss rate and the gift water loss rate. If the total amount of electricity donation data is greater than the expected electricity cost data, the electricity donation surplus rate is obtained by processing the total amount of electricity donation data and the expected electricity cost data; If the total amount of donated electricity is less than or equal to the expected electricity cost, the donated electricity loss rate is obtained by processing the total amount of donated electricity and the expected electricity cost; If the total amount of free water is greater than the expected water cost, the free water surplus rate is obtained by processing the total amount of free water and the expected water cost; If the data of the total amount of free water is less than or equal to the data of the expected water use fee, the data of the total amount of free water and the expected water use fee are processed to obtain the free water loss rate.
[0052] It should be noted that if the total amount of electricity gift data obtained is greater than the expected electricity cost data, indicating that there is a surplus in the gift fee, the total amount of electricity gift data and the expected electricity cost data are processed to obtain the surplus rate of electricity gift, which refers to the ratio of the difference between the total amount of electricity gift data and the expected electricity cost data to the total amount of electricity gift data. If the total amount of water gift data obtained is greater than the expected water cost data, the total amount of water gift data and the expected water cost data are processed to obtain the surplus rate of water gift, which refers to the ratio of the difference between the total amount of water gift data and the expected water cost data to the total amount of water gift data. If the obtained total amount of electricity gift data is less than or equal to the expected electricity consumption cost data, it means that the gift amount is insufficient. The total amount of electricity gift data and the expected electricity consumption cost data are processed to obtain the electricity gift loss rate. The electricity gift loss rate refers to the ratio of the absolute value of the difference between the total amount of electricity gift data and the expected electricity consumption cost data to the total amount of electricity gift data. If the obtained total amount of water gift data is greater than the expected water consumption cost data, the total amount of water gift data and the expected water consumption cost data are processed to obtain the water gift loss rate. The water gift loss rate refers to the ratio of the absolute value of the difference between the total amount of water gift data and the expected water consumption cost data to the total amount of water gift data.
[0053] According to an embodiment of the present invention, the bonus profit and loss rate is compared with a preset bonus profit and loss threshold to obtain a bonus status, and the bonus is adjusted according to the bonus status, including: The gift fee profit and loss rate is compared with a preset gift fee profit and loss threshold, the preset gift fee profit and loss threshold includes a preset electricity gift profit and loss threshold and a preset water gift profit and loss threshold, the preset electricity gift profit and loss threshold includes an electricity gift surplus threshold and an electricity gift deficit threshold, and the preset water gift profit and loss threshold includes a water gift surplus threshold and a water gift deficit threshold; If the electricity gift surplus rate is less than or equal to the preset electricity gift surplus threshold, the gift status is determined to be normal; If the electricity gift surplus rate is greater than the preset electricity gift surplus threshold, the gift fee status is determined to be an excess gift fee, and the total amount of electricity gift data is adjusted; If the free electricity deficit rate is less than or equal to the preset free electricity deficit threshold, the free electricity status is determined to be normal; If the electricity gift deficit rate is greater than the preset electricity gift deficit threshold, the gift status is determined to be a gift deficit, and the total amount of electricity gift data is adjusted; If the free water surplus rate is less than or equal to the preset free water surplus threshold, the free water status is determined to be normal; If the free water surplus rate is greater than the preset free water surplus threshold, the free water status is determined to be excessive free water, and the free water total amount data is adjusted; If the free water deficit rate is less than or equal to the preset free water deficit threshold, the free water status is determined to be normal; If the free water loss rate is greater than the preset free water loss threshold, the free water status is determined to be free water loss, and the free water total amount data is adjusted.
[0054] It should be noted that the obtained gift fee profit and loss rate is compared with the preset gift fee profit and loss threshold. In this embodiment, the electricity gift surplus threshold is set to 0.45, and the water gift surplus threshold is set to 0.35. For example, if the obtained electricity gift surplus rate is 0.3, which is less than the preset electricity gift surplus threshold, the gift fee status is determined to be normal and no adjustment is required. If the obtained electricity gift surplus rate is 0.5, which is greater than the preset electricity gift surplus threshold, the gift fee status is determined to be excessive, and the total amount of electricity gift data needs to be adjusted; if the obtained water gift surplus rate is 0.25, which is less than the preset water gift surplus threshold, the gift fee status is determined to be normal and no adjustment is required. If the obtained water gift surplus rate is 0.4, which is greater than the preset water gift surplus threshold, the gift fee status is determined to be excessive, and the total amount of water gift data needs to be adjusted; The electricity gift deficit threshold is set to 0.4, and the water gift deficit threshold is set to 0.55. For example, if the obtained electricity gift deficit rate is 0.3, which is less than the preset electricity gift deficit threshold, the gift fee status is determined to be normal and no adjustment is required. If the obtained electricity gift deficit rate is 0.5, which is greater than the preset electricity gift deficit threshold, the gift fee status is determined to be excessive and the total electricity gift amount data needs to be adjusted. If the obtained water gift deficit rate is 0.25, which is less than the preset water gift deficit threshold, the gift fee status is determined to be normal and no adjustment is required. If the obtained water gift deficit rate is 0.6, which is greater than the preset water gift deficit threshold, the gift fee status is determined to be excessive and the total water gift amount data needs to be adjusted.
[0055] According to an embodiment of the present invention, it also includes: Obtain meter data of the dormitory, including electricity meter data and water meter data, the electricity meter data includes electricity start code data and electricity stop code data, and the water meter data includes water start code data and water stop code data; The electricity cost data is obtained by processing the electricity start code data and the electricity stop code data in combination with the preset electricity price; Processing the water start code data and the water stop code data in combination with a preset water price to obtain water use fee data; Comparing the total amount of donated electricity data with the electricity cost data; If the total amount of free electricity is greater than or equal to the electricity fee, the initial balance of electricity is the real-time balance of electricity; If the total amount of free electricity data is less than the electricity cost data, the total amount of free electricity data and the electricity cost data are processed in combination with the initial balance of electricity charges to obtain real-time balance data of electric energy; Comparing the total amount of free water with the water use fee data; If the total amount of free water is greater than or equal to the water usage fee, the initial water fee balance is the real-time water energy balance; If the data of the total amount of free water is less than the data of water use fee, the data of the total amount of free water and the water use fee are processed in combination with the initial balance of water fee to obtain the real-time balance data of water energy.
[0056] It should be noted that in order to determine the water and electricity charges of the dormitory, firstly, the electric meter data including the electric start data and the electric stop code data, and the water meter data including the water start data and the water stop code data are obtained, and then they are processed in combination with the preset electric price and the preset water price respectively to obtain the electric fee data and the water fee data; The calculation formula for the electricity cost data is: ; in, For electricity cost data, , , They are electricity start code data, electricity stop code data and preset electricity price; The water cost data calculation formula is: ; in, For water cost data, , , They are water starting data, water stopping data and preset water price; In order to confirm the account balance of the dormitory, first compare the total amount of free electricity data with the electricity cost data. If the total amount of free electricity data is greater than or equal to the electricity cost data, it means that the free electricity has not been used up, and the initial balance of the electricity cost is the real-time balance of electricity. If the total amount of free electricity data is less than the electricity cost data, it means that the free electricity has been used up, and it is necessary to further confirm the amount to be deducted from the dormitory account. Specifically, the total amount of free electricity data and the electricity cost data are processed in combination with the initial balance of the electricity cost to obtain the real-time balance of electricity. The calculation formula for the real-time balance data of electric energy is: ; in, Real-time balance data of electric energy. , , They are the total amount of free electricity, electricity cost and initial balance of electricity bill; Then the data of the total amount of free water is compared with the water use fee data. If the data of the total amount of free water is greater than or equal to the water use fee data, it means that the free water fee has not been used up, and the initial balance of the water fee is the real-time balance data of water energy. If the data of the total amount of free water is less than the water use fee data, it means that the free water fee has been used up, and it is necessary to further confirm the amount to be deducted from the dormitory account. Specifically, the data of the total amount of free water and the water use fee data are processed in combination with the initial balance of the water fee to obtain the real-time balance data of water energy. The calculation formula for the real-time water energy balance data is: ; in, Real-time water energy balance data, , , They are the total amount of free water, water usage fee and initial balance of water fee.
[0057] According to an embodiment of the present invention, it also includes: Comparing the real-time balance data of the account with a preset energy consumption control threshold, where the preset energy consumption control threshold includes an electric energy control threshold and a water energy control threshold; If the real-time balance data of electric energy is less than or equal to the electric energy regulation threshold, it is determined that the balance state of the electricity bill account is insufficient, and the energy control solution is to shut down the meter; If the real-time balance data of electric energy is greater than the electric energy regulation threshold, the balance state of the electricity bill account is determined to be normal, and the average daily electricity bill data within the preset time period is obtained, combined with the real-time balance data of electric energy for processing, to obtain the predicted available days of electricity bill; The predicted available days of the electricity bill are compared with the preset collection days threshold. If it is less than or equal to the preset collection days threshold, the energy control scheme is to activate the electricity bill collection reminder. If it is greater than the preset collection days threshold, the energy control scheme is not to activate the electricity bill collection reminder. If the real-time water energy balance data is less than or equal to the water energy regulation threshold, the water fee account balance status is determined to be insufficient, and the energy control solution is to close the water meter valve; If the real-time water energy balance data is greater than the water energy regulation threshold, the water fee account balance status is determined to be normal, and the average daily water fee data within the preset time period is obtained, combined with the real-time water energy balance data for processing, to obtain the water fee prediction available days data; The water fee prediction available days data is compared with the preset collection days threshold. If it is less than or equal to the preset collection days threshold, the energy control plan is to activate the water fee collection reminder. If it is greater than the preset collection days threshold, the energy control plan is not to activate the water fee collection reminder.
[0058] It should be noted that after confirming the dormitory account balance, a corresponding energy control plan is generated according to the balance status. First, the real-time balance data of electric energy is compared with the electric energy regulation threshold. In this embodiment, the electric energy regulation threshold is set to 5 yuan. If it is less than or equal to the electric energy regulation threshold, the balance status of the electricity bill account is determined to be insufficient, and the energy control plan is to turn off the meter and remind the user to recharge in time; if it is greater than the electric energy regulation threshold, the balance status of the electricity bill account is determined to be normal, and the predicted usage days of the balance are further determined. Specifically, the average daily electricity bill data within the preset time period is obtained, combined with the electric energy The real-time balance data is processed to obtain the number of days available for electricity bill prediction. For example, if the average daily electricity bill data is 1.5 yuan and the real-time balance data of electric energy is 6 yuan, then 6 / 1.5=4 is the number of days available for electricity bill prediction. Then the obtained number of days available for electricity bill prediction is compared with the preset collection days threshold. In this embodiment, the preset collection days threshold is set to 5 days. If it is less than or equal to the preset collection days threshold, the energy control scheme is to activate the electricity bill collection reminder to prevent power outages caused by too low electricity bills. If it is greater than the preset collection days threshold, the energy control scheme is not to activate the electricity bill collection reminder. Then the real-time water energy balance data is compared with the water energy regulation threshold. In this embodiment, the water energy regulation threshold is set to 6 yuan. If it is less than or equal to the water energy regulation threshold, the water fee account balance state is determined to be insufficient balance, and the energy control solution is to close the water meter valve to remind the user to recharge in time; if it is greater than the water energy regulation threshold, the water fee account balance state is determined to be normal balance, and the predicted balance usage days are further determined, specifically, the average daily water fee data within a preset time period is obtained, combined with the real-time water energy balance data for processing, to obtain the water fee prediction available days, for example, the average daily water fee data is 0.2 yuan, and the real-time water energy balance data is 5 yuan, then 5 / 0.2=25 is the water fee prediction available days; then the obtained water fee prediction available days are compared with the preset collection days threshold. In this embodiment, the preset collection days threshold is set to 10 days. If it is less than or equal to the preset collection days threshold, the energy control solution is to activate the water fee collection reminder to prevent the valve from being closed due to too low water fees. If it is greater than the preset collection days threshold, the energy control solution is not to activate the water fee collection reminder.
[0059] It is worth mentioning that according to an embodiment of the present invention, it also includes: Obtain real-time recharge amount data of dormitory accounts, including electricity recharge data and water recharge data; The electricity charge recharge data and the electric energy real-time balance data are summed to obtain the current balance data of the electricity charge; Compare the current balance data of the electricity fee with the electric energy regulation threshold, if it is less than or equal to the preset electric energy regulation threshold, activate the insufficient balance reminder, if it is greater than the preset electric energy regulation threshold and the electric meter is in the electric meter disconnected state, activate the closing response; The water charge recharge data and the water energy real-time balance data are summed to obtain the water charge current balance data; The current balance data of the water fee is compared with the water energy regulation threshold. If it is less than or equal to the water energy regulation threshold, the insufficient balance reminder is activated. If it is greater than the water energy regulation threshold and the water meter is in the water meter valve closing state, the valve opening response is activated.
[0060] It should be noted that when the user in the dormitory completes the recharge of the electricity meter or water meter, it is necessary to control the switch of the electricity meter or water meter according to the change of the balance. First, the electricity charge recharge data and the water charge recharge data are obtained, and then the electricity charge recharge data and the real-time balance data of electric energy are summed to obtain the current balance data of the electricity charge, and compared with the electric energy regulation threshold. If it is less than or equal to the electric energy regulation threshold, it means that the recharge amount is too low, and the insufficient balance reminder is activated. If it is greater than the electric energy regulation threshold, it means that the recharge amount is sufficient, and the electricity meter is in the meter-off state, then the closing response is activated and the switch is closed for power supply; the water charge recharge data and the real-time balance data of water energy are summed to obtain the current balance data of the water charge, and compared with the water energy regulation threshold. If it is less than or equal to the water energy regulation threshold, it means that the recharge amount is too low, and the insufficient balance reminder is activated. If it is greater than the water energy regulation threshold, it means that the recharge amount is sufficient, and the water meter is in the water meter valve-off state, then the valve-opening response is activated, and the valve is opened for water supply.
[0061] It is worth mentioning that according to an embodiment of the present invention, it also includes: Obtain peak and valley electricity consumption; Querying a preset electricity price list according to the energy consumption time data to obtain real-time electricity prices, including peak electricity prices and valley electricity prices; The peak-time electricity price and the corresponding peak-time electricity consumption and the valley-time electricity price and the corresponding valley-time electricity consumption are processed to obtain electricity cost correction data.
[0062] It should be noted that the municipal power supply sets peak and valley electricity prices according to the power supply time. In order to obtain the electricity cost of the dormitory more accurately, the peak and valley electricity consumption are first obtained, and then the corresponding peak and valley electricity prices are calculated to obtain the electricity cost correction data; The calculation formula for the electricity cost correction data is: ; in, Correction data for electricity costs, , are peak electricity consumption and peak electricity price, respectively. , They are off-peak electricity consumption and off-peak electricity price respectively.
[0063] It is worth mentioning that according to an embodiment of the present invention, it also includes: Obtain the real-time annual water consumption of the dormitory, including first-tier water consumption, second-tier water consumption, and third-tier water consumption; The first-tier water consumption, the second-tier water consumption and the third-tier water consumption are processed in combination with the corresponding preset first water price, preset second water price and preset third water price to obtain water cost correction data.
[0064] It should be noted that the municipal water supply sets tiered water prices according to different annual water consumption. In order to obtain the water consumption of the dormitory more accurately, the real-time annual water consumption of the dormitory, including the first tier water consumption, the second tier water consumption and the third tier water consumption, is obtained, and then combined with the corresponding preset first water price, preset second water price and preset third water price for processing to obtain the water consumption fee correction data; The water cost correction data calculation formula is: ; in, Corrected data for water charges, , , They are the first-tier water consumption, the second-tier water consumption and the third-tier water consumption. , , The preset first water price, the preset second water price and the preset third water price are respectively.
[0065] A third aspect of the present invention provides a readable storage medium, which stores an energy consumption cost adjustment and control method program. When the energy consumption cost adjustment and control method program is executed by a processor, the steps of an energy consumption cost adjustment and control method as described in any one of the above items are implemented.
[0066] The present invention discloses an energy consumption cost adjustment and control method, system and medium, which realize reasonable water and electricity fee adjustment and energy control by calculating the fee profit and loss rate according to the total fee amount data and the expected energy cost data and performing threshold comparison.
[0067] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0068] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0069] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0070] Those skilled in the art can understand that: all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, the aforementioned program can be stored in a readable storage medium, and when the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), disks or optical disks, and other media that can store program codes.
[0071] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
Claims
1. A method for adjusting and controlling energy consumption cost, characterized in that: The following steps are involved: Obtain energy usage information and energy usage time data in the dormitory, and extract energy usage account data based on the energy usage information; Processing the energy consumption time data and the energy consumption account data to obtain total amount data of gift fees, including total amount data of gift electricity and total amount data of gift water; Obtain historical weather data and real-time weather data corresponding to the energy consumption time data, and process them to obtain energy consumption influencing factors, and process them in combination with the energy consumption account data and preset per capita energy consumption data to obtain expected energy consumption cost data, including expected electricity cost data and expected water cost data; Compare the total amount of the gift fee with the expected energy cost data to obtain a gift fee profit and loss rate; The bonus profit and loss rate is compared with a preset bonus profit and loss threshold to obtain a bonus status, and the bonus is adjusted according to the bonus status.
2. The energy consumption cost adjustment and control method according to claim 1, characterized in that: The obtaining of energy usage information and energy usage time data in the dormitory and extracting energy usage account data according to the energy usage information includes: Obtain energy usage information and energy usage time data in the dormitory, and extract energy usage account data based on the energy usage information; The energy consumption account data includes the account initial balance data and the number of people receiving free energy consumption data; The account initial balance data includes an initial balance of electricity charges and an initial balance of water charges.
3. The energy consumption cost adjustment and control method according to claim 2, characterized in that: The method of obtaining the total amount of free gift data, including the total amount of free electricity data and the total amount of free water data, by processing the energy consumption time data and the energy consumption account data, includes: According to the energy consumption time data, a preset free fee quota database is queried to obtain free fee quota data; The free gift quota data includes fixed quota data and per capita quota data. The fixed quota data includes fixed quota data for free electricity and fixed quota data for free water. The per capita quota data includes average free electricity quota data and average free water quota data. The data of the total amount of electricity donated is obtained by processing the fixed amount data of electricity donated and the average amount data of electricity donated in combination with the number of people with electricity donated and the preset electricity price; The free water fixed amount data and the free water average amount data are processed in combination with the free water number data and the preset water price to obtain the free water total amount data.
4. The energy consumption cost adjustment and control method according to claim 3, characterized in that: The historical weather data and real-time weather data corresponding to the energy consumption time data are obtained and processed to obtain energy consumption influencing factors, and the energy consumption account data and the preset per capita energy consumption data are processed to obtain expected energy consumption cost data, including expected electricity cost data and expected water cost data, including: Obtain historical weather data, real-time weather data, and preset per capita energy consumption data corresponding to the energy consumption time data, where the preset per capita energy consumption data includes preset per capita electricity consumption data and preset per capita water consumption data; The historical weather data includes historical temperature, historical humidity, historical light intensity and historical light duration, and the real-time weather data includes real-time temperature, real-time humidity, real-time light intensity and real-time light duration; Processing is performed according to the historical temperature, historical humidity, historical light intensity and historical light duration as well as the real-time temperature, real-time humidity, real-time light intensity and real-time light duration to obtain an energy consumption influencing factor; The expected electricity cost data is obtained by processing the data on the number of people receiving the free electricity, the preset per capita electricity consumption data, the energy consumption influencing factors and the preset electricity price; The expected water cost data is obtained by processing the data on the number of people receiving the free water, the preset per capita water use data, the energy use influencing factors and the preset water price.
5. The energy consumption cost adjustment and control method according to claim 4, characterized in that: The step of comparing the total amount of the gift with the expected energy cost data to obtain the gift profit and loss rate includes: Compare the total amount of the gift with the expected energy cost data to obtain the gift profit and loss rate, including the gift surplus rate and the gift loss rate. The gift surplus rate includes the gift electricity surplus rate and the gift water surplus rate. The gift loss rate includes the gift electricity loss rate and the gift water loss rate. If the total amount of electricity donation data is greater than the expected electricity cost data, the electricity donation surplus rate is obtained by processing the total amount of electricity donation data and the expected electricity cost data; If the total amount of donated electricity is less than or equal to the expected electricity cost, the donated electricity loss rate is obtained by processing the total amount of donated electricity and the expected electricity cost; If the total amount of free water is greater than the expected water cost, the free water surplus rate is obtained by processing the total amount of free water and the expected water cost; If the data of the total amount of free water is less than or equal to the data of the expected water use fee, the data of the total amount of free water and the expected water use fee are processed to obtain the free water loss rate.
6. The energy consumption cost adjustment and control method according to claim 5, characterized in that: The bonus profit and loss rate is compared with a preset bonus profit and loss threshold to obtain a bonus status, and the bonus is adjusted according to the bonus status, including: The gift fee profit and loss rate is compared with a preset gift fee profit and loss threshold, the preset gift fee profit and loss threshold includes a preset electricity gift profit and loss threshold and a preset water gift profit and loss threshold, the preset electricity gift profit and loss threshold includes an electricity gift surplus threshold and an electricity gift deficit threshold, and the preset water gift profit and loss threshold includes a water gift surplus threshold and a water gift deficit threshold; If the electricity gift surplus rate is less than or equal to the preset electricity gift surplus threshold, the gift status is determined to be normal; If the electricity gift surplus rate is greater than the preset electricity gift surplus threshold, the gift fee status is determined to be an excess gift fee, and the total amount of electricity gift data is adjusted; If the free electricity deficit rate is less than or equal to the preset free electricity deficit threshold, the free electricity status is determined to be normal; If the electricity gift deficit rate is greater than the preset electricity gift deficit threshold, the gift status is determined to be a gift deficit, and the total amount of electricity gift data is adjusted; If the free water surplus rate is less than or equal to the preset free water surplus threshold, the free water status is determined to be normal; If the free water surplus rate is greater than the preset free water surplus threshold, the free water status is determined to be excessive free water, and the free water total amount data is adjusted; If the free water deficit rate is less than or equal to the preset free water deficit threshold, the free water status is determined to be normal; If the free water loss rate is greater than the preset free water loss threshold, the free water status is determined to be free water loss, and the free water total amount data is adjusted.
7. The energy consumption cost adjustment and control method according to claim 6, characterized in that: Also includes: Obtain meter data of the dormitory, including electricity meter data and water meter data, the electricity meter data includes electricity start code data and electricity stop code data, and the water meter data includes water start code data and water stop code data; The electricity cost data is obtained by processing the electricity start code data and the electricity stop code data in combination with the preset electricity price; Processing the water start code data and the water stop code data in combination with a preset water price to obtain water use fee data; Comparing the total amount of donated electricity data with the electricity cost data; If the total amount of free electricity is greater than or equal to the electricity fee, the initial balance of electricity is the real-time balance of electricity; If the total amount of free electricity data is less than the electricity cost data, the total amount of free electricity data and the electricity cost data are processed in combination with the initial balance of electricity charges to obtain real-time balance data of electric energy; Comparing the total amount of free water with the water use fee data; If the total amount of free water is greater than or equal to the water usage fee, the initial water fee balance is the real-time water energy balance; If the data of the total amount of free water is less than the data of water use fee, the data of the total amount of free water and the water use fee are processed in combination with the initial balance of water fee to obtain the real-time balance data of water energy.
8. The energy consumption cost adjustment and control method according to claim 7, characterized in that: Also includes: Compare the real-time account balance data with the preset energy consumption control threshold, which includes the electric energy control threshold and the water energy control threshold; If the real-time balance data of electric energy is less than or equal to the electric energy regulation threshold, it is determined that the balance state of the electricity bill account is insufficient, and the energy control solution is to shut down the meter; If the real-time balance data of electric energy is greater than the electric energy regulation threshold, the balance state of the electricity bill account is determined to be normal, and the average daily electricity bill data within the preset time period is obtained, combined with the real-time balance data of electric energy for processing, to obtain the predicted available days of electricity bill; The predicted available days of the electricity bill are compared with the preset collection days threshold. If it is less than or equal to the preset collection days threshold, the energy control scheme is to activate the electricity bill collection reminder. If it is greater than the preset collection days threshold, the energy control scheme is not to activate the electricity bill collection reminder. If the real-time water energy balance data is less than or equal to the water energy regulation threshold, the water fee account balance status is determined to be insufficient, and the energy control solution is to close the water meter valve; If the real-time water energy balance data is greater than the water energy regulation threshold, the water fee account balance status is determined to be normal, and the average daily water fee data within the preset time period is obtained, combined with the real-time water energy balance data for processing, to obtain the water fee prediction available days data; The water fee prediction available days data is compared with the preset collection days threshold. If it is less than or equal to the preset collection days threshold, the energy control plan is to activate the water fee collection reminder. If it is greater than the preset collection days threshold, the energy control plan is not to activate the water fee collection reminder.
9. An energy consumption cost adjustment and control system, characterized in that: The method comprises a memory and a processor, wherein the memory comprises a program of an energy consumption cost adjustment and control method, and when the program of the energy consumption cost adjustment and control method is executed by the processor, the following steps are implemented: Obtain energy usage information and energy usage time data in the dormitory, and extract energy usage account data based on the energy usage information; Processing the energy consumption time data and the energy consumption account data to obtain total amount data of gift fees, including total amount data of gift electricity and total amount data of gift water; Obtain historical weather data and real-time weather data corresponding to the energy consumption time data, and process them to obtain energy consumption influencing factors, and process them in combination with the energy consumption account data and preset per capita energy consumption data to obtain expected energy consumption cost data, including expected electricity cost data and expected water cost data; Compare the total amount of the gift fee with the expected energy cost data to obtain a gift fee profit and loss rate; The bonus profit and loss rate is compared with a preset bonus profit and loss threshold to obtain a bonus status, and the bonus is adjusted according to the bonus status.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an energy consumption cost adjustment and control method program. When the energy consumption cost adjustment and control method program is executed by a processor, the steps of an energy consumption cost adjustment and control method as described in any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Water meter charging system based on Internet of Things
CN106682896A
Method and system for issuing and cancelling dynamic limit coupons
CN110807658A
User power consumption adjustment method, system and device
CN112070301A
Labeled electric charge balance management method, device and equipment and storage medium
CN113255996A
Electric energy pricing mode intelligent selection method and system
CN114519614A