An energy pool model-based energy billing method, device, equipment and medium

By using an independent billing model based on energy pools, the complexity and error issues caused by the master-slave meter binding relationship in energy billing are resolved, resulting in more accurate and reliable billing and supporting enterprises in developing energy-saving measures and reducing costs.

CN116542661BActive Publication Date: 2026-07-31SHENZHEN QIANHAI SHEKOU FREE TRADE ZONE POWER SUPPLY CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN QIANHAI SHEKOU FREE TRADE ZONE POWER SUPPLY CO LTD
Filing Date
2023-02-16
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

In existing energy billing methods, the binding and coupling relationships between the master table and the billing table lead to a complex billing process that is prone to errors, affecting the accuracy and reliability of billing.

Method used

An energy billing method based on an energy pool model is adopted. By acquiring a pre-established energy billing point relationship model, the energy statistics and billed energy of each metering point are determined. Combined with the calculation model in the energy pool model, energy billing is performed independently to ensure the accuracy and reliability of each metering point.

Benefits of technology

It improves the accuracy and reliability of energy billing, and enhances enterprises' ability to assess energy-saving potential and control costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116542661B_ABST
    Figure CN116542661B_ABST
Patent Text Reader

Abstract

This invention relates to the field of energy metering technology, and particularly to an energy billing method, apparatus, equipment, and medium based on an energy pool model. The invention determines the energy statistics of each first-level metering point and the billed energy statistics of each second-level metering point through an energy billing point relationship model. It then determines the energy to be deducted at each first-level metering point by combining a hierarchical relationship table and a preset energy deduction calculation model, and further determines the energy to be billed at each first-level metering point by combining a preset energy to be billed calculation model. By supporting real-time and individual energy billing for second-level metering points, and calculating the energy to be deducted at each first-level metering point based on the hierarchical relationship table, and determining the energy to be billed by combining its own energy statistics, the accuracy and reliability of the energy billing method are improved. This enhances guidance for enterprises to tap into energy-saving potential, formulate energy-saving measures, reduce energy consumption, and lower production costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of energy metering technology, and in particular to an energy billing method, apparatus, equipment and medium based on an energy pool model. Background Technology

[0002] Energy system billing involves various multi-layered billing models, such as master-sub-table, total-sub-table, and parent-sub-table. Taking the master-sub-table as an example, the master table is used to count the energy consumption of the master metering point, and the sub-table is used to count the energy consumption that has been paid for by the sub-metering point. In the energy billing process, the energy billing of the master metering point is carried out by deducting the energy consumption that has been paid for by the corresponding sub-metering point from the energy consumption of the master metering point.

[0003] In current energy billing methods, the invention disclosed in CN112053150A, entitled "A Data Processing Method, Apparatus, and Storage Medium," extracts the main business table and related sub-business tables of each business system and pushes them to the billing database to form the corresponding billing main table and billing sub-tables. However, in actual energy scenarios, there are binding relationships between billing main and sub-tables, as well as coupling relationships between all billing sub-tables. This means that when an error occurs in a billing sub-table and needs to be corrected, all billing main and sub-tables must be processed uniformly. This makes the energy billing process complex and cumbersome, reduces the stable operation capability of the energy billing method, and is prone to errors when correcting various billing tables, resulting in large deviations in energy quantity calculation. Consequently, it affects the accuracy and reliability of the energy billing method and fails to meet user needs.

[0004] Therefore, improving the accuracy and reliability of energy billing methods has become an urgent problem to be solved in the field of energy billing. Summary of the Invention

[0005] In view of this, embodiments of the present invention provide an energy billing method, apparatus, device and medium based on an energy pool model to solve the problem of low accuracy and reliability of existing energy billing methods.

[0006] In a first aspect, embodiments of the present invention provide an energy billing method based on an energy pool model, the energy billing method comprising:

[0007] Obtain a pre-established energy billing point relationship model, which includes M first-level energy meters at first-level metering points, N second-level energy meters at second-level metering points, and a hierarchical relationship table to characterize the subordinate relationship between each first-level energy meter and each second-level energy meter. Determine the energy statistics of each first-level metering point based on each first-level energy meter, and determine the billed energy statistics of each second-level metering point based on the energy quantity stored in the energy pool set for each second-level metering point, where M and N are positive integers.

[0008] Based on the hierarchical relationship table, the energy statistics of each first-level metering point and the billed energy statistics of each second-level metering point, and combined with the preset energy deduction calculation model in the energy pool model, the energy deduction amount of each first-level metering point is determined.

[0009] Based on the energy statistics and energy amount to be deducted for each first-level metering point, and combined with the pre-set energy amount to be billed calculation model in the energy pool model, the energy amount to be billed for each first-level metering point is determined.

[0010] Energy billing is performed based on the amount of energy to be billed at each first-level metering point.

[0011] Secondly, embodiments of the present invention provide an energy billing device based on an energy pool model, the energy billing device comprising:

[0012] The data acquisition module is used to acquire a pre-established energy billing point relationship model. The energy billing point relationship model includes M first-level energy meters for first-level metering points, N second-level energy meters for second-level metering points, and a hierarchical relationship table for characterizing the subordinate relationship between each first-level energy meter and each second-level energy meter. The energy statistics of each first-level metering point are determined based on each first-level energy meter, and the billed energy statistics of each second-level metering point are determined based on the energy quantity stored in the energy pool set of each second-level metering point. Here, M and N are positive integers.

[0013] The module for determining the amount of energy to be deducted is used to determine the amount of energy to be deducted for each first-level metering point based on the hierarchical relationship table, the energy statistics of each first-level metering point and the billed energy statistics of each second-level metering point, combined with the pre-set calculation model for the amount of energy to be deducted in the energy pool model.

[0014] The energy quantity to be billed module is used to determine the energy quantity to be billed for each first-level metering point based on the energy statistics and energy quantity to be deducted for each first-level metering point, combined with the pre-set energy quantity to be billed calculation model in the energy pool model.

[0015] The energy billing module is used to bill energy based on the amount of energy to be billed for each first-level energy meter.

[0016] Thirdly, embodiments of the present invention provide a computer device, the computer device including a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the energy billing method as described in the first aspect.

[0017] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the energy billing method as described in the first aspect.

[0018] The beneficial effects of this invention compared to existing technologies are as follows: By acquiring a pre-established energy billing point relationship model, which includes M first-level energy meters at first-level metering points, N second-level energy meters at second-level metering points, and a hierarchical relationship table representing the subordinate relationship between each first-level and second-level energy meter, the energy statistics of each first-level metering point are determined based on each first-level energy meter. Based on the energy quantity stored in the energy pool set for each second-level metering point, the billed energy statistics of each second-level metering point are determined. Based on the hierarchical relationship table, the energy statistics of each first-level metering point, and the billed energy statistics of each second-level metering point, combined with the pre-set deductible energy calculation model in the energy pool model, the deductible energy quantity for each first-level metering point is determined. The energy reduction method, based on the energy statistics and deductible energy of each first-level metering point, combined with the pre-set calculation model for deductible energy in the energy pool model, determines the deductible energy of each first-level metering point. Energy billing is then performed based on the deductible energy of each first-level metering point. By supporting real-time and independent energy billing by second-level energy meters, and determining the correspondence between first-level and second-level metering points according to the hierarchical relationship table, the deductible energy of each first-level metering point is calculated. This deductible energy is then combined with the energy statistics of the first-level metering point itself to determine the deductible energy of the first-level metering point for energy billing. This improves the accuracy and reliability of the energy billing method and enhances guidance for enterprises to tap into energy-saving potential, formulate energy-saving measures, reduce energy consumption, and lower production costs. Attached Figure Description

