Bill data auditing method and device, equipment and storage medium

By combining month-on-month auditing with an auditing strategy that compares actual and predicted data, the problem of inaccurate auditing of base station equipment billing data has been solved, resulting in more accurate and timely auditing results. This approach is applicable to the auditing of billing data for base station equipment.

CN115456682BActive Publication Date: 2026-11-24CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211152785.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-21
Publication Date
2026-11-24
Estimated Expiration
2042-09-21

AI Technical Summary

Technical Problem

Existing methods for auditing billing data of base station equipment cannot accurately audit based on the actual situation of the equipment, resulting in inaccurate audit results.

Method used

The system employs a pre-defined month-on-month audit strategy and a comparison audit strategy between actual and predicted data. By combining the current actual electricity bill data, the previous actual electricity bill data, and the current predicted electricity bill data, the system calculates the daily average month-on-month increase/decrease and deviation to determine the current audit status. An audit anomaly alert is sent when both are abnormal.

Benefits of technology

This improves the accuracy and relevance of audit results, enabling timely detection of billing data anomalies, ensuring consistency with actual equipment conditions, and guaranteeing the accuracy and timeliness of audit results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115456682B_ABST
    Figure CN115456682B_ABST
Patent Text Reader

Abstract

This application provides a billing data auditing method, apparatus, device, and storage medium. The method includes: acquiring the current actual electricity billing data, the previous actual electricity billing data, and the current predicted electricity billing data corresponding to the target device; the previous actual electricity billing data refers to the actual electricity billing data of the period preceding the current actual electricity billing data; determining the current first auditing state of the current actual electricity billing data based on the current actual electricity billing data and the previous actual electricity billing data using a preset month-on-month auditing strategy; determining the current second auditing state of the current actual electricity billing data based on the current actual electricity billing data and the current predicted electricity billing data using a preset actual and predicted data comparison auditing strategy; and sending an auditing anomaly prompt message to the user terminal if both the current first auditing state and the current second auditing state are abnormal. This application provides accurate auditing results based on the actual situation of the target device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to data processing technology, and more particularly to a method, apparatus, device, and storage medium for auditing billing data. Background Technology

[0002] As people's demand for the Internet increases, the number of base station devices also increases accordingly, which in turn increases developers' attention to auditing the billing data of base station devices.

[0003] In existing technologies, auditing the billing data of base station equipment can be accomplished using conventional strategies. These conventional strategies are based on historical electricity billing data from a subset of base station equipment, setting a general threshold for price fluctuations to audit the current actual electricity billing data for all base station equipment. If the fluctuation between the current actual electricity billing data and the historical electricity billing data is greater than or equal to the general threshold, then the current actual electricity billing data is determined to be in an abnormal state.

[0004] Because conventional strategies and methods are based on historical electricity bill data of some base station equipment, without taking into account the characteristics of the base station equipment itself, they cannot audit the electricity bill data of the base station equipment according to the actual situation of the base station equipment, and therefore cannot give accurate audit results. Summary of the Invention

[0005] This application provides a billing data auditing method, apparatus, device, and storage medium to solve the problem that the electricity billing data of the base station equipment cannot be audited according to the actual situation of the base station equipment, thus failing to provide accurate auditing results.

[0006] Firstly, this application provides a method for auditing billing data, including:

[0007] Obtain the current actual electricity bill data, the previous actual electricity bill data, and the current predicted electricity bill data corresponding to the target device; the previous actual electricity bill data refers to the actual electricity bill data of the period preceding the current actual electricity bill data;

[0008] A preset month-on-month audit strategy is used to determine the current first audit status of the current real electricity bill data based on the current real electricity bill data and the previous real electricity bill data;

[0009] A preset audit strategy comparing real and predicted data is adopted to determine the current second audit status of the current real electricity bill data based on the current real electricity bill data and the current predicted electricity bill data;

[0010] If both the current first audit status and the current second audit status are in an abnormal state, an audit abnormality prompt message is sent to the user terminal.

[0011] In one feasible approach, the current real electricity bill data includes: current real daily average month-on-month data in at least one dimension; the previous real electricity bill data includes: previous real daily average month-on-month data in the same dimension as the current real daily average month-on-month data, and the step of determining the current first audit status of the current real electricity bill data based on the current real electricity bill data and the previous real electricity bill data using a preset month-on-month audit strategy includes:

[0012] Calculate the daily average month-on-month change in each dimension between the current real daily average month-on-month data and the previous real daily average month-on-month data;

[0013] Obtain the daily average month-on-month increase / decrease threshold corresponding to the current real electricity bill data;

[0014] The daily average month-on-month change rate is compared with the corresponding daily average month-on-month change rate threshold to obtain the comparison results of each change rate;

[0015] The current first audit status of the current real electricity bill data is determined based on the comparison results of the increases and decreases mentioned above.

[0016] In one feasible approach, obtaining the daily average month-on-month change threshold corresponding to the current real electricity bill data includes:

[0017] Determine the current time range corresponding to the current actual electricity bill data;

[0018] Obtain the mapping relationship between a preset time range and a daily average month-on-month change threshold;

[0019] Based on the current time range, the daily average month-on-month change threshold corresponding to the current time range is obtained from the mapping relationship and used as the daily average month-on-month change threshold corresponding to the current actual electricity bill data.

[0020] In one feasible approach, determining the current first audit status of the current actual electricity bill data based on each of the said price increase / decrease comparison results includes:

[0021] If at least two of the daily average month-on-month changes in the comparison results are greater than or equal to the corresponding daily average month-on-month change threshold, then the current first audit status is determined to be an abnormal status.

[0022] If, in response to the existence or absence of one or more comparison results where the daily average month-on-month change is greater than or equal to the corresponding daily average month-on-month change threshold, the current first audit status is determined to be a normal status.

[0023] In one feasible approach, the current real electricity bill data includes: current real daily average month-on-month data in at least one dimension, and the current predicted electricity bill data includes: current predicted daily average month-on-month data in the same dimension as the current real daily average month-on-month data.

[0024] The pre-defined audit strategy comparing real and predicted data determines the current second audit status of the current real electricity bill data based on the current real electricity bill data and the current predicted electricity bill data, including:

[0025] Calculate the daily average month-on-month deviation between the current actual daily average month-on-month data and the current predicted daily average month-on-month data for each dimension;

[0026] The daily average month-on-month deviation amplitude thresholds are compared with the preset daily average month-on-month deviation amplitude thresholds to obtain the deviation comparison results.

[0027] The current second audit status of the current real electricity bill data is determined based on the comparison results of the aforementioned deviations.

[0028] In one feasible approach, determining the current second audit status of the current actual electricity bill data based on the comparison results of each of the aforementioned deviations includes:

[0029] If at least two of the deviation comparison results are greater than or equal to a preset daily average month-on-month deviation threshold, then the current second audit status is determined to be an abnormal status.

[0030] If, in response to the existence or absence of one or more deviation comparison results that the daily average month-on-month deviation amplitude is greater than or equal to the preset daily average month-on-month deviation amplitude threshold, the current second audit status is determined to be a normal status.

[0031] In one feasible approach, obtaining the current predicted electricity bill data includes:

[0032] Obtain real electricity bill data for a preset historical time period;

[0033] Input the real electricity bill data for the historical preset time period into the time series model that has been trained to convergence;

[0034] The trained and converged time series model is used to predict the current electricity bill data based on the real electricity bill data of the historical preset time period, and the predicted electricity bill data is output.

[0035] Retrieve the current predicted electricity bill data.

[0036] In one feasible approach, before using the trained and converged time-series model to predict the current electricity bill data based on real electricity bill data from the historical preset time period, the method further includes:

[0037] Obtain training samples for training a preset time series model. The training samples include: at least one historical preset time period of real electricity bill data and corresponding future preset time period of real electricity bill data.

[0038] The preset time series model is trained using the training samples until the preset model convergence condition is met;

[0039] A time series model that meets the preset model convergence conditions is defined as a time series model that has been trained to convergence.

[0040] Secondly, this application provides a billing data auditing device, comprising:

[0041] The acquisition module is used to acquire the current real electricity bill data, the previous real electricity bill data, and the current predicted electricity bill data corresponding to the target device; the previous real electricity bill data refers to the real electricity bill data of the period preceding the current real electricity bill data;