[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a schematic diagram of an application environment for an energy billing method based on an energy pool model provided in Embodiment 1 of the present invention;

[0021] Figure 2 This is a flowchart illustrating an energy billing method based on an energy pool model provided in Embodiment 1 of the present invention;

[0022] Figure 3 This is a schematic diagram of a metering point provided in Embodiment 1 of the present invention;

[0023] Figure 4 This is a schematic diagram of a metering point provided in Embodiment 1 of the present invention;

[0024] Figure 5 This is a schematic diagram of a metering point provided in Embodiment 1 of the present invention;

[0025] Figure 6 This is a schematic diagram of the structure of an energy billing device based on an energy pool model provided in Embodiment 2 of the present invention;

[0026] Figure 7 This is a schematic diagram of the structure of a computer device provided in Embodiment 3 of the present invention. Detailed Implementation

[0027] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of the invention. However, those skilled in the art will understand that the invention can be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods are omitted so as not to obscure the description of the invention with unnecessary detail.

[0028] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0029] It should also be understood that the term “and / or” as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0030] As used in this specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if [described condition or event] is detected" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once [described condition or event] is detected," or "in response to detection of [described condition or event]."

[0031] Furthermore, in the description of this invention and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0032] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of the invention include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0033] It should be understood that the sequence number of each step in the following embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0034] To illustrate the technical solution of the present invention, specific embodiments are described below.

[0035] The energy billing method provided in Embodiment 1 of this invention can be applied to, for example, Figure 1 In this application environment, the client communicates with the server. Clients include, but are not limited to, handheld computers, desktop computers, laptops, ultra-mobile personal computers (UMPCs), netbooks, cloud computing devices, and personal digital assistants (PDAs). The server can be implemented using a standalone server or a server cluster consisting of multiple servers.

[0036] See Figure 2This is a flowchart illustrating an energy billing method based on an energy pool model provided in Embodiment 1 of the present invention. The above energy billing method can be applied to... Figure 1 For clients in the system, the energy billing method may include the following steps:

[0037] Step S201: Obtain the pre-established energy billing point relationship model. The energy billing point relationship model includes M first-level energy meters for first-level metering points, N second-level energy meters for second-level metering points, and a hierarchical relationship table used to characterize the subordinate relationship between each first-level energy meter and the second-level energy meter. Determine the energy statistics of each first-level metering point based on each first-level energy meter. Determine the billed energy statistics of each second-level metering point based on the amount of energy stored in the energy pool set for each second-level metering point.

[0038] Energy metering refers to the detection, measurement, and calculation of quantity, quality, performance parameters, and related characteristic parameters at each stage of the energy process. It is a crucial means for enterprises to achieve energy conservation, emission reduction, and consumption reduction, providing objective data for energy consumption monitoring, energy-saving benefit assessment, and energy efficiency analysis. By accurately tracking energy consumption through energy metering, enterprises can precisely analyze their energy utilization, thereby guiding them to further explore energy-saving potential, formulate energy-saving measures, reduce energy consumption, and lower production costs.

[0039] The hierarchical relationship table in the energy billing point relationship model in this embodiment can include various forms such as master-child table relationship table, general-to-sub-table relationship table, and parent-child table relationship table. Correspondingly, the energy billing point relationship model also includes first-level energy meters with M first-level metering points, second-level energy meters with N second-level metering points, and a hierarchical relationship table used to characterize the subordinate relationship between each first-level energy meter and the second-level energy meter, where M and N are positive integers.

[0040] In the energy billing task, energy metering is first required to count the energy consumption at the first-level metering point and the energy consumption already paid for at the second-level metering point. Then, based on the billing model of the main second-level energy meter, the energy consumption already paid for at the corresponding second-level metering point is deducted from the energy consumption at the first-level metering point to perform energy billing for the first-level metering point.

[0041] Because existing energy billing methods involve a binding relationship between first-level and second-level energy meters, as well as a coupling relationship between all second-level energy meters, when an error occurs in a second-level energy meter and needs to be corrected, all first-level and second-level energy meters must be processed uniformly. Furthermore, errors are prone to occur when correcting individual energy meters, which reduces the accuracy and reliability of the energy billing method and makes it difficult to meet the needs of enterprises for energy consumption monitoring, energy-saving benefit assessment, and energy efficiency analysis.

[0042] Therefore, in order to solve the above problems, in this embodiment, an energy billing point relationship model is pre-established according to the actual situation. Each first-level energy meter in the energy billing point relationship model includes M first-level metering points and several energy parameters used to determine the energy statistics of each first-level metering point. Each second-level energy meter includes N second-level metering points. The hierarchical relationship table is used to characterize the hierarchical relationship between each first-level energy meter and the second-level energy meter. According to the hierarchical relationship table, it can be determined to determine one or more first-level energy meters to which each second-level energy meter belongs.

[0043] Based on the energy statistics of several energy parameters in each first-level energy meter, the energy statistics of each first-level metering point can be determined. Each second-level metering point can be billed for energy independently. By storing the billed energy amount of each second-level metering point in an energy pool set, the billed energy statistics of each second-level metering point can be determined based on the energy amount stored in the energy pool set.

[0044] Specific energy parameters can be set according to actual conditions, such as meter reading parameters, meter replacement parameters, free energy parameters, and refund / refund energy parameters. Among them, meter replacement parameters refer to the energy parameters used for energy quantity calculation when initializing the meter reading of the new energy meter when the old energy meter is replaced with a new energy meter.

[0045] The energy billing task in this embodiment can be to perform energy metering and billing for various energy sources such as electric energy, hydropower, photovoltaic energy, wind energy, thermal energy, and new energy. For example, new energy can include charging pile energy and biomass energy, while thermal energy can include gas energy, coal energy, geothermal energy, etc. This provides relevant energy data for enterprises to conduct energy consumption monitoring, energy-saving benefit assessment, and energy efficiency analysis, so as to accurately analyze the energy utilization of enterprises, and guide enterprises to explore energy-saving potential, formulate energy-saving measures, reduce energy consumption, and reduce production costs.

[0046] This embodiment takes electricity billing as an example. By detecting, measuring, and calculating electricity, it provides relevant electricity data for enterprises to monitor energy consumption, assess energy-saving benefits, and analyze energy efficiency. This allows for accurate analysis of the enterprise's electricity utilization, guiding them to explore energy-saving potential, formulate energy-saving measures, reduce electricity consumption, and lower production costs. Specifically, in the electricity billing task, a pre-established electricity billing point relationship model is obtained. This model includes M first-level electricity meters at first-level electricity metering points, N second-level electricity meters at second-level electricity metering points, and an electricity hierarchy relationship table representing the subordinate relationship between each first-level and second-level electricity meter. Based on the electricity statistics of each electricity parameter in each first-level electricity meter, the electricity statistics of each first-level electricity metering point can be determined. Each second-level electricity metering point can be billed independently. By storing the billed electricity at each second-level electricity metering point in an electricity pool set, the billed electricity statistics of each second-level electricity metering point can be determined based on the electricity stored in the electricity pool set.