[0042] The first determining module is used to determine the current first audit status of the current real electricity bill data based on the current real electricity bill data and the previous real electricity bill data using a preset month-on-month audit strategy.

[0043] The second determining module is used to determine the current second audit status of the current real electricity bill data based on the current real electricity bill data and the current predicted electricity bill data using a preset real and predicted data comparison audit strategy;

[0044] The sending module is used to send an audit error message to the user terminal in response to both the current first audit status and the current second audit status being in an abnormal state.

[0045] Thirdly, this application provides an electronic device, including: a processor, and a memory and a transceiver communicatively connected to the processor;

[0046] The memory stores computer-executed instructions; the transceiver is used to send and receive data with the user terminal.

[0047] The processor executes computer execution instructions stored in the memory to implement the method as described in the first aspect or any feasible method described above.

[0048] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method described in the first aspect or any of the feasible methods described above.

[0049] This application provides a billing data auditing method, apparatus, device, and storage medium. The method includes acquiring the current real electricity billing data, the previous real electricity billing data, and the current predicted electricity billing data corresponding to the target device; the previous real electricity billing data refers to the real electricity billing data of the period preceding the current real electricity billing data; determining the current first auditing status of the current real electricity billing data based on the current real electricity billing data and the previous real electricity billing data using a preset month-on-month auditing strategy; determining the current second auditing status of the current real electricity billing data based on the current real electricity billing data and the current predicted electricity billing data using a preset real and predicted data comparison auditing strategy; and sending an auditing anomaly prompt message to the user terminal if both the current first auditing status and the current second auditing status are abnormal. This application employs a pre-defined month-on-month audit strategy to determine the current first audit status of the current real electricity bill data based on the acquired current real electricity bill data and the previous real electricity bill data. This first audit status is ultimately determined by comparison with the previous real electricity bill data, thus accurately reflecting the status of the current real electricity bill data. Then, based on the acquired current real electricity bill data and the current predicted electricity bill data, the current second audit status of the current real electricity bill data is determined. This current second audit status is determined based on the current predicted electricity bill data within different time ranges for each target device, thus better conforming to the time change patterns of the target devices and resulting in higher audit accuracy. If both the current first audit status and the current second audit status are abnormal, the current real electricity bill data can be ultimately determined to be abnormal, and an audit anomaly prompt message can be sent to the user terminal in a timely manner to alert user terminal staff that the current real electricity bill data is abnormal as early as possible. At the same time, this application can determine the first and second audit statuses according to the characteristics of different target devices, so the final audit results are more targeted and better suited to the specific circumstances of each target device. Attached Figure Description

[0050] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0051] Figure 1 An application scenario diagram of a billing data auditing method provided in this application;

[0052] Figure 2This is a flowchart illustrating a billing data auditing method provided in Embodiment 1 of this application;

[0053] Figure 3 This is a flowchart illustrating a billing data auditing method provided in Embodiment 2 of this application;

[0054] Figure 4 This is a flowchart illustrating a billing data auditing method provided in Embodiment 3 of this application;

[0055] Figure 5 This is a flowchart illustrating a billing data auditing method provided in Embodiment 4 of this application;

[0056] Figure 6 This is a flowchart illustrating a billing data auditing method provided in Embodiment 5 of this application;

[0057] Figure 7 This is a flowchart illustrating a billing data auditing method provided in Embodiment Six of this application;

[0058] Figure 8 This is a schematic diagram of a billing data auditing device provided in Embodiment 7 of this application;

[0059] Figure 9 This is a schematic diagram of the structure of an electronic device provided in Embodiment 8 of this application.

[0060] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0061] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0062] First, let me explain the terms used in this application:

[0063] Time series model: The full name of time series model refers to the collection of data at different time points under the condition that the time interval remains constant. These collections are analyzed (through the theory and methods of establishing mathematical models by curve fitting and parameter estimation) to understand long-term development trends and predict future values.

[0064] Base station equipment: refers to public mobile communication base station equipment, an interface device for mobile devices to access the Internet, and also a form of radio station. It can be a radio transceiver station that transmits information between a mobile communication switching center and a mobile phone terminal within a certain radio coverage area.

[0065] Month-on-month: refers to the ratio of changes in quantity between two consecutive statistical periods.

[0066] In recent years, the number of base station devices has been increasing, making the auditing of electricity bill data for these devices a major challenge. Existing technologies can employ conventional strategies to audit current electricity bill data. Specifically, these strategies use historical electricity bill data from a subset of base station devices to set a general threshold for price fluctuations. If the fluctuation in the current electricity bill data relative to the historical data is greater than or equal to this threshold, it is determined that the current electricity bill data for that base station device is abnormal, thus indicating a potential anomaly in the base station device itself.

[0067] However, the existing technology has some shortcomings. The aforementioned general price fluctuation threshold is set based on the historical electricity bill data of some base station equipment. This general price fluctuation threshold is universal, so it does not specifically determine the price fluctuation threshold for each base station equipment according to its characteristics. Therefore, it cannot audit the electricity bill data of the base station equipment according to the actual situation of the base station equipment, and thus cannot give accurate audit results.

[0068] To address the shortcomings of existing technologies, the inventors of this solution have creatively designed a new approach. This solution provides a billing data auditing method. To solve the problem of not being able to audit current real electricity billing data based on the actual situation of the base station equipment, this solution first determines a current first auditing state based on the current real electricity billing data and the previous real electricity billing data. The determination of this current first auditing state is related to the previous real electricity billing data of the target equipment; therefore, the current first auditing state can be determined based on the actual situation of the target equipment, thus making the current first auditing state more consistent with the actual situation of the target equipment. Simultaneously, based on the current real electricity billing data and the current predicted electricity billing data, a current second auditing state is determined. The determination of this second auditing state depends on the historical electricity billing data of the corresponding target equipment. The comparison between the predicted electricity bill data and the actual electricity bill data allows the predicted electricity bill data for the target device to be determined based on the actual situation of the target device, thus enabling the determination of a more accurate current second audit status. To address the issue of inaccurate audit results, both the current first and second audit statuses in this application are based on the actual situation of the target device, making them more accurate. Furthermore, this application requires both the current first and second audit statuses to be in an abnormal state before the actual current electricity bill data can be definitively determined to be abnormal, thus providing an accurate audit result.

[0069] The following describes the application scenarios of the billing data auditing method, apparatus, equipment, and storage medium provided by this application.

[0070] Figure 1 This diagram illustrates an application scenario for a billing data auditing method provided in this application. Figure 1 As shown in the diagram, the application scenario includes a target device 101, an electronic device 102, and a user terminal 104. The electronic device 102 includes a billing data auditing device (hereinafter referred to as the auditing device) 103, which contains a time-series model that has been trained to convergence. The target device 101 can be a base station device, and there can be multiple target devices 101. The user terminal 104 can be a client device for the staff corresponding to the target device. The target device 101 is communicatively connected to the electronic device 102, and the electronic device 102 is communicatively connected to the user terminal 104. The connection method can be wired or wireless.

[0071] Specifically, the electronic device 102 obtains the corresponding current real electricity bill data and the previous real electricity bill data from the target device 101. The electronic device 102 includes a bill data auditing device 103. Then, the current real electricity bill data and the previous real electricity bill data are sent to the auditing device 103. In the auditing device 103, a preset month-on-month auditing strategy is used to determine the current first auditing status of the current real electricity bill data based on the current real electricity bill data and the previous real electricity bill data. The current first auditing status includes an abnormal status and a normal status. Prior to this, the time series model, which has been trained to convergence, predicted the current electricity bill data based on historical real electricity bill data, thereby obtaining the current predicted electricity bill data and storing it in the storage area of ​​the audit device 103. The audit device 103 obtains the current predicted electricity bill data and then uses a preset real and predicted data comparison audit strategy to compare the current real electricity bill data with the current predicted electricity bill data. Based on the comparison result, the current second audit status of the current real electricity bill data is determined, where the current second audit status includes an abnormal status and a normal status.

[0072] Furthermore, if both the current first audit status and the current second audit status are abnormal, it can be determined that the current real electricity bill data is abnormal. At the same time, an audit abnormality prompt message will be triggered and sent to the user terminal 104 to promptly prompt the user terminal 104 to handle the abnormality.