[0047] Optionally, the energy statistics for each first-level metering point, determined based on each first-level energy meter, include:

[0048] Obtain the energy statistics for each energy parameter in the first-level energy table. The energy parameters include at least the metered energy parameters, free energy parameters, and refund / replenishment energy parameters. The energy statistics for metered energy parameters are the difference between the energy statistics read from the energy table and the energy statistics read last time. The energy statistics for free energy parameters are the energy statistics for which fees are reduced or waived. The energy statistics for refund / replenishment energy parameters are the energy statistics for which fees need to be refunded or fees need to be paid.

[0049] The energy statistics of the energy parameters corresponding to each second-level metering point in each first-level energy meter are substituted into the preset energy statistical model to determine the energy statistics of each first-level metering point.

[0050] In determining the energy statistics for each first-level metering point, the energy statistics for several energy parameters in each first-level energy meter are first obtained, including metered energy parameters, free energy parameters, and refund / replenishment energy parameters.

[0051] The energy statistics for the current energy meter reading are the difference between the current energy statistics and the previous reading. This value indicates the amount of energy used by the first-level metering point after the last energy billing. The energy statistics for the free energy parameters are those for energy charges waived or reduced according to various energy policies. The energy statistics for the refund / refund energy parameters are those for which fees need to be refunded or additional fees need to be paid. Depending on the situation, the energy statistics for the refund / refund energy parameters are negative when fees need to be refunded and positive when fees need to be paid.

[0052] Then, the energy statistics of the energy parameters in each first-level energy meter are substituted into the preset energy statistical model to determine the energy statistics of each first-level metering point. The preset energy statistical model is as follows:

[0053] X = x1 - x2 + x3

[0054] In the formula, X is the energy statistics of the first-level metering point, x1 is the energy statistics of the measured energy parameters, x2 is the energy statistics of the free energy parameters, and x3 is the energy statistics of the supplementary energy parameters.

[0055] This embodiment determines the energy statistics of each first-level metering point based on the energy parameters of each second-level metering point corresponding to each first-level energy meter, combined with a preset energy statistics model, thereby improving the reliability and accuracy of the energy statistics of the first-level metering points.

[0056] Optionally, based on the amount of energy stored in the energy pool set at each secondary metering point, the billed energy statistics for each secondary metering point are determined, including:

[0057] The amount of energy for which the cost has been calculated at each secondary metering point is stored in the energy pool set in real time;

[0058] When performing energy billing, obtain several energy quantities stored in the energy pool set for each secondary metering point during the start and end times corresponding to this energy billing period;

[0059] The sum of several energy quantities at each secondary metering point is used to determine the billed energy statistics for each secondary metering point.

[0060] Each secondary metering point can be billed independently at any time, avoiding the coupling between secondary metering points. After each billing, the amount of energy for which the billing has been calculated is stored in the energy pool set in real time. This allows the acquisition of several energy amounts stored in the energy pool set for each secondary metering point from the start time to the end time corresponding to this energy billing. The sum of several energy amounts for each secondary metering point is used as the billed energy statistics for each secondary metering point.

[0061] This embodiment stores the energy amount for which charges have been calculated in real time at each second-level metering point in the energy pool set. The sum of the energy amount for which charges have been calculated between the start and end times corresponding to this energy billing is used as the billed energy statistic for each second-level metering point. This ensures that the energy billing for each second-level metering point is independent, avoids mutual coupling between second-level metering points, and improves the reliability and accuracy of the billed energy statistic for each second-level metering point.

[0062] The above-mentioned steps involve obtaining a pre-established energy billing point relationship model, which includes M first-level energy meters at first-level metering points, N second-level energy meters at second-level metering points, and a hierarchical relationship table representing the subordinate relationship between each first-level and second-level energy meter. The steps include determining the energy statistics for each first-level metering point based on each first-level energy meter, and determining the billed energy statistics for each second-level metering point based on the energy quantity stored in the energy pool set. By obtaining the pre-established energy billing point relationship model, and combining the energy statistics of the energy parameters corresponding to each second-level metering point in each first-level energy meter with a preset energy statistics model, the energy statistics for each first-level metering point are determined. The calculated energy quantity for each second-level metering point is stored in the energy pool set in real time. The sum of the calculated energy quantities from the start time to the end time corresponding to this energy billing is used as the billed energy statistics for each second-level metering point. This improves the reliability and accuracy of the energy statistics for both first-level and second-level metering points.

[0063] Step S202: Based on the hierarchical relationship table, the energy statistics of each first-level metering point and the billed energy statistics of each second-level metering point, and combined with the preset energy deduction calculation model in the energy pool model, determine the energy deduction amount for each first-level metering point.

[0064] The hierarchical relationship table can be used to determine the subordinate relationship between each first-level energy meter and each second-level energy meter. By combining the first-level metering point corresponding to each first-level energy meter and the second-level metering point corresponding to each second-level energy meter, several second-level metering points corresponding to each first-level metering point can be determined. Correspondingly, one or more first-level metering points corresponding to each second-level metering point can be determined.

[0065] The energy pool model includes several pre-defined energy calculation models, such as a pre-defined model for calculating the amount of energy to be deducted. This model is used to allocate the billed energy statistics of each second-level metering point to one or more corresponding first-level metering points, and then, by combining these with the several second-level metering points corresponding to each first-level metering point, determine the amount of energy to be deducted for each first-level metering point. The amount of energy to be deducted for each first-level metering point is used to deduct from the energy statistics of each first-level metering point for energy billing purposes.

[0066] This embodiment takes electricity billing as an example. The hierarchical relationship table of the second-level electricity meters determines the subordinate relationship between each first-level and second-level electricity meter, thereby identifying several second-level electricity metering points corresponding to each first-level electricity metering point, and one or more first-level electricity metering points corresponding to each second-level electricity metering point. Then, combined with the preset deductible electricity calculation model in the electricity pool model, the deductible electricity for each first-level electricity metering point is determined and deducted from the electricity statistics of each first-level electricity metering point for electricity billing.

[0067] Optionally, based on the hierarchical relationship table, the energy statistics of each first-level metering point, and the billed energy statistics of each second-level metering point, combined with the pre-set calculation model for the energy to be deducted in the energy pool model, the energy to be deducted at each first-level metering point is determined to include:

[0068] Based on the hierarchical relationship table, the first-level energy meter corresponding to each first-level metering point, and the second-level energy meter corresponding to each sub-metering point, determine n second-level metering points corresponding to each first-level metering point, and m first-level metering points corresponding to each second-level metering point, where n and m are positive integers, n≤N, m≤M;

[0069] For any second-level metering point, the energy percentage parameter of each first-level metering point corresponding to the second-level metering point is determined based on the energy statistics of each first-level metering point corresponding to the second-level metering point.

[0070] Based on the energy quantity ratio parameter and the billed energy quantity statistics, and combined with the pre-set energy pool model that represents the relationship between the energy quantity to be deducted, the billed energy quantity statistics and the energy quantity ratio parameter, the energy quantity to be deducted for each first-level metering point corresponding to the second-level metering point is determined.

[0071] The amount of energy to be deducted for each first-level metering point is determined based on the amount of energy to be deducted for each of the corresponding n second-level metering points.

[0072] Wherein, the number n of second-level measurement points corresponding to each first-level measurement point is a positive integer not greater than N, and the number m of first-level measurement points corresponding to each second-level measurement point is a positive integer not greater than M.

[0073] In this embodiment, for any second-level metering point, the larger the energy statistics of each corresponding first-level metering point, the more billed energy statistics of the second-level metering point will be allocated to that first-level metering point. Therefore, the energy proportion parameter of each first-level metering point corresponding to the second-level metering point is determined according to the size of the energy statistics of each first-level metering point corresponding to the second-level metering point.

[0074] Correspondingly, the pre-defined calculation model for the energy amount to be deducted in the energy pool model is used to characterize the relationship between the sub-energy amount to be deducted, the billed energy statistics, and the energy amount percentage parameter. In this embodiment, the calculation model for the energy amount to be deducted is:

[0075] Y ij =α ij Y i0

[0076] In the formula, Y ij Let α be the energy quantity of the button to be reduced at the j-th first-level metering point corresponding to the i-th second-level metering point. ij Y is the energy proportion parameter of the j-th first-level metering point corresponding to the i-th second-level metering point. i0 Let i be the billed energy statistics for the i-th second-level metering point, where i = 1, 2, ..., N, j = 1, 2, ..., m i m i This represents the number of first-level measurement points corresponding to the i-th second-level measurement point.

[0077] Based on the energy proportion parameter of each first-level metering point corresponding to the second-level metering point and the billed energy statistics of the second-level metering point, combined with the energy deduction calculation model, the energy deduction amount of each first-level metering point corresponding to the second-level metering point can be determined relative to the second-level metering point.

[0078] Then, by determining the j-th first-level measurement point relative to the corresponding n...j Energy amount to be reduced at each secondary metering point n j The sum of the energy quantities of the buttons to be deducted is determined as the energy quantity to be deducted at the j-th first-level metering point.

[0079] This embodiment determines the energy proportion parameter of each first-level metering point corresponding to the second-level metering point by using the energy statistics of each first-level metering point corresponding to the second-level metering point. Then, the energy proportion parameter and the billed energy statistics are combined with the energy deduction calculation model to determine the energy deduction amount of each first-level metering point. Based on the size of the energy statistics of the first-level metering point, the v-billed energy statistics of each second-level metering point are reasonably allocated, which improves the rationality and accuracy of the energy deduction amount of each first-level metering point.

[0080] Optionally, based on the energy statistics of each first-level metering point corresponding to the second-level metering point, the energy proportion parameter for each first-level metering point corresponding to the second-level metering point is determined, including:

[0081] The total energy statistics are determined based on the energy statistics of each first-level metering point corresponding to the second-level metering point.

[0082] Based on the energy statistics, the sum of energy statistics, and the calculation model of the proportion parameter used to characterize the energy proportion parameter and the relationship between the energy statistics and the sum of energy statistics, the energy proportion parameter of each first-level metering point corresponding to the second-level metering point is determined.

[0083] When determining the energy proportion parameter for each first-level metering point based on the magnitude of the energy statistics of the first-level metering point, the sum of the energy statistics of each first-level metering point corresponding to the second-level metering point is first calculated. The ratio of the energy statistics of each first-level metering point to the sum of the energy statistics is determined as the energy proportion parameter for each first-level metering point. Correspondingly, the calculation model for the proportion parameter, which characterizes the relationship between the energy proportion parameter, the energy statistics, and the sum of the energy statistics, is as follows:

[0084]

[0085] In the formula, α ij Let X be the energy proportion parameter of the j-th first-level metering point corresponding to the i-th second-level metering point. ij Let m be the energy statistics of the j-th first-level metering point corresponding to the i-th second-level metering point. i This represents the number of first-level measurement points corresponding to the i-th second-level measurement point.

[0086] In this embodiment, the ratio of the energy statistics of each first-level metering point corresponding to the second-level metering point to the sum of the energy statistics of all first-level metering points corresponding to the second-level metering point is determined as the energy proportion parameter of each first-level metering point corresponding to the second-level metering point. This parameter characterizes the allocation of the billed energy statistics of the second-level metering point to each first-level metering point, thereby improving the rationality and accuracy of the energy to be deducted at each first-level metering point.

[0087] The above steps, based on the hierarchical relationship table, the energy statistics of each first-level metering point, and the billed energy statistics of each second-level metering point, combined with the pre-set deductible energy calculation model in the energy pool model, determine the deductible energy amount for each first-level metering point. By rationally allocating the billed energy statistics of each second-level metering point to one or more corresponding second-level metering points according to the hierarchical relationship table and the energy statistics of each first-level metering point, and combining the deductible energy calculation model, the deductible energy amount for each first-level metering point is obtained, thus improving the rationality and accuracy of the deductible energy amount for each first-level metering point.

[0088] Step S203: Based on the energy statistics and energy amount to be deducted for each first-level metering point, and combined with the pre-set calculation model for the energy amount to be billed in the energy pool model, determine the energy amount to be billed for each first-level metering point.

[0089] When billing energy at the first-level metering point, the amount of energy to be deducted can be deducted from the energy statistics of the first-level metering point to obtain the amount of energy to be billed at the first-level metering point for energy billing.

[0090] Under normal circumstances of energy billing, the amount of energy to be deducted at the first-level metering point is less than its energy statistics. However, if the energy statistics of the first-level metering point and the second-level metering point are not synchronized, the amount of energy to be deducted at the first-level metering point may be greater than its energy statistics. In this case, after deducting the amount of energy to be deducted from the energy statistics of the first-level metering point, the energy amount of the first-level metering point will be reduced to zero, resulting in no energy billing bill being generated.

[0091] Therefore, in this embodiment, a minimum energy threshold is preset. When the energy statistics of the first-level metering point are less than the energy to be deducted, the energy to be billed at each first-level metering point is determined to be zero. When the energy statistics of the first-level metering point are not less than the energy to be deducted, the energy statistics of the first-level metering point and the energy to be deducted are used, combined with the preset energy to be billed calculation model in the energy pool model, to determine the energy to be billed at each first-level metering point. The preset energy to be billed calculation model is as follows:

[0092] Z ij =Xij -Y ij

[0093] In the formula, Z ij Let X be the amount of energy to be billed at the j-th first-level metering point corresponding to the i-th second-level metering point. ij Y represents the energy statistics of the j-th first-level metering point corresponding to the i-th second-level metering point. ij Let be the energy amount of the button to be reduced at the j-th first-level metering point corresponding to the i-th second-level metering point.

[0094] The pre-established energy billing point relationship model in this embodiment includes M first-level metering points and N second-level metering points, where M and N are integers greater than 0, and the specific values ​​of M and N can be determined according to the actual situation.

[0095] For example, see Figure 3 The metering point diagram can be set to M=2 and N=2, meaning that the pre-established energy billing point relationship model in this embodiment includes two first-level metering points and two second-level metering points. Specifically, the pre-established energy billing point relationship model in this embodiment includes first-level metering point A, first-level metering point B, second-level metering point a, second-level metering point b, and a corresponding hierarchical relationship table. Correspondingly, first-level metering point A and first-level metering point B form the first-level metering point set 31 of this embodiment, and second-level metering point a and second-level metering point b form the second-level metering point set 32 ​​of this embodiment.