[0073] This application provides a billing data auditing method, apparatus, device, and storage medium, which aims to solve the above-mentioned technical problems of the prior art.

[0074] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0075] Example 1

[0076] Figure 2 This is a flowchart illustrating a billing data auditing method provided in Embodiment 1 of this application. The executing entity of this embodiment is a billing data auditing device, such as... Figure 2 As shown, the specific steps are as follows.

[0077] S201, obtain the current actual electricity bill data, the previous actual electricity bill data, and the current predicted electricity bill data corresponding to the target device; the previous actual electricity bill data refers to the actual electricity bill data of the period preceding the current actual electricity bill data.

[0078] Among them, the current real electricity bill data refers to the bill data that needs to be audited at present. It includes the current real daily average month-on-month data in at least one dimension. The daily average month-on-month data may include the daily average electricity cost month-on-month, the daily average electricity consumption month-on-month, the daily average unit price month-on-month, the daily average power utilization efficiency month-on-month, and other relevant daily average month-on-month data.

[0079] The "previous real electricity bill data" refers to the real electricity bill data from the period preceding the current real electricity bill data. For example, if the current real electricity bill data is from the fourth month, then the "previous real electricity bill data" would be from the third month. The "previous real electricity bill data" includes the previous real daily average month-on-month data in the same dimension as the current real daily average month-on-month data.

[0080] The current predicted electricity bill data refers to the future actual electricity bill data predicted based on historical actual electricity bill data using a time-series model that has been trained to convergence, and is stored in the storage area of ​​the auditing device. The current predicted electricity bill data includes the current predicted daily average month-on-month data in the same dimension as the current actual electricity bill data. The historical actual electricity bill data can be actual electricity bill data from a past period.

[0081] The target device may be a base station device, which includes a target server serving the base station.

[0082] Specifically, the time series model that has been trained to convergence predicts future real electricity bill data based on historical real electricity bill data, thus obtaining the current predicted electricity bill data, and storing the current predicted electricity bill data in the storage area of ​​the audit device.

[0083] Specifically, the target server stores the current and previous actual electricity bill data for the corresponding target device. The auditing device obtains the corresponding actual and previous actual electricity bill data for the target device from the target server and stores them in its internal storage area. Simultaneously, the auditing device obtains the current predicted electricity bill data from the internal storage area.

[0084] S202, using a preset month-on-month audit strategy, determine the current first audit status of the current real electricity bill data based on the current real electricity bill data and the previous real electricity bill data.

[0085] The current first audit status is a state of the current actual electricity bill data, which includes abnormal status and normal status.

[0086] Among them, the preset month-on-month audit strategy is a pre-set strategy to audit the daily average month-on-month data of the current real electricity bill data.

[0087] Specifically, the auditing device uses a preset month-on-month auditing strategy to compare the current real electricity bill data with the previous real electricity bill data. Based on the comparison results, the current first audit status of the current real electricity bill data can be determined.

[0088] It is understandable that when the comparison results meet the preset conditions, the current first audit status is normal; when the comparison results do not meet the preset conditions, the current first audit status is abnormal. The preset conditions can be set according to actual circumstances and are not restricted here.

[0089] S203, using a preset audit strategy that compares real and predicted data, the current second audit status of the current real electricity bill data is determined based on the current real electricity bill data and the current predicted electricity bill data.

[0090] The current second audit status is also a status of the current real electricity bill data, which includes abnormal status and normal status.

[0091] Among them, the preset real and predicted data comparison audit strategy is a pre-set audit strategy that compares the real electricity bill data with the current predicted electricity bill data predicted by the time series model that has been trained to convergence.

[0092] Specifically, the auditing device compares the current actual electricity bill data with the current predicted electricity bill data using a preset real and predicted data strategy. Based on the comparison results, the current second audit status of the current actual electricity bill data can be determined.

[0093] It is understandable that when the comparison results meet the preset conditions, the current second audit status is normal; when the comparison results do not meet the preset conditions, the current second audit status is abnormal. The preset conditions can be set according to actual circumstances and are not restricted here.

[0094] S204, in response to the fact that both the current first audit status and the current second audit status are abnormal, an audit abnormality prompt message is sent to the user terminal.

[0095] The audit anomaly alert message is a notification sent to user terminal staff that the current electricity bill data may contain anomalies. The audit anomaly alert message includes the comparison results of the audit anomaly and a warning message. The comparison results refer to the comparison results that would make both the first and second audit states abnormal, while the warning message is a notification reminding user terminal staff of the potential anomaly.

[0096] The user terminal can be the client device of the staff corresponding to the target device. The client device can be a mobile phone or a computer, etc., and there are no restrictions here.

[0097] Specifically, the auditing device determines whether the first and second auditing states obtained in S203 are abnormal or normal. If the auditing device responds to both the first and second auditing states being abnormal, it determines that both are abnormal. In this case, the auditing device can ultimately determine that the current electricity bill data is in an abnormal state. Understandably, the auditing device then determines that the target device is in an abnormal state, triggers an audit anomaly notification, and sends it to the user terminal. The user terminal then performs corresponding processing based on this audit anomaly notification.

[0098] This embodiment provides a billing data auditing method, which includes obtaining the current real electricity billing data, the previous real electricity billing data, and the current predicted electricity billing data corresponding to the target device; the previous real electricity billing data refers to the real electricity billing data of the period preceding the current real electricity billing data; using a preset month-on-month auditing strategy, determining the current first auditing status of the current real electricity billing data based on the current real electricity billing data and the previous real electricity billing data; using a preset real and predicted data comparison auditing strategy, determining the current second auditing status of the current real electricity billing data based on the current real electricity billing data and the current predicted electricity billing data; and in response to both the current first auditing status and the current second auditing status being abnormal, sending an auditing abnormality prompt message to the user terminal. The auditing device employs a preset comparison strategy, comparing the current real electricity bill data with the previous real electricity bill data to determine the current first audit status. This current first audit status is determined based on two real electricity bill data sets. Furthermore, it can be tailored to the specific circumstances of different target devices, thus reflecting the actual situation of the target devices. Next, a preset real and predicted strategy is used, comparing the current real electricity bill data with the current predicted electricity bill data to determine the current second audit status. This current predicted electricity bill data is predicted based on the historical real electricity bill data of each target device, and it also predicts current predicted electricity bill data that fits each target device's characteristics, thus further reflecting the actual situation of the target devices. Based on the first and second audit statuses, it can ultimately determine whether the current real electricity bill data is in an abnormal state. By ensuring that both the first and second audit statuses reflect the actual situation of the target devices, the final state of the current real electricity bill data is more accurate.

[0099] Example 2

[0100] This application embodiment is a further refinement of the above embodiment one. The current real electricity bill data in this embodiment includes: current real daily average month-on-month data in at least one dimension; the previous real electricity bill data includes: previous real daily average month-on-month data in the same dimension as the current real daily average month-on-month data.

[0101] The current real electricity bill data includes at least one dimension of current real daily average month-on-month data, which can be current real daily average electricity cost month-on-month, current real daily average electricity consumption month-on-month, current real daily average unit price month-on-month, and current real daily average power utilization efficiency month-on-month.

[0102] Among them, the previous real electricity bill data includes the previous real daily average month-on-month data in the same dimension as the current real daily average month-on-month data, which can be the previous real daily average electricity cost month-on-month, the previous real daily average electricity consumption month-on-month, the previous real daily average unit price month-on-month, and the previous real daily average power utilization efficiency month-on-month.

[0103] It is understandable that the current daily average month-on-month data for each dimension in the current real electricity bill data corresponds to the previous daily average month-on-month data for each dimension in the previous real electricity bill data. For example, the current daily average month-on-month electricity cost corresponds to the previous daily average month-on-month electricity cost.

[0104] Figure 3 This is a flowchart illustrating a billing data auditing method provided in Embodiment 2 of this application. This embodiment employs a preset comparative auditing strategy to determine the current first auditing status of the current actual electricity billing data based on the current actual electricity billing data and the previous actual electricity billing data—an optional method, such as... Figure 3 As shown, the specific steps are as follows.

[0105] S301 calculates the daily average month-on-month change in each dimension between the current real daily average month-on-month data and the previous real daily average month-on-month data.

[0106] The current real daily average month-on-month data has four dimensions of daily average month-on-month data. Correspondingly, the previous real daily average month-on-month data also has four dimensions of daily average month-on-month data that correspond to the current real daily average month-on-month data.