[0096] See Figure 4 The schematic diagram of the metering points can be set with M=2 and N=1, meaning that the pre-established energy billing point relationship model in this embodiment includes two first-level metering points and one second-level metering point. Specifically, the pre-established energy billing point relationship model in this embodiment includes first-level metering point C, first-level metering point D, second-level metering point c, and a corresponding hierarchical relationship table. Correspondingly, first-level metering point C and first-level metering point D form the first-level metering point set 41 of this embodiment, and second-level metering point c forms the second-level metering point set 42 of this embodiment.

[0097] See Figure 5 The schematic diagram of the metering points can be set with M=1 and N=2, meaning that the pre-established energy billing point relationship model in this embodiment includes one first-level metering point and two second-level metering points. Specifically, the pre-established energy billing point relationship model in this embodiment includes a first-level metering point E, a second-level metering point d, a second-level metering point e, and a corresponding hierarchical relationship table. Correspondingly, the first-level metering point E forms the first-level metering point set 51 of this embodiment, and the second-level metering points d and e form the second-level metering point set 52 of this embodiment.

[0098] This embodiment refers to Figure 3 Energy metering is performed using a schematic diagram of metering points. First, based on the hierarchical relationship table, the first-level metering point A corresponds to the second-level metering point a and the second-level metering point b. The first-level metering point B corresponds to the second-level metering point a. Correspondingly, the second-level metering point a corresponds to the first-level metering point A and the first-level metering point B, and the second-level metering point b corresponds to the first-level metering point A.

[0099] Among them, the energy statistics of the first-level metering point A are 500, the energy statistics of the first-level metering point B are 1500, the billed energy statistics of the second-level metering point a are 1000, and the billed energy statistics of the second-level metering point b are 300.

[0100] For the second-level metering point a, based on the energy statistics of the first-level metering point A (500) and the energy statistics of the first-level metering point B (1500), the energy proportion parameter of the first-level metering point A is determined to be 0.25 and the energy proportion parameter of the first-level metering point B is determined to be 0.75. Then, based on the energy proportion parameter and the billed energy statistics of the second-level metering point a (1000), combined with the energy deduction calculation model, the energy deduction amount of the first-level metering point A relative to the second-level metering point a is determined to be 250, and the energy deduction amount of the first-level metering point B relative to the second-level metering point a is determined to be 750.

[0101] For the second-level metering point b, the energy proportion parameter of the first-level metering point A is determined to be 1. Based on the energy proportion parameter and the billed energy statistics of the second-level metering point b (300), combined with the energy deduction calculation model, the energy deduction amount of the first-level metering point A relative to the second-level metering point b is determined to be 300.

[0102] For the first-level metering point A, calculate the sum of the energy amount to be deducted (250) relative to the second-level metering point a and the energy amount to be deducted (300) relative to the second-level metering point b, and obtain the energy amount to be deducted (550) for the first-level metering point A.

[0103] For the first-level metering point B, based on the energy amount to be deducted of 750 relative to the energy amount to be deducted from the second-level metering point a, the energy amount to be deducted from the first-level metering point B is determined to be 750.

[0104] Then, the energy statistics of the first-level metering point A (500) and the energy amount to be deducted of the first-level metering point A (550) are compared. Since the energy statistics of the first-level metering point A are less than the energy amount to be deducted, the energy amount to be billed of the first-level metering point A is determined to be zero.

[0105] Comparing the energy statistics of 1000 at the first-level metering point B with the energy amount to be deducted of 750 at the first-level metering point B, the energy statistics of the first-level metering point B is greater than the energy amount to be deducted. Therefore, based on the energy statistics of 1000 and the energy amount to be deducted of 750 at the first-level metering point B, and combined with the pre-set calculation model of the energy amount to be billed in the energy pool model, the energy amount to be billed at the first-level metering point B is determined to be 250.

[0106] Correspondingly, the energy metering results of the energy billing point relationship model in this embodiment can be seen in the following table:

[0107]

[0108] This embodiment takes electricity billing as an example. A minimum electricity threshold is preset. When the electricity statistics of the first-level electricity metering point are less than the amount to be deducted, the amount to be billed for each first-level electricity metering point is determined to be zero. When the electricity statistics of the first-level electricity metering point are not less than the amount to be deducted, the electricity statistics of the first-level electricity metering point and the amount to be deducted are used, combined with the pre-set amount to be billed calculation model in the electricity pool model, to determine the amount to be billed for each first-level electricity metering point.

[0109] Optionally, based on the energy statistics and energy to be deducted at each first-level metering point, and combined with the pre-set calculation model for the energy to be billed in the energy pool model, the energy to be billed at each first-level metering point is determined to include:

[0110] For any first-level metering point, compare the energy statistics and the energy to be deducted for the first-level metering point;

[0111] If the energy statistics of the first-level metering point are not less than the energy to be deducted, the energy to be deducted at the first-level metering point shall be determined based on the energy statistics of the first-level metering point, the energy to be deducted, and the energy to be deducted calculation model used to characterize the energy to be billed, the energy statistics of the first-level metering point, and the energy to be deducted.

[0112] If the energy statistics of the first-level metering point are less than the energy to be deducted, the energy to be billed at the first-level metering point is determined to be the preset value.

[0113] Specifically, for any first-level metering point, after comparing the energy statistics and the energy to be deducted at the first-level metering point, the calculation method for the energy to be billed at the first-level metering point is divided into two cases. If the energy statistics of the first-level metering point are not less than the energy to be deducted, the energy statistics and the energy to be deducted at the first-level metering point are substituted into the preset energy to be billed calculation model to calculate the energy to be billed at the first-level metering point. When the energy statistics of the first-level metering point are less than the energy to be deducted, the energy to be billed at the first-level metering point is determined to be a preset value, which is zero.

[0114] This embodiment compares the energy statistics and the energy to be deducted at the first-level metering point, and divides the calculation method of the energy to be billed at the first-level metering point into two cases, and determines the energy to be billed at the first-level metering point in each case, thereby improving the reliability of the energy to be billed at the first-level metering point.

[0115] Optionally, after determining the energy amount to be billed at the first-level metering point to be the preset value if the energy statistics at the first-level metering point are less than the energy amount to be deducted, the following steps are also included:

[0116] Obtain the preset minimum energy threshold, and determine the amount of energy to be deducted in advance for the first-level metering point based on the energy statistics of the first-level metering point, the energy to be deducted, and the preset minimum energy threshold.

[0117] Based on the energy amount deducted in advance at the first-level metering point, the hierarchical relationship table, the energy statistics of each first-level metering point in the next billing cycle, and the billed energy statistics of each second-level metering point, combined with the pre-set energy amount deductible calculation model in the energy pool model, the energy amount to be deducted at each first-level metering point in the next energy billing cycle is determined.

[0118] Specifically, when the energy statistics of the first-level metering point are less than the energy to be deducted, the energy to be billed at the first-level metering point is determined to be a preset value of zero. A preset minimum energy threshold is then obtained. This preset minimum energy threshold is used to prevent the energy at the first-level metering point from being deducted to zero, thus avoiding a situation where no energy bill can be generated. The preset minimum energy threshold can be set according to actual conditions. In this embodiment, the preset minimum energy threshold can be set to 10.