[0107] Specifically, the auditing device uses a preset month-on-month auditing strategy to calculate the increase or decrease in the current real daily average month-on-month data for each dimension compared to the previous real daily average month-on-month data. The auditing device first calculates the difference between the current real daily average month-on-month data for each dimension and the previous day's average month-on-month data. Based on this difference, it calculates the percentage of the difference to the quotient of the current real daily average month-on-month data for each dimension, thus obtaining the month-on-month increase or decrease for each daily average.

[0108] For example, the auditing device calculates the month-on-month change in the current real daily average electricity cost compared to the previous real daily average electricity cost. Let the current real daily average electricity cost be A1 and the previous real daily average electricity cost be B1. The auditing device first calculates the difference between the two: C1 = A1 - B1. Then, it calculates the percentage of the quotient of this difference to the current real daily average electricity cost: W1 = (|C1| / A1)*100%, where |C1| represents the absolute value of C1. It can be understood that if C1 is negative, it means the current real daily average electricity cost is less than the previous real daily average electricity cost, so W1 represents a decrease; if C1 is positive, it means the current real daily average electricity cost is more than the previous real daily average electricity cost, so W1 represents an increase. This allows us to determine the month-on-month change in the current real daily average electricity cost compared to the previous real daily average electricity cost, W1.

[0109] Understandably, based on the above examples, the changes in the current daily average month-on-month data and the previous daily average month-on-month data for other dimensions can also be determined, which will not be elaborated here.

[0110] S302, obtain the threshold for the daily average month-on-month increase or decrease corresponding to the current real electricity bill data.

[0111] The daily average month-on-month change threshold is a pre-set critical value for daily average month-on-month change, stored in the internal storage area of ​​the auditing device. Specifically, each target device's current actual electricity bill data corresponds to one daily average month-on-month change threshold.

[0112] The daily average month-on-month change threshold represents the threshold for both the increase and decrease. For example, if the daily average month-on-month change threshold is preset to 30%, it means that the threshold for both the increase and decrease is 30%.

[0113] Specifically, the auditing device retrieves the daily average month-on-month change threshold corresponding to the current real electricity bill data in the internal storage area. This daily average month-on-month change threshold is H.

[0114] S303 compares the daily average month-on-month change with the corresponding daily average month-on-month change threshold to obtain the comparison results of each change.

[0115] The comparison results may include the month-on-month comparison results of the average daily electricity price, the average daily electricity consumption, the average daily unit price, and the average daily power utilization efficiency.

[0116] Specifically, the auditing device compares the daily average month-on-month changes calculated in S301 with the corresponding daily average month-on-month change thresholds, and generates a change comparison result. This result can be that the daily average month-on-month change is greater than or equal to the daily average month-on-month change threshold, or that the daily average month-on-month change is less than the daily average month-on-month change threshold. Furthermore, the auditing device obtains each change comparison result and stores it in its internal storage area.

[0117] For example, based on the exemplary example in S302, the month-on-month increase / decrease of the average daily electricity price W1 is compared with the corresponding month-on-month increase / decrease threshold H. The result of this month-on-month increase / decrease comparison can be that the month-on-month increase / decrease of the average daily electricity price W1 is greater than or equal to the corresponding month-on-month increase / decrease threshold H, or the month-on-month increase / decrease of the average daily electricity price W1 is less than the corresponding month-on-month increase / decrease threshold H.

[0118] Furthermore, following the above method, the auditing device can also obtain the comparison results of the other daily average month-on-month changes with the corresponding daily average month-on-month change threshold H.

[0119] S304, determine the current first audit status of the current real electricity bill data based on the comparison results of each increase and decrease.

[0120] Specifically, the auditing device determines whether the current first audit status of the current real electricity bill data is abnormal or normal based on the comparison results of each increase and decrease.

[0121] Understandably, the current real electricity bill data corresponds to the increase and decrease results in four dimensions. Based on the increase and decrease comparison results in the four dimensions, the auditing device determines the current first audit status of the current real electricity bill data. The increase and decrease comparison results in each dimension include the magnitude of the corresponding current real daily average month-on-month increase and decrease and its corresponding daily average month-on-month increase and decrease threshold.

[0122] In one approach, this method is a feasible way to determine the current first audit status of the current real electricity bill data based on the comparison results of various increases and decreases. The content of this method is as follows.

[0123] If at least two of the daily average month-on-month changes in the comparison results are greater than or equal to the corresponding daily average month-on-month change threshold, then the current first audit status is determined to be an abnormal status.

[0124] Specifically, if at least two of the four dimensions of the increase / decrease comparison results show that the daily average month-on-month increase / decrease is greater than or equal to the corresponding daily average month-on-month increase / decrease threshold, then the auditing device will determine the first audit status of the current real electricity bill data as an abnormal state.

[0125] For example, the comparison results of the month-on-month increase and decrease in average daily electricity cost are as follows: the month-on-month increase and decrease in average daily electricity cost is greater than or equal to the corresponding month-on-month increase and decrease threshold H; the comparison results of the month-on-month increase and decrease in average daily electricity consumption are as follows: the month-on-month increase and decrease in average daily electricity consumption is greater than or equal to the corresponding month-on-month increase and decrease threshold H; the comparison results of the month-on-month increase and decrease in average daily unit price are as follows: the month-on-month increase and decrease in average daily unit price is greater than or equal to the corresponding month-on-month increase and decrease threshold H; and the comparison results of the month-on-month increase and decrease in average daily power utilization efficiency are as follows: the month-on-month increase and decrease in average daily power utilization efficiency is less than the corresponding month-on-month increase and decrease threshold H. It can be seen that if there are three month-on-month data points greater than or equal to the corresponding month-on-month increase and decrease thresholds in the above-mentioned month-on-month increase and decrease comparison results, then the preset condition that at least two month-on-month increase and decrease values ​​are greater than or equal to the corresponding month-on-month increase and decrease thresholds is met, and the current first audit status is determined to be an abnormal status.

[0126] If, in response to the existence or absence of one of the comparison results, the daily average month-on-month change is greater than or equal to the corresponding daily average month-on-month change threshold, then the current first audit status is determined to be normal.

[0127] Specifically, if the auditing device determines that the first audit status of the current real electricity bill data is normal if there is one or no daily average month-on-month increase or decrease greater than or equal to the corresponding daily average month-on-month increase or decrease threshold among the four dimensions of the increase and decrease comparison results.

[0128] For example, the comparison result of the month-on-month increase / decrease in average daily electricity cost is that the month-on-month increase / decrease in average daily electricity cost is greater than or equal to the corresponding month-on-month increase / decrease threshold H; the comparison result of the month-on-month increase / decrease in average daily electricity consumption is that the month-on-month increase / decrease in average daily electricity consumption is less than the corresponding month-on-month increase / decrease threshold H; the comparison result of the month-on-month increase / decrease in average daily unit price is that the month-on-month increase / decrease in average daily unit price is less than the corresponding month-on-month increase / decrease threshold H; and the comparison result of the month-on-month increase / decrease in average daily power utilization efficiency is that the average daily power utilization efficiency is less than the corresponding month-on-month increase / decrease threshold H. It can be seen that if there is one month-on-month data greater than or equal to the corresponding month-on-month increase / decrease threshold among the above-mentioned month-on-month increase / decrease comparison results, then the preset condition of having one or not having a month-on-month increase / decrease greater than or equal to the corresponding month-on-month increase / decrease threshold is met, and the current first audit status is determined to be a normal status.

[0129] This method includes determining the current first audit status as an abnormal state if at least two of the daily average month-on-month changes in each comparison result are greater than or equal to the corresponding daily average month-on-month change threshold; and determining the current first audit status as a normal state if one or none of the comparison results are greater than or equal to the corresponding daily average month-on-month change threshold. This auditing device responds when at least two of the four dimensions of the price change comparison results show that the daily average month-on-month price change is greater than or equal to the corresponding daily average month-on-month price change threshold. Since the first auditing state can only be determined as abnormal when at least two daily average month-on-month price changes are greater than or equal to the corresponding daily average month-on-month price change threshold, this improves the accuracy of determining the current first auditing state. Furthermore, if one or no daily average month-on-month price change is greater than or equal to the corresponding daily average month-on-month price change threshold, the impact of an error in one of the daily average month-on-month price change comparison results due to an error in the auditing device is mitigated, thus improving the fault tolerance rate and further enhancing the accuracy.

[0130] This embodiment provides a billing data auditing method. The current real electricity billing data includes: current real daily average month-on-month data in at least one dimension; the previous real electricity billing data includes: previous real daily average month-on-month data in the same dimension as the current real daily average month-on-month data. When determining the current first auditing status of the current real electricity billing data based on the current real electricity billing data and the previous real electricity billing data using a preset month-on-month auditing strategy, the method specifically includes: calculating the month-on-month increase / decrease of each dimension between the current real daily average month-on-month data and the previous real daily average month-on-month data; obtaining the monthly average month-on-month increase / decrease threshold corresponding to the current real electricity billing data; comparing each monthly average month-on-month increase / decrease with the corresponding monthly average month-on-month increase / decrease threshold to obtain each increase / decrease comparison result; and determining the current first auditing status of the current real electricity billing data based on each increase / decrease comparison result. In this embodiment, the auditing device first calculates the daily average month-on-month changes between the current real daily average month-on-month data and the previous real daily average month-on-month data. Then, it compares each daily average month-on-month change with the corresponding daily average month-on-month change threshold to obtain accurate comparison results. The corresponding daily average month-on-month change threshold can be set according to the actual situation of different target devices, thus making the final comparison results more accurate. In this way, the current first audit status can be determined based on the most realistic situation of the target device.

[0131] Example 3

[0132] Figure 4This is a flowchart illustrating a billing data auditing method provided in Embodiment 3 of this application. This embodiment is a further refinement of any of the above embodiments. This embodiment is a feasible way to obtain the daily average month-on-month increase / decrease threshold corresponding to the current actual electricity billing data, such as... Figure 4 As shown, the specific steps are as follows.

[0133] S401, determine the current time range corresponding to the current actual electricity bill data.

[0134] The current time range refers to the time period corresponding to the current actual electricity bill data. Specifically, the current actual electricity bill data is monthly bill data; therefore, the current time range is a complete one-month period.

[0135] The current actual electricity bill data may also include the time when the electricity bill was paid. This payment time reflects which month's electricity bill it represents. For example, if the payment was made at the beginning of the current month, the electricity bill was paid for the previous month; that is, an electricity bill paid on September 1st was paid for August.

[0136] Specifically, the auditing device reads the payment date of the current actual electricity bill data, thereby determining the corresponding month and the current time range. For example, if the auditing device reads that the payment date is September 1st, it determines that the corresponding month is August, and therefore the current time range is from August 1st to August 31st.

[0137] S402, obtain the mapping relationship between the preset time range and the daily average month-on-month change threshold.

[0138] The preset time range can be a month.

[0139] The mapping relationship refers to the relationship between a preset time range and a daily average month-on-month change threshold. It can be understood that different preset time ranges correspond to different daily average month-on-month change thresholds. The mapping relationship between the preset time range and the daily average month-on-month change threshold can be stored on the target server.

[0140] Specifically, the auditing device obtains the mapping relationship between a preset time range and a daily average month-on-month change threshold from the target server. Optionally, this mapping relationship can be displayed as a graph for easy viewing.

[0141] S403: Based on the current time range, obtain the daily average month-on-month increase / decrease threshold corresponding to the current time range from the mapping relationship, and use it as the daily average month-on-month increase / decrease threshold corresponding to the current actual electricity bill data.

[0142] Specifically, the auditing device finds a preset time range that matches the current time range in the mapping relationship based on the current time range, and then determines the daily average month-on-month increase / decrease threshold corresponding to the preset time range. The auditing device obtains the corresponding daily average month-on-month increase / decrease threshold and uses it as the daily average month-on-month increase / decrease threshold corresponding to the current real electricity bill data.

[0143] This embodiment provides a billing data auditing method. When obtaining the daily average month-on-month increase / decrease threshold corresponding to the current actual electricity billing data, the method specifically includes: determining the current time range corresponding to the current actual electricity billing data; obtaining the mapping relationship between a preset time range and the daily average month-on-month increase / decrease threshold; obtaining the daily average month-on-month increase / decrease threshold corresponding to the current time range from the mapping relationship, and using it as the daily average month-on-month increase / decrease threshold corresponding to the current actual electricity billing data. This auditing device determines the daily average increase / decrease threshold corresponding to the current actual electricity billing data based on the obtained mapping relationship between the preset time range and the daily average month-on-month increase / decrease threshold. It finds a preset time range consistent with the current time range, and then determines the daily average month-on-month increase / decrease threshold corresponding to the preset time range. This allows for accurate determination of the daily average month-on-month increase / decrease threshold corresponding to the current actual electricity billing data. Furthermore, this daily average month-on-month increase / decrease threshold changes accordingly with changes in the current time range, making it more flexible and allowing for determination of the daily average month-on-month increase / decrease threshold based on the specific characteristics of the target device.

[0144] Example 4

[0145] This application embodiment is a further refinement of any of the above embodiments. The current real electricity bill data in this embodiment includes: current real daily average month-on-month data in at least one dimension; the previous real electricity bill data includes: previous real daily average month-on-month data in the same dimension as the current real daily average month-on-month data.

[0146] Figure 5 This is a flowchart illustrating a billing data auditing method provided in Embodiment 4 of this application. This embodiment employs a preset real and predicted data comparison auditing strategy to determine the current second auditing status of the current real electricity billing data based on the current real electricity billing data and the current predicted electricity billing data. Figure 5 As shown. The specific steps are as follows.

[0147] S501 calculates the daily average month-on-month deviation between the current actual daily average month-on-month data and the current predicted daily average month-on-month data for each dimension.

[0148] Among them, the current forecast daily average month-on-month data corresponds to each dimension of the current actual daily average month-on-month data. The current forecast daily average month-on-month data may include the current forecast daily average electricity cost month-on-month, the current forecast electricity consumption month-on-month, the current forecast unit price month-on-month, and the current forecast power utilization efficiency month-on-month.

[0149] The month-on-month deviation range for each day may include the month-on-month deviation range for the average daily electricity cost, the month-on-month deviation range for the average daily electricity consumption, the month-on-month deviation range for the average daily unit price, and the month-on-month deviation range for the average daily power utilization efficiency.

[0150] Specifically, the auditing device calculates the daily average month-on-month deviation between the current actual daily average month-on-month data and the corresponding current predicted daily average month-on-month data for each dimension.

[0151] For example, the auditing device first calculates the difference D1 between the current actual daily average electricity cost month-on-month change A1 and the current predicted daily average electricity cost month-on-month change Y1, where D1 = A1 - Y1. Based on this difference D1, the percentage E1 of the quotient of the difference D1 and the current predicted daily average electricity cost month-on-month change Y1 is calculated. Then, E1 = (|D1| / Y1)*100%, and E1 is the deviation of the daily average electricity cost month-on-month change.

[0152] S502 compares the daily average month-on-month deviation with the preset daily average month-on-month deviation threshold to obtain the deviation comparison results.

[0153] The preset daily average month-on-month deviation threshold is a pre-set critical value for daily average month-on-month deviation.

[0154] The deviation comparison results include four dimensions: daily average electricity cost deviation comparison results, daily average electricity consumption deviation comparison results, daily average unit price deviation comparison results, and daily average power utilization efficiency deviation comparison results.

[0155] Specifically, the auditing device compares the daily average month-on-month deviation with the preset daily average month-on-month deviation threshold to obtain the deviation comparison results. The deviation comparison results may include the daily average month-on-month deviation threshold being greater than or equal to the preset daily average month-on-month deviation threshold, or the daily average month-on-month deviation threshold being less than the preset daily average month-on-month deviation threshold.

[0156] For example, assuming the preset daily average month-on-month deviation threshold is G, based on the example in S501, the daily average electricity cost month-on-month deviation E1 is compared with the preset daily average month-on-month deviation threshold G. The comparison result of the daily average electricity cost month-on-month deviation can be that the daily average electricity cost month-on-month deviation magnitude E1 is greater than or equal to the preset daily average month-on-month deviation magnitude threshold G, or the daily average electricity cost month-on-month deviation magnitude E1 is less than the preset daily average month-on-month deviation magnitude threshold G, thereby the auditing device obtains the daily average electricity cost month-on-month deviation comparison result.