[0119] Based on the difference between the energy statistics of the first-level metering point and the preset minimum energy threshold, the amount of energy that has been billed in the first-level metering point can be determined. Then, by calculating the difference between the energy to be deducted and the energy that has been billed in the first-level metering point, the amount of energy to be deducted in advance that has been billed in the first-level metering point can be determined. In the next energy billing cycle, by combining the hierarchical relationship table, the energy statistics of each first-level metering point in the next billing cycle, the billed energy statistics of each second-level metering point, and the preset energy to be deducted calculation model in the energy pool model, the amount of energy to be deducted in the next energy billing cycle for each first-level metering point can be determined.

[0120] Specifically, in the next billing cycle, after calculating the energy amount to be deducted for each first-level metering point based on the hierarchical relationship table, the energy statistics of each first-level metering point in the next billing cycle, the billed energy statistics of each second-level metering point, and the pre-set energy amount to be deducted calculation model in the energy pool model, the energy amount to be deducted for each first-level metering point is subtracted from the energy amount to be deducted for each first-level metering point in the current energy billing cycle to obtain the energy amount to be deducted for each first-level metering point in the next energy billing cycle.

[0121] In this embodiment, when the energy statistics of the first-level metering point are less than the energy to be deducted, a preset minimum energy threshold is obtained. Based on the energy statistics of the first-level metering point, the preset minimum energy threshold, and the energy to be deducted, the amount of energy to be deducted in advance for the first-level metering point is determined. In the next energy billing cycle, the amount of energy to be deducted for each first-level metering point is determined by combining the hierarchical relationship table, the energy statistics of each first-level metering point in the next billing cycle, the billed energy statistics of each second-level metering point, and the preset energy deduction calculation model in the energy pool model. This fully considers the relationship between the energy to be deducted, the energy to be billed, and the energy to be deducted in advance when the energy statistics of the first-level metering point are less than the energy to be deducted, thus improving the accuracy of the energy to be deducted.

[0122] The above steps, based on the energy statistics and energy to be deducted at each first-level metering point, and combined with the pre-set calculation model for the energy to be billed in the energy pool model, determine the energy to be billed at each first-level metering point. By considering the relationship between the energy to be deducted and the energy statistics at the first-level metering point, the calculation method for the energy to be billed at the first-level metering point is divided into two cases. The energy to be billed at the first-level metering point is determined by combining the pre-set calculation model for the energy to be billed in the energy pool model, thus improving the reliability and accuracy of the energy to be billed at the first-level metering point.

[0123] Step S204: Perform energy billing based on the amount of energy to be billed at each first-level metering point.

[0124] After determining the amount of energy to be billed at each first-level metering point, energy billing is performed for each first-level metering point according to the actual energy billing standard, such as tiered billing standard, to complete the energy billing for the current billing cycle.

[0125] This embodiment takes electricity billing as an example. After determining the billable electricity volume for each first-level electricity metering point, electricity billing is performed for each first-level electricity metering point according to the actual electricity billing standard, such as the electricity tier billing standard, to complete the electricity billing for this billing cycle. This is to guide enterprises to explore energy-saving potential, formulate energy-saving measures, reduce electricity consumption, and reduce production costs.

[0126] The above steps, which involve billing energy based on the amount of energy to be billed at each first-level metering point, complete the energy billing for this billing cycle by billing the energy amount to be billed at each first-level metering point according to the actual energy billing standard.

[0127] This embodiment obtains a pre-established energy billing point relationship model, which includes M first-level energy meters at first-level metering points, N second-level energy meters at second-level metering points, and a hierarchical relationship table representing the subordinate relationship between each first-level and second-level energy meter. Based on each first-level energy meter, the energy statistics for each first-level metering point are determined. Based on the energy quantity stored in the energy pool set for each second-level metering point, the billed energy statistics for each second-level metering point are determined. Based on the hierarchical relationship table, the energy statistics for each first-level metering point, and the billed energy statistics for each second-level metering point, combined with the pre-set deductible energy quantity calculation model in the energy pool model, the deductible energy quantity for each first-level metering point is determined. The energy statistics and deductible energy quantities of the first-level metering points are combined with the pre-set calculation model for deductible energy quantities in the energy pool model to determine the deductible energy quantity for each first-level metering point. Energy billing is then performed based on the deductible energy quantity for each first-level metering point. By supporting real-time and individual energy billing for second-level metering points and determining the correspondence between the first-level and second-level metering points according to the hierarchical relationship table, the deductible energy quantity for each first-level metering point is calculated. This deductible energy quantity is then combined with the energy statistics of the first-level metering point itself to determine the deductible energy quantity for energy billing. This improves the accuracy and reliability of the energy billing method and enhances guidance for enterprises to tap into energy-saving potential, formulate energy-saving measures, reduce energy consumption, and lower production costs.

[0128] Corresponding to the energy billing method in the above embodiments, Figure 6 A structural block diagram of an energy billing device based on an energy pool model provided in Embodiment 2 of the present invention is given. For ease of explanation, only the parts related to the embodiments of the present invention are shown.

[0129] See Figure 6 The energy billing device includes:

[0130] The data acquisition module 61 is used to acquire a pre-established energy billing point relationship model. The energy billing point relationship model includes M first-level energy meters at first-level metering points, N second-level energy meters at second-level metering points, and a hierarchical relationship table to characterize the subordinate relationship between each first-level energy meter and the second-level energy meter. The energy statistics of each first-level metering point are determined based on each first-level energy meter, and the billed energy statistics of each second-level metering point are determined based on the energy quantity stored in the energy pool set of each second-level metering point. Here, M and N are positive integers.

[0131] The module 62 for determining the amount of energy to be deducted is used to determine the amount of energy to be deducted for each first-level metering point based on the hierarchical relationship table, the energy statistics of each first-level metering point and the billed energy statistics of each second-level metering point, combined with the pre-set calculation model for the amount of energy to be deducted in the energy pool model.

[0132] The energy quantity to be billed module 63 is used to determine the energy quantity to be billed at each first-level metering point based on the energy statistics and energy quantity to be deducted at each first-level metering point, combined with the pre-set energy quantity to be billed calculation model in the energy pool model.

[0133] The energy billing module 64 is used to bill energy based on the amount of energy to be billed for each Level 1 energy meter.

[0134] Optionally, the data acquisition module 61 mentioned above includes:

[0135] The first energy statistics acquisition submodule is used to acquire the energy statistics of the energy parameters in each first-level energy meter. The energy parameters include at least the metered energy parameters, free energy parameters, and refund / replenishment energy parameters. The energy statistics of the metered energy parameters are the difference between the energy statistics read from the energy meter and the energy statistics read last time. The energy statistics of the free energy parameters are the energy statistics of the reduced or waived fees. The energy statistics of the refund / replenishment energy parameters are the energy statistics of the fees that need to be refunded or the fees that need to be paid.

[0136] The second energy statistics acquisition submodule is used to substitute the energy statistics of the energy parameters corresponding to each second-level metering point in each first-level energy table into the preset energy statistics model to determine the energy statistics of each first-level metering point.

[0137] Optionally, the data acquisition module 61 mentioned above includes:

[0138] The energy storage submodule is used to store the energy amount for which the cost has been calculated at each secondary metering point in the energy pool set in real time;

[0139] The energy quantity acquisition submodule is used to acquire, during energy billing, several energy quantities stored in the energy pool set for each secondary metering point from the start time to the end time corresponding to this energy billing;

[0140] The submodule for obtaining billed energy statistics is used to determine the sum of several energy quantities at each second-level metering point as the billed energy statistics for each second-level metering point.

[0141] Optionally, the above-mentioned energy deduction determination module 62 includes:

[0142] The metering point relationship determination submodule is used to determine n second-level metering points corresponding to each first-level metering point and m first-level metering points corresponding to each second-level metering point based on the hierarchical relationship table, the first-level energy meter corresponding to each first-level metering point and the second-level energy meter corresponding to each sub-metering point, where n and m are positive integers, n≤N, m≤M;

[0143] The submodule for determining the energy proportion parameter is used to determine the energy proportion parameter of each first-level metering point corresponding to the second-level metering point for any second-level metering point, based on the energy statistics of each first-level metering point corresponding to the second-level metering point.

[0144] The submodule for determining the amount of energy to be deducted is used to determine the amount of energy to be deducted relative to the second-level metering point for each first-level metering point, based on the energy proportion parameter and the billed energy statistics, combined with the energy pool model that pre-determines the energy deduction calculation model that represents the relationship between the energy to be deducted, the billed energy statistics and the energy proportion parameter.

[0145] The submodule for determining the amount of energy to be deducted is used to determine the amount of energy to be deducted for each first-level metering point based on the amount of energy to be deducted for each first-level metering point relative to the corresponding n second-level metering points.

[0146] Optionally, the submodule for determining the above energy proportion parameters includes:

[0147] The energy statistics summation calculation unit is used to determine the sum of energy statistics based on the energy statistics of each first-level metering point corresponding to the second-level metering point;

[0148] The energy proportion parameter unit is used to determine the energy proportion parameter of each first-level metering point corresponding to the second-level metering point, based on the energy statistics, the sum of energy statistics, and the proportion parameter calculation model used to characterize the relationship between the energy proportion parameter, the energy statistics, and the sum of energy statistics.

[0149] Optionally, the above-mentioned energy quantity determination module 63 includes:

[0150] The Energy Comparison Submodule is used to compare the energy statistics and the energy to be deducted for any first-level metering point.

[0151] The first energy quantity to be billed submodule is used to determine the energy quantity to be billed at the first-level metering point if the energy statistics of the first-level metering point is not less than the energy quantity to be deducted. Based on the energy statistics of the first-level metering point, the energy quantity to be deducted, and the first energy quantity to be billed calculation model used to characterize the relationship between the energy quantity to be billed, the energy statistics of the first-level metering point, and the energy quantity to be deducted.

[0152] The second submodule for determining the amount of energy to be billed is used to determine the amount of energy to be billed at the first-level metering point as a preset value if the energy statistics of the first-level metering point are less than the amount of energy to be deducted.

[0153] Optionally, after the aforementioned second energy quantity to be billed determination submodule, the energy billing device further includes:

[0154] The pre-deduction energy amount determination submodule is used to obtain the preset minimum energy amount threshold and determine the pre-deduction energy amount for the first-level metering point based on the energy statistics of the first-level metering point, the energy amount to be deducted, and the preset minimum energy amount threshold.

[0155] The second submodule for determining the amount of energy to be deducted is used to determine the amount of energy to be deducted for each first-level metering point in the next energy billing cycle based on the amount of energy deducted in advance for the first-level metering point, the hierarchical relationship table, the energy statistics of each first-level metering point in the next billing cycle, and the billed energy statistics of each second-level metering point, combined with the pre-set calculation model for the amount of energy to be deducted in the energy pool model.

[0156] It should be noted that the information interaction and execution process between the above modules, sub-modules and units are based on the same concept as the method embodiments of the present invention. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.

[0157] Figure 7 This is a schematic diagram of the structure of a computer device provided in Embodiment 3 of the present invention. Figure 7 As shown, the computer device of this embodiment includes: at least one processor ( Figure 7 Only one is shown in the diagram), a memory, and a computer program stored in the memory and capable of running on at least one processor, which, when executing the computer program, implements the steps in any of the above-described energy billing method embodiments.

[0158] This computer device may include, but is not limited to, a processor and memory. Those skilled in the art will understand that... Figure 7The examples of computer devices are merely examples and do not constitute a limitation on computer devices. Computer devices may include more or fewer components than shown, or combinations of certain components, or different components, such as network interfaces, displays, and input devices.

[0159] The processor referred to can be a CPU, but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.

[0160] Memory includes readable storage media, internal memory, etc., wherein internal memory can be the RAM of a computer device, providing an environment for the operation of the operating system and computer-readable instructions stored in the readable storage media. The readable storage media can be the hard drive of a computer device, or in other embodiments, it can be an external storage device of the computer device, such as a plug-in hard drive, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, memory can include both internal storage units and external storage devices of a computer device. Memory is used to store the operating system, applications, bootloader, data, and other programs, such as program code for computer programs. Memory can also be used to temporarily store data that has been output or will be output.

[0161] Those skilled in the art will understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the functions described above can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this invention. The specific working process of the units and modules in the above device can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here. If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention can implement all or part of the processes in the methods of the above embodiments by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the above method embodiments. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. A computer-readable medium can include at least: any entity or device capable of carrying computer program code, a recording medium, a computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.

[0162] The present invention can implement all or part of the processes in the methods of the above embodiments, or it can be accomplished by a computer program product. When the computer program product is run on a computer device, the computer device executes the steps in the above method embodiments.

[0163] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0164] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0165] In the embodiments provided by this invention, it should be understood that the disclosed apparatus / computer devices and methods can be implemented in other ways. For example, the apparatus / computer device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0166] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0167] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. An energy billing method based on an energy pool model, characterized in that, The energy billing method includes: Obtain a pre-established energy billing point relationship model, which includes M first-level energy meters at first-level metering points, N second-level energy meters at second-level metering points, and a hierarchical relationship table to characterize the subordinate relationship between each first-level energy meter and each second-level energy meter. Determine the energy statistics of each first-level metering point based on each first-level energy meter, and determine the billed energy statistics of each second-level metering point based on the energy quantity stored in the energy pool set for each second-level metering point, where M and N are positive integers. Based on the hierarchical relationship table, the energy statistics of each first-level metering point and the billed energy statistics of each second-level metering point, and combined with the preset energy deduction calculation model in the energy pool model, the energy deduction amount of each first-level metering point is determined. Based on the energy statistics and energy amount to be deducted for each first-level metering point, and combined with the pre-set energy amount to be billed calculation model in the energy pool model, the energy amount to be billed for each first-level metering point is determined. Energy billing is performed based on the amount of energy to be billed at each first-level metering point; The step of determining the deductible energy amount for each first-level metering point based on the hierarchical relationship table, the energy statistics of each first-level metering point, and the billed energy statistics of each second-level metering point, combined with the preset deductible energy amount calculation model in the energy pool model, includes: Based on the hierarchical relationship table, the first-level energy meter corresponding to each first-level metering point, and the second-level energy meter corresponding to each second-level metering point, determine n second-level metering points corresponding to each first-level metering point, and m first-level metering points corresponding to each second-level metering point, where n and m are positive integers, n≤N, and m≤M; For any second-level metering point, the energy percentage parameter of each first-level metering point corresponding to the second-level metering point is determined based on the energy statistics of each first-level metering point corresponding to the second-level metering point. Based on the energy quantity ratio parameter and the billed energy statistics, and combined with the pre-set energy pool model representing the relationship between the energy quantity to be deducted, the billed energy statistics, and the energy quantity ratio parameter, the energy quantity to be deducted for each first-level metering point corresponding to the second-level metering point is determined relative to the second-level metering point. Based on the amount of energy to be deducted for each first-level metering point relative to the corresponding n second-level metering points, determine the amount of energy to be deducted for each first-level metering point. The step of determining the energy percentage parameter for each first-level metering point corresponding to the second-level metering point based on the energy statistics of each first-level metering point corresponding to the second-level metering point includes: The total energy statistics are determined based on the energy statistics of each of the first-level metering points corresponding to the second-level metering points; Based on the energy statistics, the sum of the energy statistics, and the calculation model of the percentage parameter used to characterize the energy percentage parameter and the relationship between the energy statistics and the sum of the energy statistics, the energy percentage parameter for each first-level metering point corresponding to the second-level metering point is determined.