[0157] Furthermore, following the above method, the auditing device can also obtain the deviation comparison results between the remaining daily average month-on-month deviation magnitude and the preset daily average month-on-month deviation magnitude threshold.

[0158] S503, determine the current second audit status of the current real electricity bill data based on the comparison results of each deviation.

[0159] Specifically, the auditing device determines whether the current second audit status of the current real electricity bill data is abnormal or normal based on the comparison results of each deviation.

[0160] Understandably, the current real electricity bill data corresponds to four dimensions of deviation comparison results. Based on the deviation comparison results of the four dimensions, each dimension's deviation comparison results include the magnitude of its corresponding current real daily average month-on-month deviation and the preset daily average month-on-month deviation threshold, and thus determine the current second audit status of the current real electricity bill data.

[0161] In one approach, this method is a feasible way to determine the current second audit status of the current real electricity bill data based on the comparison results of each deviation. The content of this method is as follows.

[0162] If at least two of the deviation comparison results are greater than or equal to the preset daily average month-on-month deviation threshold, then the current second audit status is determined to be an abnormal status.

[0163] Specifically, if at least two of the deviation comparison results in the four dimensions show a daily average month-on-month deviation magnitude greater than or equal to a preset daily average month-on-month deviation magnitude threshold, then the auditing device determines the second audit status of the current real electricity bill data as an abnormal state.

[0164] For example, if the daily average electricity cost deviation comparison result is greater than or equal to a preset daily average deviation threshold G, the daily average electricity consumption deviation comparison result is greater than or equal to a preset daily average deviation threshold G, the daily average unit price deviation comparison result is greater than or equal to a preset daily average deviation threshold G, and the daily average power utilization efficiency deviation comparison result is less than a preset daily average deviation threshold G, then if three of the above daily average deviation comparison results are greater than or equal to the preset daily average deviation threshold, then the preset condition that at least two daily average deviations are greater than or equal to the preset daily average deviation threshold is met, and the current second audit status is determined to be an abnormal status.

[0165] If, in response to the presence or absence of one or more deviations in the comparison results that the daily average month-on-month deviation is greater than or equal to the preset daily average month-on-month deviation threshold, the current second audit status is determined to be normal.

[0166] Specifically, if the auditing device determines that the second audit status of the current real electricity bill data is normal if there is one or no daily average month-on-month deviation greater than or equal to the preset daily average month-on-month deviation threshold in the deviation comparison results of the four dimensions, then the auditing device will determine that the second audit status of the current real electricity bill data is normal.

[0167] For example, if the daily average electricity cost deviation comparison result is greater than or equal to a preset daily average deviation threshold G, the daily average electricity consumption deviation comparison result is less than a preset daily average deviation threshold G, the daily average unit price deviation comparison result is less than a preset daily average deviation threshold G, and the daily average power utilization efficiency deviation comparison result is less than a preset daily average deviation threshold G, then if any of the above daily average deviation comparison results has a daily average deviation data greater than or equal to a preset daily average deviation threshold, then the preset condition of having one or no daily average deviation greater than or equal to a preset daily average deviation threshold is met, and the current second audit status is determined to be normal.

[0168] This method includes determining the current second audit status as an abnormal state if at least two of the deviation comparison results have a daily average month-on-month deviation magnitude greater than or equal to a preset daily average month-on-month deviation magnitude threshold; and determining the current second audit status as a normal state if one or none of the deviation comparison results have a daily average month-on-month deviation magnitude greater than or equal to the preset daily average month-on-month deviation magnitude threshold. This auditing device responds when at least two of the four dimensions of deviation comparison results show that the daily average month-on-month deviation amplitude is greater than or equal to a preset daily average month-on-month deviation amplitude threshold. Since the second auditing state can only be determined to be abnormal when at least two daily average month-on-month deviation amplitudes are greater than or equal to the preset daily average month-on-month deviation amplitude threshold, the accuracy of determining the current second auditing state can be improved. Furthermore, if one or no daily average month-on-month deviation amplitude is greater than or equal to the preset daily average month-on-month deviation amplitude threshold, the possibility of misjudgment due to an error in one of the daily average month-on-month deviation comparison results is reduced, thus improving the fault tolerance rate and further enhancing the accuracy.

[0169] This embodiment provides a billing data auditing method. The current real electricity billing data includes: current real daily average month-on-month data in at least one dimension; the current predicted electricity billing data includes: current predicted daily average month-on-month data in the same dimension as the current real daily average month-on-month data. When determining the current second auditing status of the current real electricity billing data based on the current real electricity billing data and the current predicted electricity billing data using a preset real and predicted data comparison auditing strategy, the method specifically includes: calculating the daily average month-on-month deviation magnitude between the current real daily average month-on-month data and the current predicted daily average month-on-month data in each dimension; comparing the daily average month-on-month deviation magnitude with a preset daily average month-on-month deviation magnitude threshold to obtain the deviation comparison results; and determining the current second auditing status of the current real electricity billing data based on the deviation comparison results. This implementation of the audit device first calculates the daily average month-on-month deviation range, and then compares it with a preset daily average month-on-month deviation range threshold to obtain an accurate deviation comparison result. This preset daily average month-on-month deviation range threshold can be pre-set according to different target equipment regions or seasonal cycles, thus better reflecting the actual situation of the target equipment and making the final deviation comparison result more accurate. Therefore, it can determine the current second audit status based on the most realistic situation of the target equipment. This embodiment provides the current predicted daily average month-on-month data. Since the current actual daily average month-on-month data and the current predicted month-on-month data may differ, a daily average month-on-month deviation range threshold is preset to allow for a small range of deviation between the current actual daily average month-on-month data and the current predicted daily average month-on-month data. This ensures that when the current actual daily average month-on-month data and the current predicted daily average month-on-month data have only a small range of deviation, the current actual daily average month-on-month data is still in a normal state.

[0170] Example 5

[0171] Figure 6 This is a flowchart illustrating a billing data auditing method provided in Embodiment 5 of this application. This embodiment is a further refinement of any of the above embodiments, and this embodiment is a feasible way to obtain current predicted electricity billing data, such as... Figure 6 As shown, the specific steps are as follows.

[0172] S601, retrieves real electricity bill data for a preset historical time period.

[0173] The historical electricity bill data for the preset time period refers to the actual billing data of the target device within the preset time period. The preset time period can be 1-12 months in the past. This historical electricity bill data for the preset time period is stored on the target server.

[0174] Specifically, the auditing device retrieves real electricity bill data for a preset historical time period from the target server. For example, the auditing device can retrieve real electricity bill data for the past 1-12 months.

[0175] S602, input the real electricity bill data for a preset historical time period into the time series model that has been trained to convergence.

[0176] Among them, a time series model that has been trained to convergence refers to a time series model that has met the convergence conditions.

[0177] S603 uses a time series model that has been trained to convergence to predict the current electricity bill data based on real electricity bill data for a preset historical time period, and outputs the current predicted electricity bill data.

[0178] Specifically, the time-series model trained to convergence in the auditing device reads real billing data from a preset historical time period. Based on the current real electricity billing data, the auditing device determines the current month and then the electricity billing data for the month to be predicted. Next, the auditing device finds the corresponding historical month within the preset historical time period and determines the real electricity billing data for that historical month. Based on the real electricity billing data of that historical month, it predicts the current predicted electricity billing data for the current month. Specifically, the auditing device can determine the current predicted electricity billing data for the current month based on the real electricity billing data of that month using the function y = kx + b, where k and b can be set by the user, x is the real electricity billing data of the historical month, and y is the current predicted electricity billing data. Therefore, when the real electricity billing data x of the historical month is determined, it is input into the function y = kx + b to determine the current predicted electricity billing data y.

[0179] S604, retrieve the output of the current predicted electricity bill data.

[0180] Specifically, the auditing device acquires the current predicted electricity bill data from the time series model that has been trained and converged, and stores it in the storage area.

[0181] This embodiment provides a billing data auditing method. When obtaining current predicted electricity billing data, the method includes: obtaining real electricity billing data for a historical preset time period; inputting the real electricity billing data for the historical preset time period into a time series model that has been trained to convergence; using the trained to convergence time series model to predict the current electricity billing data based on the real electricity billing data for the historical preset time period, and outputting the current predicted electricity billing data; and obtaining the output current predicted electricity billing data. In this embodiment, the auditing device predicts the current electricity billing data based on the real electricity billing data for the historical preset time period, thus obtaining the current predicted electricity billing data. Since this current predicted electricity billing data is based on the real electricity billing data for the historical preset time period, the prediction of the current predicted electricity billing data is based on real data. Therefore, the current predicted electricity billing data will be closer to the current real electricity billing data, and thus the current predicted electricity billing data will be more accurate and more consistent with the actual situation of the target device.

[0182] Example 6

[0183] Figure 7 This is a flowchart illustrating a billing data auditing method provided in Embodiment Six of this application. This embodiment is a further refinement of any of the above embodiments. This embodiment is a feasible method for predicting current electricity billing data based on real electricity billing data from a historical preset time period using a time-series model that has been trained to convergence. Figure 7 As shown, the specific steps are as follows.

[0184] S701, Obtain training samples for training the preset time series model. The training samples include: at least one historical preset time period's real electricity bill data and the corresponding future preset time period's real electricity bill data.

[0185] The training samples are the input data used to train the preset time series model, and they can be stored in the storage area of ​​the target server. The preset time series model is the initial time series model, which contains model parameters. These model parameters are trained based on the training samples to obtain optimized model parameters. The model parameters can be set manually before training.

[0186] The historical preset time period's actual electricity bill data can be the actual electricity bill data from January to December of a previous year. The future preset time period's actual electricity bill data is the actual electricity bill data from January to December of the future.

[0187] Specifically, the auditing device obtains training samples from the target server to train a preset time series model.

[0188] S702 uses training samples to train a preset time series model until the preset model convergence condition is met.

[0189] The preset model convergence condition can be a pre-defined convergence condition, which can be that the convergence condition is satisfied when the model parameters in the preset time series model reach a certain threshold, or other feasible methods, which are not limited here.

[0190] Specifically, the auditing device inputs training samples to train the model parameters. When the training reaches the preset model convergence condition, it will stop training the preset time series model. At this point, the model parameters have changed after training and reached an optimal level.

[0191] S703 determines the time series model that meets the preset model convergence conditions as the time series model that has been trained to convergence.

[0192] This embodiment provides a billing data auditing method. Before predicting current electricity bills based on real electricity bills over a predetermined historical time period using a time-series model that has been trained to convergence, the method specifically includes: obtaining training samples for training the predetermined time-series model. The training samples include real electricity bills over at least one predetermined historical time period and real electricity bills over a corresponding predetermined future time period; training the predetermined time-series model using the training samples until a predetermined model convergence condition is met; and determining the time-series model that meets the predetermined model convergence condition as the time-series model that has been trained to convergence. This embodiment first obtains training samples, then trains the predetermined time-series model based on the training samples until the predetermined model convergence condition is met, thus determining the time-series model that has been trained to convergence. Since this embodiment pre-sets the model convergence condition, the final time-series model that has been trained to convergence is a superior model, and based on this model, the current electricity bill data can be predicted more accurately.

[0193] Example 7

[0194] The following are embodiments of the apparatus described in this application. Figure 8 This is a schematic diagram of a billing data auditing device provided in Embodiment Seven of this application. Figure 8 As shown, the device 800 includes the following modules.

[0195] The acquisition module 801 is used to acquire the current real electricity bill data, the previous real electricity bill data, and the current predicted electricity bill data corresponding to the target device; the previous real electricity bill data refers to the real electricity bill data of the previous period before the current real electricity bill data;

[0196] The first determining module 802 is used to determine the current first audit status of the current real electricity bill data based on the current real electricity bill data and the previous real electricity bill data using a preset month-on-month audit strategy.

[0197] The second determining module 803 is used to determine the current second audit status of the current real electricity bill data based on the current real electricity bill data and the current predicted electricity bill data using a preset real and predicted data comparison audit strategy;

[0198] The sending module 804 is used to send an audit error message to the user terminal in response to both the current first audit status and the current second audit status being in an abnormal state.

[0199] In one feasible approach, the current real electricity bill data includes: current real daily average month-on-month data in at least one dimension; the previous real electricity bill data includes: previous real daily average month-on-month data in the same dimension as the current real daily average month-on-month data; the first determining module 802, when determining the current first audit status of the current real electricity bill data based on the current real electricity bill data and the previous real electricity bill data using a preset month-on-month audit strategy, is specifically used for:

[0200] Calculate the daily average month-on-month change in each dimension between the current real daily average month-on-month data and the previous real daily average month-on-month data; obtain the daily average month-on-month change threshold corresponding to the current real electricity bill data; compare each daily average month-on-month change with the corresponding daily average month-on-month change threshold to obtain the change comparison results; determine the current first audit status of the current real electricity bill data based on the change comparison results.

[0201] In one feasible approach, the first determining module 802, when acquiring the daily average month-on-month change threshold corresponding to the current actual electricity bill data, is specifically used for:

[0202] Determine the current time range corresponding to the current actual electricity bill data; obtain the mapping relationship between the preset time range and the daily average month-on-month increase / decrease threshold; obtain the daily average month-on-month increase / decrease threshold corresponding to the current time range from the mapping relationship based on the current time range, and use it as the daily average month-on-month increase / decrease threshold corresponding to the current actual electricity bill data.

[0203] In one feasible approach, the first determining module 802, when determining the current first audit status of the current actual electricity bill data based on the comparison results of various price increases and decreases, is specifically used for:

[0204] If at least two of the daily average month-on-month changes in the comparison results are greater than or equal to the corresponding daily average month-on-month change threshold, then the current first audit status is determined to be an abnormal status.

[0205] If, in response to the existence or absence of one of the comparison results, the daily average month-on-month change is greater than or equal to the corresponding daily average month-on-month change threshold, then the current first audit status is determined to be normal.

[0206] In one feasible approach, the current real electricity bill data includes: current real daily average month-on-month data in at least one dimension; the current predicted electricity bill data includes: current predicted daily average month-on-month data in the same dimension as the current real daily average month-on-month data; and the second determining module 803, when determining the current second audit status of the current real electricity bill data based on the current real electricity bill data and the current predicted electricity bill data using a preset real and predicted data comparison audit strategy, is specifically used for:

[0207] Calculate the daily average month-on-month deviation between the current actual daily average month-on-month data and the current predicted daily average month-on-month data for each dimension; compare the daily average month-on-month deviation with the preset daily average month-on-month deviation threshold to obtain the deviation comparison results; determine the current second audit status of the current actual electricity bill data based on the deviation comparison results.

[0208] In one feasible approach, the second determining module 803, when determining the current second audit status of the current actual electricity bill data based on the comparison results of each deviation, is specifically used for:

[0209] If at least two of the deviation comparison results show that the daily average month-on-month deviation magnitude is greater than or equal to the preset daily average month-on-month deviation magnitude threshold, then the current second audit status is determined to be an abnormal status; if one or none of the deviation comparison results show that the daily average month-on-month deviation magnitude is greater than or equal to the preset daily average month-on-month deviation magnitude threshold, then the current second audit status is determined to be a normal status.

[0210] In one feasible approach, the acquisition module 801, when acquiring the current predicted electricity bill data, is specifically used for:

[0211] Obtain real electricity bill data for a preset historical time period; input the real electricity bill data for the preset historical time period into a time series model that has been trained to convergence; use the time series model that has been trained to convergence to predict the current electricity bill data based on the real electricity bill data for the preset historical time period, and output the current predicted electricity bill data; obtain the output current predicted electricity bill data.

[0212] In one feasible approach, before using a time series model that has been trained to convergence to predict the current electricity bill data based on real electricity bill data over a historical preset time period, this embodiment provides a bill data auditing device, which further includes a training module and a third determination module.

[0213] The acquisition module 801 is further used to acquire training samples for training a preset time series model. The training samples include: at least one historical preset time period real electricity bill data and corresponding future preset time period real electricity bill data; the training module is used to train the preset time series model using the training samples until the preset model convergence condition is met; the third determination module is used to determine the time series model that meets the preset model convergence condition as the time series model that has been trained to convergence.

[0214] Example 8