2. The energy billing method according to claim 1, characterized in that, The determination of energy statistics for each first-level metering point based on each first-level energy meter includes: Obtain the energy statistics of each energy parameter in the first-level energy table. The energy parameters include at least the metered energy parameters, free energy parameters, and refund / refund energy parameters. The energy statistics of the metered energy parameters are the difference between the energy statistics read from the energy table and the energy statistics read last time. The energy statistics of the free energy parameters are the energy statistics of the reduced or waived fees. The energy statistics of the refund / refund energy parameters are the energy statistics of the fees that need to be refunded or the fees that need to be paid. The energy statistics of the energy parameters corresponding to each second-level metering point in each first-level energy meter are substituted into the preset energy statistical model to determine the energy statistics of each first-level metering point.

3. The energy billing method of claim 1, wherein, The step of determining the billed energy statistics for each second-level metering point based on the amount of energy stored in the energy pool set for each second-level metering point includes: The amount of energy for which the cost has been calculated at each second-level metering point is stored in the energy pool set in real time; When performing energy billing, obtain several energy quantities stored in the energy pool set for each second-level metering point during the start and end times corresponding to this energy billing; The sum of several energy quantities at each second-level metering point is used to determine the billed energy statistics for each second-level metering point.

4. The energy billing method according to any one of claims 1 to 3, characterized in that, The determination of the amount of energy to be charged for each first-level metering point, based on the energy statistics and the amount of energy to be deducted at each first-level metering point, and in conjunction with the pre-set calculation model for the amount of energy to be charged in the energy pool model, includes: For any first-level metering point, compare the energy statistics of the first-level metering point with the energy to be deducted; If the energy statistics of the first-level metering point are not less than the energy amount to be deducted, the energy amount to be deducted at the first-level metering point is determined based on the energy statistics of the first-level metering point, the energy amount to be deducted, and the energy amount to be charged calculation model used to characterize the relationship between the energy amount to be charged, the energy statistics of the first-level metering point, and the energy amount to be deducted. If the energy statistics of the first-level metering point are less than the energy amount to be deducted, the energy amount to be billed at the first-level metering point is determined to be a preset value.

5. The energy billing method of claim 4, wherein, After determining that the energy amount to be billed at the first-level metering point is a preset value if the energy statistics of the first-level metering point are less than the energy amount to be deducted, the method further includes: Obtain a preset minimum energy threshold, and determine the amount of energy to be deducted in advance at the first-level metering point based on the energy statistics of the first-level metering point, the energy to be deducted, and the preset minimum energy threshold. Based on the energy amount deducted in advance at the first-level metering point, the hierarchical relationship table, the energy statistics of each first-level metering point and the billed energy statistics of each second-level metering point in the next billing cycle, and in conjunction with the preset energy amount deductible calculation model in the energy pool model, the energy amount to be deducted at each first-level metering point in the next energy billing cycle is determined.

6. An energy billing device based on a model of energy pools, characterized by The energy billing device includes: The data acquisition module is used to acquire a pre-established energy billing point relationship model. The energy billing point relationship model includes M first-level energy meters for first-level metering points, N second-level energy meters for second-level metering points, and a hierarchical relationship table for characterizing the subordinate relationship between each first-level energy meter and each second-level energy meter. The energy statistics of each first-level metering point are determined based on each first-level energy meter, and the billed energy statistics of each second-level metering point are determined based on the energy quantity stored in the energy pool set of each second-level metering point. Here, M and N are positive integers. The module for determining the amount of energy to be deducted is used to determine the amount of energy to be deducted for each first-level metering point based on the hierarchical relationship table, the energy statistics of each first-level metering point and the billed energy statistics of each second-level metering point, combined with the pre-set calculation model for the amount of energy to be deducted in the energy pool model. The energy quantity to be billed module is used to determine the energy quantity to be billed for each first-level metering point based on the energy statistics and energy quantity to be deducted for each first-level metering point, combined with the pre-set energy quantity to be billed calculation model in the energy pool model. The energy billing module is used to bill energy based on the amount of energy to be billed for each first-level energy meter. The module for determining the amount of energy to be deducted includes: The metering point relationship determination submodule is used to determine, based on the hierarchical relationship table, the first-level energy meter corresponding to each first-level metering point, and the second-level energy meter corresponding to each second-level metering point, n second-level metering points corresponding to each first-level metering point, and m first-level metering points corresponding to each second-level metering point, where n and m are positive integers, n≤N, m≤M; The energy proportion parameter determination submodule is used to determine the energy proportion parameter of each first-level metering point corresponding to the second-level metering point for any second-level metering point, based on the energy statistics of each first-level metering point corresponding to the second-level metering point. The submodule for determining the amount of energy to be deducted is used to determine the amount of energy to be deducted relative to the second-level metering point for each first-level metering point based on the energy amount ratio parameter and the billed energy statistics, combined with the energy amount calculation model for the amount to be deducted that is preset in the energy pool model and represents the relationship between the amount of energy to be deducted, the billed energy statistics and the energy amount ratio parameter. The submodule for determining the amount of energy to be deducted is used to determine the amount of energy to be deducted for each first-level metering point based on the amount of energy to be deducted for each first-level metering point relative to the corresponding n second-level metering points. The energy percentage parameter determination submodule includes: The energy statistics summation calculation unit is used to determine the energy statistics summation based on the energy statistics of each first-level metering point corresponding to the second-level metering point; The energy proportion parameter unit is used to determine the energy proportion parameter of each first-level metering point corresponding to the second-level metering point based on the energy statistics, the sum of the energy statistics, and the proportion parameter calculation model used to characterize the relationship between the energy proportion parameter, the energy statistics, and the sum of the energy statistics.

7. A computer device, comprising: The computer device includes a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the energy billing method as described in any one of claims 1 to 5.

8. A computer-readable storage medium storing a computer program, the computer-readable storage medium comprising: When the computer program is executed by the processor, it implements the energy billing method as described in any one of claims 1 to 5.