[0215] Figure 9 This is a schematic diagram of the structure of an electronic device provided in Embodiment 8 of this application. Figure 9 As shown, the electronic device 900 may include: a processor 901, and a memory 902 and a transceiver 903 communicatively connected to the processor 901. The memory 902 stores computer-executable instructions; the transceiver 903 is used for sending and receiving data with a user terminal; the processor 901 executes the computer-executable instructions stored in the memory 902 to implement any one of the method embodiments 1 to 6 described above. The specific implementation methods and technical effects are similar and will not be repeated here.

[0216] In this embodiment, the memory 902 and the processor 901 are connected via a bus. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 9 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0217] Example 9

[0218] This application provides a computer-readable storage medium storing computer-executable instructions. When executed by a processor, the computer-executable instructions are used to implement any one of the method embodiments 1 to 6 above. The specific implementation methods and technical effects are similar, and will not be repeated here.

[0219] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.

[0220] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A method of billing data auditing, characterized by, The method includes: The system acquires the current real electricity bill data, the previous real electricity bill data, and the current predicted electricity bill data for the target device. The previous real electricity bill data refers to the real electricity bill data for the period preceding the current real electricity bill data. The current real electricity bill data includes: current real daily average month-on-month data in at least one dimension. The previous real electricity bill data includes: previous real daily average month-on-month data in the same dimension as the current real daily average month-on-month data. The current predicted electricity bill data includes: current predicted daily average month-on-month data in the same dimension as the current real daily average month-on-month data. The current real electricity bill data includes: current real daily average month-on-month data in at least one dimension, including daily average electricity cost month-on-month, daily average electricity consumption month-on-month, daily average unit price month-on-month, and daily average power utilization efficiency month-on-month. A preset month-on-month audit strategy is used to determine the current first audit status of the current real electricity bill data based on the current real electricity bill data and the previous real electricity bill data, including: Calculate the daily average month-on-month change in each dimension between the current real daily average month-on-month data and the previous real daily average month-on-month data; Obtaining the daily average month-on-month increase / decrease threshold corresponding to the current real electricity bill data includes: determining the current time range corresponding to the current real electricity bill data; obtaining the mapping relationship between the preset time range and the daily average month-on-month increase / decrease threshold; obtaining the daily average month-on-month increase / decrease threshold corresponding to the current time range from the mapping relationship based on the current time range, and using it as the daily average month-on-month increase / decrease threshold corresponding to the current real electricity bill data; Each of the aforementioned daily average month-on-month changes is compared with its corresponding daily average month-on-month change threshold to obtain comparison results. If at least two of the comparison results show that the daily average month-on-month changes are greater than or equal to the corresponding daily average month-on-month change threshold, then the current first audit status is determined to be an abnormal status. If one or no of the comparison results show that the daily average month-on-month changes are greater than or equal to the corresponding daily average month-on-month change threshold, then the current first audit status is determined to be a normal status. An audit strategy comparing real and predicted data is employed to determine the current second audit status of the current real electricity bill data based on the current real electricity bill data and the current predicted electricity bill data, including: Calculate the difference between the current actual daily average month-on-month data and the current predicted daily average month-on-month data for each dimension, and calculate the percentage of the difference to the quotient of the current predicted daily average month-on-month data to obtain the deviation of each daily average month-on-month data. The daily average month-on-month deviation magnitudes are compared with preset daily average month-on-month deviation magnitude thresholds to obtain each deviation comparison result; if at least two of the deviation comparison results have daily average month-on-month deviation magnitudes greater than or equal to the preset daily average month-on-month deviation magnitude thresholds, then the current second audit status is determined to be an abnormal status; if one or no daily average month-on-month deviation magnitude is greater than or equal to the preset daily average month-on-month deviation magnitude thresholds in each deviation comparison result, then the current second audit status is determined to be a normal status. If both the current first audit status and the current second audit status are abnormal, an audit abnormality prompt message is sent to the user terminal. Obtaining the current predicted electricity bill data includes: Obtain real electricity bill data for a preset historical time period; Input the real electricity bill data for the historical preset time period into the time series model that has been trained to convergence; The trained and converged time series model is used to predict the current electricity bill data based on the real electricity bill data of the historical preset time period, and the predicted electricity bill data is output. Retrieve the current predicted electricity bill data.

2. The method of claim 1, wherein, Before using the trained and converged time series model to predict the current electricity bill data based on the real electricity bill data of the historical preset time period, the method further includes: Obtain training samples for training a preset time series model. The training samples include: at least one historical preset time period of real electricity bill data and corresponding future preset time period of real electricity bill data. The preset time series model is trained using the training samples until the preset model convergence condition is met; A time series model that meets the preset model convergence conditions is defined as a time series model that has been trained to convergence.

3. A billing data auditing apparatus, characterized by comprising: The device includes: The acquisition module is used to acquire the current real electricity bill data, the previous real electricity bill data, and the current predicted electricity bill data corresponding to the target device. The previous real electricity bill data refers to the real electricity bill data of the period preceding the current real electricity bill data. The current real electricity bill data includes: current real daily average month-on-month data in at least one dimension. The previous real electricity bill data includes: previous real daily average month-on-month data in the same dimension as the current real daily average month-on-month data. The current predicted electricity bill data includes: current predicted daily average month-on-month data in the same dimension as the current real daily average month-on-month data. The current real electricity bill data includes: current real daily average month-on-month data in at least one dimension, including daily average electricity cost month-on-month, daily average electricity consumption month-on-month, daily average unit price month-on-month, and daily average power utilization efficiency month-on-month. The first determining module is used to determine the current first audit status of the current real electricity bill data based on the current real electricity bill data and the previous real electricity bill data using a preset month-on-month audit strategy, including: calculating the month-on-month increase / decrease of each dimension of the current real daily average month-on-month data and the previous real daily average month-on-month data; obtaining the daily average month-on-month increase / decrease threshold corresponding to the current real electricity bill data, including: determining the current time range corresponding to the current real electricity bill data; obtaining the mapping relationship between the preset time range and the daily average month-on-month increase / decrease threshold; and obtaining the current time range from the mapping relationship. The daily average month-on-month change threshold corresponding to the time range is used as the daily average month-on-month change threshold corresponding to the current actual electricity bill data; each of the daily average month-on-month change values ​​is compared with the corresponding daily average month-on-month change threshold to obtain each change comparison result; if at least two of the change comparison results show that the daily average month-on-month change values ​​are greater than or equal to the corresponding daily average month-on-month change threshold, then the current first audit status is determined to be an abnormal status; if one or no daily average month-on-month change value is greater than or equal to the corresponding daily average month-on-month change threshold in each comparison result, then the current first audit status is determined to be a normal status. The second determining module is used to determine the current second audit status of the current real electricity bill data based on the current real electricity bill data and the current predicted electricity bill data using a preset real and predicted data comparison audit strategy. This includes: calculating the difference between the current real daily average month-on-month data and the current predicted daily average month-on-month data for each dimension; calculating the percentage of the difference to the quotient of the current predicted daily average month-on-month data based on the difference to obtain the deviation amplitude of each daily average month-on-month data; comparing each of the daily average month-on-month deviation amplitudes with a preset daily average month-on-month deviation amplitude threshold to obtain a deviation comparison result; determining the current second audit status as an abnormal state if at least two of the deviation comparison results are greater than or equal to the preset daily average month-on-month deviation amplitude threshold; and determining the current second audit status as a normal state if one or no daily average month-on-month deviation amplitude is greater than or equal to the preset daily average month-on-month deviation amplitude threshold in the deviation comparison results. The sending module is used to send an audit error message to the user terminal in response to both the current first audit status and the current second audit status being in an abnormal state. The acquisition module is further configured to acquire real electricity bill data for a historical preset time period; input the real electricity bill data for the historical preset time period into a time series model that has been trained to convergence; use the time series model that has been trained to convergence to predict the current electricity bill data based on the real electricity bill data for the historical preset time period, and output the current predicted electricity bill data; and acquire the output current predicted electricity bill data.

4. An electronic device comprising: A processor, and a memory and a transceiver communicatively connected to the processor; The memory stores computer-executed instructions; the transceiver is used to send and receive data with the user terminal. The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1-2.

5. A computer readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-2.

Citation Information

Patent Citations

  • Base station cost automatic auditing method based on nearest neighbor algorithm

    CN112258338A

  • User electricity consumption exception processing method and system, computer equipment and storage medium

    CN112465670A